Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --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:59:02.841122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/41/image_21012025_20_41_02_240354_0002.jpg', '/home/pi/Desktop/images/21012025/20/41/image_21012025_20_41_02_240354_0003.jpg', '/home/pi/Desktop/images/21012025/20/42/image_21012025_20_42_02_460339_0000.jpg', '/home/pi/Desktop/images/21012025/20/42/image_21012025_20_42_02_460339_0001.jpg', '/home/pi/Desktop/images/21012025/20/42/image_21012025_20_42_02_460339_0002.jpg', '/home/pi/Desktop/images/21012025/20/42/image_21012025_20_42_02_460339_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/41/image_21012025_20_41_02_240354_0002.jpg
/home/pi/Desktop/images/21012025/20/41/image_21012025_20_41_02_240354_0003.jpg
/home/pi/Desktop/images/21012025/20/42/image_21012025_20_42_02_460339_0000.jpg
/home/pi/Desktop/images/21012025/20/42/image_21012025_20_42_02_460339_0001.jpg
/home/pi/Desktop/images/21012025/20/42/image_21012025_20_42_02_460339_0002.jpg
/home/pi/Desktop/images/21012025/20/42/image_21012025_20_42_02_460339_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: 44.377387285232544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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 23:59:52.134142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/41/image_21012025_20_41_02_240354_0002.jpg', '/home/pi/Desktop/images/21012025/20/41/image_21012025_20_41_02_240354_0003.jpg', '/home/pi/Desktop/images/21012025/20/42/image_21012025_20_42_02_460339_0000.jpg', '/home/pi/Desktop/images/21012025/20/42/image_21012025_20_42_02_460339_0001.jpg', '/home/pi/Desktop/images/21012025/20/42/image_21012025_20_42_02_460339_0002.jpg', '/home/pi/Desktop/images/21012025/20/42/image_21012025_20_42_02_460339_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/41/image_21012025_20_41_02_240354_0002.jpg
/home/pi/Desktop/images/21012025/20/41/image_21012025_20_41_02_240354_0003.jpg
/home/pi/Desktop/images/21012025/20/42/image_21012025_20_42_02_460339_0000.jpg
/home/pi/Desktop/images/21012025/20/42/image_21012025_20_42_02_460339_0001.jpg
/home/pi/Desktop/images/21012025/20/42/image_21012025_20_42_02_460339_0002.jpg
/home/pi/Desktop/images/21012025/20/42/image_21012025_20_42_02_460339_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":["1331158422","1331158439","1331158433","1331158427","1331158442","1331158441"],"photo_ids_order":["1331158422","1331158427","1331158433","1331158439","1331158441","1331158442"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/68b79dc68b6f92c4f9366d2da0aacded.jpg","text":"TemporaryFile(/tmp/multipartBody6281665292029265245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759695622,"filename":"image_21012025_20_41_02_240354_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/812b278a249fcc552794a6c9ed40b5b2.jpg","text":"TemporaryFile(/tmp/multipartBody2231451531015354186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759695622,"filename":"image_21012025_20_42_02_460339_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0a37ce47bc8dfcc92aee384aff3696e9.jpg","text":"TemporaryFile(/tmp/multipartBody5615871019837949860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759695622,"filename":"image_21012025_20_42_02_460339_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/70ca3cf194f35fef7801a5c823c2c4c7.jpg","text":"TemporaryFile(/tmp/multipartBody8078556334184383374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759695622,"filename":"image_21012025_20_41_02_240354_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/155eef963ca639112a162039a7967709.jpg","text":"TemporaryFile(/tmp/multipartBody983735217180154172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759695622,"filename":"image_21012025_20_42_02_460339_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/592437795e61d4c0566b089b7f34ab97.jpg","text":"TemporaryFile(/tmp/multipartBody1273604250303154228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759695622,"filename":"image_21012025_20_42_02_460339_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331158433","file1":"1331158427","file0":"1331158422","file4":"1331158441","file5":"1331158442","file3":"1331158439"},"map_files_photo_id_array":[{"photo_id":"1331158442","filename":"file5"},{"photo_id":"1331158433","filename":"file2"},{"photo_id":"1331158441","filename":"file4"},{"photo_id":"1331158427","filename":"file1"},{"photo_id":"1331158422","filename":"file0"},{"photo_id":"1331158439","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331158422":["hashtag1","hashtag2"]},{"1331158439":["hashtag1","hashtag2"]},{"1331158433":["hashtag1","hashtag2"]},{"1331158427":["hashtag1","hashtag2"]},{"1331158442":["hashtag1","hashtag2"]},{"1331158441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331158422, 1331158439, 1331158433, 1331158427, 1331158442, 1331158441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.69848346710205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-25 00:01:52.575571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/43/image_21012025_20_43_02_624221_0000.jpg', '/home/pi/Desktop/images/21012025/20/43/image_21012025_20_43_02_624221_0001.jpg', '/home/pi/Desktop/images/21012025/20/43/image_21012025_20_43_02_624221_0002.jpg', '/home/pi/Desktop/images/21012025/20/43/image_21012025_20_43_02_624221_0003.jpg', '/home/pi/Desktop/images/21012025/20/44/image_21012025_20_44_02_801227_0000.jpg', '/home/pi/Desktop/images/21012025/20/44/image_21012025_20_44_02_801227_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/43/image_21012025_20_43_02_624221_0000.jpg
/home/pi/Desktop/images/21012025/20/43/image_21012025_20_43_02_624221_0001.jpg
/home/pi/Desktop/images/21012025/20/43/image_21012025_20_43_02_624221_0002.jpg
/home/pi/Desktop/images/21012025/20/43/image_21012025_20_43_02_624221_0003.jpg
/home/pi/Desktop/images/21012025/20/44/image_21012025_20_44_02_801227_0000.jpg
/home/pi/Desktop/images/21012025/20/44/image_21012025_20_44_02_801227_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":["1331158668","1331158709","1331158696","1331158705","1331158714","1331158671"],"photo_ids_order":["1331158668","1331158671","1331158696","1331158705","1331158709","1331158714"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/53a57a72916c3b457b8a3bbc142ebdf7.jpg","text":"TemporaryFile(/tmp/multipartBody4687654632964464234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759813069,"filename":"image_21012025_20_43_02_624221_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fe0b5b46c324ea8a475db418f6bbe9f7.jpg","text":"TemporaryFile(/tmp/multipartBody4213378402508254014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759813069,"filename":"image_21012025_20_44_02_801227_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c8fa0f6ab4dcdb4465e73d3dc267a4ea.jpg","text":"TemporaryFile(/tmp/multipartBody6978355719480205510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759813069,"filename":"image_21012025_20_43_02_624221_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/33241d3beedcaa64ec26e70499e24a44.jpg","text":"TemporaryFile(/tmp/multipartBody7037207158774047313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759813069,"filename":"image_21012025_20_43_02_624221_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a7df2ae8549760ca4fe532aeb3fcb9b2.jpg","text":"TemporaryFile(/tmp/multipartBody1577796536065168423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759813069,"filename":"image_21012025_20_44_02_801227_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/55050a54e38cbd18a1b7a8b95a25193e.jpg","text":"TemporaryFile(/tmp/multipartBody5824482750270078107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759813069,"filename":"image_21012025_20_43_02_624221_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331158696","file1":"1331158671","file0":"1331158668","file4":"1331158709","file5":"1331158714","file3":"1331158705"},"map_files_photo_id_array":[{"photo_id":"1331158714","filename":"file5"},{"photo_id":"1331158696","filename":"file2"},{"photo_id":"1331158709","filename":"file4"},{"photo_id":"1331158671","filename":"file1"},{"photo_id":"1331158668","filename":"file0"},{"photo_id":"1331158705","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331158668":["hashtag1","hashtag2"]},{"1331158709":["hashtag1","hashtag2"]},{"1331158696":["hashtag1","hashtag2"]},{"1331158705":["hashtag1","hashtag2"]},{"1331158714":["hashtag1","hashtag2"]},{"1331158671":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331158668, 1331158709, 1331158696, 1331158705, 1331158714, 1331158671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.98259258270264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-25 00:03:51.948987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/44/image_21012025_20_44_02_801227_0002.jpg', '/home/pi/Desktop/images/21012025/20/44/image_21012025_20_44_02_801227_0003.jpg', '/home/pi/Desktop/images/21012025/20/45/image_21012025_20_45_03_010101_0000.jpg', '/home/pi/Desktop/images/21012025/20/45/image_21012025_20_45_03_010101_0001.jpg', '/home/pi/Desktop/images/21012025/20/45/image_21012025_20_45_03_010101_0002.jpg', '/home/pi/Desktop/images/21012025/20/45/image_21012025_20_45_03_010101_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/44/image_21012025_20_44_02_801227_0002.jpg
/home/pi/Desktop/images/21012025/20/44/image_21012025_20_44_02_801227_0003.jpg
/home/pi/Desktop/images/21012025/20/45/image_21012025_20_45_03_010101_0000.jpg
/home/pi/Desktop/images/21012025/20/45/image_21012025_20_45_03_010101_0001.jpg
/home/pi/Desktop/images/21012025/20/45/image_21012025_20_45_03_010101_0002.jpg
/home/pi/Desktop/images/21012025/20/45/image_21012025_20_45_03_010101_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 [200]>
b'{"photo_ids":["1331159387","1331159406","1331159378","1331159392","1331159554","1331159382"],"photo_ids_order":["1331159378","1331159382","1331159387","1331159392","1331159406","1331159554"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ecfdc10b71ce0eaaa82c7b8479de3be2.jpg","text":"TemporaryFile(/tmp/multipartBody1711114958806561193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759913173,"filename":"image_21012025_20_45_03_010101_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5524a9f0a5170f89cd015166a3dc3cc9.jpg","text":"TemporaryFile(/tmp/multipartBody4274293066565910677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759913173,"filename":"image_21012025_20_45_03_010101_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/66f90cb8532c8e8a9eafee175bf8034d.jpg","text":"TemporaryFile(/tmp/multipartBody4837850496405013603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759913173,"filename":"image_21012025_20_44_02_801227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ebb2141ea07c6612f12a7c7ebfe8bcf2.jpg","text":"TemporaryFile(/tmp/multipartBody1946633048346821272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759913173,"filename":"image_21012025_20_45_03_010101_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3f538548f0f9f96cf8fb1db95f6bae33.jpg","text":"TemporaryFile(/tmp/multipartBody7743627413594440153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759913173,"filename":"image_21012025_20_45_03_010101_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/472e4c3d34daec1f49e862ff9ac64253.jpg","text":"TemporaryFile(/tmp/multipartBody3173389908344920100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737759913173,"filename":"image_21012025_20_44_02_801227_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331159387","file1":"1331159382","file0":"1331159378","file4":"1331159406","file5":"1331159554","file3":"1331159392"},"map_files_photo_id_array":[{"photo_id":"1331159554","filename":"file5"},{"photo_id":"1331159387","filename":"file2"},{"photo_id":"1331159406","filename":"file4"},{"photo_id":"1331159382","filename":"file1"},{"photo_id":"1331159378","filename":"file0"},{"photo_id":"1331159392","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331159387":["hashtag1","hashtag2"]},{"1331159406":["hashtag1","hashtag2"]},{"1331159378":["hashtag1","hashtag2"]},{"1331159392":["hashtag1","hashtag2"]},{"1331159554":["hashtag1","hashtag2"]},{"1331159382":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331159387, 1331159406, 1331159378, 1331159392, 1331159554, 1331159382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 74.43180704116821 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 00:05:22.297986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 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_25012025
 fc.token : 832f9dd9be82d72b547808d5fcaa9529
True
{'error': 'Invalid access_token'}
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_25012025.txt'

During handling of the above exception, another exception occurred:

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 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 92, in create_portfolio
    portfolio_id = res_json['portfolio_id']
KeyError: 'portfolio_id'
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-25 00:05:52.322942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/46/image_21012025_20_46_02_262899_0000.jpg', '/home/pi/Desktop/images/21012025/20/46/image_21012025_20_46_02_262899_0001.jpg', '/home/pi/Desktop/images/21012025/20/46/image_21012025_20_46_02_262899_0002.jpg', '/home/pi/Desktop/images/21012025/20/46/image_21012025_20_46_02_262899_0003.jpg', '/home/pi/Desktop/images/21012025/20/47/image_21012025_20_47_02_374820_0000.jpg', '/home/pi/Desktop/images/21012025/20/47/image_21012025_20_47_02_374820_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/46/image_21012025_20_46_02_262899_0000.jpg
/home/pi/Desktop/images/21012025/20/46/image_21012025_20_46_02_262899_0001.jpg
/home/pi/Desktop/images/21012025/20/46/image_21012025_20_46_02_262899_0002.jpg
/home/pi/Desktop/images/21012025/20/46/image_21012025_20_46_02_262899_0003.jpg
/home/pi/Desktop/images/21012025/20/47/image_21012025_20_47_02_374820_0000.jpg
/home/pi/Desktop/images/21012025/20/47/image_21012025_20_47_02_374820_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":["1331159966","1331160067","1331159979","1331159970","1331159772","1331159910"],"photo_ids_order":["1331159772","1331159910","1331159966","1331159970","1331159979","1331160067"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8660a882249824d45937fb17a57254c7.jpg","text":"TemporaryFile(/tmp/multipartBody8143932351342204131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760049693,"filename":"image_21012025_20_46_02_262899_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3443f505cfbc1914111734fbc5b8b32d.jpg","text":"TemporaryFile(/tmp/multipartBody71363425851153771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760049693,"filename":"image_21012025_20_47_02_374820_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6f6ffdb06e9cf78dcc1bc2a942802574.jpg","text":"TemporaryFile(/tmp/multipartBody1920285490779293776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760049693,"filename":"image_21012025_20_47_02_374820_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f2418dbfe63d10b26cc278093dcf6c3c.jpg","text":"TemporaryFile(/tmp/multipartBody1241399674707659839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760049693,"filename":"image_21012025_20_46_02_262899_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/45949b82d16c51fee662d03f5b86c11d.jpg","text":"TemporaryFile(/tmp/multipartBody4856371615550806733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760049693,"filename":"image_21012025_20_46_02_262899_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/891da82db29f71779cce59efa54933a3.jpg","text":"TemporaryFile(/tmp/multipartBody8554315556954715800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760049693,"filename":"image_21012025_20_46_02_262899_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331159966","file1":"1331159910","file0":"1331159772","file4":"1331159979","file5":"1331160067","file3":"1331159970"},"map_files_photo_id_array":[{"photo_id":"1331160067","filename":"file5"},{"photo_id":"1331159966","filename":"file2"},{"photo_id":"1331159979","filename":"file4"},{"photo_id":"1331159910","filename":"file1"},{"photo_id":"1331159772","filename":"file0"},{"photo_id":"1331159970","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331159966":["hashtag1","hashtag2"]},{"1331160067":["hashtag1","hashtag2"]},{"1331159979":["hashtag1","hashtag2"]},{"1331159970":["hashtag1","hashtag2"]},{"1331159772":["hashtag1","hashtag2"]},{"1331159910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331159966, 1331160067, 1331159979, 1331159970, 1331159772, 1331159910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.91456937789917 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 00:07:21.783730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 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_25012025
 fc.token : 832f9dd9be82d72b547808d5fcaa9529
True
{'portfolio_id': 19908538, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1737760103000}
533
2513560
533
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/00/image_25012025_00_00_02_612195_0000.jpg', '/home/pi/Desktop/images/25012025/00/00/image_25012025_00_00_02_612195_0001.jpg', '/home/pi/Desktop/images/25012025/00/00/image_25012025_00_00_02_612195_0002.jpg', '/home/pi/Desktop/images/25012025/00/00/image_25012025_00_00_02_612195_0003.jpg', '/home/pi/Desktop/images/25012025/00/01/image_25012025_00_01_02_684923_0000.jpg', '/home/pi/Desktop/images/25012025/00/01/image_25012025_00_01_02_684923_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/00/image_25012025_00_00_02_612195_0000.jpg
/home/pi/Desktop/images/25012025/00/00/image_25012025_00_00_02_612195_0001.jpg
/home/pi/Desktop/images/25012025/00/00/image_25012025_00_00_02_612195_0002.jpg
/home/pi/Desktop/images/25012025/00/00/image_25012025_00_00_02_612195_0003.jpg
/home/pi/Desktop/images/25012025/00/01/image_25012025_00_01_02_684923_0000.jpg
/home/pi/Desktop/images/25012025/00/01/image_25012025_00_01_02_684923_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":["1331160267","1331160272","1331160262","1331160256","1331160276","1331160279"],"photo_ids_order":["1331160256","1331160262","1331160267","1331160272","1331160276","1331160279"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/456da624e40637e65c0a327fada55d9d.jpg","text":"TemporaryFile(/tmp/multipartBody3923875543704216645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760136178,"filename":"image_25012025_00_00_02_612195_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3769212d1345590e44df18e7cbbef67c.jpg","text":"TemporaryFile(/tmp/multipartBody8919594501969368416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760136178,"filename":"image_25012025_00_00_02_612195_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6c8bec9bc7f4665d466e57c332261955.jpg","text":"TemporaryFile(/tmp/multipartBody80612432594242189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760136178,"filename":"image_25012025_00_00_02_612195_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/066b6126f54e5cf18ea2662350393fc5.jpg","text":"TemporaryFile(/tmp/multipartBody6487313662356365500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760136178,"filename":"image_25012025_00_00_02_612195_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/26163f295a9511cd961debc44a274cd0.jpg","text":"TemporaryFile(/tmp/multipartBody1161627494038601016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760136178,"filename":"image_25012025_00_01_02_684923_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/76b945d8af2aade042a08a2202899cf7.jpg","text":"TemporaryFile(/tmp/multipartBody4739168159894716060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760136178,"filename":"image_25012025_00_01_02_684923_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331160267","file1":"1331160262","file0":"1331160256","file4":"1331160276","file5":"1331160279","file3":"1331160272"},"map_files_photo_id_array":[{"photo_id":"1331160279","filename":"file5"},{"photo_id":"1331160267","filename":"file2"},{"photo_id":"1331160276","filename":"file4"},{"photo_id":"1331160262","filename":"file1"},{"photo_id":"1331160256","filename":"file0"},{"photo_id":"1331160272","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331160267":["hashtag1","hashtag2"]},{"1331160272":["hashtag1","hashtag2"]},{"1331160262":["hashtag1","hashtag2"]},{"1331160256":["hashtag1","hashtag2"]},{"1331160276":["hashtag1","hashtag2"]},{"1331160279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331160267, 1331160272, 1331160262, 1331160256, 1331160276, 1331160279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.3288357257843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 00:09:02.703888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/01/image_25012025_00_01_02_684923_0002.jpg', '/home/pi/Desktop/images/25012025/00/01/image_25012025_00_01_02_684923_0003.jpg', '/home/pi/Desktop/images/25012025/00/02/image_25012025_00_02_02_992702_0000.jpg', '/home/pi/Desktop/images/25012025/00/02/image_25012025_00_02_02_992702_0001.jpg', '/home/pi/Desktop/images/25012025/00/02/image_25012025_00_02_02_992702_0002.jpg', '/home/pi/Desktop/images/25012025/00/02/image_25012025_00_02_02_992702_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/01/image_25012025_00_01_02_684923_0002.jpg
/home/pi/Desktop/images/25012025/00/01/image_25012025_00_01_02_684923_0003.jpg
/home/pi/Desktop/images/25012025/00/02/image_25012025_00_02_02_992702_0000.jpg
/home/pi/Desktop/images/25012025/00/02/image_25012025_00_02_02_992702_0001.jpg
/home/pi/Desktop/images/25012025/00/02/image_25012025_00_02_02_992702_0002.jpg
/home/pi/Desktop/images/25012025/00/02/image_25012025_00_02_02_992702_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 [200]>
b'{"photo_ids":["1331160348","1331160473","1331160368","1331160446","1331160316","1331160319"],"photo_ids_order":["1331160316","1331160319","1331160348","1331160368","1331160446","1331160473"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/46f75a5044ef51471cd89c19ccb3968d.jpg","text":"TemporaryFile(/tmp/multipartBody7444325653014244435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760233073,"filename":"image_25012025_00_02_02_992702_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2f5989ad336f3663078830241af1276d.jpg","text":"TemporaryFile(/tmp/multipartBody3874917441927655245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760233073,"filename":"image_25012025_00_02_02_992702_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/208676243279a1fea94847d6e1fa0d23.jpg","text":"TemporaryFile(/tmp/multipartBody3741290178322601625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760233073,"filename":"image_25012025_00_02_02_992702_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3b9a355e58181a96eeecaf112ebc7328.jpg","text":"TemporaryFile(/tmp/multipartBody8804076850403519460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760233073,"filename":"image_25012025_00_02_02_992702_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/83acccd587e182c39e7fd056a7e85272.jpg","text":"TemporaryFile(/tmp/multipartBody3298282138669271780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760233073,"filename":"image_25012025_00_01_02_684923_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e97a5cd9420660feb3e712088dfc2b40.jpg","text":"TemporaryFile(/tmp/multipartBody203031779117143763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760233073,"filename":"image_25012025_00_01_02_684923_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331160348","file1":"1331160319","file0":"1331160316","file4":"1331160446","file5":"1331160473","file3":"1331160368"},"map_files_photo_id_array":[{"photo_id":"1331160473","filename":"file5"},{"photo_id":"1331160348","filename":"file2"},{"photo_id":"1331160446","filename":"file4"},{"photo_id":"1331160319","filename":"file1"},{"photo_id":"1331160316","filename":"file0"},{"photo_id":"1331160368","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331160348":["hashtag1","hashtag2"]},{"1331160473":["hashtag1","hashtag2"]},{"1331160368":["hashtag1","hashtag2"]},{"1331160446":["hashtag1","hashtag2"]},{"1331160316":["hashtag1","hashtag2"]},{"1331160319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331160348, 1331160473, 1331160368, 1331160446, 1331160316, 1331160319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.86569213867188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-25 00:10:52.309147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/47/image_21012025_20_47_02_374820_0002.jpg', '/home/pi/Desktop/images/21012025/20/47/image_21012025_20_47_02_374820_0003.jpg', '/home/pi/Desktop/images/21012025/20/48/image_21012025_20_48_02_496883_0000.jpg', '/home/pi/Desktop/images/21012025/20/48/image_21012025_20_48_02_496883_0001.jpg', '/home/pi/Desktop/images/21012025/20/48/image_21012025_20_48_02_496883_0002.jpg', '/home/pi/Desktop/images/21012025/20/48/image_21012025_20_48_02_496883_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/47/image_21012025_20_47_02_374820_0002.jpg
/home/pi/Desktop/images/21012025/20/47/image_21012025_20_47_02_374820_0003.jpg
/home/pi/Desktop/images/21012025/20/48/image_21012025_20_48_02_496883_0000.jpg
/home/pi/Desktop/images/21012025/20/48/image_21012025_20_48_02_496883_0001.jpg
/home/pi/Desktop/images/21012025/20/48/image_21012025_20_48_02_496883_0002.jpg
/home/pi/Desktop/images/21012025/20/48/image_21012025_20_48_02_496883_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 [200]>
b'{"photo_ids":["1331160516","1331160548","1331160542","1331160545","1331160539","1331160547"],"photo_ids_order":["1331160516","1331160539","1331160542","1331160545","1331160547","1331160548"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b1c4b1802ddc98326c34bfdf18783dca.jpg","text":"TemporaryFile(/tmp/multipartBody8516828977856157337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760334157,"filename":"image_21012025_20_47_02_374820_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7739fc9d3c4f057a9079d6c7ea2575f2.jpg","text":"TemporaryFile(/tmp/multipartBody4014991237419501302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760334157,"filename":"image_21012025_20_48_02_496883_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0b11a65663d271228e4379a0de98b607.jpg","text":"TemporaryFile(/tmp/multipartBody191136786918391689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760334157,"filename":"image_21012025_20_48_02_496883_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c23c585c67e0b43fe44b94f9b5786002.jpg","text":"TemporaryFile(/tmp/multipartBody7137992607512565659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760334157,"filename":"image_21012025_20_48_02_496883_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/37cf17fdab4f24cab9fe793c6f6b0c4c.jpg","text":"TemporaryFile(/tmp/multipartBody1661196965672733568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760334157,"filename":"image_21012025_20_47_02_374820_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0f2216e161e88580169dc073ca01db83.jpg","text":"TemporaryFile(/tmp/multipartBody7171573568061428696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760334157,"filename":"image_21012025_20_48_02_496883_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331160542","file1":"1331160539","file0":"1331160516","file4":"1331160547","file5":"1331160548","file3":"1331160545"},"map_files_photo_id_array":[{"photo_id":"1331160548","filename":"file5"},{"photo_id":"1331160542","filename":"file2"},{"photo_id":"1331160547","filename":"file4"},{"photo_id":"1331160539","filename":"file1"},{"photo_id":"1331160516","filename":"file0"},{"photo_id":"1331160545","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331160516":["hashtag1","hashtag2"]},{"1331160548":["hashtag1","hashtag2"]},{"1331160542":["hashtag1","hashtag2"]},{"1331160545":["hashtag1","hashtag2"]},{"1331160539":["hashtag1","hashtag2"]},{"1331160547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331160516, 1331160548, 1331160542, 1331160545, 1331160539, 1331160547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 74.38934826850891 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 00:12:22.653807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/03/image_25012025_00_03_02_111871_0000.jpg', '/home/pi/Desktop/images/25012025/00/03/image_25012025_00_03_02_111871_0001.jpg', '/home/pi/Desktop/images/25012025/00/03/image_25012025_00_03_02_111871_0002.jpg', '/home/pi/Desktop/images/25012025/00/03/image_25012025_00_03_02_111871_0003.jpg', '/home/pi/Desktop/images/25012025/00/04/image_25012025_00_04_02_305410_0000.jpg', '/home/pi/Desktop/images/25012025/00/04/image_25012025_00_04_02_305410_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/03/image_25012025_00_03_02_111871_0000.jpg
/home/pi/Desktop/images/25012025/00/03/image_25012025_00_03_02_111871_0001.jpg
/home/pi/Desktop/images/25012025/00/03/image_25012025_00_03_02_111871_0002.jpg
/home/pi/Desktop/images/25012025/00/03/image_25012025_00_03_02_111871_0003.jpg
/home/pi/Desktop/images/25012025/00/04/image_25012025_00_04_02_305410_0000.jpg
/home/pi/Desktop/images/25012025/00/04/image_25012025_00_04_02_305410_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":["1331160657","1331160645","1331160639","1331160633","1331160650","1331160654"],"photo_ids_order":["1331160633","1331160639","1331160645","1331160650","1331160654","1331160657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/854b8024392362c796a3a2ec7e5abb55.jpg","text":"TemporaryFile(/tmp/multipartBody2442267196560623785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760450102,"filename":"image_25012025_00_04_02_305410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3a0a879cff5819be98cb627c7e793553.jpg","text":"TemporaryFile(/tmp/multipartBody1867868946805817668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760450102,"filename":"image_25012025_00_03_02_111871_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/537dd51baf7c7976c81b6b68e64c2716.jpg","text":"TemporaryFile(/tmp/multipartBody3904255539052355805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760450102,"filename":"image_25012025_00_03_02_111871_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5d72913e4351e7f652bda0f906b8aabc.jpg","text":"TemporaryFile(/tmp/multipartBody3627213143180054283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760450102,"filename":"image_25012025_00_03_02_111871_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d8446cc70e9e6ad4ac16438410448d66.jpg","text":"TemporaryFile(/tmp/multipartBody6901092987011950070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760450102,"filename":"image_25012025_00_03_02_111871_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eb489d8dd33fed25ab697f14ca39aa99.jpg","text":"TemporaryFile(/tmp/multipartBody5246739660474663471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760450102,"filename":"image_25012025_00_04_02_305410_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331160645","file1":"1331160639","file0":"1331160633","file4":"1331160654","file5":"1331160657","file3":"1331160650"},"map_files_photo_id_array":[{"photo_id":"1331160657","filename":"file5"},{"photo_id":"1331160645","filename":"file2"},{"photo_id":"1331160654","filename":"file4"},{"photo_id":"1331160639","filename":"file1"},{"photo_id":"1331160633","filename":"file0"},{"photo_id":"1331160650","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331160657":["hashtag1","hashtag2"]},{"1331160645":["hashtag1","hashtag2"]},{"1331160639":["hashtag1","hashtag2"]},{"1331160633":["hashtag1","hashtag2"]},{"1331160650":["hashtag1","hashtag2"]},{"1331160654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331160657, 1331160645, 1331160639, 1331160633, 1331160650, 1331160654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.76036667823792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 00:14:21.954969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/04/image_25012025_00_04_02_305410_0002.jpg', '/home/pi/Desktop/images/25012025/00/04/image_25012025_00_04_02_305410_0003.jpg', '/home/pi/Desktop/images/25012025/00/05/image_25012025_00_05_02_493147_0000.jpg', '/home/pi/Desktop/images/25012025/00/05/image_25012025_00_05_02_493147_0001.jpg', '/home/pi/Desktop/images/25012025/00/05/image_25012025_00_05_02_493147_0002.jpg', '/home/pi/Desktop/images/25012025/00/05/image_25012025_00_05_02_493147_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/04/image_25012025_00_04_02_305410_0002.jpg
/home/pi/Desktop/images/25012025/00/04/image_25012025_00_04_02_305410_0003.jpg
/home/pi/Desktop/images/25012025/00/05/image_25012025_00_05_02_493147_0000.jpg
/home/pi/Desktop/images/25012025/00/05/image_25012025_00_05_02_493147_0001.jpg
/home/pi/Desktop/images/25012025/00/05/image_25012025_00_05_02_493147_0002.jpg
/home/pi/Desktop/images/25012025/00/05/image_25012025_00_05_02_493147_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: 47.241403341293335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 00:15:22.206131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/04/image_25012025_00_04_02_305410_0002.jpg', '/home/pi/Desktop/images/25012025/00/04/image_25012025_00_04_02_305410_0003.jpg', '/home/pi/Desktop/images/25012025/00/05/image_25012025_00_05_02_493147_0000.jpg', '/home/pi/Desktop/images/25012025/00/05/image_25012025_00_05_02_493147_0001.jpg', '/home/pi/Desktop/images/25012025/00/05/image_25012025_00_05_02_493147_0002.jpg', '/home/pi/Desktop/images/25012025/00/05/image_25012025_00_05_02_493147_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/04/image_25012025_00_04_02_305410_0002.jpg
/home/pi/Desktop/images/25012025/00/04/image_25012025_00_04_02_305410_0003.jpg
/home/pi/Desktop/images/25012025/00/05/image_25012025_00_05_02_493147_0000.jpg
/home/pi/Desktop/images/25012025/00/05/image_25012025_00_05_02_493147_0001.jpg
/home/pi/Desktop/images/25012025/00/05/image_25012025_00_05_02_493147_0002.jpg
/home/pi/Desktop/images/25012025/00/05/image_25012025_00_05_02_493147_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":["1331160861","1331160881","1331160866","1331160751","1331160798","1331160753"],"photo_ids_order":["1331160751","1331160753","1331160798","1331160861","1331160866","1331160881"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7aad39781ebb5e2fe1abb6c299fb0fbc.jpg","text":"TemporaryFile(/tmp/multipartBody8695805179113744259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760613495,"filename":"image_25012025_00_05_02_493147_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/edf32b61c4c21f916fe1a42a4d337395.jpg","text":"TemporaryFile(/tmp/multipartBody1657887840689897365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760613495,"filename":"image_25012025_00_05_02_493147_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/41fd14e47bfdff46bd87129001e3fc6b.jpg","text":"TemporaryFile(/tmp/multipartBody9195399704620824701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760613495,"filename":"image_25012025_00_05_02_493147_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/409879fb663c499eadb60d6fedccdd6a.jpg","text":"TemporaryFile(/tmp/multipartBody4121958503377719336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760613495,"filename":"image_25012025_00_04_02_305410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d344c9a050aef0226f2e679f75d24737.jpg","text":"TemporaryFile(/tmp/multipartBody1251133843008875787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760613495,"filename":"image_25012025_00_05_02_493147_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d720afe00b9a1d1fa4a8634aa43cf7fd.jpg","text":"TemporaryFile(/tmp/multipartBody1915540558083854738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760613495,"filename":"image_25012025_00_04_02_305410_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331160798","file1":"1331160753","file0":"1331160751","file4":"1331160866","file5":"1331160881","file3":"1331160861"},"map_files_photo_id_array":[{"photo_id":"1331160881","filename":"file5"},{"photo_id":"1331160798","filename":"file2"},{"photo_id":"1331160866","filename":"file4"},{"photo_id":"1331160753","filename":"file1"},{"photo_id":"1331160751","filename":"file0"},{"photo_id":"1331160861","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331160861":["hashtag1","hashtag2"]},{"1331160881":["hashtag1","hashtag2"]},{"1331160866":["hashtag1","hashtag2"]},{"1331160751":["hashtag1","hashtag2"]},{"1331160798":["hashtag1","hashtag2"]},{"1331160753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331160861, 1331160881, 1331160866, 1331160751, 1331160798, 1331160753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.379230260849 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-25 00:16:52.327661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/49/image_21012025_20_49_02_676508_0000.jpg', '/home/pi/Desktop/images/21012025/20/49/image_21012025_20_49_02_676508_0001.jpg', '/home/pi/Desktop/images/21012025/20/49/image_21012025_20_49_02_676508_0002.jpg', '/home/pi/Desktop/images/21012025/20/50/image_21012025_20_50_02_857209_0000.jpg', '/home/pi/Desktop/images/21012025/20/50/image_21012025_20_50_02_857209_0001.jpg', '/home/pi/Desktop/images/21012025/20/50/image_21012025_20_50_02_857209_0002.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/49/image_21012025_20_49_02_676508_0000.jpg
/home/pi/Desktop/images/21012025/20/49/image_21012025_20_49_02_676508_0001.jpg
/home/pi/Desktop/images/21012025/20/49/image_21012025_20_49_02_676508_0002.jpg
/home/pi/Desktop/images/21012025/20/50/image_21012025_20_50_02_857209_0000.jpg
/home/pi/Desktop/images/21012025/20/50/image_21012025_20_50_02_857209_0001.jpg
/home/pi/Desktop/images/21012025/20/50/image_21012025_20_50_02_857209_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331161119","1331161121","1331161124","1331161120","1331161117","1331161128"],"photo_ids_order":["1331161117","1331161119","1331161120","1331161121","1331161124","1331161128"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c25a171b5cac8b5ad725402efdceb67b.jpg","text":"TemporaryFile(/tmp/multipartBody8436365002628930363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760714415,"filename":"image_21012025_20_49_02_676508_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c55e1ab079499eebea866ad8165ef08a.jpg","text":"TemporaryFile(/tmp/multipartBody2227354451324087766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760714415,"filename":"image_21012025_20_50_02_857209_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7889e3cd56129b3e3083ac1143517c28.jpg","text":"TemporaryFile(/tmp/multipartBody6727634798859830744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760714415,"filename":"image_21012025_20_50_02_857209_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/16d6e244dadc5e2dde25478ae6ecfd45.jpg","text":"TemporaryFile(/tmp/multipartBody8486232972505138063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760714415,"filename":"image_21012025_20_49_02_676508_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/29453d640b646fce28dc2e249221ae5d.jpg","text":"TemporaryFile(/tmp/multipartBody3540024290175610145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760714415,"filename":"image_21012025_20_49_02_676508_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/33c1869de2ed252de046176a8aa2fc96.jpg","text":"TemporaryFile(/tmp/multipartBody7403235150596149062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760714415,"filename":"image_21012025_20_50_02_857209_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331161120","file1":"1331161119","file0":"1331161117","file4":"1331161124","file5":"1331161128","file3":"1331161121"},"map_files_photo_id_array":[{"photo_id":"1331161128","filename":"file5"},{"photo_id":"1331161120","filename":"file2"},{"photo_id":"1331161124","filename":"file4"},{"photo_id":"1331161119","filename":"file1"},{"photo_id":"1331161117","filename":"file0"},{"photo_id":"1331161121","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331161119":["hashtag1","hashtag2"]},{"1331161121":["hashtag1","hashtag2"]},{"1331161124":["hashtag1","hashtag2"]},{"1331161120":["hashtag1","hashtag2"]},{"1331161117":["hashtag1","hashtag2"]},{"1331161128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331161119, 1331161121, 1331161124, 1331161120, 1331161117, 1331161128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.9247031211853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-25 00:18:52.664897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/50/image_21012025_20_50_02_857209_0003.jpg', '/home/pi/Desktop/images/21012025/20/51/image_21012025_20_51_03_054404_0000.jpg', '/home/pi/Desktop/images/21012025/20/51/image_21012025_20_51_03_054404_0001.jpg', '/home/pi/Desktop/images/21012025/20/51/image_21012025_20_51_03_054404_0002.jpg', '/home/pi/Desktop/images/21012025/20/52/image_21012025_20_52_02_239493_0000.jpg', '/home/pi/Desktop/images/21012025/20/52/image_21012025_20_52_02_239493_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/50/image_21012025_20_50_02_857209_0003.jpg
/home/pi/Desktop/images/21012025/20/51/image_21012025_20_51_03_054404_0000.jpg
/home/pi/Desktop/images/21012025/20/51/image_21012025_20_51_03_054404_0001.jpg
/home/pi/Desktop/images/21012025/20/51/image_21012025_20_51_03_054404_0002.jpg
/home/pi/Desktop/images/21012025/20/52/image_21012025_20_52_02_239493_0000.jpg
/home/pi/Desktop/images/21012025/20/52/image_21012025_20_52_02_239493_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":["1331161892","1331161943","1331161894","1331161864","1331161737","1331161644"],"photo_ids_order":["1331161644","1331161737","1331161864","1331161892","1331161894","1331161943"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/407e9d19282bec5f5eb10dd8f25bb699.jpg","text":"TemporaryFile(/tmp/multipartBody6374868085046366315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760823699,"filename":"image_21012025_20_51_03_054404_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/886e59393e8baf459339201d01220941.jpg","text":"TemporaryFile(/tmp/multipartBody3002931965371109962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760823699,"filename":"image_21012025_20_52_02_239493_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0a999b704ab4c3485109220f73539395.jpg","text":"TemporaryFile(/tmp/multipartBody1046379928677060175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760823699,"filename":"image_21012025_20_52_02_239493_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/39d9dc9cd831672162073a0ef1d69b91.jpg","text":"TemporaryFile(/tmp/multipartBody3275363193015900101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760823699,"filename":"image_21012025_20_51_03_054404_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/768244a7d9ffd870d5d32e543270d177.jpg","text":"TemporaryFile(/tmp/multipartBody4184518012116179936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760823699,"filename":"image_21012025_20_51_03_054404_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ad3e1de5dca12950ec4d034be09f2ea0.jpg","text":"TemporaryFile(/tmp/multipartBody1735144539043759923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760823699,"filename":"image_21012025_20_50_02_857209_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331161864","file1":"1331161737","file0":"1331161644","file4":"1331161894","file5":"1331161943","file3":"1331161892"},"map_files_photo_id_array":[{"photo_id":"1331161943","filename":"file5"},{"photo_id":"1331161864","filename":"file2"},{"photo_id":"1331161894","filename":"file4"},{"photo_id":"1331161737","filename":"file1"},{"photo_id":"1331161644","filename":"file0"},{"photo_id":"1331161892","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331161892":["hashtag1","hashtag2"]},{"1331161943":["hashtag1","hashtag2"]},{"1331161894":["hashtag1","hashtag2"]},{"1331161864":["hashtag1","hashtag2"]},{"1331161737":["hashtag1","hashtag2"]},{"1331161644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331161892, 1331161943, 1331161894, 1331161864, 1331161737, 1331161644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 79.96491169929504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 00:20:22.045381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/06/image_25012025_00_06_02_670751_0000.jpg', '/home/pi/Desktop/images/25012025/00/06/image_25012025_00_06_02_670751_0001.jpg', '/home/pi/Desktop/images/25012025/00/06/image_25012025_00_06_02_670751_0002.jpg', '/home/pi/Desktop/images/25012025/00/06/image_25012025_00_06_02_670751_0003.jpg', '/home/pi/Desktop/images/25012025/00/07/image_25012025_00_07_02_874611_0000.jpg', '/home/pi/Desktop/images/25012025/00/07/image_25012025_00_07_02_874611_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/06/image_25012025_00_06_02_670751_0000.jpg
/home/pi/Desktop/images/25012025/00/06/image_25012025_00_06_02_670751_0001.jpg
/home/pi/Desktop/images/25012025/00/06/image_25012025_00_06_02_670751_0002.jpg
/home/pi/Desktop/images/25012025/00/06/image_25012025_00_06_02_670751_0003.jpg
/home/pi/Desktop/images/25012025/00/07/image_25012025_00_07_02_874611_0000.jpg
/home/pi/Desktop/images/25012025/00/07/image_25012025_00_07_02_874611_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":["1331162252","1331162290","1331162266","1331162347","1331162229","1331162360"],"photo_ids_order":["1331162229","1331162252","1331162266","1331162290","1331162347","1331162360"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/61e30ece5b7bb07aaef6892f54db6cd6.jpg","text":"TemporaryFile(/tmp/multipartBody2063251090147053520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760925477,"filename":"image_25012025_00_06_02_670751_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/51b38eca196cb73cab7c6e123cad6dc9.jpg","text":"TemporaryFile(/tmp/multipartBody2101862736050809786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760925477,"filename":"image_25012025_00_06_02_670751_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0ece47aff5ba16ffe0447def5a68271b.jpg","text":"TemporaryFile(/tmp/multipartBody8886043353935851639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760925477,"filename":"image_25012025_00_06_02_670751_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8f6095bf6ac5bfe0756fe36e0f2a7a07.jpg","text":"TemporaryFile(/tmp/multipartBody9149213845579997327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760925477,"filename":"image_25012025_00_07_02_874611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6a4b583475212877d2f16f1af2e1e3b1.jpg","text":"TemporaryFile(/tmp/multipartBody1500634853647995857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760925477,"filename":"image_25012025_00_06_02_670751_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7b79c46e4baa813069cfedba82131eb0.jpg","text":"TemporaryFile(/tmp/multipartBody4799967443514477617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737760925477,"filename":"image_25012025_00_07_02_874611_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331162266","file1":"1331162252","file0":"1331162229","file4":"1331162347","file5":"1331162360","file3":"1331162290"},"map_files_photo_id_array":[{"photo_id":"1331162360","filename":"file5"},{"photo_id":"1331162266","filename":"file2"},{"photo_id":"1331162347","filename":"file4"},{"photo_id":"1331162252","filename":"file1"},{"photo_id":"1331162229","filename":"file0"},{"photo_id":"1331162290","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331162252":["hashtag1","hashtag2"]},{"1331162290":["hashtag1","hashtag2"]},{"1331162266":["hashtag1","hashtag2"]},{"1331162347":["hashtag1","hashtag2"]},{"1331162229":["hashtag1","hashtag2"]},{"1331162360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331162252, 1331162290, 1331162266, 1331162347, 1331162229, 1331162360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.40808343887329 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 00:22:22.441394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/07/image_25012025_00_07_02_874611_0002.jpg', '/home/pi/Desktop/images/25012025/00/07/image_25012025_00_07_02_874611_0003.jpg', '/home/pi/Desktop/images/25012025/00/08/image_25012025_00_08_02_211376_0000.jpg', '/home/pi/Desktop/images/25012025/00/08/image_25012025_00_08_02_211376_0001.jpg', '/home/pi/Desktop/images/25012025/00/08/image_25012025_00_08_02_211376_0002.jpg', '/home/pi/Desktop/images/25012025/00/08/image_25012025_00_08_02_211376_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/07/image_25012025_00_07_02_874611_0002.jpg
/home/pi/Desktop/images/25012025/00/07/image_25012025_00_07_02_874611_0003.jpg
/home/pi/Desktop/images/25012025/00/08/image_25012025_00_08_02_211376_0000.jpg
/home/pi/Desktop/images/25012025/00/08/image_25012025_00_08_02_211376_0001.jpg
/home/pi/Desktop/images/25012025/00/08/image_25012025_00_08_02_211376_0002.jpg
/home/pi/Desktop/images/25012025/00/08/image_25012025_00_08_02_211376_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":["1331162516","1331162499","1331162559","1331162550","1331162568","1331162514"],"photo_ids_order":["1331162499","1331162514","1331162516","1331162550","1331162559","1331162568"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/64f58d852638d7dc98040fbf9d1bf9a2.jpg","text":"TemporaryFile(/tmp/multipartBody8694164243760162760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761030142,"filename":"image_25012025_00_08_02_211376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4d47ecd9006c8f536ab6e2ed545ffcfa.jpg","text":"TemporaryFile(/tmp/multipartBody5598785009207225632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761030142,"filename":"image_25012025_00_07_02_874611_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ddff7c505f6e8984c06ee10774aa0d11.jpg","text":"TemporaryFile(/tmp/multipartBody4375401884724759083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761030142,"filename":"image_25012025_00_08_02_211376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/852d1a1ab8e062c3d6a20f22b08cd528.jpg","text":"TemporaryFile(/tmp/multipartBody5525331702767030127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761030142,"filename":"image_25012025_00_08_02_211376_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f44d6382b29a99e973f5ee57cc0bfc0e.jpg","text":"TemporaryFile(/tmp/multipartBody284124976576427591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761030142,"filename":"image_25012025_00_08_02_211376_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/42d226a603d58d65fc0a3c9dc0b6aca3.jpg","text":"TemporaryFile(/tmp/multipartBody3759771067777736725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761030142,"filename":"image_25012025_00_07_02_874611_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331162516","file1":"1331162514","file0":"1331162499","file4":"1331162559","file5":"1331162568","file3":"1331162550"},"map_files_photo_id_array":[{"photo_id":"1331162568","filename":"file5"},{"photo_id":"1331162516","filename":"file2"},{"photo_id":"1331162559","filename":"file4"},{"photo_id":"1331162514","filename":"file1"},{"photo_id":"1331162499","filename":"file0"},{"photo_id":"1331162550","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331162516":["hashtag1","hashtag2"]},{"1331162499":["hashtag1","hashtag2"]},{"1331162559":["hashtag1","hashtag2"]},{"1331162550":["hashtag1","hashtag2"]},{"1331162568":["hashtag1","hashtag2"]},{"1331162514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331162516, 1331162499, 1331162559, 1331162550, 1331162568, 1331162514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.42883658409119 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-25 00:23:52.575287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/52/image_21012025_20_52_02_239493_0002.jpg', '/home/pi/Desktop/images/21012025/20/52/image_21012025_20_52_02_239493_0003.jpg', '/home/pi/Desktop/images/21012025/20/53/image_21012025_20_53_02_424986_0000.jpg', '/home/pi/Desktop/images/21012025/20/53/image_21012025_20_53_02_424986_0001.jpg', '/home/pi/Desktop/images/21012025/20/53/image_21012025_20_53_02_424986_0002.jpg', '/home/pi/Desktop/images/21012025/20/53/image_21012025_20_53_02_424986_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/52/image_21012025_20_52_02_239493_0002.jpg
/home/pi/Desktop/images/21012025/20/52/image_21012025_20_52_02_239493_0003.jpg
/home/pi/Desktop/images/21012025/20/53/image_21012025_20_53_02_424986_0000.jpg
/home/pi/Desktop/images/21012025/20/53/image_21012025_20_53_02_424986_0001.jpg
/home/pi/Desktop/images/21012025/20/53/image_21012025_20_53_02_424986_0002.jpg
/home/pi/Desktop/images/21012025/20/53/image_21012025_20_53_02_424986_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 [200]>
b'{"photo_ids":["1331162924","1331162906","1331162911","1331162902","1331162916","1331162888"],"photo_ids_order":["1331162888","1331162902","1331162906","1331162911","1331162916","1331162924"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/003adca121f775ec86c106d539b24290.jpg","text":"TemporaryFile(/tmp/multipartBody1372991297022189896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761124863,"filename":"image_21012025_20_53_02_424986_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b725ea817a5c3a89715a55ebc659f49b.jpg","text":"TemporaryFile(/tmp/multipartBody4633392238507317517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761124863,"filename":"image_21012025_20_53_02_424986_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6e2cfcbb4d4c1ee378b87a3d2f7db589.jpg","text":"TemporaryFile(/tmp/multipartBody3291717347291680662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761124863,"filename":"image_21012025_20_53_02_424986_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8e779e4d057413332cd6c7c0ae80a33a.jpg","text":"TemporaryFile(/tmp/multipartBody7707846448706372350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761124863,"filename":"image_21012025_20_52_02_239493_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0fe2557c7f14802b8deaf153c4a0eacb.jpg","text":"TemporaryFile(/tmp/multipartBody1322522910221877126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761124863,"filename":"image_21012025_20_53_02_424986_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c8886e3a04cc2840a64d4cd39c7cf657.jpg","text":"TemporaryFile(/tmp/multipartBody5850275813014399317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761124863,"filename":"image_21012025_20_52_02_239493_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331162906","file1":"1331162902","file0":"1331162888","file4":"1331162916","file5":"1331162924","file3":"1331162911"},"map_files_photo_id_array":[{"photo_id":"1331162924","filename":"file5"},{"photo_id":"1331162906","filename":"file2"},{"photo_id":"1331162916","filename":"file4"},{"photo_id":"1331162902","filename":"file1"},{"photo_id":"1331162888","filename":"file0"},{"photo_id":"1331162911","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331162924":["hashtag1","hashtag2"]},{"1331162906":["hashtag1","hashtag2"]},{"1331162911":["hashtag1","hashtag2"]},{"1331162902":["hashtag1","hashtag2"]},{"1331162916":["hashtag1","hashtag2"]},{"1331162888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331162924, 1331162906, 1331162911, 1331162902, 1331162916, 1331162888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.3802855014801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 00:25:22.012639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/09/image_25012025_00_09_02_366888_0000.jpg', '/home/pi/Desktop/images/25012025/00/09/image_25012025_00_09_02_366888_0001.jpg', '/home/pi/Desktop/images/25012025/00/09/image_25012025_00_09_02_366888_0002.jpg', '/home/pi/Desktop/images/25012025/00/09/image_25012025_00_09_02_366888_0003.jpg', '/home/pi/Desktop/images/25012025/00/10/image_25012025_00_10_02_533971_0000.jpg', '/home/pi/Desktop/images/25012025/00/10/image_25012025_00_10_02_533971_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/09/image_25012025_00_09_02_366888_0000.jpg
/home/pi/Desktop/images/25012025/00/09/image_25012025_00_09_02_366888_0001.jpg
/home/pi/Desktop/images/25012025/00/09/image_25012025_00_09_02_366888_0002.jpg
/home/pi/Desktop/images/25012025/00/09/image_25012025_00_09_02_366888_0003.jpg
/home/pi/Desktop/images/25012025/00/10/image_25012025_00_10_02_533971_0000.jpg
/home/pi/Desktop/images/25012025/00/10/image_25012025_00_10_02_533971_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":["1331163094","1331163183","1331163100","1331163147","1331163042","1331163185"],"photo_ids_order":["1331163042","1331163094","1331163100","1331163147","1331163183","1331163185"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a9a7f20d42d9c2883aa13535fcc0520c.jpg","text":"TemporaryFile(/tmp/multipartBody8464534516160905804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761216371,"filename":"image_25012025_00_09_02_366888_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3051c0e8bfef61626e9d4238db0455b4.jpg","text":"TemporaryFile(/tmp/multipartBody1833602052704213501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761216371,"filename":"image_25012025_00_10_02_533971_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/43daa953603bef3c712693e47c4fddaf.jpg","text":"TemporaryFile(/tmp/multipartBody6288865270146643728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761216371,"filename":"image_25012025_00_09_02_366888_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d402ece18a3f9eaa6a32fabaae9bc35f.jpg","text":"TemporaryFile(/tmp/multipartBody5319614733519462312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761216371,"filename":"image_25012025_00_09_02_366888_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f80091e26abb879727f6083520cc1166.jpg","text":"TemporaryFile(/tmp/multipartBody1138110066890209149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761216371,"filename":"image_25012025_00_09_02_366888_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/218348ef34892643eb9f9f7cc3ac1c14.jpg","text":"TemporaryFile(/tmp/multipartBody3242976785893069533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761216371,"filename":"image_25012025_00_10_02_533971_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331163100","file1":"1331163094","file0":"1331163042","file4":"1331163183","file5":"1331163185","file3":"1331163147"},"map_files_photo_id_array":[{"photo_id":"1331163185","filename":"file5"},{"photo_id":"1331163100","filename":"file2"},{"photo_id":"1331163183","filename":"file4"},{"photo_id":"1331163094","filename":"file1"},{"photo_id":"1331163042","filename":"file0"},{"photo_id":"1331163147","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331163094":["hashtag1","hashtag2"]},{"1331163183":["hashtag1","hashtag2"]},{"1331163100":["hashtag1","hashtag2"]},{"1331163147":["hashtag1","hashtag2"]},{"1331163042":["hashtag1","hashtag2"]},{"1331163185":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331163094, 1331163183, 1331163100, 1331163147, 1331163042, 1331163185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.32621169090271 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-25 00:26:52.078316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/54/image_21012025_20_54_02_641327_0001.jpg', '/home/pi/Desktop/images/21012025/20/54/image_21012025_20_54_02_641327_0002.jpg', '/home/pi/Desktop/images/21012025/20/54/image_21012025_20_54_02_641327_0003.jpg', '/home/pi/Desktop/images/21012025/20/55/image_21012025_20_55_02_779037_0000.jpg', '/home/pi/Desktop/images/21012025/20/55/image_21012025_20_55_02_779037_0001.jpg', '/home/pi/Desktop/images/21012025/20/55/image_21012025_20_55_02_779037_0002.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/54/image_21012025_20_54_02_641327_0001.jpg
/home/pi/Desktop/images/21012025/20/54/image_21012025_20_54_02_641327_0002.jpg
/home/pi/Desktop/images/21012025/20/54/image_21012025_20_54_02_641327_0003.jpg
/home/pi/Desktop/images/21012025/20/55/image_21012025_20_55_02_779037_0000.jpg
/home/pi/Desktop/images/21012025/20/55/image_21012025_20_55_02_779037_0001.jpg
/home/pi/Desktop/images/21012025/20/55/image_21012025_20_55_02_779037_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 [200]>
b'{"photo_ids":["1331163221","1331163217","1331163211","1331163214","1331163208","1331163218"],"photo_ids_order":["1331163208","1331163211","1331163214","1331163217","1331163218","1331163221"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0acdb9f765b44d112c7550a2e9e0229b.jpg","text":"TemporaryFile(/tmp/multipartBody8039787601856291255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761308351,"filename":"image_21012025_20_55_02_779037_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f22308249115645331fe21d63a5346d9.jpg","text":"TemporaryFile(/tmp/multipartBody1976796250408435023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761308351,"filename":"image_21012025_20_55_02_779037_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/216ad5da62ca507ede8e02d150836bfc.jpg","text":"TemporaryFile(/tmp/multipartBody3175141178833033137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761308351,"filename":"image_21012025_20_54_02_641327_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cdb99aca4d0b2ee28edbcbff4822ea90.jpg","text":"TemporaryFile(/tmp/multipartBody427026300995866141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761308351,"filename":"image_21012025_20_54_02_641327_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6a6461acf2b8e34188081e972a194a5a.jpg","text":"TemporaryFile(/tmp/multipartBody6909032504686441135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761308351,"filename":"image_21012025_20_54_02_641327_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4ee252525faa250f65a3e8a859591c40.jpg","text":"TemporaryFile(/tmp/multipartBody7043788564687428717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761308351,"filename":"image_21012025_20_55_02_779037_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331163214","file1":"1331163211","file0":"1331163208","file4":"1331163218","file5":"1331163221","file3":"1331163217"},"map_files_photo_id_array":[{"photo_id":"1331163221","filename":"file5"},{"photo_id":"1331163214","filename":"file2"},{"photo_id":"1331163218","filename":"file4"},{"photo_id":"1331163211","filename":"file1"},{"photo_id":"1331163208","filename":"file0"},{"photo_id":"1331163217","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331163221":["hashtag1","hashtag2"]},{"1331163217":["hashtag1","hashtag2"]},{"1331163211":["hashtag1","hashtag2"]},{"1331163214":["hashtag1","hashtag2"]},{"1331163208":["hashtag1","hashtag2"]},{"1331163218":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331163221, 1331163217, 1331163211, 1331163214, 1331163208, 1331163218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.63480043411255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 00:28:22.474172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/10/image_25012025_00_10_02_533971_0002.jpg', '/home/pi/Desktop/images/25012025/00/10/image_25012025_00_10_02_533971_0003.jpg', '/home/pi/Desktop/images/25012025/00/11/image_25012025_00_11_02_682928_0000.jpg', '/home/pi/Desktop/images/25012025/00/11/image_25012025_00_11_02_682928_0001.jpg', '/home/pi/Desktop/images/25012025/00/11/image_25012025_00_11_02_682928_0002.jpg', '/home/pi/Desktop/images/25012025/00/11/image_25012025_00_11_02_682928_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/10/image_25012025_00_10_02_533971_0002.jpg
/home/pi/Desktop/images/25012025/00/10/image_25012025_00_10_02_533971_0003.jpg
/home/pi/Desktop/images/25012025/00/11/image_25012025_00_11_02_682928_0000.jpg
/home/pi/Desktop/images/25012025/00/11/image_25012025_00_11_02_682928_0001.jpg
/home/pi/Desktop/images/25012025/00/11/image_25012025_00_11_02_682928_0002.jpg
/home/pi/Desktop/images/25012025/00/11/image_25012025_00_11_02_682928_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: 39.70215582847595 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-25 00:29:22.641006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/10/image_25012025_00_10_02_533971_0002.jpg', '/home/pi/Desktop/images/25012025/00/10/image_25012025_00_10_02_533971_0003.jpg', '/home/pi/Desktop/images/25012025/00/11/image_25012025_00_11_02_682928_0000.jpg', '/home/pi/Desktop/images/25012025/00/11/image_25012025_00_11_02_682928_0001.jpg', '/home/pi/Desktop/images/25012025/00/11/image_25012025_00_11_02_682928_0002.jpg', '/home/pi/Desktop/images/25012025/00/11/image_25012025_00_11_02_682928_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/10/image_25012025_00_10_02_533971_0002.jpg
/home/pi/Desktop/images/25012025/00/10/image_25012025_00_10_02_533971_0003.jpg
/home/pi/Desktop/images/25012025/00/11/image_25012025_00_11_02_682928_0000.jpg
/home/pi/Desktop/images/25012025/00/11/image_25012025_00_11_02_682928_0001.jpg
/home/pi/Desktop/images/25012025/00/11/image_25012025_00_11_02_682928_0002.jpg
/home/pi/Desktop/images/25012025/00/11/image_25012025_00_11_02_682928_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 [200]>
b'{"photo_ids":["1331163670","1331163637","1331163666","1331163570","1331163662","1331163656"],"photo_ids_order":["1331163570","1331163637","1331163656","1331163662","1331163666","1331163670"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e5b4f11b9818ff46d7a027f31516e83c.jpg","text":"TemporaryFile(/tmp/multipartBody5390826413693672465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761462628,"filename":"image_25012025_00_11_02_682928_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/57e4ed248df31d1a1fce0f4ec0cbdbc5.jpg","text":"TemporaryFile(/tmp/multipartBody1185736088734621320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761462628,"filename":"image_25012025_00_10_02_533971_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/08d9c5670256c6a5d2b51db86b0dd216.jpg","text":"TemporaryFile(/tmp/multipartBody5558636519863532369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761462628,"filename":"image_25012025_00_11_02_682928_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bd25a3b06e35d622e2b37b7e4cb0dd55.jpg","text":"TemporaryFile(/tmp/multipartBody8466364801005455520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761462628,"filename":"image_25012025_00_10_02_533971_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9e4187521fc1d804cc45b5623a23eaa6.jpg","text":"TemporaryFile(/tmp/multipartBody5629826625718871504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761462628,"filename":"image_25012025_00_11_02_682928_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/06fb1aff11147a5f369b24bb6ee77577.jpg","text":"TemporaryFile(/tmp/multipartBody8560080299053403923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761462628,"filename":"image_25012025_00_11_02_682928_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331163656","file1":"1331163637","file0":"1331163570","file4":"1331163666","file5":"1331163670","file3":"1331163662"},"map_files_photo_id_array":[{"photo_id":"1331163670","filename":"file5"},{"photo_id":"1331163656","filename":"file2"},{"photo_id":"1331163666","filename":"file4"},{"photo_id":"1331163637","filename":"file1"},{"photo_id":"1331163570","filename":"file0"},{"photo_id":"1331163662","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331163670":["hashtag1","hashtag2"]},{"1331163637":["hashtag1","hashtag2"]},{"1331163666":["hashtag1","hashtag2"]},{"1331163570":["hashtag1","hashtag2"]},{"1331163662":["hashtag1","hashtag2"]},{"1331163656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331163670, 1331163637, 1331163666, 1331163570, 1331163662, 1331163656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.51377272605896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 00:31:02.637060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/12/image_25012025_00_12_02_859551_0000.jpg', '/home/pi/Desktop/images/25012025/00/12/image_25012025_00_12_02_859551_0001.jpg', '/home/pi/Desktop/images/25012025/00/12/image_25012025_00_12_02_859551_0002.jpg', '/home/pi/Desktop/images/25012025/00/12/image_25012025_00_12_02_859551_0003.jpg', '/home/pi/Desktop/images/25012025/00/13/image_25012025_00_13_03_069008_0000.jpg', '/home/pi/Desktop/images/25012025/00/13/image_25012025_00_13_03_069008_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/12/image_25012025_00_12_02_859551_0000.jpg
/home/pi/Desktop/images/25012025/00/12/image_25012025_00_12_02_859551_0001.jpg
/home/pi/Desktop/images/25012025/00/12/image_25012025_00_12_02_859551_0002.jpg
/home/pi/Desktop/images/25012025/00/12/image_25012025_00_12_02_859551_0003.jpg
/home/pi/Desktop/images/25012025/00/13/image_25012025_00_13_03_069008_0000.jpg
/home/pi/Desktop/images/25012025/00/13/image_25012025_00_13_03_069008_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":["1331163742","1331163747","1331163732","1331163729","1331163738","1331163749"],"photo_ids_order":["1331163729","1331163732","1331163738","1331163742","1331163747","1331163749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1f225a5b4b1d2a196521c2a5ec2df664.jpg","text":"TemporaryFile(/tmp/multipartBody1671129431019979654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761570981,"filename":"image_25012025_00_12_02_859551_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c76092925dd5c7ec54d571d73b23bf41.jpg","text":"TemporaryFile(/tmp/multipartBody6516445130806120211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761570981,"filename":"image_25012025_00_13_03_069008_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cc2916aa8ead298aaa15b1e07f17861e.jpg","text":"TemporaryFile(/tmp/multipartBody5873486519898869191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761570981,"filename":"image_25012025_00_12_02_859551_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/62c844f622727b23a98f0d9a6e32983e.jpg","text":"TemporaryFile(/tmp/multipartBody7281394071276922950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761570981,"filename":"image_25012025_00_12_02_859551_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ef9c46782efd9dc3b43c4196c40d861f.jpg","text":"TemporaryFile(/tmp/multipartBody2975094040777585834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761570981,"filename":"image_25012025_00_12_02_859551_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a475459959aeb241d03841f5432b7315.jpg","text":"TemporaryFile(/tmp/multipartBody6601443640933230334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761570981,"filename":"image_25012025_00_13_03_069008_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331163738","file1":"1331163732","file0":"1331163729","file4":"1331163747","file5":"1331163749","file3":"1331163742"},"map_files_photo_id_array":[{"photo_id":"1331163749","filename":"file5"},{"photo_id":"1331163738","filename":"file2"},{"photo_id":"1331163747","filename":"file4"},{"photo_id":"1331163732","filename":"file1"},{"photo_id":"1331163729","filename":"file0"},{"photo_id":"1331163742","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331163742":["hashtag1","hashtag2"]},{"1331163747":["hashtag1","hashtag2"]},{"1331163732":["hashtag1","hashtag2"]},{"1331163729":["hashtag1","hashtag2"]},{"1331163738":["hashtag1","hashtag2"]},{"1331163749":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331163742, 1331163747, 1331163732, 1331163729, 1331163738, 1331163749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.45976901054382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-25 00:32:52.130062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/56/image_21012025_20_56_02_967082_0000.jpg', '/home/pi/Desktop/images/21012025/20/56/image_21012025_20_56_02_967082_0002.jpg', '/home/pi/Desktop/images/21012025/20/56/image_21012025_20_56_02_967082_0003.jpg', '/home/pi/Desktop/images/21012025/20/57/image_21012025_20_57_03_091112_0001.jpg', '/home/pi/Desktop/images/21012025/20/57/image_21012025_20_57_03_091112_0002.jpg', '/home/pi/Desktop/images/21012025/20/57/image_21012025_20_57_03_091112_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/56/image_21012025_20_56_02_967082_0000.jpg
/home/pi/Desktop/images/21012025/20/56/image_21012025_20_56_02_967082_0002.jpg
/home/pi/Desktop/images/21012025/20/56/image_21012025_20_56_02_967082_0003.jpg
/home/pi/Desktop/images/21012025/20/57/image_21012025_20_57_03_091112_0001.jpg
/home/pi/Desktop/images/21012025/20/57/image_21012025_20_57_03_091112_0002.jpg
/home/pi/Desktop/images/21012025/20/57/image_21012025_20_57_03_091112_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 [200]>
b'{"photo_ids":["1331163811","1331163814","1331163808","1331163813","1331163801","1331163815"],"photo_ids_order":["1331163801","1331163808","1331163811","1331163813","1331163814","1331163815"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9fabe20af957de44a644b19588761693.jpg","text":"TemporaryFile(/tmp/multipartBody1434590339392524290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761658100,"filename":"image_21012025_20_56_02_967082_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/76053b59027a2b5bb02dc2bb6887f0b3.jpg","text":"TemporaryFile(/tmp/multipartBody3991106688673908139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761658100,"filename":"image_21012025_20_57_03_091112_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/349a3691b4e45ba434bab31e7a8ee78b.jpg","text":"TemporaryFile(/tmp/multipartBody8772505615382587257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761658100,"filename":"image_21012025_20_56_02_967082_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/678c33b5102304a73b9faad6c051c054.jpg","text":"TemporaryFile(/tmp/multipartBody8372741402896590789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761658100,"filename":"image_21012025_20_57_03_091112_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c9d6da3f8ba23e4ed99ed136aa68f4f2.jpg","text":"TemporaryFile(/tmp/multipartBody7768327282492313480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761658100,"filename":"image_21012025_20_56_02_967082_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2edf200d13a2d1708b2a7aeb62cc578b.jpg","text":"TemporaryFile(/tmp/multipartBody8439144649036893737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761658100,"filename":"image_21012025_20_57_03_091112_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331163811","file1":"1331163808","file0":"1331163801","file4":"1331163814","file5":"1331163815","file3":"1331163813"},"map_files_photo_id_array":[{"photo_id":"1331163815","filename":"file5"},{"photo_id":"1331163811","filename":"file2"},{"photo_id":"1331163814","filename":"file4"},{"photo_id":"1331163808","filename":"file1"},{"photo_id":"1331163801","filename":"file0"},{"photo_id":"1331163813","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331163811":["hashtag1","hashtag2"]},{"1331163814":["hashtag1","hashtag2"]},{"1331163808":["hashtag1","hashtag2"]},{"1331163813":["hashtag1","hashtag2"]},{"1331163801":["hashtag1","hashtag2"]},{"1331163815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331163811, 1331163814, 1331163808, 1331163813, 1331163801, 1331163815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 83.06064534187317 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 00:34:22.485434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/13/image_25012025_00_13_03_069008_0002.jpg', '/home/pi/Desktop/images/25012025/00/13/image_25012025_00_13_03_069008_0003.jpg', '/home/pi/Desktop/images/25012025/00/14/image_25012025_00_14_02_184189_0000.jpg', '/home/pi/Desktop/images/25012025/00/14/image_25012025_00_14_02_184189_0001.jpg', '/home/pi/Desktop/images/25012025/00/14/image_25012025_00_14_02_184189_0002.jpg', '/home/pi/Desktop/images/25012025/00/14/image_25012025_00_14_02_184189_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/13/image_25012025_00_13_03_069008_0002.jpg
/home/pi/Desktop/images/25012025/00/13/image_25012025_00_13_03_069008_0003.jpg
/home/pi/Desktop/images/25012025/00/14/image_25012025_00_14_02_184189_0000.jpg
/home/pi/Desktop/images/25012025/00/14/image_25012025_00_14_02_184189_0001.jpg
/home/pi/Desktop/images/25012025/00/14/image_25012025_00_14_02_184189_0002.jpg
/home/pi/Desktop/images/25012025/00/14/image_25012025_00_14_02_184189_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 [200]>
b'{"photo_ids":["1331163978","1331163933","1331163936","1331163926","1331163920","1331163914"],"photo_ids_order":["1331163914","1331163920","1331163926","1331163933","1331163936","1331163978"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4e389b083e0c6bfd0dc5afd4327ce061.jpg","text":"TemporaryFile(/tmp/multipartBody7478724293875777990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761758977,"filename":"image_25012025_00_14_02_184189_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b98f2f735b6f754d58c9e668aca17dd4.jpg","text":"TemporaryFile(/tmp/multipartBody2871459569520271241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761758977,"filename":"image_25012025_00_14_02_184189_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8da710e7a6c32feee8f3cef79f37e54c.jpg","text":"TemporaryFile(/tmp/multipartBody5624641442886172844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761758977,"filename":"image_25012025_00_14_02_184189_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9f443c48a79fda0e88513d9aae10e695.jpg","text":"TemporaryFile(/tmp/multipartBody28987424019198084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761758977,"filename":"image_25012025_00_14_02_184189_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fc7cef936d313b32e5d23e122384ba1b.jpg","text":"TemporaryFile(/tmp/multipartBody8548075244730274516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761758977,"filename":"image_25012025_00_13_03_069008_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3da1e28644be32f8ae1e204881f832bc.jpg","text":"TemporaryFile(/tmp/multipartBody7026348477019005100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761758977,"filename":"image_25012025_00_13_03_069008_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331163926","file1":"1331163920","file0":"1331163914","file4":"1331163936","file5":"1331163978","file3":"1331163933"},"map_files_photo_id_array":[{"photo_id":"1331163978","filename":"file5"},{"photo_id":"1331163926","filename":"file2"},{"photo_id":"1331163936","filename":"file4"},{"photo_id":"1331163920","filename":"file1"},{"photo_id":"1331163914","filename":"file0"},{"photo_id":"1331163933","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331163978":["hashtag1","hashtag2"]},{"1331163933":["hashtag1","hashtag2"]},{"1331163936":["hashtag1","hashtag2"]},{"1331163926":["hashtag1","hashtag2"]},{"1331163920":["hashtag1","hashtag2"]},{"1331163914":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331163978, 1331163933, 1331163936, 1331163926, 1331163920, 1331163914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.71994996070862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 00:36:02.207341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/15/image_25012025_00_15_02_345774_0000.jpg', '/home/pi/Desktop/images/25012025/00/15/image_25012025_00_15_02_345774_0001.jpg', '/home/pi/Desktop/images/25012025/00/15/image_25012025_00_15_02_345774_0002.jpg', '/home/pi/Desktop/images/25012025/00/15/image_25012025_00_15_02_345774_0003.jpg', '/home/pi/Desktop/images/25012025/00/16/image_25012025_00_16_02_521768_0000.jpg', '/home/pi/Desktop/images/25012025/00/16/image_25012025_00_16_02_521768_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/15/image_25012025_00_15_02_345774_0000.jpg
/home/pi/Desktop/images/25012025/00/15/image_25012025_00_15_02_345774_0001.jpg
/home/pi/Desktop/images/25012025/00/15/image_25012025_00_15_02_345774_0002.jpg
/home/pi/Desktop/images/25012025/00/15/image_25012025_00_15_02_345774_0003.jpg
/home/pi/Desktop/images/25012025/00/16/image_25012025_00_16_02_521768_0000.jpg
/home/pi/Desktop/images/25012025/00/16/image_25012025_00_16_02_521768_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":["1331165583","1331165052","1331164662","1331165415","1331165604","1331165592"],"photo_ids_order":["1331164662","1331165052","1331165415","1331165583","1331165592","1331165604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4210d9db26edc2110da3003a1b9470c8.jpg","text":"TemporaryFile(/tmp/multipartBody6803426788343662801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761874640,"filename":"image_25012025_00_15_02_345774_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/82f9b7e4bff62d72838c89b0c656c3bc.jpg","text":"TemporaryFile(/tmp/multipartBody1330320928628127652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761874640,"filename":"image_25012025_00_15_02_345774_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b640bd16f2bbed9e3ef42bd3a4cbfa44.jpg","text":"TemporaryFile(/tmp/multipartBody1519383857606233704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761874640,"filename":"image_25012025_00_15_02_345774_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/857e18bdf0aac43308fadb28c050ac3a.jpg","text":"TemporaryFile(/tmp/multipartBody2972294537079282439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761874640,"filename":"image_25012025_00_15_02_345774_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d0e4c925110f025e70f0f17b7e965f03.jpg","text":"TemporaryFile(/tmp/multipartBody8271669823562343854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761874640,"filename":"image_25012025_00_16_02_521768_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b38bb0af63cc10d40703aadb1c9318f9.jpg","text":"TemporaryFile(/tmp/multipartBody464491579069691154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761874640,"filename":"image_25012025_00_16_02_521768_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331165415","file1":"1331165052","file0":"1331164662","file4":"1331165592","file5":"1331165604","file3":"1331165583"},"map_files_photo_id_array":[{"photo_id":"1331165604","filename":"file5"},{"photo_id":"1331165415","filename":"file2"},{"photo_id":"1331165592","filename":"file4"},{"photo_id":"1331165052","filename":"file1"},{"photo_id":"1331164662","filename":"file0"},{"photo_id":"1331165583","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331165583":["hashtag1","hashtag2"]},{"1331165052":["hashtag1","hashtag2"]},{"1331164662":["hashtag1","hashtag2"]},{"1331165415":["hashtag1","hashtag2"]},{"1331165604":["hashtag1","hashtag2"]},{"1331165592":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331165583, 1331165052, 1331164662, 1331165415, 1331165604, 1331165592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.38331127166748 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-25 00:37:52.063365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/58/image_21012025_20_58_02_235846_0000.jpg', '/home/pi/Desktop/images/21012025/20/58/image_21012025_20_58_02_235846_0001.jpg', '/home/pi/Desktop/images/21012025/20/58/image_21012025_20_58_02_235846_0002.jpg', '/home/pi/Desktop/images/21012025/20/58/image_21012025_20_58_02_235846_0003.jpg', '/home/pi/Desktop/images/21012025/20/59/image_21012025_20_59_02_400996_0000.jpg', '/home/pi/Desktop/images/21012025/20/59/image_21012025_20_59_02_400996_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/58/image_21012025_20_58_02_235846_0000.jpg
/home/pi/Desktop/images/21012025/20/58/image_21012025_20_58_02_235846_0001.jpg
/home/pi/Desktop/images/21012025/20/58/image_21012025_20_58_02_235846_0002.jpg
/home/pi/Desktop/images/21012025/20/58/image_21012025_20_58_02_235846_0003.jpg
/home/pi/Desktop/images/21012025/20/59/image_21012025_20_59_02_400996_0000.jpg
/home/pi/Desktop/images/21012025/20/59/image_21012025_20_59_02_400996_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":["1331166174","1331166234","1331166300","1331166294","1331166177","1331166270"],"photo_ids_order":["1331166174","1331166177","1331166234","1331166270","1331166294","1331166300"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3aa8455c3fb748eacfc91886f49c6d9f.jpg","text":"TemporaryFile(/tmp/multipartBody5886161873307975564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761980526,"filename":"image_21012025_20_58_02_235846_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2ecb6f034b84ef7d99db66e6e7b01520.jpg","text":"TemporaryFile(/tmp/multipartBody2624195191443260370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761980526,"filename":"image_21012025_20_58_02_235846_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/31ac55aa8964e47c5f59ac221ef36df7.jpg","text":"TemporaryFile(/tmp/multipartBody6563775587779294800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761980526,"filename":"image_21012025_20_59_02_400996_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4ecfe2328e92db49f126514b4a1a9f7a.jpg","text":"TemporaryFile(/tmp/multipartBody1716201428756469894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761980526,"filename":"image_21012025_20_59_02_400996_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/79f14b65a49a04a263d7d8bbb2ee0608.jpg","text":"TemporaryFile(/tmp/multipartBody8828557662472402023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761980526,"filename":"image_21012025_20_58_02_235846_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a5848e5f1382bc1a99933e6d5bab527f.jpg","text":"TemporaryFile(/tmp/multipartBody3194995399711328357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737761980526,"filename":"image_21012025_20_58_02_235846_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331166234","file1":"1331166177","file0":"1331166174","file4":"1331166294","file5":"1331166300","file3":"1331166270"},"map_files_photo_id_array":[{"photo_id":"1331166300","filename":"file5"},{"photo_id":"1331166234","filename":"file2"},{"photo_id":"1331166294","filename":"file4"},{"photo_id":"1331166177","filename":"file1"},{"photo_id":"1331166174","filename":"file0"},{"photo_id":"1331166270","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331166174":["hashtag1","hashtag2"]},{"1331166234":["hashtag1","hashtag2"]},{"1331166300":["hashtag1","hashtag2"]},{"1331166294":["hashtag1","hashtag2"]},{"1331166177":["hashtag1","hashtag2"]},{"1331166270":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331166174, 1331166234, 1331166300, 1331166294, 1331166177, 1331166270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.40212416648865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-25 00:39:52.444083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/00/image_21012025_21_00_02_553903_0000.jpg', '/home/pi/Desktop/images/21012025/21/00/image_21012025_21_00_02_553903_0001.jpg', '/home/pi/Desktop/images/21012025/21/00/image_21012025_21_00_02_553903_0002.jpg', '/home/pi/Desktop/images/21012025/21/00/image_21012025_21_00_02_553903_0003.jpg', '/home/pi/Desktop/images/21012025/21/01/image_21012025_21_01_02_811826_0000.jpg', '/home/pi/Desktop/images/21012025/21/01/image_21012025_21_01_02_811826_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/21/00/image_21012025_21_00_02_553903_0000.jpg
/home/pi/Desktop/images/21012025/21/00/image_21012025_21_00_02_553903_0001.jpg
/home/pi/Desktop/images/21012025/21/00/image_21012025_21_00_02_553903_0002.jpg
/home/pi/Desktop/images/21012025/21/00/image_21012025_21_00_02_553903_0003.jpg
/home/pi/Desktop/images/21012025/21/01/image_21012025_21_01_02_811826_0000.jpg
/home/pi/Desktop/images/21012025/21/01/image_21012025_21_01_02_811826_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":["1331166368","1331166362","1331166358","1331166340","1331166334","1331166336"],"photo_ids_order":["1331166334","1331166336","1331166340","1331166358","1331166362","1331166368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a5a51a7e1671a94bf0c03739fd0fb36e.jpg","text":"TemporaryFile(/tmp/multipartBody3753151249029225411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762089987,"filename":"image_21012025_21_01_02_811826_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ed1e8f39150cf095f26324c8808e4df1.jpg","text":"TemporaryFile(/tmp/multipartBody7675365827466760612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762089987,"filename":"image_21012025_21_01_02_811826_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c6abd9c3fb40d8641b1eeee14db4c75d.jpg","text":"TemporaryFile(/tmp/multipartBody7263992193600082575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762089987,"filename":"image_21012025_21_00_02_553903_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/20ec1dcf8607c80645ed9b5ee74175c2.jpg","text":"TemporaryFile(/tmp/multipartBody232327956548334599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762089987,"filename":"image_21012025_21_00_02_553903_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/64fd1e132dbc58e650df58ad639f94e9.jpg","text":"TemporaryFile(/tmp/multipartBody3106439494967630716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762089987,"filename":"image_21012025_21_00_02_553903_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a4f7e6d6c6901f37bb4b110722437550.jpg","text":"TemporaryFile(/tmp/multipartBody3005413620886761000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762089987,"filename":"image_21012025_21_00_02_553903_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331166340","file1":"1331166336","file0":"1331166334","file4":"1331166362","file5":"1331166368","file3":"1331166358"},"map_files_photo_id_array":[{"photo_id":"1331166368","filename":"file5"},{"photo_id":"1331166340","filename":"file2"},{"photo_id":"1331166362","filename":"file4"},{"photo_id":"1331166336","filename":"file1"},{"photo_id":"1331166334","filename":"file0"},{"photo_id":"1331166358","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331166368":["hashtag1","hashtag2"]},{"1331166362":["hashtag1","hashtag2"]},{"1331166358":["hashtag1","hashtag2"]},{"1331166340":["hashtag1","hashtag2"]},{"1331166334":["hashtag1","hashtag2"]},{"1331166336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331166368, 1331166362, 1331166358, 1331166340, 1331166334, 1331166336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.0012104511261 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-25 00:41:51.895223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/01/image_21012025_21_01_02_811826_0002.jpg', '/home/pi/Desktop/images/21012025/21/01/image_21012025_21_01_02_811826_0003.jpg', '/home/pi/Desktop/images/21012025/21/02/image_21012025_21_02_02_974721_0000.jpg', '/home/pi/Desktop/images/21012025/21/02/image_21012025_21_02_02_974721_0001.jpg', '/home/pi/Desktop/images/21012025/21/02/image_21012025_21_02_02_974721_0002.jpg', '/home/pi/Desktop/images/21012025/21/02/image_21012025_21_02_02_974721_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/21/01/image_21012025_21_01_02_811826_0002.jpg
/home/pi/Desktop/images/21012025/21/01/image_21012025_21_01_02_811826_0003.jpg
/home/pi/Desktop/images/21012025/21/02/image_21012025_21_02_02_974721_0000.jpg
/home/pi/Desktop/images/21012025/21/02/image_21012025_21_02_02_974721_0001.jpg
/home/pi/Desktop/images/21012025/21/02/image_21012025_21_02_02_974721_0002.jpg
/home/pi/Desktop/images/21012025/21/02/image_21012025_21_02_02_974721_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":["1331166663","1331166656","1331166659","1331166640","1331166666","1331166651"],"photo_ids_order":["1331166640","1331166651","1331166656","1331166659","1331166663","1331166666"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6da0569c8ee34d4de4763b4e4de6537d.jpg","text":"TemporaryFile(/tmp/multipartBody6198904646464635223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762207448,"filename":"image_21012025_21_02_02_974721_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ee2853054c564141175e25a6c229d0c1.jpg","text":"TemporaryFile(/tmp/multipartBody4106717442248287001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762207448,"filename":"image_21012025_21_02_02_974721_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/37d1ab317cf7b17797fc98ae9f5124be.jpg","text":"TemporaryFile(/tmp/multipartBody7765634992224487603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762207448,"filename":"image_21012025_21_02_02_974721_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ec9ffb2d504390d6e86caf1e24deb0a2.jpg","text":"TemporaryFile(/tmp/multipartBody3457882399805523025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762207448,"filename":"image_21012025_21_01_02_811826_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4d94c8f61df1e9d8a5b4c949cbef00ba.jpg","text":"TemporaryFile(/tmp/multipartBody7694047432638283730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762207448,"filename":"image_21012025_21_02_02_974721_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4a018753241bff59c590ae77f6263a2d.jpg","text":"TemporaryFile(/tmp/multipartBody6099015158532410647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762207448,"filename":"image_21012025_21_01_02_811826_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331166656","file1":"1331166651","file0":"1331166640","file4":"1331166663","file5":"1331166666","file3":"1331166659"},"map_files_photo_id_array":[{"photo_id":"1331166666","filename":"file5"},{"photo_id":"1331166656","filename":"file2"},{"photo_id":"1331166663","filename":"file4"},{"photo_id":"1331166651","filename":"file1"},{"photo_id":"1331166640","filename":"file0"},{"photo_id":"1331166659","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331166663":["hashtag1","hashtag2"]},{"1331166656":["hashtag1","hashtag2"]},{"1331166659":["hashtag1","hashtag2"]},{"1331166640":["hashtag1","hashtag2"]},{"1331166666":["hashtag1","hashtag2"]},{"1331166651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331166663, 1331166656, 1331166659, 1331166640, 1331166666, 1331166651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.3121747970581 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-25 00:43:52.215358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/03/image_21012025_21_03_03_184847_0002.jpg', '/home/pi/Desktop/images/21012025/21/03/image_21012025_21_03_03_184847_0003.jpg', '/home/pi/Desktop/images/21012025/21/04/image_21012025_21_04_02_317956_0000.jpg', '/home/pi/Desktop/images/21012025/21/04/image_21012025_21_04_02_317956_0001.jpg', '/home/pi/Desktop/images/21012025/21/04/image_21012025_21_04_02_317956_0002.jpg', '/home/pi/Desktop/images/21012025/21/04/image_21012025_21_04_02_317956_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/21/03/image_21012025_21_03_03_184847_0002.jpg
/home/pi/Desktop/images/21012025/21/03/image_21012025_21_03_03_184847_0003.jpg
/home/pi/Desktop/images/21012025/21/04/image_21012025_21_04_02_317956_0000.jpg
/home/pi/Desktop/images/21012025/21/04/image_21012025_21_04_02_317956_0001.jpg
/home/pi/Desktop/images/21012025/21/04/image_21012025_21_04_02_317956_0002.jpg
/home/pi/Desktop/images/21012025/21/04/image_21012025_21_04_02_317956_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":["1331166953","1331167075","1331166895","1331167041","1331167107","1331166924"],"photo_ids_order":["1331166895","1331166924","1331166953","1331167041","1331167075","1331167107"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/40bf9ef59c410dac56bfab119ae17dfc.jpg","text":"TemporaryFile(/tmp/multipartBody7523679424144428309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762338612,"filename":"image_21012025_21_04_02_317956_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c54a0e309e6abb3225bf2d97397f35b4.jpg","text":"TemporaryFile(/tmp/multipartBody1481780373842633762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762338612,"filename":"image_21012025_21_04_02_317956_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/11f82629978c53cc04e1bb1c6123b4c7.jpg","text":"TemporaryFile(/tmp/multipartBody8570217130330719984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762338612,"filename":"image_21012025_21_03_03_184847_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8f987a7469b3f59c2bfe9f6bbf2cc156.jpg","text":"TemporaryFile(/tmp/multipartBody3853673886927997830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762338612,"filename":"image_21012025_21_04_02_317956_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/da47b323c1e70af40c3e41c38c6f4751.jpg","text":"TemporaryFile(/tmp/multipartBody574029757957612892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762338612,"filename":"image_21012025_21_04_02_317956_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/288f62c4847ee055ba02689bda9adfed.jpg","text":"TemporaryFile(/tmp/multipartBody2773907397135185207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762338612,"filename":"image_21012025_21_03_03_184847_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331166953","file1":"1331166924","file0":"1331166895","file4":"1331167075","file5":"1331167107","file3":"1331167041"},"map_files_photo_id_array":[{"photo_id":"1331167107","filename":"file5"},{"photo_id":"1331166953","filename":"file2"},{"photo_id":"1331167075","filename":"file4"},{"photo_id":"1331166924","filename":"file1"},{"photo_id":"1331166895","filename":"file0"},{"photo_id":"1331167041","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331166953":["hashtag1","hashtag2"]},{"1331167075":["hashtag1","hashtag2"]},{"1331166895":["hashtag1","hashtag2"]},{"1331167041":["hashtag1","hashtag2"]},{"1331167107":["hashtag1","hashtag2"]},{"1331166924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331166953, 1331167075, 1331166895, 1331167041, 1331167107, 1331166924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.33943009376526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-25 00:45:52.528680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/05/image_21012025_21_05_02_470655_0000.jpg', '/home/pi/Desktop/images/21012025/21/05/image_21012025_21_05_02_470655_0003.jpg', '/home/pi/Desktop/images/21012025/21/06/image_21012025_21_06_02_686056_0000.jpg', '/home/pi/Desktop/images/21012025/21/06/image_21012025_21_06_02_686056_0001.jpg', '/home/pi/Desktop/images/21012025/21/06/image_21012025_21_06_02_686056_0002.jpg', '/home/pi/Desktop/images/21012025/21/06/image_21012025_21_06_02_686056_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/21/05/image_21012025_21_05_02_470655_0000.jpg
/home/pi/Desktop/images/21012025/21/05/image_21012025_21_05_02_470655_0003.jpg
/home/pi/Desktop/images/21012025/21/06/image_21012025_21_06_02_686056_0000.jpg
/home/pi/Desktop/images/21012025/21/06/image_21012025_21_06_02_686056_0001.jpg
/home/pi/Desktop/images/21012025/21/06/image_21012025_21_06_02_686056_0002.jpg
/home/pi/Desktop/images/21012025/21/06/image_21012025_21_06_02_686056_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":["1331167445","1331167439","1331167424","1331167435","1331167432","1331167428"],"photo_ids_order":["1331167424","1331167428","1331167432","1331167435","1331167439","1331167445"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c7e162f5679bbd1205ba31618c70dbd7.jpg","text":"TemporaryFile(/tmp/multipartBody1566126877713643696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762450446,"filename":"image_21012025_21_06_02_686056_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1eb59f93ed32c5dd2a520958e0b3cc64.jpg","text":"TemporaryFile(/tmp/multipartBody6598471024422172807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762450446,"filename":"image_21012025_21_06_02_686056_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c6a7debf3644c1ea963a05d2914ae827.jpg","text":"TemporaryFile(/tmp/multipartBody3866928447304818554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762450446,"filename":"image_21012025_21_05_02_470655_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f93a8fbce8e72708dd123a324e6ccd80.jpg","text":"TemporaryFile(/tmp/multipartBody4793128647631546921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762450446,"filename":"image_21012025_21_06_02_686056_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/07a38ddcf26c012dc93bd0357d65bed5.jpg","text":"TemporaryFile(/tmp/multipartBody7000047473667682239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762450446,"filename":"image_21012025_21_06_02_686056_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ab0ff72b62bbdb2bce33cecac0f24f25.jpg","text":"TemporaryFile(/tmp/multipartBody2846315541362803369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762450446,"filename":"image_21012025_21_05_02_470655_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331167432","file1":"1331167428","file0":"1331167424","file4":"1331167439","file5":"1331167445","file3":"1331167435"},"map_files_photo_id_array":[{"photo_id":"1331167445","filename":"file5"},{"photo_id":"1331167432","filename":"file2"},{"photo_id":"1331167439","filename":"file4"},{"photo_id":"1331167428","filename":"file1"},{"photo_id":"1331167424","filename":"file0"},{"photo_id":"1331167435","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331167445":["hashtag1","hashtag2"]},{"1331167439":["hashtag1","hashtag2"]},{"1331167424":["hashtag1","hashtag2"]},{"1331167435":["hashtag1","hashtag2"]},{"1331167432":["hashtag1","hashtag2"]},{"1331167428":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331167445, 1331167439, 1331167424, 1331167435, 1331167432, 1331167428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.298668384552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-25 00:47:51.940642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/07/image_21012025_21_07_02_758144_0000.jpg', '/home/pi/Desktop/images/21012025/21/07/image_21012025_21_07_02_758144_0001.jpg', '/home/pi/Desktop/images/21012025/21/07/image_21012025_21_07_02_758144_0002.jpg', '/home/pi/Desktop/images/21012025/21/07/image_21012025_21_07_02_758144_0003.jpg', '/home/pi/Desktop/images/21012025/21/08/image_21012025_21_08_02_931165_0000.jpg', '/home/pi/Desktop/images/21012025/21/08/image_21012025_21_08_02_931165_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/21/07/image_21012025_21_07_02_758144_0000.jpg
/home/pi/Desktop/images/21012025/21/07/image_21012025_21_07_02_758144_0001.jpg
/home/pi/Desktop/images/21012025/21/07/image_21012025_21_07_02_758144_0002.jpg
/home/pi/Desktop/images/21012025/21/07/image_21012025_21_07_02_758144_0003.jpg
/home/pi/Desktop/images/21012025/21/08/image_21012025_21_08_02_931165_0000.jpg
/home/pi/Desktop/images/21012025/21/08/image_21012025_21_08_02_931165_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":["1331167499","1331167622","1331167502","1331167618","1331167504","1331167503"],"photo_ids_order":["1331167499","1331167502","1331167503","1331167504","1331167618","1331167622"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e33f440ee1d7ce70c2a7bc186f78cb8c.jpg","text":"TemporaryFile(/tmp/multipartBody7326785461677272172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762573710,"filename":"image_21012025_21_07_02_758144_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/59d3176091593d9a75a55d09b132e130.jpg","text":"TemporaryFile(/tmp/multipartBody142598659715527496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762573710,"filename":"image_21012025_21_08_02_931165_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1939af52c3bcaf6c84b507d968b2dead.jpg","text":"TemporaryFile(/tmp/multipartBody4436089251937002750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762573710,"filename":"image_21012025_21_07_02_758144_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/81f75556f4f8f3de48ad418b0be6c919.jpg","text":"TemporaryFile(/tmp/multipartBody6921720058269745707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762573710,"filename":"image_21012025_21_08_02_931165_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/06fd3c0c5cc72508685964c4ef6aa9be.jpg","text":"TemporaryFile(/tmp/multipartBody7245501613562752388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762573710,"filename":"image_21012025_21_07_02_758144_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1b5322c55cd30c42202b80765b52021a.jpg","text":"TemporaryFile(/tmp/multipartBody8417968326961828592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762573710,"filename":"image_21012025_21_07_02_758144_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331167503","file1":"1331167502","file0":"1331167499","file4":"1331167618","file5":"1331167622","file3":"1331167504"},"map_files_photo_id_array":[{"photo_id":"1331167622","filename":"file5"},{"photo_id":"1331167503","filename":"file2"},{"photo_id":"1331167618","filename":"file4"},{"photo_id":"1331167502","filename":"file1"},{"photo_id":"1331167499","filename":"file0"},{"photo_id":"1331167504","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331167499":["hashtag1","hashtag2"]},{"1331167622":["hashtag1","hashtag2"]},{"1331167502":["hashtag1","hashtag2"]},{"1331167618":["hashtag1","hashtag2"]},{"1331167504":["hashtag1","hashtag2"]},{"1331167503":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331167499, 1331167622, 1331167502, 1331167618, 1331167504, 1331167503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.0271406173706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-25 00:49:52.334239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/08/image_21012025_21_08_02_931165_0003.jpg', '/home/pi/Desktop/images/21012025/21/09/image_21012025_21_09_02_154229_0000.jpg', '/home/pi/Desktop/images/21012025/21/09/image_21012025_21_09_02_154229_0001.jpg', '/home/pi/Desktop/images/21012025/21/09/image_21012025_21_09_02_154229_0002.jpg', '/home/pi/Desktop/images/21012025/21/09/image_21012025_21_09_02_154229_0003.jpg', '/home/pi/Desktop/images/21012025/21/10/image_21012025_21_10_02_406181_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/21/08/image_21012025_21_08_02_931165_0003.jpg
/home/pi/Desktop/images/21012025/21/09/image_21012025_21_09_02_154229_0000.jpg
/home/pi/Desktop/images/21012025/21/09/image_21012025_21_09_02_154229_0001.jpg
/home/pi/Desktop/images/21012025/21/09/image_21012025_21_09_02_154229_0002.jpg
/home/pi/Desktop/images/21012025/21/09/image_21012025_21_09_02_154229_0003.jpg
/home/pi/Desktop/images/21012025/21/10/image_21012025_21_10_02_406181_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":["1331167742","1331167751","1331167745","1331167652","1331167726","1331167740"],"photo_ids_order":["1331167652","1331167726","1331167740","1331167742","1331167745","1331167751"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9e7f8c63d334152c909ed3a6372e9063.jpg","text":"TemporaryFile(/tmp/multipartBody2444569827441896525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762690894,"filename":"image_21012025_21_09_02_154229_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f5fcbf43a4b50805f37179421e2ac86c.jpg","text":"TemporaryFile(/tmp/multipartBody7684903217840123704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762690894,"filename":"image_21012025_21_10_02_406181_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9e9327f2e4382e2fda1b1408dd372114.jpg","text":"TemporaryFile(/tmp/multipartBody1267764705254795655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762690894,"filename":"image_21012025_21_09_02_154229_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5ddbd87b2b9539d49593a2e29aebbb04.jpg","text":"TemporaryFile(/tmp/multipartBody5647707278022413327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762690894,"filename":"image_21012025_21_08_02_931165_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bceb68c639351f53dfb45740d3b4bae7.jpg","text":"TemporaryFile(/tmp/multipartBody3173303090541293188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762690894,"filename":"image_21012025_21_09_02_154229_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fc11344db78bd317d15ca14a5aa1c4e2.jpg","text":"TemporaryFile(/tmp/multipartBody6793549140743723083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762690894,"filename":"image_21012025_21_09_02_154229_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331167740","file1":"1331167726","file0":"1331167652","file4":"1331167745","file5":"1331167751","file3":"1331167742"},"map_files_photo_id_array":[{"photo_id":"1331167751","filename":"file5"},{"photo_id":"1331167740","filename":"file2"},{"photo_id":"1331167745","filename":"file4"},{"photo_id":"1331167726","filename":"file1"},{"photo_id":"1331167652","filename":"file0"},{"photo_id":"1331167742","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331167742":["hashtag1","hashtag2"]},{"1331167751":["hashtag1","hashtag2"]},{"1331167745":["hashtag1","hashtag2"]},{"1331167652":["hashtag1","hashtag2"]},{"1331167726":["hashtag1","hashtag2"]},{"1331167740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331167742, 1331167751, 1331167745, 1331167652, 1331167726, 1331167740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.26274633407593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-25 00:51:52.680375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/10/image_21012025_21_10_02_406181_0002.jpg', '/home/pi/Desktop/images/21012025/21/10/image_21012025_21_10_02_406181_0003.jpg', '/home/pi/Desktop/images/21012025/21/11/image_21012025_21_11_02_526432_0000.jpg', '/home/pi/Desktop/images/21012025/21/11/image_21012025_21_11_02_526432_0002.jpg', '/home/pi/Desktop/images/21012025/21/11/image_21012025_21_11_02_526432_0003.jpg', '/home/pi/Desktop/images/21012025/21/12/image_21012025_21_12_02_656162_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/21/10/image_21012025_21_10_02_406181_0002.jpg
/home/pi/Desktop/images/21012025/21/10/image_21012025_21_10_02_406181_0003.jpg
/home/pi/Desktop/images/21012025/21/11/image_21012025_21_11_02_526432_0000.jpg
/home/pi/Desktop/images/21012025/21/11/image_21012025_21_11_02_526432_0002.jpg
/home/pi/Desktop/images/21012025/21/11/image_21012025_21_11_02_526432_0003.jpg
/home/pi/Desktop/images/21012025/21/12/image_21012025_21_12_02_656162_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 [200]>
b'{"photo_ids":["1331167886","1331167901","1331167904","1331167894","1331167911","1331168039"],"photo_ids_order":["1331167886","1331167894","1331167901","1331167904","1331167911","1331168039"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/15bf5a1fa239453634edd6bc84f603b3.jpg","text":"TemporaryFile(/tmp/multipartBody5306921620255615466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762797092,"filename":"image_21012025_21_10_02_406181_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/69c6499fef9a36174bbd2cc06965a206.jpg","text":"TemporaryFile(/tmp/multipartBody1726185197241271388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762797092,"filename":"image_21012025_21_11_02_526432_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/78d2a8343bbe634dcc3253c2816d4e9e.jpg","text":"TemporaryFile(/tmp/multipartBody2822545748223987524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762797092,"filename":"image_21012025_21_11_02_526432_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/52c0055c47bf717c6ace246f9070d990.jpg","text":"TemporaryFile(/tmp/multipartBody1481778017941548561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762797092,"filename":"image_21012025_21_10_02_406181_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d0018c3405df0d887c594c0cba2eeacd.jpg","text":"TemporaryFile(/tmp/multipartBody8448751625764458153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762797092,"filename":"image_21012025_21_11_02_526432_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/142d006c2b12c4c25c057faf21d74a6c.jpg","text":"TemporaryFile(/tmp/multipartBody6466016992336236672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762797092,"filename":"image_21012025_21_12_02_656162_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331167901","file1":"1331167894","file0":"1331167886","file4":"1331167911","file5":"1331168039","file3":"1331167904"},"map_files_photo_id_array":[{"photo_id":"1331168039","filename":"file5"},{"photo_id":"1331167901","filename":"file2"},{"photo_id":"1331167911","filename":"file4"},{"photo_id":"1331167894","filename":"file1"},{"photo_id":"1331167886","filename":"file0"},{"photo_id":"1331167904","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331167886":["hashtag1","hashtag2"]},{"1331167901":["hashtag1","hashtag2"]},{"1331167904":["hashtag1","hashtag2"]},{"1331167894":["hashtag1","hashtag2"]},{"1331167911":["hashtag1","hashtag2"]},{"1331168039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331167886, 1331167901, 1331167904, 1331167894, 1331167911, 1331168039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 77.90487313270569 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 00:53:22.029447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/16/image_25012025_00_16_02_521768_0002.jpg', '/home/pi/Desktop/images/25012025/00/16/image_25012025_00_16_02_521768_0003.jpg', '/home/pi/Desktop/images/25012025/00/17/image_25012025_00_17_02_737021_0000.jpg', '/home/pi/Desktop/images/25012025/00/17/image_25012025_00_17_02_737021_0001.jpg', '/home/pi/Desktop/images/25012025/00/17/image_25012025_00_17_02_737021_0002.jpg', '/home/pi/Desktop/images/25012025/00/17/image_25012025_00_17_02_737021_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/16/image_25012025_00_16_02_521768_0002.jpg
/home/pi/Desktop/images/25012025/00/16/image_25012025_00_16_02_521768_0003.jpg
/home/pi/Desktop/images/25012025/00/17/image_25012025_00_17_02_737021_0000.jpg
/home/pi/Desktop/images/25012025/00/17/image_25012025_00_17_02_737021_0001.jpg
/home/pi/Desktop/images/25012025/00/17/image_25012025_00_17_02_737021_0002.jpg
/home/pi/Desktop/images/25012025/00/17/image_25012025_00_17_02_737021_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 [200]>
b'{"photo_ids":["1331168348","1331168359","1331168362","1331168356","1331168338","1331168332"],"photo_ids_order":["1331168332","1331168338","1331168348","1331168356","1331168359","1331168362"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aa8f33a24caf552011fbdcbf87d6b8c4.jpg","text":"TemporaryFile(/tmp/multipartBody8276489300157491365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762904448,"filename":"image_25012025_00_17_02_737021_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/25fc3845b8bd4ad58f67d566f61bf4d6.jpg","text":"TemporaryFile(/tmp/multipartBody3247710663145061400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762904448,"filename":"image_25012025_00_17_02_737021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b5601d2dee1bea5550a46301fd62084.jpg","text":"TemporaryFile(/tmp/multipartBody8814679648263658245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762904448,"filename":"image_25012025_00_17_02_737021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/09a9d0efdb6fce5f12129ba8a984d579.jpg","text":"TemporaryFile(/tmp/multipartBody8286082671116796098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762904448,"filename":"image_25012025_00_17_02_737021_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3e4e0a2be344d42ce89eaa651087a788.jpg","text":"TemporaryFile(/tmp/multipartBody6154332076988926141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762904448,"filename":"image_25012025_00_16_02_521768_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/73cbe11f7dcef5a52bc9e02f8d3fcde0.jpg","text":"TemporaryFile(/tmp/multipartBody1436022081506810734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737762904448,"filename":"image_25012025_00_16_02_521768_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331168348","file1":"1331168338","file0":"1331168332","file4":"1331168359","file5":"1331168362","file3":"1331168356"},"map_files_photo_id_array":[{"photo_id":"1331168362","filename":"file5"},{"photo_id":"1331168348","filename":"file2"},{"photo_id":"1331168359","filename":"file4"},{"photo_id":"1331168338","filename":"file1"},{"photo_id":"1331168332","filename":"file0"},{"photo_id":"1331168356","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331168348":["hashtag1","hashtag2"]},{"1331168359":["hashtag1","hashtag2"]},{"1331168362":["hashtag1","hashtag2"]},{"1331168356":["hashtag1","hashtag2"]},{"1331168338":["hashtag1","hashtag2"]},{"1331168332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331168348, 1331168359, 1331168362, 1331168356, 1331168338, 1331168332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.2880368232727 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 00:55:02.967733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/18/image_25012025_00_18_02_960405_0000.jpg', '/home/pi/Desktop/images/25012025/00/18/image_25012025_00_18_02_960405_0001.jpg', '/home/pi/Desktop/images/25012025/00/18/image_25012025_00_18_02_960405_0002.jpg', '/home/pi/Desktop/images/25012025/00/18/image_25012025_00_18_02_960405_0003.jpg', '/home/pi/Desktop/images/25012025/00/19/image_25012025_00_19_03_038167_0000.jpg', '/home/pi/Desktop/images/25012025/00/19/image_25012025_00_19_03_038167_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/18/image_25012025_00_18_02_960405_0000.jpg
/home/pi/Desktop/images/25012025/00/18/image_25012025_00_18_02_960405_0001.jpg
/home/pi/Desktop/images/25012025/00/18/image_25012025_00_18_02_960405_0002.jpg
/home/pi/Desktop/images/25012025/00/18/image_25012025_00_18_02_960405_0003.jpg
/home/pi/Desktop/images/25012025/00/19/image_25012025_00_19_03_038167_0000.jpg
/home/pi/Desktop/images/25012025/00/19/image_25012025_00_19_03_038167_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":["1331168447","1331168461","1331168463","1331168451","1331168445","1331168456"],"photo_ids_order":["1331168445","1331168447","1331168451","1331168456","1331168461","1331168463"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/86f3030a60bfaa059afa95e97ba17a53.jpg","text":"TemporaryFile(/tmp/multipartBody3446590000941993029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763011351,"filename":"image_25012025_00_18_02_960405_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ad02499b0080f38a17fabee928ac3479.jpg","text":"TemporaryFile(/tmp/multipartBody272657512288887451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763011351,"filename":"image_25012025_00_19_03_038167_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6373ea411247e851258eba279bdb97f6.jpg","text":"TemporaryFile(/tmp/multipartBody50106566097276485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763011351,"filename":"image_25012025_00_19_03_038167_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8ef771841c80da1f4e4c530c2ac3920a.jpg","text":"TemporaryFile(/tmp/multipartBody3988081961893331546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763011351,"filename":"image_25012025_00_18_02_960405_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/70d14232e7b978b4111af07d2a5719d9.jpg","text":"TemporaryFile(/tmp/multipartBody8690258782376637702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763011351,"filename":"image_25012025_00_18_02_960405_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f9f237c4a7b13b91c7b27416a084803c.jpg","text":"TemporaryFile(/tmp/multipartBody5168072260997221322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763011351,"filename":"image_25012025_00_18_02_960405_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331168451","file1":"1331168447","file0":"1331168445","file4":"1331168461","file5":"1331168463","file3":"1331168456"},"map_files_photo_id_array":[{"photo_id":"1331168463","filename":"file5"},{"photo_id":"1331168451","filename":"file2"},{"photo_id":"1331168461","filename":"file4"},{"photo_id":"1331168447","filename":"file1"},{"photo_id":"1331168445","filename":"file0"},{"photo_id":"1331168456","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331168447":["hashtag1","hashtag2"]},{"1331168461":["hashtag1","hashtag2"]},{"1331168463":["hashtag1","hashtag2"]},{"1331168451":["hashtag1","hashtag2"]},{"1331168445":["hashtag1","hashtag2"]},{"1331168456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331168447, 1331168461, 1331168463, 1331168451, 1331168445, 1331168456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.56060338020325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-25 00:56:52.596631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/12/image_21012025_21_12_02_656162_0002.jpg', '/home/pi/Desktop/images/21012025/21/12/image_21012025_21_12_02_656162_0003.jpg', '/home/pi/Desktop/images/21012025/21/13/image_21012025_21_13_02_941055_0000.jpg', '/home/pi/Desktop/images/21012025/21/13/image_21012025_21_13_02_941055_0001.jpg', '/home/pi/Desktop/images/21012025/21/13/image_21012025_21_13_02_941055_0002.jpg', '/home/pi/Desktop/images/21012025/21/13/image_21012025_21_13_02_941055_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/21/12/image_21012025_21_12_02_656162_0002.jpg
/home/pi/Desktop/images/21012025/21/12/image_21012025_21_12_02_656162_0003.jpg
/home/pi/Desktop/images/21012025/21/13/image_21012025_21_13_02_941055_0000.jpg
/home/pi/Desktop/images/21012025/21/13/image_21012025_21_13_02_941055_0001.jpg
/home/pi/Desktop/images/21012025/21/13/image_21012025_21_13_02_941055_0002.jpg
/home/pi/Desktop/images/21012025/21/13/image_21012025_21_13_02_941055_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-25 00:59:02.765281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/19/image_25012025_00_19_03_038167_0002.jpg', '/home/pi/Desktop/images/25012025/00/19/image_25012025_00_19_03_038167_0003.jpg', '/home/pi/Desktop/images/25012025/00/20/image_25012025_00_20_02_221581_0000.jpg', '/home/pi/Desktop/images/25012025/00/20/image_25012025_00_20_02_221581_0001.jpg', '/home/pi/Desktop/images/25012025/00/20/image_25012025_00_20_02_221581_0002.jpg', '/home/pi/Desktop/images/25012025/00/20/image_25012025_00_20_02_221581_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/19/image_25012025_00_19_03_038167_0002.jpg
/home/pi/Desktop/images/25012025/00/19/image_25012025_00_19_03_038167_0003.jpg
/home/pi/Desktop/images/25012025/00/20/image_25012025_00_20_02_221581_0000.jpg
/home/pi/Desktop/images/25012025/00/20/image_25012025_00_20_02_221581_0001.jpg
/home/pi/Desktop/images/25012025/00/20/image_25012025_00_20_02_221581_0002.jpg
/home/pi/Desktop/images/25012025/00/20/image_25012025_00_20_02_221581_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":["1331169108","1331169056","1331169041","1331169143","1331169122","1331169059"],"photo_ids_order":["1331169041","1331169056","1331169059","1331169108","1331169122","1331169143"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bee3f92ac5eb50a8552bab23cd8b3bfd.jpg","text":"TemporaryFile(/tmp/multipartBody5452101962803287497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763228476,"filename":"image_25012025_00_20_02_221581_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8adfa21e1271277ac2178262921d8211.jpg","text":"TemporaryFile(/tmp/multipartBody3604443352905044919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763228476,"filename":"image_25012025_00_19_03_038167_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bb7ad18777c3d2ac08c698f1640b82d3.jpg","text":"TemporaryFile(/tmp/multipartBody5715471977087885638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763228476,"filename":"image_25012025_00_19_03_038167_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/300dca54e0f738896709ee712386b5fd.jpg","text":"TemporaryFile(/tmp/multipartBody7070526103171090903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763228476,"filename":"image_25012025_00_20_02_221581_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/663c64baedadee14db6b456769766f47.jpg","text":"TemporaryFile(/tmp/multipartBody1806483970867826983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763228476,"filename":"image_25012025_00_20_02_221581_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9b4c70e9730a2aa906ece81e5248789b.jpg","text":"TemporaryFile(/tmp/multipartBody3221116250180940496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763228476,"filename":"image_25012025_00_20_02_221581_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331169059","file1":"1331169056","file0":"1331169041","file4":"1331169122","file5":"1331169143","file3":"1331169108"},"map_files_photo_id_array":[{"photo_id":"1331169143","filename":"file5"},{"photo_id":"1331169059","filename":"file2"},{"photo_id":"1331169122","filename":"file4"},{"photo_id":"1331169056","filename":"file1"},{"photo_id":"1331169041","filename":"file0"},{"photo_id":"1331169108","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331169108":["hashtag1","hashtag2"]},{"1331169056":["hashtag1","hashtag2"]},{"1331169041":["hashtag1","hashtag2"]},{"1331169143":["hashtag1","hashtag2"]},{"1331169122":["hashtag1","hashtag2"]},{"1331169059":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331169108, 1331169056, 1331169041, 1331169143, 1331169122, 1331169059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.26575565338135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:01:02.974340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/21/image_25012025_00_21_02_416970_0000.jpg', '/home/pi/Desktop/images/25012025/00/21/image_25012025_00_21_02_416970_0001.jpg', '/home/pi/Desktop/images/25012025/00/21/image_25012025_00_21_02_416970_0002.jpg', '/home/pi/Desktop/images/25012025/00/21/image_25012025_00_21_02_416970_0003.jpg', '/home/pi/Desktop/images/25012025/00/22/image_25012025_00_22_02_676454_0000.jpg', '/home/pi/Desktop/images/25012025/00/22/image_25012025_00_22_02_676454_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/21/image_25012025_00_21_02_416970_0000.jpg
/home/pi/Desktop/images/25012025/00/21/image_25012025_00_21_02_416970_0001.jpg
/home/pi/Desktop/images/25012025/00/21/image_25012025_00_21_02_416970_0002.jpg
/home/pi/Desktop/images/25012025/00/21/image_25012025_00_21_02_416970_0003.jpg
/home/pi/Desktop/images/25012025/00/22/image_25012025_00_22_02_676454_0000.jpg
/home/pi/Desktop/images/25012025/00/22/image_25012025_00_22_02_676454_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":["1331169463","1331169508","1331169468","1331169510","1331169500","1331169493"],"photo_ids_order":["1331169463","1331169468","1331169493","1331169500","1331169508","1331169510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f85b1f53db4335f1b1518c013a1d5581.jpg","text":"TemporaryFile(/tmp/multipartBody1701891471495182781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763371530,"filename":"image_25012025_00_21_02_416970_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/535d37a70cab17f59ad6a8e5432ef200.jpg","text":"TemporaryFile(/tmp/multipartBody6853968703664291480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763371530,"filename":"image_25012025_00_22_02_676454_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/da91d04d95f630cf5723330ee46c01f3.jpg","text":"TemporaryFile(/tmp/multipartBody7612543414228831806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763371530,"filename":"image_25012025_00_21_02_416970_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/777666a8284a589c5dc03b8a38a580c6.jpg","text":"TemporaryFile(/tmp/multipartBody5711827789434273943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763371530,"filename":"image_25012025_00_22_02_676454_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ed7174b2ef7dc969a3925651c72e94bf.jpg","text":"TemporaryFile(/tmp/multipartBody7477936325002745334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763371530,"filename":"image_25012025_00_21_02_416970_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4d8eef463350498a8a4ec1ae8440941c.jpg","text":"TemporaryFile(/tmp/multipartBody5727390862921025850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763371530,"filename":"image_25012025_00_21_02_416970_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331169493","file1":"1331169468","file0":"1331169463","file4":"1331169508","file5":"1331169510","file3":"1331169500"},"map_files_photo_id_array":[{"photo_id":"1331169510","filename":"file5"},{"photo_id":"1331169493","filename":"file2"},{"photo_id":"1331169508","filename":"file4"},{"photo_id":"1331169468","filename":"file1"},{"photo_id":"1331169463","filename":"file0"},{"photo_id":"1331169500","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331169463":["hashtag1","hashtag2"]},{"1331169508":["hashtag1","hashtag2"]},{"1331169468":["hashtag1","hashtag2"]},{"1331169510":["hashtag1","hashtag2"]},{"1331169500":["hashtag1","hashtag2"]},{"1331169493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331169463, 1331169508, 1331169468, 1331169510, 1331169500, 1331169493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.10225915908813 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:03:02.939915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/22/image_25012025_00_22_02_676454_0002.jpg', '/home/pi/Desktop/images/25012025/00/22/image_25012025_00_22_02_676454_0003.jpg', '/home/pi/Desktop/images/25012025/00/23/image_25012025_00_23_02_802420_0000.jpg', '/home/pi/Desktop/images/25012025/00/23/image_25012025_00_23_02_802420_0001.jpg', '/home/pi/Desktop/images/25012025/00/23/image_25012025_00_23_02_802420_0002.jpg', '/home/pi/Desktop/images/25012025/00/23/image_25012025_00_23_02_802420_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/22/image_25012025_00_22_02_676454_0002.jpg
/home/pi/Desktop/images/25012025/00/22/image_25012025_00_22_02_676454_0003.jpg
/home/pi/Desktop/images/25012025/00/23/image_25012025_00_23_02_802420_0000.jpg
/home/pi/Desktop/images/25012025/00/23/image_25012025_00_23_02_802420_0001.jpg
/home/pi/Desktop/images/25012025/00/23/image_25012025_00_23_02_802420_0002.jpg
/home/pi/Desktop/images/25012025/00/23/image_25012025_00_23_02_802420_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":["1331169859","1331169841","1331169703","1331169864","1331169753","1331169855"],"photo_ids_order":["1331169703","1331169753","1331169841","1331169855","1331169859","1331169864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9f4c7c1641fa1086f5ecf324009ca6b0.jpg","text":"TemporaryFile(/tmp/multipartBody5250283430030521575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763490024,"filename":"image_25012025_00_23_02_802420_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/883564c19868b5406dfdbcb7e76c2aa0.jpg","text":"TemporaryFile(/tmp/multipartBody3572531194021537711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763490024,"filename":"image_25012025_00_23_02_802420_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/592abdc6d0848f217cdac4f2163c3007.jpg","text":"TemporaryFile(/tmp/multipartBody1963676131982811419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763490024,"filename":"image_25012025_00_22_02_676454_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/776e12d5f6d315b90e0ce574bd028b1c.jpg","text":"TemporaryFile(/tmp/multipartBody9199147727802960708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763490024,"filename":"image_25012025_00_23_02_802420_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/749dfffca2c989835b9a09a8c9f4efcc.jpg","text":"TemporaryFile(/tmp/multipartBody3771200300214470513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763490024,"filename":"image_25012025_00_22_02_676454_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/190dfa5e7b3cae55c240abdc8905ea8e.jpg","text":"TemporaryFile(/tmp/multipartBody5045415632350562753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763490024,"filename":"image_25012025_00_23_02_802420_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331169841","file1":"1331169753","file0":"1331169703","file4":"1331169859","file5":"1331169864","file3":"1331169855"},"map_files_photo_id_array":[{"photo_id":"1331169864","filename":"file5"},{"photo_id":"1331169841","filename":"file2"},{"photo_id":"1331169859","filename":"file4"},{"photo_id":"1331169753","filename":"file1"},{"photo_id":"1331169703","filename":"file0"},{"photo_id":"1331169855","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331169859":["hashtag1","hashtag2"]},{"1331169841":["hashtag1","hashtag2"]},{"1331169703":["hashtag1","hashtag2"]},{"1331169864":["hashtag1","hashtag2"]},{"1331169753":["hashtag1","hashtag2"]},{"1331169855":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331169859, 1331169841, 1331169703, 1331169864, 1331169753, 1331169855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.01356196403503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:05:03.123642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/24/image_25012025_00_24_02_980712_0000.jpg', '/home/pi/Desktop/images/25012025/00/24/image_25012025_00_24_02_980712_0001.jpg', '/home/pi/Desktop/images/25012025/00/24/image_25012025_00_24_02_980712_0002.jpg', '/home/pi/Desktop/images/25012025/00/24/image_25012025_00_24_02_980712_0003.jpg', '/home/pi/Desktop/images/25012025/00/25/image_25012025_00_25_02_247062_0000.jpg', '/home/pi/Desktop/images/25012025/00/25/image_25012025_00_25_02_247062_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/24/image_25012025_00_24_02_980712_0000.jpg
/home/pi/Desktop/images/25012025/00/24/image_25012025_00_24_02_980712_0001.jpg
/home/pi/Desktop/images/25012025/00/24/image_25012025_00_24_02_980712_0002.jpg
/home/pi/Desktop/images/25012025/00/24/image_25012025_00_24_02_980712_0003.jpg
/home/pi/Desktop/images/25012025/00/25/image_25012025_00_25_02_247062_0000.jpg
/home/pi/Desktop/images/25012025/00/25/image_25012025_00_25_02_247062_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":["1331170744","1331170738","1331170810","1331170806","1331170766","1331170778"],"photo_ids_order":["1331170738","1331170744","1331170766","1331170778","1331170806","1331170810"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ff82a58ccd4e9edb2c489dffda07bad1.jpg","text":"TemporaryFile(/tmp/multipartBody2827652593107840947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763581338,"filename":"image_25012025_00_24_02_980712_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e2cf6b6bcc39544e795fc865a82401ec.jpg","text":"TemporaryFile(/tmp/multipartBody5263009747743769520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763581338,"filename":"image_25012025_00_24_02_980712_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/065e376c1aba61e6bb10737b7ed194ec.jpg","text":"TemporaryFile(/tmp/multipartBody6331731351926148876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763581338,"filename":"image_25012025_00_25_02_247062_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b97befc63333e42befb4b5a41304edf1.jpg","text":"TemporaryFile(/tmp/multipartBody9004782186764759520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763581338,"filename":"image_25012025_00_25_02_247062_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2c85d76c4204ff9e0ac3eff7fcae78cc.jpg","text":"TemporaryFile(/tmp/multipartBody4249445649464196780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763581338,"filename":"image_25012025_00_24_02_980712_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/163ea831b9d7ca4f487707c159d1198a.jpg","text":"TemporaryFile(/tmp/multipartBody8598732694556387371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763581338,"filename":"image_25012025_00_24_02_980712_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331170766","file1":"1331170744","file0":"1331170738","file4":"1331170806","file5":"1331170810","file3":"1331170778"},"map_files_photo_id_array":[{"photo_id":"1331170810","filename":"file5"},{"photo_id":"1331170766","filename":"file2"},{"photo_id":"1331170806","filename":"file4"},{"photo_id":"1331170744","filename":"file1"},{"photo_id":"1331170738","filename":"file0"},{"photo_id":"1331170778","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331170744":["hashtag1","hashtag2"]},{"1331170738":["hashtag1","hashtag2"]},{"1331170810":["hashtag1","hashtag2"]},{"1331170806":["hashtag1","hashtag2"]},{"1331170766":["hashtag1","hashtag2"]},{"1331170778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331170744, 1331170738, 1331170810, 1331170806, 1331170766, 1331170778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.94900345802307 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 01:06:22.027530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/25/image_25012025_00_25_02_247062_0002.jpg', '/home/pi/Desktop/images/25012025/00/25/image_25012025_00_25_02_247062_0003.jpg', '/home/pi/Desktop/images/25012025/00/26/image_25012025_00_26_02_335706_0000.jpg', '/home/pi/Desktop/images/25012025/00/26/image_25012025_00_26_02_335706_0001.jpg', '/home/pi/Desktop/images/25012025/00/26/image_25012025_00_26_02_335706_0002.jpg', '/home/pi/Desktop/images/25012025/00/26/image_25012025_00_26_02_335706_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/25/image_25012025_00_25_02_247062_0002.jpg
/home/pi/Desktop/images/25012025/00/25/image_25012025_00_25_02_247062_0003.jpg
/home/pi/Desktop/images/25012025/00/26/image_25012025_00_26_02_335706_0000.jpg
/home/pi/Desktop/images/25012025/00/26/image_25012025_00_26_02_335706_0001.jpg
/home/pi/Desktop/images/25012025/00/26/image_25012025_00_26_02_335706_0002.jpg
/home/pi/Desktop/images/25012025/00/26/image_25012025_00_26_02_335706_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":["1331171197","1331171251","1331171227","1331171246","1331171210","1331171249"],"photo_ids_order":["1331171197","1331171210","1331171227","1331171246","1331171249","1331171251"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/47e6094c9739c9d23bd92b8561b5d616.jpg","text":"TemporaryFile(/tmp/multipartBody2860181866421266385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763680440,"filename":"image_25012025_00_25_02_247062_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/96369fc4c33a94a3f338ac3f255a6811.jpg","text":"TemporaryFile(/tmp/multipartBody4529024347222765191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763680440,"filename":"image_25012025_00_26_02_335706_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b7b8b30d201a674e0adde9b4d1e600b1.jpg","text":"TemporaryFile(/tmp/multipartBody836899257048229058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763680440,"filename":"image_25012025_00_26_02_335706_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f9aeed0eb6f2bf7ddb1d75d5bc2823e1.jpg","text":"TemporaryFile(/tmp/multipartBody1256358344455461066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763680440,"filename":"image_25012025_00_26_02_335706_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6f95dfb07db3864267bd6449b374fcc3.jpg","text":"TemporaryFile(/tmp/multipartBody5468994690053416470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763680440,"filename":"image_25012025_00_25_02_247062_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6f0373ab8cea035f1fa205d7e2e17ba7.jpg","text":"TemporaryFile(/tmp/multipartBody1158704939708751770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763680440,"filename":"image_25012025_00_26_02_335706_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331171227","file1":"1331171210","file0":"1331171197","file4":"1331171249","file5":"1331171251","file3":"1331171246"},"map_files_photo_id_array":[{"photo_id":"1331171251","filename":"file5"},{"photo_id":"1331171227","filename":"file2"},{"photo_id":"1331171249","filename":"file4"},{"photo_id":"1331171210","filename":"file1"},{"photo_id":"1331171197","filename":"file0"},{"photo_id":"1331171246","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331171197":["hashtag1","hashtag2"]},{"1331171251":["hashtag1","hashtag2"]},{"1331171227":["hashtag1","hashtag2"]},{"1331171246":["hashtag1","hashtag2"]},{"1331171210":["hashtag1","hashtag2"]},{"1331171249":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331171197, 1331171251, 1331171227, 1331171246, 1331171210, 1331171249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.69706296920776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 01:08:22.150344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/27/image_25012025_00_27_02_494669_0000.jpg', '/home/pi/Desktop/images/25012025/00/27/image_25012025_00_27_02_494669_0001.jpg', '/home/pi/Desktop/images/25012025/00/27/image_25012025_00_27_02_494669_0002.jpg', '/home/pi/Desktop/images/25012025/00/27/image_25012025_00_27_02_494669_0003.jpg', '/home/pi/Desktop/images/25012025/00/28/image_25012025_00_28_02_629210_0000.jpg', '/home/pi/Desktop/images/25012025/00/28/image_25012025_00_28_02_629210_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/27/image_25012025_00_27_02_494669_0000.jpg
/home/pi/Desktop/images/25012025/00/27/image_25012025_00_27_02_494669_0001.jpg
/home/pi/Desktop/images/25012025/00/27/image_25012025_00_27_02_494669_0002.jpg
/home/pi/Desktop/images/25012025/00/27/image_25012025_00_27_02_494669_0003.jpg
/home/pi/Desktop/images/25012025/00/28/image_25012025_00_28_02_629210_0000.jpg
/home/pi/Desktop/images/25012025/00/28/image_25012025_00_28_02_629210_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":["1331171368","1331171372","1331171375","1331171354","1331171377","1331171321"],"photo_ids_order":["1331171321","1331171354","1331171368","1331171372","1331171375","1331171377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/350cdf5cae01662663961e1bc32ddc35.jpg","text":"TemporaryFile(/tmp/multipartBody3724734134586344565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763789947,"filename":"image_25012025_00_27_02_494669_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bdf6e53a6695b5ad98c8d2c1c17625dd.jpg","text":"TemporaryFile(/tmp/multipartBody2269830087763784500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763789947,"filename":"image_25012025_00_27_02_494669_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/02136e650321b78ebb8c5e4d651bc141.jpg","text":"TemporaryFile(/tmp/multipartBody5928366888469905882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763789947,"filename":"image_25012025_00_28_02_629210_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e5643ce97038d30e5c5acc071109a9c9.jpg","text":"TemporaryFile(/tmp/multipartBody9012393475739653973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763789947,"filename":"image_25012025_00_27_02_494669_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fa54398c3916aa6b2d1f35d2b3307c37.jpg","text":"TemporaryFile(/tmp/multipartBody3193622795083334599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763789947,"filename":"image_25012025_00_28_02_629210_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7875ab4560a188aa5a71a9abaafb7c8a.jpg","text":"TemporaryFile(/tmp/multipartBody8743114090160150955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763789947,"filename":"image_25012025_00_27_02_494669_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331171368","file1":"1331171354","file0":"1331171321","file4":"1331171375","file5":"1331171377","file3":"1331171372"},"map_files_photo_id_array":[{"photo_id":"1331171377","filename":"file5"},{"photo_id":"1331171368","filename":"file2"},{"photo_id":"1331171375","filename":"file4"},{"photo_id":"1331171354","filename":"file1"},{"photo_id":"1331171321","filename":"file0"},{"photo_id":"1331171372","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331171368":["hashtag1","hashtag2"]},{"1331171372":["hashtag1","hashtag2"]},{"1331171375":["hashtag1","hashtag2"]},{"1331171354":["hashtag1","hashtag2"]},{"1331171377":["hashtag1","hashtag2"]},{"1331171321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331171368, 1331171372, 1331171375, 1331171354, 1331171377, 1331171321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.9316918849945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:10:02.600771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/28/image_25012025_00_28_02_629210_0002.jpg', '/home/pi/Desktop/images/25012025/00/28/image_25012025_00_28_02_629210_0003.jpg', '/home/pi/Desktop/images/25012025/00/29/image_25012025_00_29_02_848682_0000.jpg', '/home/pi/Desktop/images/25012025/00/29/image_25012025_00_29_02_848682_0001.jpg', '/home/pi/Desktop/images/25012025/00/29/image_25012025_00_29_02_848682_0002.jpg', '/home/pi/Desktop/images/25012025/00/29/image_25012025_00_29_02_848682_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/28/image_25012025_00_28_02_629210_0002.jpg
/home/pi/Desktop/images/25012025/00/28/image_25012025_00_28_02_629210_0003.jpg
/home/pi/Desktop/images/25012025/00/29/image_25012025_00_29_02_848682_0000.jpg
/home/pi/Desktop/images/25012025/00/29/image_25012025_00_29_02_848682_0001.jpg
/home/pi/Desktop/images/25012025/00/29/image_25012025_00_29_02_848682_0002.jpg
/home/pi/Desktop/images/25012025/00/29/image_25012025_00_29_02_848682_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":["1331171461","1331171514","1331171418","1331171489","1331171474","1331171414"],"photo_ids_order":["1331171414","1331171418","1331171461","1331171474","1331171489","1331171514"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e66effc77c65004dcb89d87b2bae4c56.jpg","text":"TemporaryFile(/tmp/multipartBody3516985142061457306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763896858,"filename":"image_25012025_00_29_02_848682_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/637dc25745a3e942b7a2dce563be26cd.jpg","text":"TemporaryFile(/tmp/multipartBody1661790454166875764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763896858,"filename":"image_25012025_00_29_02_848682_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8776d81b0a72ada0ed4530f64f792ecd.jpg","text":"TemporaryFile(/tmp/multipartBody4377589147055181942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763896858,"filename":"image_25012025_00_28_02_629210_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/65bb93c8996c51f8e003048f2a4d1af2.jpg","text":"TemporaryFile(/tmp/multipartBody1751396243126971970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763896858,"filename":"image_25012025_00_29_02_848682_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/778c0464a01698aca567fce19e720e58.jpg","text":"TemporaryFile(/tmp/multipartBody1323045329826307578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763896858,"filename":"image_25012025_00_29_02_848682_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/66f2f4ed3142ebc2652a89d636cdccae.jpg","text":"TemporaryFile(/tmp/multipartBody1299205167578095667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737763896858,"filename":"image_25012025_00_28_02_629210_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331171461","file1":"1331171418","file0":"1331171414","file4":"1331171489","file5":"1331171514","file3":"1331171474"},"map_files_photo_id_array":[{"photo_id":"1331171514","filename":"file5"},{"photo_id":"1331171461","filename":"file2"},{"photo_id":"1331171489","filename":"file4"},{"photo_id":"1331171418","filename":"file1"},{"photo_id":"1331171414","filename":"file0"},{"photo_id":"1331171474","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331171461":["hashtag1","hashtag2"]},{"1331171514":["hashtag1","hashtag2"]},{"1331171418":["hashtag1","hashtag2"]},{"1331171489":["hashtag1","hashtag2"]},{"1331171474":["hashtag1","hashtag2"]},{"1331171414":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331171461, 1331171514, 1331171418, 1331171489, 1331171474, 1331171414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.4156014919281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:12:02.563654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/30/image_25012025_00_30_03_148410_0000.jpg', '/home/pi/Desktop/images/25012025/00/30/image_25012025_00_30_03_148410_0001.jpg', '/home/pi/Desktop/images/25012025/00/30/image_25012025_00_30_03_148410_0002.jpg', '/home/pi/Desktop/images/25012025/00/30/image_25012025_00_30_03_148410_0003.jpg', '/home/pi/Desktop/images/25012025/00/31/image_25012025_00_31_02_238015_0000.jpg', '/home/pi/Desktop/images/25012025/00/31/image_25012025_00_31_02_238015_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/30/image_25012025_00_30_03_148410_0000.jpg
/home/pi/Desktop/images/25012025/00/30/image_25012025_00_30_03_148410_0001.jpg
/home/pi/Desktop/images/25012025/00/30/image_25012025_00_30_03_148410_0002.jpg
/home/pi/Desktop/images/25012025/00/30/image_25012025_00_30_03_148410_0003.jpg
/home/pi/Desktop/images/25012025/00/31/image_25012025_00_31_02_238015_0000.jpg
/home/pi/Desktop/images/25012025/00/31/image_25012025_00_31_02_238015_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":["1331171563","1331171569","1331171610","1331171615","1331171564","1331171575"],"photo_ids_order":["1331171563","1331171564","1331171569","1331171575","1331171610","1331171615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e1439bcd8aea81e9c54c2184fef869b9.jpg","text":"TemporaryFile(/tmp/multipartBody1744804702488026013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764034901,"filename":"image_25012025_00_30_03_148410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/78865cf85c0ef7cce49528fac3b824b7.jpg","text":"TemporaryFile(/tmp/multipartBody5997763901014754612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764034901,"filename":"image_25012025_00_30_03_148410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/07ae3b16484f85e78b9918429d703390.jpg","text":"TemporaryFile(/tmp/multipartBody2353818329994100607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764034901,"filename":"image_25012025_00_31_02_238015_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c59de233a6f3bfbe5fed932c812caead.jpg","text":"TemporaryFile(/tmp/multipartBody6368766843696009570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764034901,"filename":"image_25012025_00_31_02_238015_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/563d82551b7c536f7b137dcb3bd5a3be.jpg","text":"TemporaryFile(/tmp/multipartBody1776846647295158334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764034901,"filename":"image_25012025_00_30_03_148410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2e896099be5416f20a8fadb533f60371.jpg","text":"TemporaryFile(/tmp/multipartBody8452432602816987767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764034901,"filename":"image_25012025_00_30_03_148410_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331171569","file1":"1331171564","file0":"1331171563","file4":"1331171610","file5":"1331171615","file3":"1331171575"},"map_files_photo_id_array":[{"photo_id":"1331171615","filename":"file5"},{"photo_id":"1331171569","filename":"file2"},{"photo_id":"1331171610","filename":"file4"},{"photo_id":"1331171564","filename":"file1"},{"photo_id":"1331171563","filename":"file0"},{"photo_id":"1331171575","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331171563":["hashtag1","hashtag2"]},{"1331171569":["hashtag1","hashtag2"]},{"1331171610":["hashtag1","hashtag2"]},{"1331171615":["hashtag1","hashtag2"]},{"1331171564":["hashtag1","hashtag2"]},{"1331171575":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331171563, 1331171569, 1331171610, 1331171615, 1331171564, 1331171575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 111.59538388252258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:14:02.673391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/31/image_25012025_00_31_02_238015_0002.jpg', '/home/pi/Desktop/images/25012025/00/31/image_25012025_00_31_02_238015_0003.jpg', '/home/pi/Desktop/images/25012025/00/32/image_25012025_00_32_02_366647_0000.jpg', '/home/pi/Desktop/images/25012025/00/32/image_25012025_00_32_02_366647_0001.jpg', '/home/pi/Desktop/images/25012025/00/32/image_25012025_00_32_02_366647_0002.jpg', '/home/pi/Desktop/images/25012025/00/32/image_25012025_00_32_02_366647_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/31/image_25012025_00_31_02_238015_0002.jpg
/home/pi/Desktop/images/25012025/00/31/image_25012025_00_31_02_238015_0003.jpg
/home/pi/Desktop/images/25012025/00/32/image_25012025_00_32_02_366647_0000.jpg
/home/pi/Desktop/images/25012025/00/32/image_25012025_00_32_02_366647_0001.jpg
/home/pi/Desktop/images/25012025/00/32/image_25012025_00_32_02_366647_0002.jpg
/home/pi/Desktop/images/25012025/00/32/image_25012025_00_32_02_366647_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":["1331171836","1331171830","1331171821","1331171825","1331171816","1331171810"],"photo_ids_order":["1331171810","1331171816","1331171821","1331171825","1331171830","1331171836"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8f996124028e443ce90e0d3ee30e0a28.jpg","text":"TemporaryFile(/tmp/multipartBody3325899143504542016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764147416,"filename":"image_25012025_00_32_02_366647_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/075d431c5fc3ff42a2277303d8534cae.jpg","text":"TemporaryFile(/tmp/multipartBody4879537610186537267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764147416,"filename":"image_25012025_00_32_02_366647_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6dc6d1477718ca7542ec4e38e5058b77.jpg","text":"TemporaryFile(/tmp/multipartBody2286931325220846804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764147416,"filename":"image_25012025_00_32_02_366647_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/00d0ea2073249a4036d342112c625cc6.jpg","text":"TemporaryFile(/tmp/multipartBody1171619330866732213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764147416,"filename":"image_25012025_00_32_02_366647_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2229608c0c415858966a6a4041fc324e.jpg","text":"TemporaryFile(/tmp/multipartBody2038400168856186387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764147416,"filename":"image_25012025_00_31_02_238015_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/14a462c76113e13fe531902763f19975.jpg","text":"TemporaryFile(/tmp/multipartBody8829913556721201466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764147416,"filename":"image_25012025_00_31_02_238015_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331171821","file1":"1331171816","file0":"1331171810","file4":"1331171830","file5":"1331171836","file3":"1331171825"},"map_files_photo_id_array":[{"photo_id":"1331171836","filename":"file5"},{"photo_id":"1331171821","filename":"file2"},{"photo_id":"1331171830","filename":"file4"},{"photo_id":"1331171816","filename":"file1"},{"photo_id":"1331171810","filename":"file0"},{"photo_id":"1331171825","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331171836":["hashtag1","hashtag2"]},{"1331171830":["hashtag1","hashtag2"]},{"1331171821":["hashtag1","hashtag2"]},{"1331171825":["hashtag1","hashtag2"]},{"1331171816":["hashtag1","hashtag2"]},{"1331171810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331171836, 1331171830, 1331171821, 1331171825, 1331171816, 1331171810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.30850577354431 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:16:03.187334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/33/image_25012025_00_33_02_531332_0000.jpg', '/home/pi/Desktop/images/25012025/00/33/image_25012025_00_33_02_531332_0001.jpg', '/home/pi/Desktop/images/25012025/00/33/image_25012025_00_33_02_531332_0002.jpg', '/home/pi/Desktop/images/25012025/00/33/image_25012025_00_33_02_531332_0003.jpg', '/home/pi/Desktop/images/25012025/00/34/image_25012025_00_34_02_743505_0000.jpg', '/home/pi/Desktop/images/25012025/00/34/image_25012025_00_34_02_743505_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/33/image_25012025_00_33_02_531332_0000.jpg
/home/pi/Desktop/images/25012025/00/33/image_25012025_00_33_02_531332_0001.jpg
/home/pi/Desktop/images/25012025/00/33/image_25012025_00_33_02_531332_0002.jpg
/home/pi/Desktop/images/25012025/00/33/image_25012025_00_33_02_531332_0003.jpg
/home/pi/Desktop/images/25012025/00/34/image_25012025_00_34_02_743505_0000.jpg
/home/pi/Desktop/images/25012025/00/34/image_25012025_00_34_02_743505_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: 43.26825761795044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:17:02.873956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/33/image_25012025_00_33_02_531332_0000.jpg', '/home/pi/Desktop/images/25012025/00/33/image_25012025_00_33_02_531332_0001.jpg', '/home/pi/Desktop/images/25012025/00/33/image_25012025_00_33_02_531332_0002.jpg', '/home/pi/Desktop/images/25012025/00/33/image_25012025_00_33_02_531332_0003.jpg', '/home/pi/Desktop/images/25012025/00/34/image_25012025_00_34_02_743505_0000.jpg', '/home/pi/Desktop/images/25012025/00/34/image_25012025_00_34_02_743505_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/33/image_25012025_00_33_02_531332_0000.jpg
/home/pi/Desktop/images/25012025/00/33/image_25012025_00_33_02_531332_0001.jpg
/home/pi/Desktop/images/25012025/00/33/image_25012025_00_33_02_531332_0002.jpg
/home/pi/Desktop/images/25012025/00/33/image_25012025_00_33_02_531332_0003.jpg
/home/pi/Desktop/images/25012025/00/34/image_25012025_00_34_02_743505_0000.jpg
/home/pi/Desktop/images/25012025/00/34/image_25012025_00_34_02_743505_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":["1331171956","1331171979","1331171940","1331171937","1331171975","1331171960"],"photo_ids_order":["1331171937","1331171940","1331171956","1331171960","1331171975","1331171979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fc2dc4cb2af5d59317781b76b69bf2e7.jpg","text":"TemporaryFile(/tmp/multipartBody4490051647630620449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764330717,"filename":"image_25012025_00_33_02_531332_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5699629f6902bb544ef5a425601175bd.jpg","text":"TemporaryFile(/tmp/multipartBody8792104324430302143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764330717,"filename":"image_25012025_00_34_02_743505_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5d0dd3dc4e81d892fdd6f296b473b539.jpg","text":"TemporaryFile(/tmp/multipartBody4327813647824766616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764330717,"filename":"image_25012025_00_33_02_531332_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e3e304c83b05ae9200b1c977ca9d5472.jpg","text":"TemporaryFile(/tmp/multipartBody131374626393733316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764330717,"filename":"image_25012025_00_33_02_531332_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b06fe316ebe8fbdf1f9fdbeb27060b6b.jpg","text":"TemporaryFile(/tmp/multipartBody8893926941361472411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764330717,"filename":"image_25012025_00_34_02_743505_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c011bda6107b44730e2b14cd05ea18f0.jpg","text":"TemporaryFile(/tmp/multipartBody252922724617751129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764330717,"filename":"image_25012025_00_33_02_531332_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331171956","file1":"1331171940","file0":"1331171937","file4":"1331171975","file5":"1331171979","file3":"1331171960"},"map_files_photo_id_array":[{"photo_id":"1331171979","filename":"file5"},{"photo_id":"1331171956","filename":"file2"},{"photo_id":"1331171975","filename":"file4"},{"photo_id":"1331171940","filename":"file1"},{"photo_id":"1331171937","filename":"file0"},{"photo_id":"1331171960","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331171956":["hashtag1","hashtag2"]},{"1331171979":["hashtag1","hashtag2"]},{"1331171940":["hashtag1","hashtag2"]},{"1331171937":["hashtag1","hashtag2"]},{"1331171975":["hashtag1","hashtag2"]},{"1331171960":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331171956, 1331171979, 1331171940, 1331171937, 1331171975, 1331171960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.78769659996033 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:19:02.915297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/34/image_25012025_00_34_02_743505_0002.jpg', '/home/pi/Desktop/images/25012025/00/34/image_25012025_00_34_02_743505_0003.jpg', '/home/pi/Desktop/images/25012025/00/35/image_25012025_00_35_02_902815_0000.jpg', '/home/pi/Desktop/images/25012025/00/35/image_25012025_00_35_02_902815_0001.jpg', '/home/pi/Desktop/images/25012025/00/35/image_25012025_00_35_02_902815_0002.jpg', '/home/pi/Desktop/images/25012025/00/35/image_25012025_00_35_02_902815_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/34/image_25012025_00_34_02_743505_0002.jpg
/home/pi/Desktop/images/25012025/00/34/image_25012025_00_34_02_743505_0003.jpg
/home/pi/Desktop/images/25012025/00/35/image_25012025_00_35_02_902815_0000.jpg
/home/pi/Desktop/images/25012025/00/35/image_25012025_00_35_02_902815_0001.jpg
/home/pi/Desktop/images/25012025/00/35/image_25012025_00_35_02_902815_0002.jpg
/home/pi/Desktop/images/25012025/00/35/image_25012025_00_35_02_902815_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":["1331172115","1331172046","1331172054","1331172122","1331172059","1331172050"],"photo_ids_order":["1331172046","1331172050","1331172054","1331172059","1331172115","1331172122"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/953f1212f21ecf7174ca9714ca063d75.jpg","text":"TemporaryFile(/tmp/multipartBody6966287768149344175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764442355,"filename":"image_25012025_00_35_02_902815_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/313400acae62e645b4fd214434f72c3c.jpg","text":"TemporaryFile(/tmp/multipartBody4519556733618788325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764442355,"filename":"image_25012025_00_34_02_743505_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/199aab21bb326480b0b4b19a5a2d0fbf.jpg","text":"TemporaryFile(/tmp/multipartBody6502293506381989757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764442355,"filename":"image_25012025_00_35_02_902815_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f1169bf5185fa5769162d774ef51e2f0.jpg","text":"TemporaryFile(/tmp/multipartBody4976078080383304739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764442355,"filename":"image_25012025_00_35_02_902815_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0015922c48c9c519f2077df073624869.jpg","text":"TemporaryFile(/tmp/multipartBody2344389238905748024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764442355,"filename":"image_25012025_00_35_02_902815_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d022d5b6548bfa19035bafcd1cf9d77d.jpg","text":"TemporaryFile(/tmp/multipartBody3563509435583468701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764442355,"filename":"image_25012025_00_34_02_743505_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331172054","file1":"1331172050","file0":"1331172046","file4":"1331172115","file5":"1331172122","file3":"1331172059"},"map_files_photo_id_array":[{"photo_id":"1331172122","filename":"file5"},{"photo_id":"1331172054","filename":"file2"},{"photo_id":"1331172115","filename":"file4"},{"photo_id":"1331172050","filename":"file1"},{"photo_id":"1331172046","filename":"file0"},{"photo_id":"1331172059","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331172115":["hashtag1","hashtag2"]},{"1331172046":["hashtag1","hashtag2"]},{"1331172054":["hashtag1","hashtag2"]},{"1331172122":["hashtag1","hashtag2"]},{"1331172059":["hashtag1","hashtag2"]},{"1331172050":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331172115, 1331172046, 1331172054, 1331172122, 1331172059, 1331172050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.9514045715332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:21:03.044607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/36/image_25012025_00_36_03_030569_0000.jpg', '/home/pi/Desktop/images/25012025/00/36/image_25012025_00_36_03_030569_0001.jpg', '/home/pi/Desktop/images/25012025/00/36/image_25012025_00_36_03_030569_0002.jpg', '/home/pi/Desktop/images/25012025/00/36/image_25012025_00_36_03_030569_0003.jpg', '/home/pi/Desktop/images/25012025/00/37/image_25012025_00_37_02_198349_0000.jpg', '/home/pi/Desktop/images/25012025/00/37/image_25012025_00_37_02_198349_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/36/image_25012025_00_36_03_030569_0000.jpg
/home/pi/Desktop/images/25012025/00/36/image_25012025_00_36_03_030569_0001.jpg
/home/pi/Desktop/images/25012025/00/36/image_25012025_00_36_03_030569_0002.jpg
/home/pi/Desktop/images/25012025/00/36/image_25012025_00_36_03_030569_0003.jpg
/home/pi/Desktop/images/25012025/00/37/image_25012025_00_37_02_198349_0000.jpg
/home/pi/Desktop/images/25012025/00/37/image_25012025_00_37_02_198349_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":["1331172684","1331172972","1331172807","1331172558","1331172968","1331172623"],"photo_ids_order":["1331172558","1331172623","1331172684","1331172807","1331172968","1331172972"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4fbac5d6882e49754e0941e726e7bd8b.jpg","text":"TemporaryFile(/tmp/multipartBody3933570939022080426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764574098,"filename":"image_25012025_00_36_03_030569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8270650c0704e20f4d5a89089027f806.jpg","text":"TemporaryFile(/tmp/multipartBody2292307682695528266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764574098,"filename":"image_25012025_00_37_02_198349_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d2b2b37fd7f132c108004eef8bac5249.jpg","text":"TemporaryFile(/tmp/multipartBody8991604860460265908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764574098,"filename":"image_25012025_00_36_03_030569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f295da2cc3281a3ca7a14d3f9606694f.jpg","text":"TemporaryFile(/tmp/multipartBody5869803721217622767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764574098,"filename":"image_25012025_00_36_03_030569_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/66cbdacd5176cd090aecbfec02999a71.jpg","text":"TemporaryFile(/tmp/multipartBody8643012304110850022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764574098,"filename":"image_25012025_00_37_02_198349_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d0661f0537a059b24852c4ff5bb4a484.jpg","text":"TemporaryFile(/tmp/multipartBody8740249068377189567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764574098,"filename":"image_25012025_00_36_03_030569_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331172684","file1":"1331172623","file0":"1331172558","file4":"1331172968","file5":"1331172972","file3":"1331172807"},"map_files_photo_id_array":[{"photo_id":"1331172972","filename":"file5"},{"photo_id":"1331172684","filename":"file2"},{"photo_id":"1331172968","filename":"file4"},{"photo_id":"1331172623","filename":"file1"},{"photo_id":"1331172558","filename":"file0"},{"photo_id":"1331172807","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331172684":["hashtag1","hashtag2"]},{"1331172972":["hashtag1","hashtag2"]},{"1331172807":["hashtag1","hashtag2"]},{"1331172558":["hashtag1","hashtag2"]},{"1331172968":["hashtag1","hashtag2"]},{"1331172623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331172684, 1331172972, 1331172807, 1331172558, 1331172968, 1331172623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.97871947288513 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:23:03.178823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/37/image_25012025_00_37_02_198349_0002.jpg', '/home/pi/Desktop/images/25012025/00/37/image_25012025_00_37_02_198349_0003.jpg', '/home/pi/Desktop/images/25012025/00/38/image_25012025_00_38_02_397902_0000.jpg', '/home/pi/Desktop/images/25012025/00/38/image_25012025_00_38_02_397902_0001.jpg', '/home/pi/Desktop/images/25012025/00/38/image_25012025_00_38_02_397902_0002.jpg', '/home/pi/Desktop/images/25012025/00/38/image_25012025_00_38_02_397902_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/37/image_25012025_00_37_02_198349_0002.jpg
/home/pi/Desktop/images/25012025/00/37/image_25012025_00_37_02_198349_0003.jpg
/home/pi/Desktop/images/25012025/00/38/image_25012025_00_38_02_397902_0000.jpg
/home/pi/Desktop/images/25012025/00/38/image_25012025_00_38_02_397902_0001.jpg
/home/pi/Desktop/images/25012025/00/38/image_25012025_00_38_02_397902_0002.jpg
/home/pi/Desktop/images/25012025/00/38/image_25012025_00_38_02_397902_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: 46.87582874298096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:24:02.403589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/37/image_25012025_00_37_02_198349_0002.jpg', '/home/pi/Desktop/images/25012025/00/37/image_25012025_00_37_02_198349_0003.jpg', '/home/pi/Desktop/images/25012025/00/38/image_25012025_00_38_02_397902_0000.jpg', '/home/pi/Desktop/images/25012025/00/38/image_25012025_00_38_02_397902_0001.jpg', '/home/pi/Desktop/images/25012025/00/38/image_25012025_00_38_02_397902_0002.jpg', '/home/pi/Desktop/images/25012025/00/38/image_25012025_00_38_02_397902_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/37/image_25012025_00_37_02_198349_0002.jpg
/home/pi/Desktop/images/25012025/00/37/image_25012025_00_37_02_198349_0003.jpg
/home/pi/Desktop/images/25012025/00/38/image_25012025_00_38_02_397902_0000.jpg
/home/pi/Desktop/images/25012025/00/38/image_25012025_00_38_02_397902_0001.jpg
/home/pi/Desktop/images/25012025/00/38/image_25012025_00_38_02_397902_0002.jpg
/home/pi/Desktop/images/25012025/00/38/image_25012025_00_38_02_397902_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":["1331173402","1331173356","1331173361","1331173358","1331173367","1331173354"],"photo_ids_order":["1331173354","1331173356","1331173358","1331173361","1331173367","1331173402"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2545ed4dd50e5e36d3aab8179b51c626.jpg","text":"TemporaryFile(/tmp/multipartBody713596019190227772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764731147,"filename":"image_25012025_00_38_02_397902_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cb83f57e33611e3f0964ccf216d64ce2.jpg","text":"TemporaryFile(/tmp/multipartBody3149212936712887811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764731147,"filename":"image_25012025_00_37_02_198349_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b1ea9a73560a98d8629bbc0aa728faa7.jpg","text":"TemporaryFile(/tmp/multipartBody9220435226520367881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764731147,"filename":"image_25012025_00_38_02_397902_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0b3b6c7244991232519455d53168ad82.jpg","text":"TemporaryFile(/tmp/multipartBody79563662626762480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764731147,"filename":"image_25012025_00_38_02_397902_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9b04249ac2a1005370f759c3818cd315.jpg","text":"TemporaryFile(/tmp/multipartBody4084629241031762684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764731147,"filename":"image_25012025_00_38_02_397902_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/799792d2e09b139bafbf1e258af69be6.jpg","text":"TemporaryFile(/tmp/multipartBody7584668302975364165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764731147,"filename":"image_25012025_00_37_02_198349_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331173358","file1":"1331173356","file0":"1331173354","file4":"1331173367","file5":"1331173402","file3":"1331173361"},"map_files_photo_id_array":[{"photo_id":"1331173402","filename":"file5"},{"photo_id":"1331173358","filename":"file2"},{"photo_id":"1331173367","filename":"file4"},{"photo_id":"1331173356","filename":"file1"},{"photo_id":"1331173354","filename":"file0"},{"photo_id":"1331173361","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331173402":["hashtag1","hashtag2"]},{"1331173356":["hashtag1","hashtag2"]},{"1331173361":["hashtag1","hashtag2"]},{"1331173358":["hashtag1","hashtag2"]},{"1331173367":["hashtag1","hashtag2"]},{"1331173354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331173402, 1331173356, 1331173361, 1331173358, 1331173367, 1331173354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 83.74364161491394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:26:02.533576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/39/image_25012025_00_39_02_664896_0000.jpg', '/home/pi/Desktop/images/25012025/00/39/image_25012025_00_39_02_664896_0001.jpg', '/home/pi/Desktop/images/25012025/00/39/image_25012025_00_39_02_664896_0002.jpg', '/home/pi/Desktop/images/25012025/00/39/image_25012025_00_39_02_664896_0003.jpg', '/home/pi/Desktop/images/25012025/00/40/image_25012025_00_40_02_783411_0000.jpg', '/home/pi/Desktop/images/25012025/00/40/image_25012025_00_40_02_783411_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/39/image_25012025_00_39_02_664896_0000.jpg
/home/pi/Desktop/images/25012025/00/39/image_25012025_00_39_02_664896_0001.jpg
/home/pi/Desktop/images/25012025/00/39/image_25012025_00_39_02_664896_0002.jpg
/home/pi/Desktop/images/25012025/00/39/image_25012025_00_39_02_664896_0003.jpg
/home/pi/Desktop/images/25012025/00/40/image_25012025_00_40_02_783411_0000.jpg
/home/pi/Desktop/images/25012025/00/40/image_25012025_00_40_02_783411_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":["1331173523","1331173508","1331173516","1331173519","1331173510","1331173513"],"photo_ids_order":["1331173508","1331173510","1331173513","1331173516","1331173519","1331173523"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d5bac5c3ca9ce7cbaf241e4367565a0c.jpg","text":"TemporaryFile(/tmp/multipartBody8978473205827568378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764875879,"filename":"image_25012025_00_40_02_783411_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/090a1ce3936a95f5a8e41f82c87797f1.jpg","text":"TemporaryFile(/tmp/multipartBody3534164941818206849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764875879,"filename":"image_25012025_00_39_02_664896_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6e3bf49916ab7ccb96d81649600ee4d2.jpg","text":"TemporaryFile(/tmp/multipartBody1772973352369521851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764875879,"filename":"image_25012025_00_39_02_664896_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a028cdd891e103152bdb025697954b9a.jpg","text":"TemporaryFile(/tmp/multipartBody3040025042000047503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764875879,"filename":"image_25012025_00_40_02_783411_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0e2bd30a4a03c4cd2a9cd8befb112386.jpg","text":"TemporaryFile(/tmp/multipartBody393366094489017712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764875879,"filename":"image_25012025_00_39_02_664896_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6cd1dff5562113e9199df2f8500098ec.jpg","text":"TemporaryFile(/tmp/multipartBody4200585547113850997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764875879,"filename":"image_25012025_00_39_02_664896_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331173513","file1":"1331173510","file0":"1331173508","file4":"1331173519","file5":"1331173523","file3":"1331173516"},"map_files_photo_id_array":[{"photo_id":"1331173523","filename":"file5"},{"photo_id":"1331173513","filename":"file2"},{"photo_id":"1331173519","filename":"file4"},{"photo_id":"1331173510","filename":"file1"},{"photo_id":"1331173508","filename":"file0"},{"photo_id":"1331173516","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331173523":["hashtag1","hashtag2"]},{"1331173508":["hashtag1","hashtag2"]},{"1331173516":["hashtag1","hashtag2"]},{"1331173519":["hashtag1","hashtag2"]},{"1331173510":["hashtag1","hashtag2"]},{"1331173513":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331173523, 1331173508, 1331173516, 1331173519, 1331173510, 1331173513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 108.13989591598511 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:28:02.573089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/40/image_25012025_00_40_02_783411_0002.jpg', '/home/pi/Desktop/images/25012025/00/40/image_25012025_00_40_02_783411_0003.jpg', '/home/pi/Desktop/images/25012025/00/41/image_25012025_00_41_03_031186_0000.jpg', '/home/pi/Desktop/images/25012025/00/41/image_25012025_00_41_03_031186_0001.jpg', '/home/pi/Desktop/images/25012025/00/41/image_25012025_00_41_03_031186_0002.jpg', '/home/pi/Desktop/images/25012025/00/41/image_25012025_00_41_03_031186_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/40/image_25012025_00_40_02_783411_0002.jpg
/home/pi/Desktop/images/25012025/00/40/image_25012025_00_40_02_783411_0003.jpg
/home/pi/Desktop/images/25012025/00/41/image_25012025_00_41_03_031186_0000.jpg
/home/pi/Desktop/images/25012025/00/41/image_25012025_00_41_03_031186_0001.jpg
/home/pi/Desktop/images/25012025/00/41/image_25012025_00_41_03_031186_0002.jpg
/home/pi/Desktop/images/25012025/00/41/image_25012025_00_41_03_031186_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":["1331173698","1331173743","1331173752","1331173748","1331173717","1331173695"],"photo_ids_order":["1331173695","1331173698","1331173717","1331173743","1331173748","1331173752"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3674a1a78e4de8603cc4cd61af89e96f.jpg","text":"TemporaryFile(/tmp/multipartBody1510521920752108477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764987015,"filename":"image_25012025_00_40_02_783411_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/200f3a5bee2ba88288b8024b92201701.jpg","text":"TemporaryFile(/tmp/multipartBody1220449897936996548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764987015,"filename":"image_25012025_00_41_03_031186_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/59fe5b0bc430b848be7ace34ed37a3b7.jpg","text":"TemporaryFile(/tmp/multipartBody7562792374747777510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764987015,"filename":"image_25012025_00_41_03_031186_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/55d12864b592bb55f704208c8a3e01e1.jpg","text":"TemporaryFile(/tmp/multipartBody5362017423617512840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764987015,"filename":"image_25012025_00_41_03_031186_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4835f55da9f906df93b595dad3cc0287.jpg","text":"TemporaryFile(/tmp/multipartBody2252745272813096986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764987015,"filename":"image_25012025_00_41_03_031186_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/67a95c3d483a18927377a49b17f45388.jpg","text":"TemporaryFile(/tmp/multipartBody7411829306401567038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737764987015,"filename":"image_25012025_00_40_02_783411_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331173717","file1":"1331173698","file0":"1331173695","file4":"1331173748","file5":"1331173752","file3":"1331173743"},"map_files_photo_id_array":[{"photo_id":"1331173752","filename":"file5"},{"photo_id":"1331173717","filename":"file2"},{"photo_id":"1331173748","filename":"file4"},{"photo_id":"1331173698","filename":"file1"},{"photo_id":"1331173695","filename":"file0"},{"photo_id":"1331173743","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331173698":["hashtag1","hashtag2"]},{"1331173743":["hashtag1","hashtag2"]},{"1331173752":["hashtag1","hashtag2"]},{"1331173748":["hashtag1","hashtag2"]},{"1331173717":["hashtag1","hashtag2"]},{"1331173695":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331173698, 1331173743, 1331173752, 1331173748, 1331173717, 1331173695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.29472661018372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:30:02.608525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/42/image_25012025_00_42_02_196656_0000.jpg', '/home/pi/Desktop/images/25012025/00/42/image_25012025_00_42_02_196656_0001.jpg', '/home/pi/Desktop/images/25012025/00/42/image_25012025_00_42_02_196656_0002.jpg', '/home/pi/Desktop/images/25012025/00/42/image_25012025_00_42_02_196656_0003.jpg', '/home/pi/Desktop/images/25012025/00/43/image_25012025_00_43_02_408537_0000.jpg', '/home/pi/Desktop/images/25012025/00/43/image_25012025_00_43_02_408537_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/42/image_25012025_00_42_02_196656_0000.jpg
/home/pi/Desktop/images/25012025/00/42/image_25012025_00_42_02_196656_0001.jpg
/home/pi/Desktop/images/25012025/00/42/image_25012025_00_42_02_196656_0002.jpg
/home/pi/Desktop/images/25012025/00/42/image_25012025_00_42_02_196656_0003.jpg
/home/pi/Desktop/images/25012025/00/43/image_25012025_00_43_02_408537_0000.jpg
/home/pi/Desktop/images/25012025/00/43/image_25012025_00_43_02_408537_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":["1331174025","1331173926","1331174030","1331174042","1331174036","1331173843"],"photo_ids_order":["1331173843","1331173926","1331174025","1331174030","1331174036","1331174042"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/17b71361079f053f14ecdee587225e76.jpg","text":"TemporaryFile(/tmp/multipartBody8124482379500132241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765097527,"filename":"image_25012025_00_42_02_196656_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/457def3fd805e7b17f81d1adcbf1b49c.jpg","text":"TemporaryFile(/tmp/multipartBody4957384568923890277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765097527,"filename":"image_25012025_00_42_02_196656_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8beedf8f867dab12710509d873d909b8.jpg","text":"TemporaryFile(/tmp/multipartBody2970033628972757772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765097527,"filename":"image_25012025_00_42_02_196656_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a3ef407637dfae0152f7173b594bde13.jpg","text":"TemporaryFile(/tmp/multipartBody5006141610015857725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765097527,"filename":"image_25012025_00_43_02_408537_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3268609b49cf327f1d99ae911326d50a.jpg","text":"TemporaryFile(/tmp/multipartBody7117030482340845146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765097527,"filename":"image_25012025_00_43_02_408537_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b3a235263590f498d9e17207657dd024.jpg","text":"TemporaryFile(/tmp/multipartBody8063382944852423165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765097527,"filename":"image_25012025_00_42_02_196656_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331174025","file1":"1331173926","file0":"1331173843","file4":"1331174036","file5":"1331174042","file3":"1331174030"},"map_files_photo_id_array":[{"photo_id":"1331174042","filename":"file5"},{"photo_id":"1331174025","filename":"file2"},{"photo_id":"1331174036","filename":"file4"},{"photo_id":"1331173926","filename":"file1"},{"photo_id":"1331173843","filename":"file0"},{"photo_id":"1331174030","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331174025":["hashtag1","hashtag2"]},{"1331173926":["hashtag1","hashtag2"]},{"1331174030":["hashtag1","hashtag2"]},{"1331174042":["hashtag1","hashtag2"]},{"1331174036":["hashtag1","hashtag2"]},{"1331173843":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331174025, 1331173926, 1331174030, 1331174042, 1331174036, 1331173843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.19605493545532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:32:03.051096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/43/image_25012025_00_43_02_408537_0002.jpg', '/home/pi/Desktop/images/25012025/00/43/image_25012025_00_43_02_408537_0003.jpg', '/home/pi/Desktop/images/25012025/00/44/image_25012025_00_44_02_627266_0000.jpg', '/home/pi/Desktop/images/25012025/00/44/image_25012025_00_44_02_627266_0001.jpg', '/home/pi/Desktop/images/25012025/00/44/image_25012025_00_44_02_627266_0002.jpg', '/home/pi/Desktop/images/25012025/00/44/image_25012025_00_44_02_627266_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/43/image_25012025_00_43_02_408537_0002.jpg
/home/pi/Desktop/images/25012025/00/43/image_25012025_00_43_02_408537_0003.jpg
/home/pi/Desktop/images/25012025/00/44/image_25012025_00_44_02_627266_0000.jpg
/home/pi/Desktop/images/25012025/00/44/image_25012025_00_44_02_627266_0001.jpg
/home/pi/Desktop/images/25012025/00/44/image_25012025_00_44_02_627266_0002.jpg
/home/pi/Desktop/images/25012025/00/44/image_25012025_00_44_02_627266_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":["1331174142","1331174162","1331174165","1331174144","1331174155","1331174149"],"photo_ids_order":["1331174142","1331174144","1331174149","1331174155","1331174162","1331174165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bddc3793ff60af666b15560362ac2906.jpg","text":"TemporaryFile(/tmp/multipartBody1922784559406009845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765232973,"filename":"image_25012025_00_43_02_408537_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9048c58734a9cf12e6fc83996ca59db8.jpg","text":"TemporaryFile(/tmp/multipartBody1480556722440732854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765232973,"filename":"image_25012025_00_44_02_627266_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a62f772f5aaed3a956c79f6c8f10c9f9.jpg","text":"TemporaryFile(/tmp/multipartBody6534653301191717339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765232973,"filename":"image_25012025_00_44_02_627266_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/251a0c90cc4a532872a33390fa5e6b40.jpg","text":"TemporaryFile(/tmp/multipartBody5009225630604666328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765232973,"filename":"image_25012025_00_43_02_408537_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/97d9de958c57a6c7791545844e7a01a3.jpg","text":"TemporaryFile(/tmp/multipartBody6781852799630423390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765232973,"filename":"image_25012025_00_44_02_627266_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fa8bf760b2891164f076f18dc1fefb35.jpg","text":"TemporaryFile(/tmp/multipartBody5120953401852009005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765232973,"filename":"image_25012025_00_44_02_627266_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331174149","file1":"1331174144","file0":"1331174142","file4":"1331174162","file5":"1331174165","file3":"1331174155"},"map_files_photo_id_array":[{"photo_id":"1331174165","filename":"file5"},{"photo_id":"1331174149","filename":"file2"},{"photo_id":"1331174162","filename":"file4"},{"photo_id":"1331174144","filename":"file1"},{"photo_id":"1331174142","filename":"file0"},{"photo_id":"1331174155","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331174142":["hashtag1","hashtag2"]},{"1331174162":["hashtag1","hashtag2"]},{"1331174165":["hashtag1","hashtag2"]},{"1331174144":["hashtag1","hashtag2"]},{"1331174155":["hashtag1","hashtag2"]},{"1331174149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331174142, 1331174162, 1331174165, 1331174144, 1331174155, 1331174149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.20109796524048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:34:02.980615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/45/image_25012025_00_45_02_760745_0000.jpg', '/home/pi/Desktop/images/25012025/00/45/image_25012025_00_45_02_760745_0001.jpg', '/home/pi/Desktop/images/25012025/00/45/image_25012025_00_45_02_760745_0002.jpg', '/home/pi/Desktop/images/25012025/00/45/image_25012025_00_45_02_760745_0003.jpg', '/home/pi/Desktop/images/25012025/00/46/image_25012025_00_46_02_916917_0000.jpg', '/home/pi/Desktop/images/25012025/00/46/image_25012025_00_46_02_916917_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/45/image_25012025_00_45_02_760745_0000.jpg
/home/pi/Desktop/images/25012025/00/45/image_25012025_00_45_02_760745_0001.jpg
/home/pi/Desktop/images/25012025/00/45/image_25012025_00_45_02_760745_0002.jpg
/home/pi/Desktop/images/25012025/00/45/image_25012025_00_45_02_760745_0003.jpg
/home/pi/Desktop/images/25012025/00/46/image_25012025_00_46_02_916917_0000.jpg
/home/pi/Desktop/images/25012025/00/46/image_25012025_00_46_02_916917_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":["1331174838","1331174828","1331174791","1331174794","1331174896","1331174832"],"photo_ids_order":["1331174791","1331174794","1331174828","1331174832","1331174838","1331174896"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1e0cdbe44a97cfa81d25656a394ee402.jpg","text":"TemporaryFile(/tmp/multipartBody5908235719432150271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765353626,"filename":"image_25012025_00_46_02_916917_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7fe4e543fed4579ca2fd6e364f241707.jpg","text":"TemporaryFile(/tmp/multipartBody6969161808150465850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765353626,"filename":"image_25012025_00_45_02_760745_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1f920cf2538ddcdcdc1ab484182044fb.jpg","text":"TemporaryFile(/tmp/multipartBody9014481614610861389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765353626,"filename":"image_25012025_00_45_02_760745_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8852af881fa01f7e1444969927e0cb36.jpg","text":"TemporaryFile(/tmp/multipartBody657344393837571225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765353626,"filename":"image_25012025_00_45_02_760745_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bbe7e7608fbe42c5e2c9afc205a359e0.jpg","text":"TemporaryFile(/tmp/multipartBody7137609885490137331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765353626,"filename":"image_25012025_00_46_02_916917_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1a30ef8376fe7054d001c424f81a5ef6.jpg","text":"TemporaryFile(/tmp/multipartBody898263764693190684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765353626,"filename":"image_25012025_00_45_02_760745_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331174828","file1":"1331174794","file0":"1331174791","file4":"1331174838","file5":"1331174896","file3":"1331174832"},"map_files_photo_id_array":[{"photo_id":"1331174896","filename":"file5"},{"photo_id":"1331174828","filename":"file2"},{"photo_id":"1331174838","filename":"file4"},{"photo_id":"1331174794","filename":"file1"},{"photo_id":"1331174791","filename":"file0"},{"photo_id":"1331174832","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331174838":["hashtag1","hashtag2"]},{"1331174828":["hashtag1","hashtag2"]},{"1331174791":["hashtag1","hashtag2"]},{"1331174794":["hashtag1","hashtag2"]},{"1331174896":["hashtag1","hashtag2"]},{"1331174832":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331174838, 1331174828, 1331174791, 1331174794, 1331174896, 1331174832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.28216195106506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:36:03.062333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/46/image_25012025_00_46_02_916917_0002.jpg', '/home/pi/Desktop/images/25012025/00/46/image_25012025_00_46_02_916917_0003.jpg', '/home/pi/Desktop/images/25012025/00/47/image_25012025_00_47_03_097740_0000.jpg', '/home/pi/Desktop/images/25012025/00/47/image_25012025_00_47_03_097740_0001.jpg', '/home/pi/Desktop/images/25012025/00/47/image_25012025_00_47_03_097740_0002.jpg', '/home/pi/Desktop/images/25012025/00/47/image_25012025_00_47_03_097740_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/46/image_25012025_00_46_02_916917_0002.jpg
/home/pi/Desktop/images/25012025/00/46/image_25012025_00_46_02_916917_0003.jpg
/home/pi/Desktop/images/25012025/00/47/image_25012025_00_47_03_097740_0000.jpg
/home/pi/Desktop/images/25012025/00/47/image_25012025_00_47_03_097740_0001.jpg
/home/pi/Desktop/images/25012025/00/47/image_25012025_00_47_03_097740_0002.jpg
/home/pi/Desktop/images/25012025/00/47/image_25012025_00_47_03_097740_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":["1331175256","1331175268","1331175483","1331175316","1331175453","1331175264"],"photo_ids_order":["1331175256","1331175264","1331175268","1331175316","1331175453","1331175483"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ffd66339b899184f053ecacfca5b1d7c.jpg","text":"TemporaryFile(/tmp/multipartBody1327794184426925225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765458675,"filename":"image_25012025_00_46_02_916917_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0e44813e6abf46bd3d02e2aed3d6ae0d.jpg","text":"TemporaryFile(/tmp/multipartBody4683777156170123612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765458675,"filename":"image_25012025_00_47_03_097740_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cf5009f8731d36a56fad300172b421a7.jpg","text":"TemporaryFile(/tmp/multipartBody3591818658531920364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765458675,"filename":"image_25012025_00_47_03_097740_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ee0b9085d948673d36096dcac383c19c.jpg","text":"TemporaryFile(/tmp/multipartBody4373121097414961826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765458675,"filename":"image_25012025_00_47_03_097740_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0b3153a8a3f2fe88b47e167e44256d18.jpg","text":"TemporaryFile(/tmp/multipartBody5975783007592239124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765458675,"filename":"image_25012025_00_47_03_097740_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c7766a33a2a15263136cd6a10753bd8.jpg","text":"TemporaryFile(/tmp/multipartBody1009594947364012385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765458675,"filename":"image_25012025_00_46_02_916917_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331175268","file1":"1331175264","file0":"1331175256","file4":"1331175453","file5":"1331175483","file3":"1331175316"},"map_files_photo_id_array":[{"photo_id":"1331175483","filename":"file5"},{"photo_id":"1331175268","filename":"file2"},{"photo_id":"1331175453","filename":"file4"},{"photo_id":"1331175264","filename":"file1"},{"photo_id":"1331175256","filename":"file0"},{"photo_id":"1331175316","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331175256":["hashtag1","hashtag2"]},{"1331175268":["hashtag1","hashtag2"]},{"1331175483":["hashtag1","hashtag2"]},{"1331175316":["hashtag1","hashtag2"]},{"1331175453":["hashtag1","hashtag2"]},{"1331175264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331175256, 1331175268, 1331175483, 1331175316, 1331175453, 1331175264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.54966259002686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:38:03.178222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/48/image_25012025_00_48_02_353551_0000.jpg', '/home/pi/Desktop/images/25012025/00/48/image_25012025_00_48_02_353551_0001.jpg', '/home/pi/Desktop/images/25012025/00/48/image_25012025_00_48_02_353551_0002.jpg', '/home/pi/Desktop/images/25012025/00/48/image_25012025_00_48_02_353551_0003.jpg', '/home/pi/Desktop/images/25012025/00/49/image_25012025_00_49_02_466404_0000.jpg', '/home/pi/Desktop/images/25012025/00/49/image_25012025_00_49_02_466404_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/48/image_25012025_00_48_02_353551_0000.jpg
/home/pi/Desktop/images/25012025/00/48/image_25012025_00_48_02_353551_0001.jpg
/home/pi/Desktop/images/25012025/00/48/image_25012025_00_48_02_353551_0002.jpg
/home/pi/Desktop/images/25012025/00/48/image_25012025_00_48_02_353551_0003.jpg
/home/pi/Desktop/images/25012025/00/49/image_25012025_00_49_02_466404_0000.jpg
/home/pi/Desktop/images/25012025/00/49/image_25012025_00_49_02_466404_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: 35.03908634185791 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:39:02.792330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/48/image_25012025_00_48_02_353551_0000.jpg', '/home/pi/Desktop/images/25012025/00/48/image_25012025_00_48_02_353551_0001.jpg', '/home/pi/Desktop/images/25012025/00/48/image_25012025_00_48_02_353551_0002.jpg', '/home/pi/Desktop/images/25012025/00/48/image_25012025_00_48_02_353551_0003.jpg', '/home/pi/Desktop/images/25012025/00/49/image_25012025_00_49_02_466404_0000.jpg', '/home/pi/Desktop/images/25012025/00/49/image_25012025_00_49_02_466404_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/48/image_25012025_00_48_02_353551_0000.jpg
/home/pi/Desktop/images/25012025/00/48/image_25012025_00_48_02_353551_0001.jpg
/home/pi/Desktop/images/25012025/00/48/image_25012025_00_48_02_353551_0002.jpg
/home/pi/Desktop/images/25012025/00/48/image_25012025_00_48_02_353551_0003.jpg
/home/pi/Desktop/images/25012025/00/49/image_25012025_00_49_02_466404_0000.jpg
/home/pi/Desktop/images/25012025/00/49/image_25012025_00_49_02_466404_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":["1331177275","1331177029","1331176918","1331176899","1331177220","1331177228"],"photo_ids_order":["1331176899","1331176918","1331177029","1331177220","1331177228","1331177275"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b08f5bd46eb3f4010b7bf329fbabfe22.jpg","text":"TemporaryFile(/tmp/multipartBody7073339742311348108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765649071,"filename":"image_25012025_00_49_02_466404_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aaf6f97082170bcd239eb0a5f43fa461.jpg","text":"TemporaryFile(/tmp/multipartBody7737315760891186710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765649071,"filename":"image_25012025_00_48_02_353551_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3d75dd6f1786101dc5ab178855bb250c.jpg","text":"TemporaryFile(/tmp/multipartBody5090955063135944367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765649071,"filename":"image_25012025_00_48_02_353551_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7414b47063addb6c62cfe5c6ee936c0a.jpg","text":"TemporaryFile(/tmp/multipartBody2110334111581773087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765649071,"filename":"image_25012025_00_48_02_353551_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/35aff8e0bb104866b87be833159f3140.jpg","text":"TemporaryFile(/tmp/multipartBody5896034593551525713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765649071,"filename":"image_25012025_00_48_02_353551_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9d44887a6e2ebf8c90e52fffb856b9bc.jpg","text":"TemporaryFile(/tmp/multipartBody2001342311443672106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765649071,"filename":"image_25012025_00_49_02_466404_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331177029","file1":"1331176918","file0":"1331176899","file4":"1331177228","file5":"1331177275","file3":"1331177220"},"map_files_photo_id_array":[{"photo_id":"1331177275","filename":"file5"},{"photo_id":"1331177029","filename":"file2"},{"photo_id":"1331177228","filename":"file4"},{"photo_id":"1331176918","filename":"file1"},{"photo_id":"1331176899","filename":"file0"},{"photo_id":"1331177220","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331177275":["hashtag1","hashtag2"]},{"1331177029":["hashtag1","hashtag2"]},{"1331176918":["hashtag1","hashtag2"]},{"1331176899":["hashtag1","hashtag2"]},{"1331177220":["hashtag1","hashtag2"]},{"1331177228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331177275, 1331177029, 1331176918, 1331176899, 1331177220, 1331177228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.77366352081299 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:41:02.829302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/49/image_25012025_00_49_02_466404_0002.jpg', '/home/pi/Desktop/images/25012025/00/49/image_25012025_00_49_02_466404_0003.jpg', '/home/pi/Desktop/images/25012025/00/50/image_25012025_00_50_02_777598_0000.jpg', '/home/pi/Desktop/images/25012025/00/50/image_25012025_00_50_02_777598_0001.jpg', '/home/pi/Desktop/images/25012025/00/50/image_25012025_00_50_02_777598_0002.jpg', '/home/pi/Desktop/images/25012025/00/50/image_25012025_00_50_02_777598_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/49/image_25012025_00_49_02_466404_0002.jpg
/home/pi/Desktop/images/25012025/00/49/image_25012025_00_49_02_466404_0003.jpg
/home/pi/Desktop/images/25012025/00/50/image_25012025_00_50_02_777598_0000.jpg
/home/pi/Desktop/images/25012025/00/50/image_25012025_00_50_02_777598_0001.jpg
/home/pi/Desktop/images/25012025/00/50/image_25012025_00_50_02_777598_0002.jpg
/home/pi/Desktop/images/25012025/00/50/image_25012025_00_50_02_777598_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":["1331177584","1331177571","1331177616","1331177573","1331177599","1331177717"],"photo_ids_order":["1331177571","1331177573","1331177584","1331177599","1331177616","1331177717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2b56dd1f43a76d379db47c397d5d74db.jpg","text":"TemporaryFile(/tmp/multipartBody8065018452014539255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765758966,"filename":"image_25012025_00_50_02_777598_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dd856980d0b4bf3925a3e2385a8d54b1.jpg","text":"TemporaryFile(/tmp/multipartBody2543896609990070346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765758966,"filename":"image_25012025_00_49_02_466404_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/96e2544879ed327b0dbeb67822e9919e.jpg","text":"TemporaryFile(/tmp/multipartBody9151158481732064941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765758966,"filename":"image_25012025_00_50_02_777598_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/610594faf5740c949cb7d8eba73cf821.jpg","text":"TemporaryFile(/tmp/multipartBody7400590760322047066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765758966,"filename":"image_25012025_00_49_02_466404_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f657b481f8bd5d5baed60b5117322a03.jpg","text":"TemporaryFile(/tmp/multipartBody2287499701224823118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765758966,"filename":"image_25012025_00_50_02_777598_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c6bc8d6beb0daf73e4b13542f611fc3e.jpg","text":"TemporaryFile(/tmp/multipartBody2413619621159417571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765758966,"filename":"image_25012025_00_50_02_777598_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331177584","file1":"1331177573","file0":"1331177571","file4":"1331177616","file5":"1331177717","file3":"1331177599"},"map_files_photo_id_array":[{"photo_id":"1331177717","filename":"file5"},{"photo_id":"1331177584","filename":"file2"},{"photo_id":"1331177616","filename":"file4"},{"photo_id":"1331177573","filename":"file1"},{"photo_id":"1331177571","filename":"file0"},{"photo_id":"1331177599","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331177584":["hashtag1","hashtag2"]},{"1331177571":["hashtag1","hashtag2"]},{"1331177616":["hashtag1","hashtag2"]},{"1331177573":["hashtag1","hashtag2"]},{"1331177599":["hashtag1","hashtag2"]},{"1331177717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331177584, 1331177571, 1331177616, 1331177573, 1331177599, 1331177717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.61451816558838 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:43:03.269625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/51/image_25012025_00_51_02_891159_0000.jpg', '/home/pi/Desktop/images/25012025/00/51/image_25012025_00_51_02_891159_0001.jpg', '/home/pi/Desktop/images/25012025/00/51/image_25012025_00_51_02_891159_0002.jpg', '/home/pi/Desktop/images/25012025/00/51/image_25012025_00_51_02_891159_0003.jpg', '/home/pi/Desktop/images/25012025/00/52/image_25012025_00_52_03_059417_0000.jpg', '/home/pi/Desktop/images/25012025/00/52/image_25012025_00_52_03_059417_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/51/image_25012025_00_51_02_891159_0000.jpg
/home/pi/Desktop/images/25012025/00/51/image_25012025_00_51_02_891159_0001.jpg
/home/pi/Desktop/images/25012025/00/51/image_25012025_00_51_02_891159_0002.jpg
/home/pi/Desktop/images/25012025/00/51/image_25012025_00_51_02_891159_0003.jpg
/home/pi/Desktop/images/25012025/00/52/image_25012025_00_52_03_059417_0000.jpg
/home/pi/Desktop/images/25012025/00/52/image_25012025_00_52_03_059417_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":["1331178237","1331178266","1331178245","1331178257","1331178262","1331178253"],"photo_ids_order":["1331178237","1331178245","1331178253","1331178257","1331178262","1331178266"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e4019fafe013369540cb4d826bdb0673.jpg","text":"TemporaryFile(/tmp/multipartBody531718370466789100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765878229,"filename":"image_25012025_00_51_02_891159_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cbc7be131a8154a8d16a65c08661df80.jpg","text":"TemporaryFile(/tmp/multipartBody4083286273366150792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765878229,"filename":"image_25012025_00_52_03_059417_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ae27a8e33d46a8cfac224df5e3c7da0e.jpg","text":"TemporaryFile(/tmp/multipartBody5921041531728685626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765878229,"filename":"image_25012025_00_51_02_891159_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b6900bd09f9fbaceae92918b5e718eab.jpg","text":"TemporaryFile(/tmp/multipartBody2325677801577599005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765878229,"filename":"image_25012025_00_51_02_891159_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8bb25b163780c616b6f28725479a2c34.jpg","text":"TemporaryFile(/tmp/multipartBody7422552789343891956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765878229,"filename":"image_25012025_00_52_03_059417_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b44a373feb2f8372ae389e88e3adb350.jpg","text":"TemporaryFile(/tmp/multipartBody7253313116532287997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737765878229,"filename":"image_25012025_00_51_02_891159_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331178253","file1":"1331178245","file0":"1331178237","file4":"1331178262","file5":"1331178266","file3":"1331178257"},"map_files_photo_id_array":[{"photo_id":"1331178266","filename":"file5"},{"photo_id":"1331178253","filename":"file2"},{"photo_id":"1331178262","filename":"file4"},{"photo_id":"1331178245","filename":"file1"},{"photo_id":"1331178237","filename":"file0"},{"photo_id":"1331178257","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331178237":["hashtag1","hashtag2"]},{"1331178266":["hashtag1","hashtag2"]},{"1331178245":["hashtag1","hashtag2"]},{"1331178257":["hashtag1","hashtag2"]},{"1331178262":["hashtag1","hashtag2"]},{"1331178253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331178237, 1331178266, 1331178245, 1331178257, 1331178262, 1331178253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.21911454200745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:45:03.487535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/52/image_25012025_00_52_03_059417_0002.jpg', '/home/pi/Desktop/images/25012025/00/52/image_25012025_00_52_03_059417_0003.jpg', '/home/pi/Desktop/images/25012025/00/53/image_25012025_00_53_02_248799_0000.jpg', '/home/pi/Desktop/images/25012025/00/53/image_25012025_00_53_02_248799_0001.jpg', '/home/pi/Desktop/images/25012025/00/53/image_25012025_00_53_02_248799_0002.jpg', '/home/pi/Desktop/images/25012025/00/53/image_25012025_00_53_02_248799_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/52/image_25012025_00_52_03_059417_0002.jpg
/home/pi/Desktop/images/25012025/00/52/image_25012025_00_52_03_059417_0003.jpg
/home/pi/Desktop/images/25012025/00/53/image_25012025_00_53_02_248799_0000.jpg
/home/pi/Desktop/images/25012025/00/53/image_25012025_00_53_02_248799_0001.jpg
/home/pi/Desktop/images/25012025/00/53/image_25012025_00_53_02_248799_0002.jpg
/home/pi/Desktop/images/25012025/00/53/image_25012025_00_53_02_248799_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":["1331178316","1331178304","1331178312","1331178300","1331178308","1331178302"],"photo_ids_order":["1331178300","1331178302","1331178304","1331178308","1331178312","1331178316"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cc56370252f5ba01b0f0f8f5e035f238.jpg","text":"TemporaryFile(/tmp/multipartBody2942842613403333944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766001860,"filename":"image_25012025_00_53_02_248799_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fd54bf527538614147eeb0bc8dc3aba9.jpg","text":"TemporaryFile(/tmp/multipartBody4313829875852209420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766001860,"filename":"image_25012025_00_53_02_248799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1ff4165c4cb9755d817c2c2303072efb.jpg","text":"TemporaryFile(/tmp/multipartBody5552036940963458363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766001860,"filename":"image_25012025_00_53_02_248799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/de116b7b742867ba7d1da49092e665bc.jpg","text":"TemporaryFile(/tmp/multipartBody7101938884796939448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766001860,"filename":"image_25012025_00_52_03_059417_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ec541b7cfdff50303e90251fdb9483aa.jpg","text":"TemporaryFile(/tmp/multipartBody977270139609800300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766001860,"filename":"image_25012025_00_53_02_248799_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5104659b9efc95ca146e7aa6e5cfa993.jpg","text":"TemporaryFile(/tmp/multipartBody7193716549899378399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766001860,"filename":"image_25012025_00_52_03_059417_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331178304","file1":"1331178302","file0":"1331178300","file4":"1331178312","file5":"1331178316","file3":"1331178308"},"map_files_photo_id_array":[{"photo_id":"1331178316","filename":"file5"},{"photo_id":"1331178304","filename":"file2"},{"photo_id":"1331178312","filename":"file4"},{"photo_id":"1331178302","filename":"file1"},{"photo_id":"1331178300","filename":"file0"},{"photo_id":"1331178308","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331178316":["hashtag1","hashtag2"]},{"1331178304":["hashtag1","hashtag2"]},{"1331178312":["hashtag1","hashtag2"]},{"1331178300":["hashtag1","hashtag2"]},{"1331178308":["hashtag1","hashtag2"]},{"1331178302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331178316, 1331178304, 1331178312, 1331178300, 1331178308, 1331178302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.62912702560425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:47:02.446921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/54/image_25012025_00_54_02_506658_0000.jpg', '/home/pi/Desktop/images/25012025/00/54/image_25012025_00_54_02_506658_0001.jpg', '/home/pi/Desktop/images/25012025/00/54/image_25012025_00_54_02_506658_0002.jpg', '/home/pi/Desktop/images/25012025/00/54/image_25012025_00_54_02_506658_0003.jpg', '/home/pi/Desktop/images/25012025/00/55/image_25012025_00_55_02_571846_0000.jpg', '/home/pi/Desktop/images/25012025/00/55/image_25012025_00_55_02_571846_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/54/image_25012025_00_54_02_506658_0000.jpg
/home/pi/Desktop/images/25012025/00/54/image_25012025_00_54_02_506658_0001.jpg
/home/pi/Desktop/images/25012025/00/54/image_25012025_00_54_02_506658_0002.jpg
/home/pi/Desktop/images/25012025/00/54/image_25012025_00_54_02_506658_0003.jpg
/home/pi/Desktop/images/25012025/00/55/image_25012025_00_55_02_571846_0000.jpg
/home/pi/Desktop/images/25012025/00/55/image_25012025_00_55_02_571846_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":["1331178948","1331178939","1331178584","1331178470","1331178898","1331178493"],"photo_ids_order":["1331178470","1331178493","1331178584","1331178898","1331178939","1331178948"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/88b56b3afe06a4f780f5b8f3549d568b.jpg","text":"TemporaryFile(/tmp/multipartBody9068964778331629802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766114294,"filename":"image_25012025_00_55_02_571846_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6ca66ef48bb63a0ff24224e1124770b3.jpg","text":"TemporaryFile(/tmp/multipartBody1137322531704799037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766114294,"filename":"image_25012025_00_55_02_571846_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c82e5ade54e26f99f44c6d5e219c7df3.jpg","text":"TemporaryFile(/tmp/multipartBody8607310678257360471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766114294,"filename":"image_25012025_00_54_02_506658_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/451164887dc101f521ad7f694aee2fbc.jpg","text":"TemporaryFile(/tmp/multipartBody7657089098198079636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766114294,"filename":"image_25012025_00_54_02_506658_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b5eae49f9891cb48a1752b5c8d3e6ffa.jpg","text":"TemporaryFile(/tmp/multipartBody5042836646112927380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766114294,"filename":"image_25012025_00_54_02_506658_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2d33bf1a034e07632d909f656eda48bc.jpg","text":"TemporaryFile(/tmp/multipartBody5884782133456014093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766114294,"filename":"image_25012025_00_54_02_506658_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331178584","file1":"1331178493","file0":"1331178470","file4":"1331178939","file5":"1331178948","file3":"1331178898"},"map_files_photo_id_array":[{"photo_id":"1331178948","filename":"file5"},{"photo_id":"1331178584","filename":"file2"},{"photo_id":"1331178939","filename":"file4"},{"photo_id":"1331178493","filename":"file1"},{"photo_id":"1331178470","filename":"file0"},{"photo_id":"1331178898","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331178948":["hashtag1","hashtag2"]},{"1331178939":["hashtag1","hashtag2"]},{"1331178584":["hashtag1","hashtag2"]},{"1331178470":["hashtag1","hashtag2"]},{"1331178898":["hashtag1","hashtag2"]},{"1331178493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331178948, 1331178939, 1331178584, 1331178470, 1331178898, 1331178493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.75917315483093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:49:02.606473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/55/image_25012025_00_55_02_571846_0002.jpg', '/home/pi/Desktop/images/25012025/00/55/image_25012025_00_55_02_571846_0003.jpg', '/home/pi/Desktop/images/25012025/00/56/image_25012025_00_56_02_761519_0000.jpg', '/home/pi/Desktop/images/25012025/00/56/image_25012025_00_56_02_761519_0001.jpg', '/home/pi/Desktop/images/25012025/00/56/image_25012025_00_56_02_761519_0002.jpg', '/home/pi/Desktop/images/25012025/00/56/image_25012025_00_56_02_761519_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/55/image_25012025_00_55_02_571846_0002.jpg
/home/pi/Desktop/images/25012025/00/55/image_25012025_00_55_02_571846_0003.jpg
/home/pi/Desktop/images/25012025/00/56/image_25012025_00_56_02_761519_0000.jpg
/home/pi/Desktop/images/25012025/00/56/image_25012025_00_56_02_761519_0001.jpg
/home/pi/Desktop/images/25012025/00/56/image_25012025_00_56_02_761519_0002.jpg
/home/pi/Desktop/images/25012025/00/56/image_25012025_00_56_02_761519_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: 37.520263671875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:50:02.984766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/55/image_25012025_00_55_02_571846_0002.jpg', '/home/pi/Desktop/images/25012025/00/55/image_25012025_00_55_02_571846_0003.jpg', '/home/pi/Desktop/images/25012025/00/56/image_25012025_00_56_02_761519_0000.jpg', '/home/pi/Desktop/images/25012025/00/56/image_25012025_00_56_02_761519_0001.jpg', '/home/pi/Desktop/images/25012025/00/56/image_25012025_00_56_02_761519_0002.jpg', '/home/pi/Desktop/images/25012025/00/56/image_25012025_00_56_02_761519_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/55/image_25012025_00_55_02_571846_0002.jpg
/home/pi/Desktop/images/25012025/00/55/image_25012025_00_55_02_571846_0003.jpg
/home/pi/Desktop/images/25012025/00/56/image_25012025_00_56_02_761519_0000.jpg
/home/pi/Desktop/images/25012025/00/56/image_25012025_00_56_02_761519_0001.jpg
/home/pi/Desktop/images/25012025/00/56/image_25012025_00_56_02_761519_0002.jpg
/home/pi/Desktop/images/25012025/00/56/image_25012025_00_56_02_761519_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":["1331179472","1331179481","1331179445","1331179468","1331179488","1331179476"],"photo_ids_order":["1331179445","1331179468","1331179472","1331179476","1331179481","1331179488"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4962a2a36fd0dfc9c6026ec45463f26a.jpg","text":"TemporaryFile(/tmp/multipartBody956207362402752331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766293346,"filename":"image_25012025_00_56_02_761519_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a3ded51ffbb8c845243701000aef89a0.jpg","text":"TemporaryFile(/tmp/multipartBody6772282092326346518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766293346,"filename":"image_25012025_00_56_02_761519_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/08029cda48b0d98b189cf9361278b2cc.jpg","text":"TemporaryFile(/tmp/multipartBody8381096342446274482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766293346,"filename":"image_25012025_00_55_02_571846_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c449d07da81dbb6d12c824e794983196.jpg","text":"TemporaryFile(/tmp/multipartBody8029532075445299715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766293346,"filename":"image_25012025_00_55_02_571846_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d48cc1a2881e7ae9e52b4094bdbaa28b.jpg","text":"TemporaryFile(/tmp/multipartBody215578333708583288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766293346,"filename":"image_25012025_00_56_02_761519_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/39a5344408bf82d51586514ade8f3eb6.jpg","text":"TemporaryFile(/tmp/multipartBody6108981361478029526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766293346,"filename":"image_25012025_00_56_02_761519_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331179472","file1":"1331179468","file0":"1331179445","file4":"1331179481","file5":"1331179488","file3":"1331179476"},"map_files_photo_id_array":[{"photo_id":"1331179488","filename":"file5"},{"photo_id":"1331179472","filename":"file2"},{"photo_id":"1331179481","filename":"file4"},{"photo_id":"1331179468","filename":"file1"},{"photo_id":"1331179445","filename":"file0"},{"photo_id":"1331179476","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331179472":["hashtag1","hashtag2"]},{"1331179481":["hashtag1","hashtag2"]},{"1331179445":["hashtag1","hashtag2"]},{"1331179468":["hashtag1","hashtag2"]},{"1331179488":["hashtag1","hashtag2"]},{"1331179476":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331179472, 1331179481, 1331179445, 1331179468, 1331179488, 1331179476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.9279043674469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:52:03.005843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/57/image_25012025_00_57_02_903495_0000.jpg', '/home/pi/Desktop/images/25012025/00/57/image_25012025_00_57_02_903495_0001.jpg', '/home/pi/Desktop/images/25012025/00/57/image_25012025_00_57_02_903495_0002.jpg', '/home/pi/Desktop/images/25012025/00/57/image_25012025_00_57_02_903495_0003.jpg', '/home/pi/Desktop/images/25012025/00/58/image_25012025_00_58_02_168782_0000.jpg', '/home/pi/Desktop/images/25012025/00/58/image_25012025_00_58_02_168782_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/57/image_25012025_00_57_02_903495_0000.jpg
/home/pi/Desktop/images/25012025/00/57/image_25012025_00_57_02_903495_0001.jpg
/home/pi/Desktop/images/25012025/00/57/image_25012025_00_57_02_903495_0002.jpg
/home/pi/Desktop/images/25012025/00/57/image_25012025_00_57_02_903495_0003.jpg
/home/pi/Desktop/images/25012025/00/58/image_25012025_00_58_02_168782_0000.jpg
/home/pi/Desktop/images/25012025/00/58/image_25012025_00_58_02_168782_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":["1331179764","1331179824","1331179769","1331179829","1331179814","1331179840"],"photo_ids_order":["1331179764","1331179769","1331179814","1331179824","1331179829","1331179840"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3cc7328fd1b7ee1f8508d155d74e4286.jpg","text":"TemporaryFile(/tmp/multipartBody1283838649537002342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766416663,"filename":"image_25012025_00_57_02_903495_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a09cbfd102a608b5f84bb9f6e51c36a5.jpg","text":"TemporaryFile(/tmp/multipartBody93683381877298963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766416663,"filename":"image_25012025_00_57_02_903495_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/50ed67f003dbd7d00ba0bf8df2ce5846.jpg","text":"TemporaryFile(/tmp/multipartBody3450963441604497972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766416663,"filename":"image_25012025_00_57_02_903495_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d6018cf7645e070bf458abd5458600fd.jpg","text":"TemporaryFile(/tmp/multipartBody8538343804597716214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766416663,"filename":"image_25012025_00_58_02_168782_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/df2806b613408c16f85b17c954fffe02.jpg","text":"TemporaryFile(/tmp/multipartBody8973663438732238344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766416663,"filename":"image_25012025_00_57_02_903495_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0360be85a4e22b5c04e717d5e2c566b1.jpg","text":"TemporaryFile(/tmp/multipartBody1305221750241694353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766416663,"filename":"image_25012025_00_58_02_168782_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331179814","file1":"1331179769","file0":"1331179764","file4":"1331179829","file5":"1331179840","file3":"1331179824"},"map_files_photo_id_array":[{"photo_id":"1331179840","filename":"file5"},{"photo_id":"1331179814","filename":"file2"},{"photo_id":"1331179829","filename":"file4"},{"photo_id":"1331179769","filename":"file1"},{"photo_id":"1331179764","filename":"file0"},{"photo_id":"1331179824","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331179764":["hashtag1","hashtag2"]},{"1331179824":["hashtag1","hashtag2"]},{"1331179769":["hashtag1","hashtag2"]},{"1331179829":["hashtag1","hashtag2"]},{"1331179814":["hashtag1","hashtag2"]},{"1331179840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331179764, 1331179824, 1331179769, 1331179829, 1331179814, 1331179840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.92395615577698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:54:02.302511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/00/58/image_25012025_00_58_02_168782_0002.jpg', '/home/pi/Desktop/images/25012025/00/58/image_25012025_00_58_02_168782_0003.jpg', '/home/pi/Desktop/images/25012025/00/59/image_25012025_00_59_02_335312_0000.jpg', '/home/pi/Desktop/images/25012025/00/59/image_25012025_00_59_02_335312_0001.jpg', '/home/pi/Desktop/images/25012025/00/59/image_25012025_00_59_02_335312_0002.jpg', '/home/pi/Desktop/images/25012025/01/00/image_25012025_01_00_02_566651_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/00/58/image_25012025_00_58_02_168782_0002.jpg
/home/pi/Desktop/images/25012025/00/58/image_25012025_00_58_02_168782_0003.jpg
/home/pi/Desktop/images/25012025/00/59/image_25012025_00_59_02_335312_0000.jpg
/home/pi/Desktop/images/25012025/00/59/image_25012025_00_59_02_335312_0001.jpg
/home/pi/Desktop/images/25012025/00/59/image_25012025_00_59_02_335312_0002.jpg
/home/pi/Desktop/images/25012025/01/00/image_25012025_01_00_02_566651_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":["1331180043","1331180025","1331180039","1331180030","1331180021","1331180035"],"photo_ids_order":["1331180021","1331180025","1331180030","1331180035","1331180039","1331180043"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c70d3c05a5fd81ec2c714ff7b63ee1f.jpg","text":"TemporaryFile(/tmp/multipartBody5643612775407428307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766532593,"filename":"image_25012025_01_00_02_566651_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/efb8ea06554bfbde9647367da73478bd.jpg","text":"TemporaryFile(/tmp/multipartBody8166453525957925749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766532593,"filename":"image_25012025_00_58_02_168782_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0ce7031c308272e8011637ba6a7e6d4a.jpg","text":"TemporaryFile(/tmp/multipartBody6545030071067837910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766532593,"filename":"image_25012025_00_59_02_335312_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ba368daaaa335a7625f7fffb6d68ff54.jpg","text":"TemporaryFile(/tmp/multipartBody7314423598559493691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766532593,"filename":"image_25012025_00_59_02_335312_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dd958f83cae1f666f80c21315d1d8924.jpg","text":"TemporaryFile(/tmp/multipartBody715689532962321985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766532593,"filename":"image_25012025_00_58_02_168782_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1e7d0e52e5af6c646ddcefdb126f012f.jpg","text":"TemporaryFile(/tmp/multipartBody458362973441502140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766532593,"filename":"image_25012025_00_59_02_335312_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331180030","file1":"1331180025","file0":"1331180021","file4":"1331180039","file5":"1331180043","file3":"1331180035"},"map_files_photo_id_array":[{"photo_id":"1331180043","filename":"file5"},{"photo_id":"1331180030","filename":"file2"},{"photo_id":"1331180039","filename":"file4"},{"photo_id":"1331180025","filename":"file1"},{"photo_id":"1331180021","filename":"file0"},{"photo_id":"1331180035","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331180043":["hashtag1","hashtag2"]},{"1331180025":["hashtag1","hashtag2"]},{"1331180039":["hashtag1","hashtag2"]},{"1331180030":["hashtag1","hashtag2"]},{"1331180021":["hashtag1","hashtag2"]},{"1331180035":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331180043, 1331180025, 1331180039, 1331180030, 1331180021, 1331180035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.80548071861267 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:56:02.269255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/00/image_25012025_01_00_02_566651_0003.jpg', '/home/pi/Desktop/images/25012025/01/01/image_25012025_01_01_02_202577_0001.jpg', '/home/pi/Desktop/images/25012025/01/01/image_25012025_01_01_02_202577_0002.jpg', '/home/pi/Desktop/images/25012025/01/01/image_25012025_01_01_02_202577_0003.jpg', '/home/pi/Desktop/images/25012025/01/02/image_25012025_01_02_02_704497_0000.jpg', '/home/pi/Desktop/images/25012025/01/02/image_25012025_01_02_02_704497_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/00/image_25012025_01_00_02_566651_0003.jpg
/home/pi/Desktop/images/25012025/01/01/image_25012025_01_01_02_202577_0001.jpg
/home/pi/Desktop/images/25012025/01/01/image_25012025_01_01_02_202577_0002.jpg
/home/pi/Desktop/images/25012025/01/01/image_25012025_01_01_02_202577_0003.jpg
/home/pi/Desktop/images/25012025/01/02/image_25012025_01_02_02_704497_0000.jpg
/home/pi/Desktop/images/25012025/01/02/image_25012025_01_02_02_704497_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":["1331180658","1331180604","1331180648","1331180569","1331180590","1331180653"],"photo_ids_order":["1331180569","1331180590","1331180604","1331180648","1331180653","1331180658"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a1b662ee6042a2dae7f7afb2dfc16d4e.jpg","text":"TemporaryFile(/tmp/multipartBody7872396445921271695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766654183,"filename":"image_25012025_01_02_02_704497_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4344315c72336cb0702531b3e4b5ada4.jpg","text":"TemporaryFile(/tmp/multipartBody5577480581963225025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766654183,"filename":"image_25012025_01_01_02_202577_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f168830d72985f35e70170f2675fa7f4.jpg","text":"TemporaryFile(/tmp/multipartBody4639929437688618608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766654183,"filename":"image_25012025_01_01_02_202577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/20c104e454568f64dccad7ec49a94a46.jpg","text":"TemporaryFile(/tmp/multipartBody6844561856884124330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766654183,"filename":"image_25012025_01_00_02_566651_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2e8251ed5ffdfeb64042a7d6e9d9b144.jpg","text":"TemporaryFile(/tmp/multipartBody4559045723140320041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766654183,"filename":"image_25012025_01_01_02_202577_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/43ab2605867af76be391fd197cfb0270.jpg","text":"TemporaryFile(/tmp/multipartBody3116845498362556160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766654183,"filename":"image_25012025_01_02_02_704497_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331180604","file1":"1331180590","file0":"1331180569","file4":"1331180653","file5":"1331180658","file3":"1331180648"},"map_files_photo_id_array":[{"photo_id":"1331180658","filename":"file5"},{"photo_id":"1331180604","filename":"file2"},{"photo_id":"1331180653","filename":"file4"},{"photo_id":"1331180590","filename":"file1"},{"photo_id":"1331180569","filename":"file0"},{"photo_id":"1331180648","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331180658":["hashtag1","hashtag2"]},{"1331180604":["hashtag1","hashtag2"]},{"1331180648":["hashtag1","hashtag2"]},{"1331180569":["hashtag1","hashtag2"]},{"1331180590":["hashtag1","hashtag2"]},{"1331180653":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331180658, 1331180604, 1331180648, 1331180569, 1331180590, 1331180653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.02564859390259 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 01:59:02.642312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/02/image_25012025_01_02_02_704497_0002.jpg', '/home/pi/Desktop/images/25012025/01/03/image_25012025_01_03_02_300928_0000.jpg', '/home/pi/Desktop/images/25012025/01/03/image_25012025_01_03_02_300928_0001.jpg', '/home/pi/Desktop/images/25012025/01/03/image_25012025_01_03_02_300928_0002.jpg', '/home/pi/Desktop/images/25012025/01/04/image_25012025_01_04_02_684285_0000.jpg', '/home/pi/Desktop/images/25012025/01/04/image_25012025_01_04_02_684285_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/02/image_25012025_01_02_02_704497_0002.jpg
/home/pi/Desktop/images/25012025/01/03/image_25012025_01_03_02_300928_0000.jpg
/home/pi/Desktop/images/25012025/01/03/image_25012025_01_03_02_300928_0001.jpg
/home/pi/Desktop/images/25012025/01/03/image_25012025_01_03_02_300928_0002.jpg
/home/pi/Desktop/images/25012025/01/04/image_25012025_01_04_02_684285_0000.jpg
/home/pi/Desktop/images/25012025/01/04/image_25012025_01_04_02_684285_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":["1331180894","1331180912","1331180906","1331180900","1331180875","1331180902"],"photo_ids_order":["1331180875","1331180894","1331180900","1331180902","1331180906","1331180912"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/174ba180c418888a9a899ea825615a12.jpg","text":"TemporaryFile(/tmp/multipartBody5500784626571849179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766832765,"filename":"image_25012025_01_03_02_300928_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4f0dd247c219b24fba6b4aa93f81f103.jpg","text":"TemporaryFile(/tmp/multipartBody7464494588529084183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766832765,"filename":"image_25012025_01_04_02_684285_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/66e287e36d7fc2757aae870d077eadc2.jpg","text":"TemporaryFile(/tmp/multipartBody8928152063885036238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766832765,"filename":"image_25012025_01_04_02_684285_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9e90caa1b1bfcdcb87677b9104504f67.jpg","text":"TemporaryFile(/tmp/multipartBody4625459916335557937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766832765,"filename":"image_25012025_01_03_02_300928_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/462bb96930f9aa924c2d95936d20635b.jpg","text":"TemporaryFile(/tmp/multipartBody1052512241490133646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766832765,"filename":"image_25012025_01_02_02_704497_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5d401578a45bf14de97d1186255f4a4d.jpg","text":"TemporaryFile(/tmp/multipartBody1577229333970450818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766832765,"filename":"image_25012025_01_03_02_300928_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331180900","file1":"1331180894","file0":"1331180875","file4":"1331180906","file5":"1331180912","file3":"1331180902"},"map_files_photo_id_array":[{"photo_id":"1331180912","filename":"file5"},{"photo_id":"1331180900","filename":"file2"},{"photo_id":"1331180906","filename":"file4"},{"photo_id":"1331180894","filename":"file1"},{"photo_id":"1331180875","filename":"file0"},{"photo_id":"1331180902","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331180894":["hashtag1","hashtag2"]},{"1331180912":["hashtag1","hashtag2"]},{"1331180906":["hashtag1","hashtag2"]},{"1331180900":["hashtag1","hashtag2"]},{"1331180875":["hashtag1","hashtag2"]},{"1331180902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331180894, 1331180912, 1331180906, 1331180900, 1331180875, 1331180902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.50583577156067 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:01:02.825928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/04/image_25012025_01_04_02_684285_0003.jpg', '/home/pi/Desktop/images/25012025/01/05/image_25012025_01_05_02_251864_0002.jpg', '/home/pi/Desktop/images/25012025/01/05/image_25012025_01_05_02_251864_0003.jpg', '/home/pi/Desktop/images/25012025/01/06/image_25012025_01_06_02_758717_0000.jpg', '/home/pi/Desktop/images/25012025/01/06/image_25012025_01_06_02_758717_0001.jpg', '/home/pi/Desktop/images/25012025/01/06/image_25012025_01_06_02_758717_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/04/image_25012025_01_04_02_684285_0003.jpg
/home/pi/Desktop/images/25012025/01/05/image_25012025_01_05_02_251864_0002.jpg
/home/pi/Desktop/images/25012025/01/05/image_25012025_01_05_02_251864_0003.jpg
/home/pi/Desktop/images/25012025/01/06/image_25012025_01_06_02_758717_0000.jpg
/home/pi/Desktop/images/25012025/01/06/image_25012025_01_06_02_758717_0001.jpg
/home/pi/Desktop/images/25012025/01/06/image_25012025_01_06_02_758717_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":["1331181231","1331181190","1331181178","1331181187","1331181192","1331181168"],"photo_ids_order":["1331181168","1331181178","1331181187","1331181190","1331181192","1331181231"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8c9b11ffa80f15bdb9ea752d06da9d12.jpg","text":"TemporaryFile(/tmp/multipartBody2618375186803056740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766944457,"filename":"image_25012025_01_06_02_758717_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2c0546d336f1113ec365346cfce58ac9.jpg","text":"TemporaryFile(/tmp/multipartBody9200757590735977625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766944457,"filename":"image_25012025_01_06_02_758717_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d5a1e340caaadc20ba5bbde22063b3ef.jpg","text":"TemporaryFile(/tmp/multipartBody7606367884414533782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766944457,"filename":"image_25012025_01_05_02_251864_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6b1ce82091658fa1aa6b12205955ea38.jpg","text":"TemporaryFile(/tmp/multipartBody2726853394345589338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766944457,"filename":"image_25012025_01_05_02_251864_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c4ec4099f95d9847184d2367ca04bf4.jpg","text":"TemporaryFile(/tmp/multipartBody6384785160037803412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766944457,"filename":"image_25012025_01_06_02_758717_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/67b9f90d786d18281ce5770a12d602a6.jpg","text":"TemporaryFile(/tmp/multipartBody3880428907783126389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737766944457,"filename":"image_25012025_01_04_02_684285_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331181187","file1":"1331181178","file0":"1331181168","file4":"1331181192","file5":"1331181231","file3":"1331181190"},"map_files_photo_id_array":[{"photo_id":"1331181231","filename":"file5"},{"photo_id":"1331181187","filename":"file2"},{"photo_id":"1331181192","filename":"file4"},{"photo_id":"1331181178","filename":"file1"},{"photo_id":"1331181168","filename":"file0"},{"photo_id":"1331181190","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331181231":["hashtag1","hashtag2"]},{"1331181190":["hashtag1","hashtag2"]},{"1331181178":["hashtag1","hashtag2"]},{"1331181187":["hashtag1","hashtag2"]},{"1331181192":["hashtag1","hashtag2"]},{"1331181168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331181231, 1331181190, 1331181178, 1331181187, 1331181192, 1331181168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 74.49867367744446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 02:02:21.886012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/06/image_25012025_01_06_02_758717_0003.jpg', '/home/pi/Desktop/images/25012025/01/07/image_25012025_01_07_02_439587_0000.jpg', '/home/pi/Desktop/images/25012025/01/07/image_25012025_01_07_02_439587_0001.jpg', '/home/pi/Desktop/images/25012025/01/07/image_25012025_01_07_02_439587_0002.jpg', '/home/pi/Desktop/images/25012025/01/07/image_25012025_01_07_02_439587_0003.jpg', '/home/pi/Desktop/images/25012025/01/08/image_25012025_01_08_02_938163_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/06/image_25012025_01_06_02_758717_0003.jpg
/home/pi/Desktop/images/25012025/01/07/image_25012025_01_07_02_439587_0000.jpg
/home/pi/Desktop/images/25012025/01/07/image_25012025_01_07_02_439587_0001.jpg
/home/pi/Desktop/images/25012025/01/07/image_25012025_01_07_02_439587_0002.jpg
/home/pi/Desktop/images/25012025/01/07/image_25012025_01_07_02_439587_0003.jpg
/home/pi/Desktop/images/25012025/01/08/image_25012025_01_08_02_938163_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":["1331181386","1331181371","1331181388","1331181262","1331181364","1331181259"],"photo_ids_order":["1331181259","1331181262","1331181364","1331181371","1331181386","1331181388"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9a9b50c2028cdfd590dbe70b7a33c558.jpg","text":"TemporaryFile(/tmp/multipartBody3502157446184895090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767032368,"filename":"image_25012025_01_07_02_439587_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/326f5e7f354d133919d2884d252b8057.jpg","text":"TemporaryFile(/tmp/multipartBody6422202255952018791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767032368,"filename":"image_25012025_01_07_02_439587_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/35601193fcc03396790b95e323812b71.jpg","text":"TemporaryFile(/tmp/multipartBody4748501609804644088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767032368,"filename":"image_25012025_01_08_02_938163_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/461ed81c1d8be86204951c4cc2b4114b.jpg","text":"TemporaryFile(/tmp/multipartBody2880526991100018009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767032368,"filename":"image_25012025_01_07_02_439587_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7a96d615ad88244c06ee116c1e95c62d.jpg","text":"TemporaryFile(/tmp/multipartBody7718807726877331336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767032368,"filename":"image_25012025_01_07_02_439587_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8374223a2f7e1f2b72594dce0fe520dc.jpg","text":"TemporaryFile(/tmp/multipartBody6240221961612620276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767032368,"filename":"image_25012025_01_06_02_758717_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331181364","file1":"1331181262","file0":"1331181259","file4":"1331181386","file5":"1331181388","file3":"1331181371"},"map_files_photo_id_array":[{"photo_id":"1331181388","filename":"file5"},{"photo_id":"1331181364","filename":"file2"},{"photo_id":"1331181386","filename":"file4"},{"photo_id":"1331181262","filename":"file1"},{"photo_id":"1331181259","filename":"file0"},{"photo_id":"1331181371","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331181386":["hashtag1","hashtag2"]},{"1331181371":["hashtag1","hashtag2"]},{"1331181388":["hashtag1","hashtag2"]},{"1331181262":["hashtag1","hashtag2"]},{"1331181364":["hashtag1","hashtag2"]},{"1331181259":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331181386, 1331181371, 1331181388, 1331181262, 1331181364, 1331181259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 83.36727285385132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:04:02.236614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/08/image_25012025_01_08_02_938163_0001.jpg', '/home/pi/Desktop/images/25012025/01/08/image_25012025_01_08_02_938163_0002.jpg', '/home/pi/Desktop/images/25012025/01/08/image_25012025_01_08_02_938163_0003.jpg', '/home/pi/Desktop/images/25012025/01/09/image_25012025_01_09_02_512300_0000.jpg', '/home/pi/Desktop/images/25012025/01/09/image_25012025_01_09_02_512300_0001.jpg', '/home/pi/Desktop/images/25012025/01/09/image_25012025_01_09_02_512300_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/08/image_25012025_01_08_02_938163_0001.jpg
/home/pi/Desktop/images/25012025/01/08/image_25012025_01_08_02_938163_0002.jpg
/home/pi/Desktop/images/25012025/01/08/image_25012025_01_08_02_938163_0003.jpg
/home/pi/Desktop/images/25012025/01/09/image_25012025_01_09_02_512300_0000.jpg
/home/pi/Desktop/images/25012025/01/09/image_25012025_01_09_02_512300_0001.jpg
/home/pi/Desktop/images/25012025/01/09/image_25012025_01_09_02_512300_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":["1331181504","1331181485","1331181443","1331181500","1331181487","1331181483"],"photo_ids_order":["1331181443","1331181483","1331181485","1331181487","1331181500","1331181504"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3436f58eee3b64c555bf55eeca8912be.jpg","text":"TemporaryFile(/tmp/multipartBody1980510806747774563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767128573,"filename":"image_25012025_01_09_02_512300_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/37454c5f11293574df89148e3476b422.jpg","text":"TemporaryFile(/tmp/multipartBody4048195024366655059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767128573,"filename":"image_25012025_01_08_02_938163_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2e3cd31620c816b80bd5f825e810a8c1.jpg","text":"TemporaryFile(/tmp/multipartBody4337949344399330606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767128573,"filename":"image_25012025_01_08_02_938163_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1c8531f112364d4af661ff9322e8fb80.jpg","text":"TemporaryFile(/tmp/multipartBody854961923553646173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767128573,"filename":"image_25012025_01_09_02_512300_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/261bfc7b69fb357c17a8f17b2eca4472.jpg","text":"TemporaryFile(/tmp/multipartBody3127352518142917009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767128573,"filename":"image_25012025_01_09_02_512300_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2d3f6266a4f8191cb6c418bf1ae9e8c0.jpg","text":"TemporaryFile(/tmp/multipartBody204449368218104988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767128573,"filename":"image_25012025_01_08_02_938163_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331181485","file1":"1331181483","file0":"1331181443","file4":"1331181500","file5":"1331181504","file3":"1331181487"},"map_files_photo_id_array":[{"photo_id":"1331181504","filename":"file5"},{"photo_id":"1331181485","filename":"file2"},{"photo_id":"1331181500","filename":"file4"},{"photo_id":"1331181483","filename":"file1"},{"photo_id":"1331181443","filename":"file0"},{"photo_id":"1331181487","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331181504":["hashtag1","hashtag2"]},{"1331181485":["hashtag1","hashtag2"]},{"1331181443":["hashtag1","hashtag2"]},{"1331181500":["hashtag1","hashtag2"]},{"1331181487":["hashtag1","hashtag2"]},{"1331181483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331181504, 1331181485, 1331181443, 1331181500, 1331181487, 1331181483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.06595468521118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:06:02.379751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/09/image_25012025_01_09_02_512300_0003.jpg', '/home/pi/Desktop/images/25012025/01/10/image_25012025_01_10_03_025948_0000.jpg', '/home/pi/Desktop/images/25012025/01/10/image_25012025_01_10_03_025948_0001.jpg', '/home/pi/Desktop/images/25012025/01/10/image_25012025_01_10_03_025948_0002.jpg', '/home/pi/Desktop/images/25012025/01/10/image_25012025_01_10_03_025948_0003.jpg', '/home/pi/Desktop/images/25012025/01/11/image_25012025_01_11_02_536650_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/09/image_25012025_01_09_02_512300_0003.jpg
/home/pi/Desktop/images/25012025/01/10/image_25012025_01_10_03_025948_0000.jpg
/home/pi/Desktop/images/25012025/01/10/image_25012025_01_10_03_025948_0001.jpg
/home/pi/Desktop/images/25012025/01/10/image_25012025_01_10_03_025948_0002.jpg
/home/pi/Desktop/images/25012025/01/10/image_25012025_01_10_03_025948_0003.jpg
/home/pi/Desktop/images/25012025/01/11/image_25012025_01_11_02_536650_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":["1331181765","1331181788","1331181857","1331181845","1331181850","1331181817"],"photo_ids_order":["1331181765","1331181788","1331181817","1331181845","1331181850","1331181857"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/afd8e30d2d827d2e5b5c9563a5009d91.jpg","text":"TemporaryFile(/tmp/multipartBody3207941879419309576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767252392,"filename":"image_25012025_01_09_02_512300_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d2aba5e2a3ed290e4e793e685310f6a8.jpg","text":"TemporaryFile(/tmp/multipartBody4787694447616854394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767252392,"filename":"image_25012025_01_10_03_025948_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/65367e9df45234b335a7a9a849a91e35.jpg","text":"TemporaryFile(/tmp/multipartBody7990343945901968639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767252392,"filename":"image_25012025_01_11_02_536650_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2d090130837a98c13f52800b7c53c91f.jpg","text":"TemporaryFile(/tmp/multipartBody417197214239267865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767252392,"filename":"image_25012025_01_10_03_025948_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c1cc6361263b00f1ed4760feaa121fc6.jpg","text":"TemporaryFile(/tmp/multipartBody8521583966376234187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767252392,"filename":"image_25012025_01_10_03_025948_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d94082cd34076014651f564caa3647e1.jpg","text":"TemporaryFile(/tmp/multipartBody2741220296108942758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767252392,"filename":"image_25012025_01_10_03_025948_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331181817","file1":"1331181788","file0":"1331181765","file4":"1331181850","file5":"1331181857","file3":"1331181845"},"map_files_photo_id_array":[{"photo_id":"1331181857","filename":"file5"},{"photo_id":"1331181817","filename":"file2"},{"photo_id":"1331181850","filename":"file4"},{"photo_id":"1331181788","filename":"file1"},{"photo_id":"1331181765","filename":"file0"},{"photo_id":"1331181845","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331181765":["hashtag1","hashtag2"]},{"1331181788":["hashtag1","hashtag2"]},{"1331181857":["hashtag1","hashtag2"]},{"1331181845":["hashtag1","hashtag2"]},{"1331181850":["hashtag1","hashtag2"]},{"1331181817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331181765, 1331181788, 1331181857, 1331181845, 1331181850, 1331181817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.87880754470825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:08:02.333987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/11/image_25012025_01_11_02_536650_0003.jpg', '/home/pi/Desktop/images/25012025/01/12/image_25012025_01_12_03_064039_0000.jpg', '/home/pi/Desktop/images/25012025/01/12/image_25012025_01_12_03_064039_0003.jpg', '/home/pi/Desktop/images/25012025/01/13/image_25012025_01_13_02_683503_0000.jpg', '/home/pi/Desktop/images/25012025/01/13/image_25012025_01_13_02_683503_0001.jpg', '/home/pi/Desktop/images/25012025/01/13/image_25012025_01_13_02_683503_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/11/image_25012025_01_11_02_536650_0003.jpg
/home/pi/Desktop/images/25012025/01/12/image_25012025_01_12_03_064039_0000.jpg
/home/pi/Desktop/images/25012025/01/12/image_25012025_01_12_03_064039_0003.jpg
/home/pi/Desktop/images/25012025/01/13/image_25012025_01_13_02_683503_0000.jpg
/home/pi/Desktop/images/25012025/01/13/image_25012025_01_13_02_683503_0001.jpg
/home/pi/Desktop/images/25012025/01/13/image_25012025_01_13_02_683503_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: 31.011271238327026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:09:03.061546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/11/image_25012025_01_11_02_536650_0003.jpg', '/home/pi/Desktop/images/25012025/01/12/image_25012025_01_12_03_064039_0000.jpg', '/home/pi/Desktop/images/25012025/01/12/image_25012025_01_12_03_064039_0003.jpg', '/home/pi/Desktop/images/25012025/01/13/image_25012025_01_13_02_683503_0000.jpg', '/home/pi/Desktop/images/25012025/01/13/image_25012025_01_13_02_683503_0001.jpg', '/home/pi/Desktop/images/25012025/01/13/image_25012025_01_13_02_683503_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/11/image_25012025_01_11_02_536650_0003.jpg
/home/pi/Desktop/images/25012025/01/12/image_25012025_01_12_03_064039_0000.jpg
/home/pi/Desktop/images/25012025/01/12/image_25012025_01_12_03_064039_0003.jpg
/home/pi/Desktop/images/25012025/01/13/image_25012025_01_13_02_683503_0000.jpg
/home/pi/Desktop/images/25012025/01/13/image_25012025_01_13_02_683503_0001.jpg
/home/pi/Desktop/images/25012025/01/13/image_25012025_01_13_02_683503_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":["1331183126","1331183015","1331183053","1331183116","1331183160","1331183124"],"photo_ids_order":["1331183015","1331183053","1331183116","1331183124","1331183126","1331183160"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c5430beb99fff51944f9640658ebc8fb.jpg","text":"TemporaryFile(/tmp/multipartBody7651852498997204110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767429630,"filename":"image_25012025_01_13_02_683503_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7fdac8369029eca4786a02eac0bd9808.jpg","text":"TemporaryFile(/tmp/multipartBody8163098780495430251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767429630,"filename":"image_25012025_01_11_02_536650_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/01536de3023bc48511fba635c4ed3231.jpg","text":"TemporaryFile(/tmp/multipartBody305415203149414011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767429630,"filename":"image_25012025_01_12_03_064039_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cd0e44a7e29bb5683fb3f33d4ffa28c3.jpg","text":"TemporaryFile(/tmp/multipartBody2105759782036177142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767429630,"filename":"image_25012025_01_12_03_064039_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/900e6d5af40d5959d4793db7de34b39f.jpg","text":"TemporaryFile(/tmp/multipartBody7134667418545800771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767429630,"filename":"image_25012025_01_13_02_683503_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3b4d5f2c9d45529de4cca71bc5837816.jpg","text":"TemporaryFile(/tmp/multipartBody7905459440614279618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767429630,"filename":"image_25012025_01_13_02_683503_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331183116","file1":"1331183053","file0":"1331183015","file4":"1331183126","file5":"1331183160","file3":"1331183124"},"map_files_photo_id_array":[{"photo_id":"1331183160","filename":"file5"},{"photo_id":"1331183116","filename":"file2"},{"photo_id":"1331183126","filename":"file4"},{"photo_id":"1331183053","filename":"file1"},{"photo_id":"1331183015","filename":"file0"},{"photo_id":"1331183124","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331183126":["hashtag1","hashtag2"]},{"1331183015":["hashtag1","hashtag2"]},{"1331183053":["hashtag1","hashtag2"]},{"1331183116":["hashtag1","hashtag2"]},{"1331183160":["hashtag1","hashtag2"]},{"1331183124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331183126, 1331183015, 1331183053, 1331183116, 1331183160, 1331183124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.84798455238342 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:11:03.271127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/13/image_25012025_01_13_02_683503_0003.jpg', '/home/pi/Desktop/images/25012025/01/14/image_25012025_01_14_02_243149_0000.jpg', '/home/pi/Desktop/images/25012025/01/14/image_25012025_01_14_02_243149_0001.jpg', '/home/pi/Desktop/images/25012025/01/14/image_25012025_01_14_02_243149_0002.jpg', '/home/pi/Desktop/images/25012025/01/14/image_25012025_01_14_02_243149_0003.jpg', '/home/pi/Desktop/images/25012025/01/15/image_25012025_01_15_02_748824_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/13/image_25012025_01_13_02_683503_0003.jpg
/home/pi/Desktop/images/25012025/01/14/image_25012025_01_14_02_243149_0000.jpg
/home/pi/Desktop/images/25012025/01/14/image_25012025_01_14_02_243149_0001.jpg
/home/pi/Desktop/images/25012025/01/14/image_25012025_01_14_02_243149_0002.jpg
/home/pi/Desktop/images/25012025/01/14/image_25012025_01_14_02_243149_0003.jpg
/home/pi/Desktop/images/25012025/01/15/image_25012025_01_15_02_748824_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":["1331183222","1331183216","1331183236","1331183232","1331183226","1331183229"],"photo_ids_order":["1331183216","1331183222","1331183226","1331183229","1331183232","1331183236"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b5ca39767671d47b1a932bbc012ec099.jpg","text":"TemporaryFile(/tmp/multipartBody5172259438462228351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767550291,"filename":"image_25012025_01_14_02_243149_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/26ba5ffde90689bde58eee1860c85914.jpg","text":"TemporaryFile(/tmp/multipartBody4246313016523887825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767550291,"filename":"image_25012025_01_13_02_683503_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4af4b2804a43a4fa561768bf50032e70.jpg","text":"TemporaryFile(/tmp/multipartBody5381721100196831197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767550291,"filename":"image_25012025_01_15_02_748824_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eab661340fcc700de6fdf7aa8bab2915.jpg","text":"TemporaryFile(/tmp/multipartBody6102264663824181600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767550291,"filename":"image_25012025_01_14_02_243149_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2f0f4fa36b195b26912ee9bf20266414.jpg","text":"TemporaryFile(/tmp/multipartBody3436999905551786025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767550291,"filename":"image_25012025_01_14_02_243149_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3b4512b04e006b4a10e51eef8919a36d.jpg","text":"TemporaryFile(/tmp/multipartBody6942517431582057308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767550291,"filename":"image_25012025_01_14_02_243149_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331183226","file1":"1331183222","file0":"1331183216","file4":"1331183232","file5":"1331183236","file3":"1331183229"},"map_files_photo_id_array":[{"photo_id":"1331183236","filename":"file5"},{"photo_id":"1331183226","filename":"file2"},{"photo_id":"1331183232","filename":"file4"},{"photo_id":"1331183222","filename":"file1"},{"photo_id":"1331183216","filename":"file0"},{"photo_id":"1331183229","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331183222":["hashtag1","hashtag2"]},{"1331183216":["hashtag1","hashtag2"]},{"1331183236":["hashtag1","hashtag2"]},{"1331183232":["hashtag1","hashtag2"]},{"1331183226":["hashtag1","hashtag2"]},{"1331183229":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331183222, 1331183216, 1331183236, 1331183232, 1331183226, 1331183229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.26178884506226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:13:02.427820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/15/image_25012025_01_15_02_748824_0001.jpg', '/home/pi/Desktop/images/25012025/01/15/image_25012025_01_15_02_748824_0002.jpg', '/home/pi/Desktop/images/25012025/01/15/image_25012025_01_15_02_748824_0003.jpg', '/home/pi/Desktop/images/25012025/01/16/image_25012025_01_16_02_309247_0001.jpg', '/home/pi/Desktop/images/25012025/01/16/image_25012025_01_16_02_309247_0002.jpg', '/home/pi/Desktop/images/25012025/01/16/image_25012025_01_16_02_309247_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/15/image_25012025_01_15_02_748824_0001.jpg
/home/pi/Desktop/images/25012025/01/15/image_25012025_01_15_02_748824_0002.jpg
/home/pi/Desktop/images/25012025/01/15/image_25012025_01_15_02_748824_0003.jpg
/home/pi/Desktop/images/25012025/01/16/image_25012025_01_16_02_309247_0001.jpg
/home/pi/Desktop/images/25012025/01/16/image_25012025_01_16_02_309247_0002.jpg
/home/pi/Desktop/images/25012025/01/16/image_25012025_01_16_02_309247_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: 21.920911073684692 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:14:02.830731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/15/image_25012025_01_15_02_748824_0001.jpg', '/home/pi/Desktop/images/25012025/01/15/image_25012025_01_15_02_748824_0002.jpg', '/home/pi/Desktop/images/25012025/01/15/image_25012025_01_15_02_748824_0003.jpg', '/home/pi/Desktop/images/25012025/01/16/image_25012025_01_16_02_309247_0001.jpg', '/home/pi/Desktop/images/25012025/01/16/image_25012025_01_16_02_309247_0002.jpg', '/home/pi/Desktop/images/25012025/01/16/image_25012025_01_16_02_309247_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/15/image_25012025_01_15_02_748824_0001.jpg
/home/pi/Desktop/images/25012025/01/15/image_25012025_01_15_02_748824_0002.jpg
/home/pi/Desktop/images/25012025/01/15/image_25012025_01_15_02_748824_0003.jpg
/home/pi/Desktop/images/25012025/01/16/image_25012025_01_16_02_309247_0001.jpg
/home/pi/Desktop/images/25012025/01/16/image_25012025_01_16_02_309247_0002.jpg
/home/pi/Desktop/images/25012025/01/16/image_25012025_01_16_02_309247_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":["1331183942","1331183930","1331183933","1331183968","1331183962","1331183938"],"photo_ids_order":["1331183930","1331183933","1331183938","1331183942","1331183962","1331183968"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8834d5aeb895b1cef99f234473613c4d.jpg","text":"TemporaryFile(/tmp/multipartBody7770331367208557942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767731952,"filename":"image_25012025_01_16_02_309247_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cf06846946d21003b1243a6c1cd370ad.jpg","text":"TemporaryFile(/tmp/multipartBody473555648862275086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767731952,"filename":"image_25012025_01_15_02_748824_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b6b9445fecad4b15bc068b42583d7829.jpg","text":"TemporaryFile(/tmp/multipartBody5018740435890825551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767731952,"filename":"image_25012025_01_15_02_748824_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ae062bf92f1f603b38cf814ad3ea95dc.jpg","text":"TemporaryFile(/tmp/multipartBody8766742236968218209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767731952,"filename":"image_25012025_01_16_02_309247_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3625efb44b3a5f77119975b09e984344.jpg","text":"TemporaryFile(/tmp/multipartBody480755600633665924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767731952,"filename":"image_25012025_01_16_02_309247_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ba6bc868e9ee0b6f9770411e9a96ec3b.jpg","text":"TemporaryFile(/tmp/multipartBody7178210769591326510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767731952,"filename":"image_25012025_01_15_02_748824_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331183938","file1":"1331183933","file0":"1331183930","file4":"1331183962","file5":"1331183968","file3":"1331183942"},"map_files_photo_id_array":[{"photo_id":"1331183968","filename":"file5"},{"photo_id":"1331183938","filename":"file2"},{"photo_id":"1331183962","filename":"file4"},{"photo_id":"1331183933","filename":"file1"},{"photo_id":"1331183930","filename":"file0"},{"photo_id":"1331183942","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331183942":["hashtag1","hashtag2"]},{"1331183930":["hashtag1","hashtag2"]},{"1331183933":["hashtag1","hashtag2"]},{"1331183968":["hashtag1","hashtag2"]},{"1331183962":["hashtag1","hashtag2"]},{"1331183938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331183942, 1331183930, 1331183933, 1331183968, 1331183962, 1331183938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 82.44178509712219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:16:02.875248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/17/image_25012025_01_17_03_090861_0000.jpg', '/home/pi/Desktop/images/25012025/01/17/image_25012025_01_17_03_090861_0001.jpg', '/home/pi/Desktop/images/25012025/01/17/image_25012025_01_17_03_090861_0002.jpg', '/home/pi/Desktop/images/25012025/01/17/image_25012025_01_17_03_090861_0003.jpg', '/home/pi/Desktop/images/25012025/01/18/image_25012025_01_18_02_583228_0001.jpg', '/home/pi/Desktop/images/25012025/01/18/image_25012025_01_18_02_583228_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/17/image_25012025_01_17_03_090861_0000.jpg
/home/pi/Desktop/images/25012025/01/17/image_25012025_01_17_03_090861_0001.jpg
/home/pi/Desktop/images/25012025/01/17/image_25012025_01_17_03_090861_0002.jpg
/home/pi/Desktop/images/25012025/01/17/image_25012025_01_17_03_090861_0003.jpg
/home/pi/Desktop/images/25012025/01/18/image_25012025_01_18_02_583228_0001.jpg
/home/pi/Desktop/images/25012025/01/18/image_25012025_01_18_02_583228_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":["1331184151","1331184153","1331184141","1331184135","1331184146","1331184149"],"photo_ids_order":["1331184135","1331184141","1331184146","1331184149","1331184151","1331184153"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4c2c92a0567a9ab9ee61e2ed910e98ce.jpg","text":"TemporaryFile(/tmp/multipartBody8469583760045332554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767858221,"filename":"image_25012025_01_18_02_583228_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ef624299c5899c81bc32b1cb98844ecd.jpg","text":"TemporaryFile(/tmp/multipartBody3281876482738228042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767858221,"filename":"image_25012025_01_18_02_583228_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3c1c6412ead81887a57d6e8ee8846f76.jpg","text":"TemporaryFile(/tmp/multipartBody48829413341840449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767858221,"filename":"image_25012025_01_17_03_090861_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3ee8e2a04fb8402f5482e56aeacc5287.jpg","text":"TemporaryFile(/tmp/multipartBody5592488197285199921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767858221,"filename":"image_25012025_01_17_03_090861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/761ed68091824d6a1c0a78369b25ebe0.jpg","text":"TemporaryFile(/tmp/multipartBody8391945792476923293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767858221,"filename":"image_25012025_01_17_03_090861_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e03e86af9e394d9626d2650eb597b834.jpg","text":"TemporaryFile(/tmp/multipartBody6971719670579875494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767858221,"filename":"image_25012025_01_17_03_090861_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331184146","file1":"1331184141","file0":"1331184135","file4":"1331184151","file5":"1331184153","file3":"1331184149"},"map_files_photo_id_array":[{"photo_id":"1331184153","filename":"file5"},{"photo_id":"1331184146","filename":"file2"},{"photo_id":"1331184151","filename":"file4"},{"photo_id":"1331184141","filename":"file1"},{"photo_id":"1331184135","filename":"file0"},{"photo_id":"1331184149","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331184151":["hashtag1","hashtag2"]},{"1331184153":["hashtag1","hashtag2"]},{"1331184141":["hashtag1","hashtag2"]},{"1331184135":["hashtag1","hashtag2"]},{"1331184146":["hashtag1","hashtag2"]},{"1331184149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331184151, 1331184153, 1331184141, 1331184135, 1331184146, 1331184149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.80028033256531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:18:02.826548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/18/image_25012025_01_18_02_583228_0003.jpg', '/home/pi/Desktop/images/25012025/01/19/image_25012025_01_19_02_215379_0000.jpg', '/home/pi/Desktop/images/25012025/01/19/image_25012025_01_19_02_215379_0001.jpg', '/home/pi/Desktop/images/25012025/01/19/image_25012025_01_19_02_215379_0002.jpg', '/home/pi/Desktop/images/25012025/01/19/image_25012025_01_19_02_215379_0003.jpg', '/home/pi/Desktop/images/25012025/01/20/image_25012025_01_20_02_703129_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/18/image_25012025_01_18_02_583228_0003.jpg
/home/pi/Desktop/images/25012025/01/19/image_25012025_01_19_02_215379_0000.jpg
/home/pi/Desktop/images/25012025/01/19/image_25012025_01_19_02_215379_0001.jpg
/home/pi/Desktop/images/25012025/01/19/image_25012025_01_19_02_215379_0002.jpg
/home/pi/Desktop/images/25012025/01/19/image_25012025_01_19_02_215379_0003.jpg
/home/pi/Desktop/images/25012025/01/20/image_25012025_01_20_02_703129_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":["1331184271","1331184297","1331184279","1331184275","1331184284","1331184524"],"photo_ids_order":["1331184271","1331184275","1331184279","1331184284","1331184297","1331184524"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d24a8db105b1e92d8d3728c2ea325f0b.jpg","text":"TemporaryFile(/tmp/multipartBody369789747478770762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767975996,"filename":"image_25012025_01_18_02_583228_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/da12047c918f5d841592b9f9121583d6.jpg","text":"TemporaryFile(/tmp/multipartBody7263619528269278318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767975996,"filename":"image_25012025_01_19_02_215379_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aeec242e909cd609a3e6c6eabf732207.jpg","text":"TemporaryFile(/tmp/multipartBody1912675033340826282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767975996,"filename":"image_25012025_01_19_02_215379_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f9e594c570eec73992a8a5ac2e2b0cd5.jpg","text":"TemporaryFile(/tmp/multipartBody8662604421653372227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767975996,"filename":"image_25012025_01_19_02_215379_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/658116454ce4db9bf738ce48a852373a.jpg","text":"TemporaryFile(/tmp/multipartBody8107975648614357583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767975996,"filename":"image_25012025_01_19_02_215379_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a8a02513083c0a5bce38cd22736e0b9d.jpg","text":"TemporaryFile(/tmp/multipartBody9171773123837627182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737767975996,"filename":"image_25012025_01_20_02_703129_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331184279","file1":"1331184275","file0":"1331184271","file4":"1331184297","file5":"1331184524","file3":"1331184284"},"map_files_photo_id_array":[{"photo_id":"1331184524","filename":"file5"},{"photo_id":"1331184279","filename":"file2"},{"photo_id":"1331184297","filename":"file4"},{"photo_id":"1331184275","filename":"file1"},{"photo_id":"1331184271","filename":"file0"},{"photo_id":"1331184284","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331184271":["hashtag1","hashtag2"]},{"1331184297":["hashtag1","hashtag2"]},{"1331184279":["hashtag1","hashtag2"]},{"1331184275":["hashtag1","hashtag2"]},{"1331184284":["hashtag1","hashtag2"]},{"1331184524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331184271, 1331184297, 1331184279, 1331184275, 1331184284, 1331184524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.11986351013184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:20:03.057267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/20/image_25012025_01_20_02_703129_0003.jpg', '/home/pi/Desktop/images/25012025/01/21/image_25012025_01_21_02_323053_0000.jpg', '/home/pi/Desktop/images/25012025/01/21/image_25012025_01_21_02_323053_0001.jpg', '/home/pi/Desktop/images/25012025/01/21/image_25012025_01_21_02_323053_0002.jpg', '/home/pi/Desktop/images/25012025/01/21/image_25012025_01_21_02_323053_0003.jpg', '/home/pi/Desktop/images/25012025/01/22/image_25012025_01_22_02_853088_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/20/image_25012025_01_20_02_703129_0003.jpg
/home/pi/Desktop/images/25012025/01/21/image_25012025_01_21_02_323053_0000.jpg
/home/pi/Desktop/images/25012025/01/21/image_25012025_01_21_02_323053_0001.jpg
/home/pi/Desktop/images/25012025/01/21/image_25012025_01_21_02_323053_0002.jpg
/home/pi/Desktop/images/25012025/01/21/image_25012025_01_21_02_323053_0003.jpg
/home/pi/Desktop/images/25012025/01/22/image_25012025_01_22_02_853088_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":["1331184751","1331184792","1331184684","1331184906","1331184644","1331184623"],"photo_ids_order":["1331184623","1331184644","1331184684","1331184751","1331184792","1331184906"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/725835268b337247744c59643a70ea3e.jpg","text":"TemporaryFile(/tmp/multipartBody7448744905477920929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768076257,"filename":"image_25012025_01_21_02_323053_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c467450004d227728b35c5445bfa9483.jpg","text":"TemporaryFile(/tmp/multipartBody3958642118046002436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768076257,"filename":"image_25012025_01_21_02_323053_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b5d71c8fc3d9403a9b6aa33289d8cc3d.jpg","text":"TemporaryFile(/tmp/multipartBody5921164124135345711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768076257,"filename":"image_25012025_01_21_02_323053_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4aeb5bb4b2516e76e0bb39e7c3fae2e4.jpg","text":"TemporaryFile(/tmp/multipartBody6733821997489054023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768076257,"filename":"image_25012025_01_22_02_853088_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c384fcad88db63791ae8be0a09e663d5.jpg","text":"TemporaryFile(/tmp/multipartBody459568888587521296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768076257,"filename":"image_25012025_01_21_02_323053_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7d2110c435c52649d7e24b1ce4da374a.jpg","text":"TemporaryFile(/tmp/multipartBody3953180118407387140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768076257,"filename":"image_25012025_01_20_02_703129_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331184684","file1":"1331184644","file0":"1331184623","file4":"1331184792","file5":"1331184906","file3":"1331184751"},"map_files_photo_id_array":[{"photo_id":"1331184906","filename":"file5"},{"photo_id":"1331184684","filename":"file2"},{"photo_id":"1331184792","filename":"file4"},{"photo_id":"1331184644","filename":"file1"},{"photo_id":"1331184623","filename":"file0"},{"photo_id":"1331184751","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331184751":["hashtag1","hashtag2"]},{"1331184792":["hashtag1","hashtag2"]},{"1331184684":["hashtag1","hashtag2"]},{"1331184906":["hashtag1","hashtag2"]},{"1331184644":["hashtag1","hashtag2"]},{"1331184623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331184751, 1331184792, 1331184684, 1331184906, 1331184644, 1331184623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.41232442855835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 02:21:22.177245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/22/image_25012025_01_22_02_853088_0001.jpg', '/home/pi/Desktop/images/25012025/01/22/image_25012025_01_22_02_853088_0002.jpg', '/home/pi/Desktop/images/25012025/01/22/image_25012025_01_22_02_853088_0003.jpg', '/home/pi/Desktop/images/25012025/01/23/image_25012025_01_23_02_440802_0000.jpg', '/home/pi/Desktop/images/25012025/01/23/image_25012025_01_23_02_440802_0001.jpg', '/home/pi/Desktop/images/25012025/01/23/image_25012025_01_23_02_440802_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/22/image_25012025_01_22_02_853088_0001.jpg
/home/pi/Desktop/images/25012025/01/22/image_25012025_01_22_02_853088_0002.jpg
/home/pi/Desktop/images/25012025/01/22/image_25012025_01_22_02_853088_0003.jpg
/home/pi/Desktop/images/25012025/01/23/image_25012025_01_23_02_440802_0000.jpg
/home/pi/Desktop/images/25012025/01/23/image_25012025_01_23_02_440802_0001.jpg
/home/pi/Desktop/images/25012025/01/23/image_25012025_01_23_02_440802_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":["1331185636","1331185671","1331185644","1331185682","1331185685","1331185655"],"photo_ids_order":["1331185636","1331185644","1331185655","1331185671","1331185682","1331185685"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1145391a082b71b23820ddea1e78af86.jpg","text":"TemporaryFile(/tmp/multipartBody3441403843909399336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768172250,"filename":"image_25012025_01_22_02_853088_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/64dd46df92438ca4c76b4c312c19b7ff.jpg","text":"TemporaryFile(/tmp/multipartBody5967142751572443657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768172250,"filename":"image_25012025_01_23_02_440802_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6bc432579b133a1ec2ce5c1cfc4fc4f7.jpg","text":"TemporaryFile(/tmp/multipartBody7390896007208940119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768172250,"filename":"image_25012025_01_22_02_853088_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/26ac1692e1f8f1e63c62311d7b3f0d65.jpg","text":"TemporaryFile(/tmp/multipartBody8674034828898538347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768172250,"filename":"image_25012025_01_23_02_440802_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6559c0fab644746a9bd546aad6276c4c.jpg","text":"TemporaryFile(/tmp/multipartBody6370492357439042972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768172250,"filename":"image_25012025_01_23_02_440802_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/00c5bfe3ad785701d1a17f8d0647763c.jpg","text":"TemporaryFile(/tmp/multipartBody375833889711491142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768172250,"filename":"image_25012025_01_22_02_853088_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331185655","file1":"1331185644","file0":"1331185636","file4":"1331185682","file5":"1331185685","file3":"1331185671"},"map_files_photo_id_array":[{"photo_id":"1331185685","filename":"file5"},{"photo_id":"1331185655","filename":"file2"},{"photo_id":"1331185682","filename":"file4"},{"photo_id":"1331185644","filename":"file1"},{"photo_id":"1331185636","filename":"file0"},{"photo_id":"1331185671","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331185636":["hashtag1","hashtag2"]},{"1331185671":["hashtag1","hashtag2"]},{"1331185644":["hashtag1","hashtag2"]},{"1331185682":["hashtag1","hashtag2"]},{"1331185685":["hashtag1","hashtag2"]},{"1331185655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331185636, 1331185671, 1331185644, 1331185682, 1331185685, 1331185655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 83.56249451637268 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:23:02.836428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/23/image_25012025_01_23_02_440802_0003.jpg', '/home/pi/Desktop/images/25012025/01/24/image_25012025_01_24_02_854060_0000.jpg', '/home/pi/Desktop/images/25012025/01/24/image_25012025_01_24_02_854060_0001.jpg', '/home/pi/Desktop/images/25012025/01/24/image_25012025_01_24_02_854060_0002.jpg', '/home/pi/Desktop/images/25012025/01/24/image_25012025_01_24_02_854060_0003.jpg', '/home/pi/Desktop/images/25012025/01/25/image_25012025_01_25_02_417772_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/23/image_25012025_01_23_02_440802_0003.jpg
/home/pi/Desktop/images/25012025/01/24/image_25012025_01_24_02_854060_0000.jpg
/home/pi/Desktop/images/25012025/01/24/image_25012025_01_24_02_854060_0001.jpg
/home/pi/Desktop/images/25012025/01/24/image_25012025_01_24_02_854060_0002.jpg
/home/pi/Desktop/images/25012025/01/24/image_25012025_01_24_02_854060_0003.jpg
/home/pi/Desktop/images/25012025/01/25/image_25012025_01_25_02_417772_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":["1331186187","1331186223","1331186192","1331186135","1331186219","1331186161"],"photo_ids_order":["1331186135","1331186161","1331186187","1331186192","1331186219","1331186223"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a2f7c6a3663884795a578226614d4b49.jpg","text":"TemporaryFile(/tmp/multipartBody2909108100756785339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768269434,"filename":"image_25012025_01_24_02_854060_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/30773212bb6c43cb18d68c15ceeef005.jpg","text":"TemporaryFile(/tmp/multipartBody1487778314722492403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768269434,"filename":"image_25012025_01_25_02_417772_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/16c059e9df57141a934ec5dd4763b36c.jpg","text":"TemporaryFile(/tmp/multipartBody7560273955576922036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768269434,"filename":"image_25012025_01_24_02_854060_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1aeb5e81b1ad3ad3e2abeac7d328f75e.jpg","text":"TemporaryFile(/tmp/multipartBody1193647666356782055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768269434,"filename":"image_25012025_01_23_02_440802_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/63252bfd70d3fea6855e23f66059baf4.jpg","text":"TemporaryFile(/tmp/multipartBody2620795424282901589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768269434,"filename":"image_25012025_01_24_02_854060_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/79d32dd3cc06d41ce7cd0bb648d13ea6.jpg","text":"TemporaryFile(/tmp/multipartBody2403703657250928052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768269434,"filename":"image_25012025_01_24_02_854060_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331186187","file1":"1331186161","file0":"1331186135","file4":"1331186219","file5":"1331186223","file3":"1331186192"},"map_files_photo_id_array":[{"photo_id":"1331186223","filename":"file5"},{"photo_id":"1331186187","filename":"file2"},{"photo_id":"1331186219","filename":"file4"},{"photo_id":"1331186161","filename":"file1"},{"photo_id":"1331186135","filename":"file0"},{"photo_id":"1331186192","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331186187":["hashtag1","hashtag2"]},{"1331186223":["hashtag1","hashtag2"]},{"1331186192":["hashtag1","hashtag2"]},{"1331186135":["hashtag1","hashtag2"]},{"1331186219":["hashtag1","hashtag2"]},{"1331186161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331186187, 1331186223, 1331186192, 1331186135, 1331186219, 1331186161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.77622389793396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:25:03.218995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/25/image_25012025_01_25_02_417772_0001.jpg', '/home/pi/Desktop/images/25012025/01/25/image_25012025_01_25_02_417772_0002.jpg', '/home/pi/Desktop/images/25012025/01/25/image_25012025_01_25_02_417772_0003.jpg', '/home/pi/Desktop/images/25012025/01/26/image_25012025_01_26_02_931246_0000.jpg', '/home/pi/Desktop/images/25012025/01/26/image_25012025_01_26_02_931246_0001.jpg', '/home/pi/Desktop/images/25012025/01/27/image_25012025_01_27_02_506668_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/25/image_25012025_01_25_02_417772_0001.jpg
/home/pi/Desktop/images/25012025/01/25/image_25012025_01_25_02_417772_0002.jpg
/home/pi/Desktop/images/25012025/01/25/image_25012025_01_25_02_417772_0003.jpg
/home/pi/Desktop/images/25012025/01/26/image_25012025_01_26_02_931246_0000.jpg
/home/pi/Desktop/images/25012025/01/26/image_25012025_01_26_02_931246_0001.jpg
/home/pi/Desktop/images/25012025/01/27/image_25012025_01_27_02_506668_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":["1331186589","1331186421","1331186616","1331186534","1331186507","1331186638"],"photo_ids_order":["1331186421","1331186507","1331186534","1331186589","1331186616","1331186638"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c03151a43317028e4d5a94130e446bbe.jpg","text":"TemporaryFile(/tmp/multipartBody7207595209525971957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768403854,"filename":"image_25012025_01_26_02_931246_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e1815dcb9279aef9fb7753ae76b414a1.jpg","text":"TemporaryFile(/tmp/multipartBody2702606807393315175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768403854,"filename":"image_25012025_01_25_02_417772_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/55e0be0b19788b28694978d0b07f6102.jpg","text":"TemporaryFile(/tmp/multipartBody4619221937684196366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768403854,"filename":"image_25012025_01_26_02_931246_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/722045014de2ad530e87d32707796f32.jpg","text":"TemporaryFile(/tmp/multipartBody6316581112333432507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768403854,"filename":"image_25012025_01_25_02_417772_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7969df2ae358ff9ac26180c80459d20a.jpg","text":"TemporaryFile(/tmp/multipartBody299610260976742254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768403854,"filename":"image_25012025_01_25_02_417772_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1a635cd78520afa8b77736b4b7bd8c75.jpg","text":"TemporaryFile(/tmp/multipartBody1977938728369743954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768403854,"filename":"image_25012025_01_27_02_506668_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331186534","file1":"1331186507","file0":"1331186421","file4":"1331186616","file5":"1331186638","file3":"1331186589"},"map_files_photo_id_array":[{"photo_id":"1331186638","filename":"file5"},{"photo_id":"1331186534","filename":"file2"},{"photo_id":"1331186616","filename":"file4"},{"photo_id":"1331186507","filename":"file1"},{"photo_id":"1331186421","filename":"file0"},{"photo_id":"1331186589","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331186589":["hashtag1","hashtag2"]},{"1331186421":["hashtag1","hashtag2"]},{"1331186616":["hashtag1","hashtag2"]},{"1331186534":["hashtag1","hashtag2"]},{"1331186507":["hashtag1","hashtag2"]},{"1331186638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331186589, 1331186421, 1331186616, 1331186534, 1331186507, 1331186638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.15440630912781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:27:03.364552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/28/image_25012025_01_28_03_041227_0000.jpg', '/home/pi/Desktop/images/25012025/01/28/image_25012025_01_28_03_041227_0001.jpg', '/home/pi/Desktop/images/25012025/01/28/image_25012025_01_28_03_041227_0002.jpg', '/home/pi/Desktop/images/25012025/01/28/image_25012025_01_28_03_041227_0003.jpg', '/home/pi/Desktop/images/25012025/01/29/image_25012025_01_29_02_524813_0000.jpg', '/home/pi/Desktop/images/25012025/01/29/image_25012025_01_29_02_524813_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/28/image_25012025_01_28_03_041227_0000.jpg
/home/pi/Desktop/images/25012025/01/28/image_25012025_01_28_03_041227_0001.jpg
/home/pi/Desktop/images/25012025/01/28/image_25012025_01_28_03_041227_0002.jpg
/home/pi/Desktop/images/25012025/01/28/image_25012025_01_28_03_041227_0003.jpg
/home/pi/Desktop/images/25012025/01/29/image_25012025_01_29_02_524813_0000.jpg
/home/pi/Desktop/images/25012025/01/29/image_25012025_01_29_02_524813_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":["1331187015","1331187074","1331187062","1331187067","1331187054","1331187048"],"photo_ids_order":["1331187015","1331187048","1331187054","1331187062","1331187067","1331187074"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dcfc5a89b263d3c749865fd6459107c2.jpg","text":"TemporaryFile(/tmp/multipartBody7656156400807189325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768521151,"filename":"image_25012025_01_28_03_041227_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f3a16bb737cc785dfdb6851620389476.jpg","text":"TemporaryFile(/tmp/multipartBody3037164346648425408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768521151,"filename":"image_25012025_01_29_02_524813_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c5e34e5a9e0a965181fa54ecb9f2266c.jpg","text":"TemporaryFile(/tmp/multipartBody6472929683949241033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768521151,"filename":"image_25012025_01_28_03_041227_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1204ac9c1088838b760640623ab10eae.jpg","text":"TemporaryFile(/tmp/multipartBody4343614717416732091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768521151,"filename":"image_25012025_01_29_02_524813_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/205d6bdde8db99f9af57593206f7b555.jpg","text":"TemporaryFile(/tmp/multipartBody4238484186182484133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768521151,"filename":"image_25012025_01_28_03_041227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/28f09c0678b0ce14837792940e1cae9d.jpg","text":"TemporaryFile(/tmp/multipartBody111423970232035387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768521151,"filename":"image_25012025_01_28_03_041227_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331187054","file1":"1331187048","file0":"1331187015","file4":"1331187067","file5":"1331187074","file3":"1331187062"},"map_files_photo_id_array":[{"photo_id":"1331187074","filename":"file5"},{"photo_id":"1331187054","filename":"file2"},{"photo_id":"1331187067","filename":"file4"},{"photo_id":"1331187048","filename":"file1"},{"photo_id":"1331187015","filename":"file0"},{"photo_id":"1331187062","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331187015":["hashtag1","hashtag2"]},{"1331187074":["hashtag1","hashtag2"]},{"1331187062":["hashtag1","hashtag2"]},{"1331187067":["hashtag1","hashtag2"]},{"1331187054":["hashtag1","hashtag2"]},{"1331187048":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331187015, 1331187074, 1331187062, 1331187067, 1331187054, 1331187048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.73591327667236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:29:02.765971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/29/image_25012025_01_29_02_524813_0002.jpg', '/home/pi/Desktop/images/25012025/01/29/image_25012025_01_29_02_524813_0003.jpg', '/home/pi/Desktop/images/25012025/01/30/image_25012025_01_30_03_127571_0000.jpg', '/home/pi/Desktop/images/25012025/01/30/image_25012025_01_30_03_127571_0001.jpg', '/home/pi/Desktop/images/25012025/01/30/image_25012025_01_30_03_127571_0002.jpg', '/home/pi/Desktop/images/25012025/01/30/image_25012025_01_30_03_127571_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/29/image_25012025_01_29_02_524813_0002.jpg
/home/pi/Desktop/images/25012025/01/29/image_25012025_01_29_02_524813_0003.jpg
/home/pi/Desktop/images/25012025/01/30/image_25012025_01_30_03_127571_0000.jpg
/home/pi/Desktop/images/25012025/01/30/image_25012025_01_30_03_127571_0001.jpg
/home/pi/Desktop/images/25012025/01/30/image_25012025_01_30_03_127571_0002.jpg
/home/pi/Desktop/images/25012025/01/30/image_25012025_01_30_03_127571_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: 42.18534708023071 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:30:03.039879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/29/image_25012025_01_29_02_524813_0002.jpg', '/home/pi/Desktop/images/25012025/01/29/image_25012025_01_29_02_524813_0003.jpg', '/home/pi/Desktop/images/25012025/01/30/image_25012025_01_30_03_127571_0000.jpg', '/home/pi/Desktop/images/25012025/01/30/image_25012025_01_30_03_127571_0001.jpg', '/home/pi/Desktop/images/25012025/01/30/image_25012025_01_30_03_127571_0002.jpg', '/home/pi/Desktop/images/25012025/01/30/image_25012025_01_30_03_127571_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/29/image_25012025_01_29_02_524813_0002.jpg
/home/pi/Desktop/images/25012025/01/29/image_25012025_01_29_02_524813_0003.jpg
/home/pi/Desktop/images/25012025/01/30/image_25012025_01_30_03_127571_0000.jpg
/home/pi/Desktop/images/25012025/01/30/image_25012025_01_30_03_127571_0001.jpg
/home/pi/Desktop/images/25012025/01/30/image_25012025_01_30_03_127571_0002.jpg
/home/pi/Desktop/images/25012025/01/30/image_25012025_01_30_03_127571_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":["1331187204","1331187207","1331187362","1331187200","1331187370","1331187355"],"photo_ids_order":["1331187200","1331187204","1331187207","1331187355","1331187362","1331187370"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aa6096754b0f4ce9c28d7c3d89f9537a.jpg","text":"TemporaryFile(/tmp/multipartBody1268290756809037746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768706779,"filename":"image_25012025_01_29_02_524813_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0aa131ee3f7ed832e26eac82074685c4.jpg","text":"TemporaryFile(/tmp/multipartBody2797328848403168165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768706779,"filename":"image_25012025_01_30_03_127571_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6a189732d90cba78da150ec4e5e0d868.jpg","text":"TemporaryFile(/tmp/multipartBody8150481379570847455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768706779,"filename":"image_25012025_01_30_03_127571_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/17f77eb768d458822d152245592d623c.jpg","text":"TemporaryFile(/tmp/multipartBody714470715206665995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768706779,"filename":"image_25012025_01_29_02_524813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0925f3f3132d5ab6ae9723290275dd59.jpg","text":"TemporaryFile(/tmp/multipartBody5660242887571494275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768706779,"filename":"image_25012025_01_30_03_127571_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/af4a4898ef082f1630d2e6a1bb41fb78.jpg","text":"TemporaryFile(/tmp/multipartBody1703143415019009248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768706779,"filename":"image_25012025_01_30_03_127571_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331187207","file1":"1331187204","file0":"1331187200","file4":"1331187362","file5":"1331187370","file3":"1331187355"},"map_files_photo_id_array":[{"photo_id":"1331187370","filename":"file5"},{"photo_id":"1331187207","filename":"file2"},{"photo_id":"1331187362","filename":"file4"},{"photo_id":"1331187204","filename":"file1"},{"photo_id":"1331187200","filename":"file0"},{"photo_id":"1331187355","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331187204":["hashtag1","hashtag2"]},{"1331187207":["hashtag1","hashtag2"]},{"1331187362":["hashtag1","hashtag2"]},{"1331187200":["hashtag1","hashtag2"]},{"1331187370":["hashtag1","hashtag2"]},{"1331187355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331187204, 1331187207, 1331187362, 1331187200, 1331187370, 1331187355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.92429208755493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:32:03.174401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/31/image_25012025_01_31_02_681543_0000.jpg', '/home/pi/Desktop/images/25012025/01/31/image_25012025_01_31_02_681543_0001.jpg', '/home/pi/Desktop/images/25012025/01/31/image_25012025_01_31_02_681543_0002.jpg', '/home/pi/Desktop/images/25012025/01/31/image_25012025_01_31_02_681543_0003.jpg', '/home/pi/Desktop/images/25012025/01/32/image_25012025_01_32_02_255263_0000.jpg', '/home/pi/Desktop/images/25012025/01/32/image_25012025_01_32_02_255263_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/31/image_25012025_01_31_02_681543_0000.jpg
/home/pi/Desktop/images/25012025/01/31/image_25012025_01_31_02_681543_0001.jpg
/home/pi/Desktop/images/25012025/01/31/image_25012025_01_31_02_681543_0002.jpg
/home/pi/Desktop/images/25012025/01/31/image_25012025_01_31_02_681543_0003.jpg
/home/pi/Desktop/images/25012025/01/32/image_25012025_01_32_02_255263_0000.jpg
/home/pi/Desktop/images/25012025/01/32/image_25012025_01_32_02_255263_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":["1331187455","1331187472","1331187469","1331187460","1331187465","1331187450"],"photo_ids_order":["1331187450","1331187455","1331187460","1331187465","1331187469","1331187472"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e5a6e07b6bf06d762d0814fdc9a7a57d.jpg","text":"TemporaryFile(/tmp/multipartBody4410585324107834090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768813774,"filename":"image_25012025_01_31_02_681543_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/69828f3ec7db995e19cd4f2204f1f424.jpg","text":"TemporaryFile(/tmp/multipartBody814653404535304005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768813774,"filename":"image_25012025_01_32_02_255263_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/25795d14c7a96f84163e3152d73c328f.jpg","text":"TemporaryFile(/tmp/multipartBody2069303227821647707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768813774,"filename":"image_25012025_01_32_02_255263_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/51ce9c27c47da52229acedd300b6d756.jpg","text":"TemporaryFile(/tmp/multipartBody3239781399085745918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768813774,"filename":"image_25012025_01_31_02_681543_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/519ff5d2767d33505d8f90937803e156.jpg","text":"TemporaryFile(/tmp/multipartBody4918652892708139306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768813774,"filename":"image_25012025_01_31_02_681543_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/48edf10029cbc8244f363555dd28f80f.jpg","text":"TemporaryFile(/tmp/multipartBody5430842783881136872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768813774,"filename":"image_25012025_01_31_02_681543_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331187460","file1":"1331187455","file0":"1331187450","file4":"1331187469","file5":"1331187472","file3":"1331187465"},"map_files_photo_id_array":[{"photo_id":"1331187472","filename":"file5"},{"photo_id":"1331187460","filename":"file2"},{"photo_id":"1331187469","filename":"file4"},{"photo_id":"1331187455","filename":"file1"},{"photo_id":"1331187450","filename":"file0"},{"photo_id":"1331187465","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331187455":["hashtag1","hashtag2"]},{"1331187472":["hashtag1","hashtag2"]},{"1331187469":["hashtag1","hashtag2"]},{"1331187460":["hashtag1","hashtag2"]},{"1331187465":["hashtag1","hashtag2"]},{"1331187450":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331187455, 1331187472, 1331187469, 1331187460, 1331187465, 1331187450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 82.8793580532074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:34:03.145070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/32/image_25012025_01_32_02_255263_0002.jpg', '/home/pi/Desktop/images/25012025/01/32/image_25012025_01_32_02_255263_0003.jpg', '/home/pi/Desktop/images/25012025/01/33/image_25012025_01_33_03_031511_0000.jpg', '/home/pi/Desktop/images/25012025/01/33/image_25012025_01_33_03_031511_0001.jpg', '/home/pi/Desktop/images/25012025/01/33/image_25012025_01_33_03_031511_0002.jpg', '/home/pi/Desktop/images/25012025/01/33/image_25012025_01_33_03_031511_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/32/image_25012025_01_32_02_255263_0002.jpg
/home/pi/Desktop/images/25012025/01/32/image_25012025_01_32_02_255263_0003.jpg
/home/pi/Desktop/images/25012025/01/33/image_25012025_01_33_03_031511_0000.jpg
/home/pi/Desktop/images/25012025/01/33/image_25012025_01_33_03_031511_0001.jpg
/home/pi/Desktop/images/25012025/01/33/image_25012025_01_33_03_031511_0002.jpg
/home/pi/Desktop/images/25012025/01/33/image_25012025_01_33_03_031511_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":["1331188352","1331188387","1331188651","1331188615","1331188353","1331188314"],"photo_ids_order":["1331188314","1331188352","1331188353","1331188387","1331188615","1331188651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2cecbb9057a74c159e3a90149644a161.jpg","text":"TemporaryFile(/tmp/multipartBody3104535246067643842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768944054,"filename":"image_25012025_01_32_02_255263_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9e7c8bed1808e5298db3b7007e9e8094.jpg","text":"TemporaryFile(/tmp/multipartBody9079605077199574469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768944054,"filename":"image_25012025_01_33_03_031511_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7a47c10b7bdc1f0750e8d9dc1dbeb254.jpg","text":"TemporaryFile(/tmp/multipartBody360810606082137418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768944054,"filename":"image_25012025_01_33_03_031511_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6c9c7128d6e1b68af53f6150623cc0b9.jpg","text":"TemporaryFile(/tmp/multipartBody7619752538752279950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768944054,"filename":"image_25012025_01_33_03_031511_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9a9658ba29f6fa6bcfcf0bf1a62ba33e.jpg","text":"TemporaryFile(/tmp/multipartBody4026802102169871946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768944054,"filename":"image_25012025_01_33_03_031511_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cf4b2a9de6ba03f0bc13158fc3991c36.jpg","text":"TemporaryFile(/tmp/multipartBody861347684950282017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737768944054,"filename":"image_25012025_01_32_02_255263_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331188353","file1":"1331188352","file0":"1331188314","file4":"1331188615","file5":"1331188651","file3":"1331188387"},"map_files_photo_id_array":[{"photo_id":"1331188651","filename":"file5"},{"photo_id":"1331188353","filename":"file2"},{"photo_id":"1331188615","filename":"file4"},{"photo_id":"1331188352","filename":"file1"},{"photo_id":"1331188314","filename":"file0"},{"photo_id":"1331188387","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331188352":["hashtag1","hashtag2"]},{"1331188387":["hashtag1","hashtag2"]},{"1331188651":["hashtag1","hashtag2"]},{"1331188615":["hashtag1","hashtag2"]},{"1331188353":["hashtag1","hashtag2"]},{"1331188314":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331188352, 1331188387, 1331188651, 1331188615, 1331188353, 1331188314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.59428882598877 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:36:02.140939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/34/image_25012025_01_34_02_501811_0000.jpg', '/home/pi/Desktop/images/25012025/01/34/image_25012025_01_34_02_501811_0001.jpg', '/home/pi/Desktop/images/25012025/01/34/image_25012025_01_34_02_501811_0002.jpg', '/home/pi/Desktop/images/25012025/01/34/image_25012025_01_34_02_501811_0003.jpg', '/home/pi/Desktop/images/25012025/01/35/image_25012025_01_35_02_918506_0000.jpg', '/home/pi/Desktop/images/25012025/01/35/image_25012025_01_35_02_918506_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/34/image_25012025_01_34_02_501811_0000.jpg
/home/pi/Desktop/images/25012025/01/34/image_25012025_01_34_02_501811_0001.jpg
/home/pi/Desktop/images/25012025/01/34/image_25012025_01_34_02_501811_0002.jpg
/home/pi/Desktop/images/25012025/01/34/image_25012025_01_34_02_501811_0003.jpg
/home/pi/Desktop/images/25012025/01/35/image_25012025_01_35_02_918506_0000.jpg
/home/pi/Desktop/images/25012025/01/35/image_25012025_01_35_02_918506_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":["1331188880","1331188888","1331188873","1331188876","1331188896","1331188902"],"photo_ids_order":["1331188873","1331188876","1331188880","1331188888","1331188896","1331188902"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2d5b83ceee3bb0728e124c55d57762d1.jpg","text":"TemporaryFile(/tmp/multipartBody4014546025317074478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769066600,"filename":"image_25012025_01_34_02_501811_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c2a793921090f5c11587d22fcf168e3c.jpg","text":"TemporaryFile(/tmp/multipartBody5251206450645805552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769066600,"filename":"image_25012025_01_34_02_501811_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3acead0159ddd841499b91712b4aad14.jpg","text":"TemporaryFile(/tmp/multipartBody1485882314590382425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769066600,"filename":"image_25012025_01_34_02_501811_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d300a9a70a941036d7513245b14592f0.jpg","text":"TemporaryFile(/tmp/multipartBody4149721304512447624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769066600,"filename":"image_25012025_01_34_02_501811_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0e7a3e920a26af25635d025cf34d0b72.jpg","text":"TemporaryFile(/tmp/multipartBody2937060210504652118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769066600,"filename":"image_25012025_01_35_02_918506_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ddcbfa4f6d0a202793b8c46e2ff7427c.jpg","text":"TemporaryFile(/tmp/multipartBody4797048626556082546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769066600,"filename":"image_25012025_01_35_02_918506_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331188880","file1":"1331188876","file0":"1331188873","file4":"1331188896","file5":"1331188902","file3":"1331188888"},"map_files_photo_id_array":[{"photo_id":"1331188902","filename":"file5"},{"photo_id":"1331188880","filename":"file2"},{"photo_id":"1331188896","filename":"file4"},{"photo_id":"1331188876","filename":"file1"},{"photo_id":"1331188873","filename":"file0"},{"photo_id":"1331188888","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331188880":["hashtag1","hashtag2"]},{"1331188888":["hashtag1","hashtag2"]},{"1331188873":["hashtag1","hashtag2"]},{"1331188876":["hashtag1","hashtag2"]},{"1331188896":["hashtag1","hashtag2"]},{"1331188902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331188880, 1331188888, 1331188873, 1331188876, 1331188896, 1331188902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.13595795631409 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:38:02.313401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/35/image_25012025_01_35_02_918506_0002.jpg', '/home/pi/Desktop/images/25012025/01/35/image_25012025_01_35_02_918506_0003.jpg', '/home/pi/Desktop/images/25012025/01/36/image_25012025_01_36_02_467764_0000.jpg', '/home/pi/Desktop/images/25012025/01/36/image_25012025_01_36_02_467764_0001.jpg', '/home/pi/Desktop/images/25012025/01/36/image_25012025_01_36_02_467764_0002.jpg', '/home/pi/Desktop/images/25012025/01/36/image_25012025_01_36_02_467764_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/35/image_25012025_01_35_02_918506_0002.jpg
/home/pi/Desktop/images/25012025/01/35/image_25012025_01_35_02_918506_0003.jpg
/home/pi/Desktop/images/25012025/01/36/image_25012025_01_36_02_467764_0000.jpg
/home/pi/Desktop/images/25012025/01/36/image_25012025_01_36_02_467764_0001.jpg
/home/pi/Desktop/images/25012025/01/36/image_25012025_01_36_02_467764_0002.jpg
/home/pi/Desktop/images/25012025/01/36/image_25012025_01_36_02_467764_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":["1331188984","1331188993","1331188975","1331188980","1331188971","1331189001"],"photo_ids_order":["1331188971","1331188975","1331188980","1331188984","1331188993","1331189001"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/47bb2319c398e9ee258587ac9e9d2e49.jpg","text":"TemporaryFile(/tmp/multipartBody7328071375741654526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769187059,"filename":"image_25012025_01_36_02_467764_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/75b3dc5e8e5c6432ab533f378d5c1265.jpg","text":"TemporaryFile(/tmp/multipartBody4633338975653967778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769187059,"filename":"image_25012025_01_36_02_467764_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/59a3466f4a6d67bc693b11eefa30db1d.jpg","text":"TemporaryFile(/tmp/multipartBody8294857340685083616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769187059,"filename":"image_25012025_01_35_02_918506_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b88f47cad3aef51b5e10750458b85427.jpg","text":"TemporaryFile(/tmp/multipartBody8707101133612953222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769187059,"filename":"image_25012025_01_36_02_467764_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5e672fd84bf6014fc464930828f07a26.jpg","text":"TemporaryFile(/tmp/multipartBody7020274428944980256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769187059,"filename":"image_25012025_01_35_02_918506_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a3044ef6dfef221d44c546221b592eae.jpg","text":"TemporaryFile(/tmp/multipartBody7741911046237871704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769187059,"filename":"image_25012025_01_36_02_467764_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331188980","file1":"1331188975","file0":"1331188971","file4":"1331188993","file5":"1331189001","file3":"1331188984"},"map_files_photo_id_array":[{"photo_id":"1331189001","filename":"file5"},{"photo_id":"1331188980","filename":"file2"},{"photo_id":"1331188993","filename":"file4"},{"photo_id":"1331188975","filename":"file1"},{"photo_id":"1331188971","filename":"file0"},{"photo_id":"1331188984","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331188984":["hashtag1","hashtag2"]},{"1331188993":["hashtag1","hashtag2"]},{"1331188975":["hashtag1","hashtag2"]},{"1331188980":["hashtag1","hashtag2"]},{"1331188971":["hashtag1","hashtag2"]},{"1331189001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331188984, 1331188993, 1331188975, 1331188980, 1331188971, 1331189001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.91867733001709 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:40:02.555073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/37/image_25012025_01_37_03_049475_0000.jpg', '/home/pi/Desktop/images/25012025/01/37/image_25012025_01_37_03_049475_0001.jpg', '/home/pi/Desktop/images/25012025/01/37/image_25012025_01_37_03_049475_0002.jpg', '/home/pi/Desktop/images/25012025/01/37/image_25012025_01_37_03_049475_0003.jpg', '/home/pi/Desktop/images/25012025/01/38/image_25012025_01_38_02_539421_0000.jpg', '/home/pi/Desktop/images/25012025/01/38/image_25012025_01_38_02_539421_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/37/image_25012025_01_37_03_049475_0000.jpg
/home/pi/Desktop/images/25012025/01/37/image_25012025_01_37_03_049475_0001.jpg
/home/pi/Desktop/images/25012025/01/37/image_25012025_01_37_03_049475_0002.jpg
/home/pi/Desktop/images/25012025/01/37/image_25012025_01_37_03_049475_0003.jpg
/home/pi/Desktop/images/25012025/01/38/image_25012025_01_38_02_539421_0000.jpg
/home/pi/Desktop/images/25012025/01/38/image_25012025_01_38_02_539421_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":["1331189200","1331189172","1331189181","1331189175","1331189145","1331189208"],"photo_ids_order":["1331189145","1331189172","1331189175","1331189181","1331189200","1331189208"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6019c21398098ce0b073db5d314b2961.jpg","text":"TemporaryFile(/tmp/multipartBody1626330968102133263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769300239,"filename":"image_25012025_01_38_02_539421_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/920de6c8e5f8129719a3e62343edf731.jpg","text":"TemporaryFile(/tmp/multipartBody5069451365465232053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769300239,"filename":"image_25012025_01_37_03_049475_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/65c1a3499b17b09975bd7022043a4b26.jpg","text":"TemporaryFile(/tmp/multipartBody4017786540894243327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769300239,"filename":"image_25012025_01_37_03_049475_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9a142a5780792b01875dbacd236af2bd.jpg","text":"TemporaryFile(/tmp/multipartBody783060882839979474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769300239,"filename":"image_25012025_01_37_03_049475_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cc5dab4e0288a7782d4f5c021f38f68c.jpg","text":"TemporaryFile(/tmp/multipartBody2747628313455686714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769300239,"filename":"image_25012025_01_37_03_049475_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4dcfe4bccfb7a472a7640deb21bf21d4.jpg","text":"TemporaryFile(/tmp/multipartBody479445857350352974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769300239,"filename":"image_25012025_01_38_02_539421_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331189175","file1":"1331189172","file0":"1331189145","file4":"1331189200","file5":"1331189208","file3":"1331189181"},"map_files_photo_id_array":[{"photo_id":"1331189208","filename":"file5"},{"photo_id":"1331189175","filename":"file2"},{"photo_id":"1331189200","filename":"file4"},{"photo_id":"1331189172","filename":"file1"},{"photo_id":"1331189145","filename":"file0"},{"photo_id":"1331189181","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331189200":["hashtag1","hashtag2"]},{"1331189172":["hashtag1","hashtag2"]},{"1331189181":["hashtag1","hashtag2"]},{"1331189175":["hashtag1","hashtag2"]},{"1331189145":["hashtag1","hashtag2"]},{"1331189208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331189200, 1331189172, 1331189181, 1331189175, 1331189145, 1331189208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.98871231079102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:42:02.352984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/38/image_25012025_01_38_02_539421_0002.jpg', '/home/pi/Desktop/images/25012025/01/38/image_25012025_01_38_02_539421_0003.jpg', '/home/pi/Desktop/images/25012025/01/39/image_25012025_01_39_03_076806_0000.jpg', '/home/pi/Desktop/images/25012025/01/39/image_25012025_01_39_03_076806_0001.jpg', '/home/pi/Desktop/images/25012025/01/39/image_25012025_01_39_03_076806_0002.jpg', '/home/pi/Desktop/images/25012025/01/39/image_25012025_01_39_03_076806_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/38/image_25012025_01_38_02_539421_0002.jpg
/home/pi/Desktop/images/25012025/01/38/image_25012025_01_38_02_539421_0003.jpg
/home/pi/Desktop/images/25012025/01/39/image_25012025_01_39_03_076806_0000.jpg
/home/pi/Desktop/images/25012025/01/39/image_25012025_01_39_03_076806_0001.jpg
/home/pi/Desktop/images/25012025/01/39/image_25012025_01_39_03_076806_0002.jpg
/home/pi/Desktop/images/25012025/01/39/image_25012025_01_39_03_076806_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: 43.48639488220215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:43:03.188129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/38/image_25012025_01_38_02_539421_0002.jpg', '/home/pi/Desktop/images/25012025/01/38/image_25012025_01_38_02_539421_0003.jpg', '/home/pi/Desktop/images/25012025/01/39/image_25012025_01_39_03_076806_0000.jpg', '/home/pi/Desktop/images/25012025/01/39/image_25012025_01_39_03_076806_0001.jpg', '/home/pi/Desktop/images/25012025/01/39/image_25012025_01_39_03_076806_0002.jpg', '/home/pi/Desktop/images/25012025/01/39/image_25012025_01_39_03_076806_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/38/image_25012025_01_38_02_539421_0002.jpg
/home/pi/Desktop/images/25012025/01/38/image_25012025_01_38_02_539421_0003.jpg
/home/pi/Desktop/images/25012025/01/39/image_25012025_01_39_03_076806_0000.jpg
/home/pi/Desktop/images/25012025/01/39/image_25012025_01_39_03_076806_0001.jpg
/home/pi/Desktop/images/25012025/01/39/image_25012025_01_39_03_076806_0002.jpg
/home/pi/Desktop/images/25012025/01/39/image_25012025_01_39_03_076806_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":["1331189552","1331189596","1331189586","1331189550","1331189646","1331189568"],"photo_ids_order":["1331189550","1331189552","1331189568","1331189586","1331189596","1331189646"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fc3f10e05d82080cec837c9dfc9c9507.jpg","text":"TemporaryFile(/tmp/multipartBody5921184816157876916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769489852,"filename":"image_25012025_01_38_02_539421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a9825ca3934921bb51d74b8bbbc1be59.jpg","text":"TemporaryFile(/tmp/multipartBody4912257518790666429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769489852,"filename":"image_25012025_01_39_03_076806_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/44a03c33e674be102be8eac65a3e99cf.jpg","text":"TemporaryFile(/tmp/multipartBody6580422344410909258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769489852,"filename":"image_25012025_01_39_03_076806_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/31a025961c4f05337ac5bb62b199eb1b.jpg","text":"TemporaryFile(/tmp/multipartBody2251022329702748748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769489852,"filename":"image_25012025_01_38_02_539421_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c86e9ef671d9f2ab9627539b6097128.jpg","text":"TemporaryFile(/tmp/multipartBody3166068982577049034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769489852,"filename":"image_25012025_01_39_03_076806_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a253fb8410b5b680a2e53f018ba2d854.jpg","text":"TemporaryFile(/tmp/multipartBody1379380117223486178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769489852,"filename":"image_25012025_01_39_03_076806_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331189568","file1":"1331189552","file0":"1331189550","file4":"1331189596","file5":"1331189646","file3":"1331189586"},"map_files_photo_id_array":[{"photo_id":"1331189646","filename":"file5"},{"photo_id":"1331189568","filename":"file2"},{"photo_id":"1331189596","filename":"file4"},{"photo_id":"1331189552","filename":"file1"},{"photo_id":"1331189550","filename":"file0"},{"photo_id":"1331189586","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331189552":["hashtag1","hashtag2"]},{"1331189596":["hashtag1","hashtag2"]},{"1331189586":["hashtag1","hashtag2"]},{"1331189550":["hashtag1","hashtag2"]},{"1331189646":["hashtag1","hashtag2"]},{"1331189568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331189552, 1331189596, 1331189586, 1331189550, 1331189646, 1331189568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.5991461277008 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:45:03.344600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/40/image_25012025_01_40_02_523973_0000.jpg', '/home/pi/Desktop/images/25012025/01/40/image_25012025_01_40_02_523973_0001.jpg', '/home/pi/Desktop/images/25012025/01/40/image_25012025_01_40_02_523973_0002.jpg', '/home/pi/Desktop/images/25012025/01/40/image_25012025_01_40_02_523973_0003.jpg', '/home/pi/Desktop/images/25012025/01/41/image_25012025_01_41_02_190442_0000.jpg', '/home/pi/Desktop/images/25012025/01/41/image_25012025_01_41_02_190442_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/40/image_25012025_01_40_02_523973_0000.jpg
/home/pi/Desktop/images/25012025/01/40/image_25012025_01_40_02_523973_0001.jpg
/home/pi/Desktop/images/25012025/01/40/image_25012025_01_40_02_523973_0002.jpg
/home/pi/Desktop/images/25012025/01/40/image_25012025_01_40_02_523973_0003.jpg
/home/pi/Desktop/images/25012025/01/41/image_25012025_01_41_02_190442_0000.jpg
/home/pi/Desktop/images/25012025/01/41/image_25012025_01_41_02_190442_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":["1331189846","1331189819","1331189857","1331189790","1331189823","1331189829"],"photo_ids_order":["1331189790","1331189819","1331189823","1331189829","1331189846","1331189857"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9282ec2e8d852ddad6a8e4d1947201ce.jpg","text":"TemporaryFile(/tmp/multipartBody4297148712089012688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769607942,"filename":"image_25012025_01_41_02_190442_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8b25658da974b48203d228b308d7154d.jpg","text":"TemporaryFile(/tmp/multipartBody7012803622452185197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769607942,"filename":"image_25012025_01_40_02_523973_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/68387e630f568c352b63fd2ba22eddc6.jpg","text":"TemporaryFile(/tmp/multipartBody2365230192430226527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769607942,"filename":"image_25012025_01_41_02_190442_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c3b692aca693185d80494da4dfe1e22f.jpg","text":"TemporaryFile(/tmp/multipartBody7640978001443146277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769607942,"filename":"image_25012025_01_40_02_523973_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b80e58805f49df675d8bf35ce0c19a3e.jpg","text":"TemporaryFile(/tmp/multipartBody3994626544862176090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769607942,"filename":"image_25012025_01_40_02_523973_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/60f4f5c49dd04fc05474e9191076f04d.jpg","text":"TemporaryFile(/tmp/multipartBody1984130419614400608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769607942,"filename":"image_25012025_01_40_02_523973_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331189823","file1":"1331189819","file0":"1331189790","file4":"1331189846","file5":"1331189857","file3":"1331189829"},"map_files_photo_id_array":[{"photo_id":"1331189857","filename":"file5"},{"photo_id":"1331189823","filename":"file2"},{"photo_id":"1331189846","filename":"file4"},{"photo_id":"1331189819","filename":"file1"},{"photo_id":"1331189790","filename":"file0"},{"photo_id":"1331189829","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331189846":["hashtag1","hashtag2"]},{"1331189819":["hashtag1","hashtag2"]},{"1331189857":["hashtag1","hashtag2"]},{"1331189790":["hashtag1","hashtag2"]},{"1331189823":["hashtag1","hashtag2"]},{"1331189829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331189846, 1331189819, 1331189857, 1331189790, 1331189823, 1331189829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.72685718536377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:47:02.322966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/41/image_25012025_01_41_02_190442_0002.jpg', '/home/pi/Desktop/images/25012025/01/41/image_25012025_01_41_02_190442_0003.jpg', '/home/pi/Desktop/images/25012025/01/42/image_25012025_01_42_02_751376_0000.jpg', '/home/pi/Desktop/images/25012025/01/42/image_25012025_01_42_02_751376_0001.jpg', '/home/pi/Desktop/images/25012025/01/42/image_25012025_01_42_02_751376_0002.jpg', '/home/pi/Desktop/images/25012025/01/42/image_25012025_01_42_02_751376_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/41/image_25012025_01_41_02_190442_0002.jpg
/home/pi/Desktop/images/25012025/01/41/image_25012025_01_41_02_190442_0003.jpg
/home/pi/Desktop/images/25012025/01/42/image_25012025_01_42_02_751376_0000.jpg
/home/pi/Desktop/images/25012025/01/42/image_25012025_01_42_02_751376_0001.jpg
/home/pi/Desktop/images/25012025/01/42/image_25012025_01_42_02_751376_0002.jpg
/home/pi/Desktop/images/25012025/01/42/image_25012025_01_42_02_751376_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":["1331190488","1331190000","1331189956","1331190335","1331190478","1331190483"],"photo_ids_order":["1331189956","1331190000","1331190335","1331190478","1331190483","1331190488"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d0991747875df121099fdfdd64b0f9a7.jpg","text":"TemporaryFile(/tmp/multipartBody3615567802006389669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769716465,"filename":"image_25012025_01_42_02_751376_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ead367e1358733e970bb1a0cdb71fe07.jpg","text":"TemporaryFile(/tmp/multipartBody6875298862005351235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769716465,"filename":"image_25012025_01_41_02_190442_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b7105ecf26651a86e68a75c30242758.jpg","text":"TemporaryFile(/tmp/multipartBody5864781715692816634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769716465,"filename":"image_25012025_01_41_02_190442_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ad19294cdf18348cffab60d7c57d56e0.jpg","text":"TemporaryFile(/tmp/multipartBody4291152435728324638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769716465,"filename":"image_25012025_01_42_02_751376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9c3df13fcdabc1c5e7f07f9baec75999.jpg","text":"TemporaryFile(/tmp/multipartBody7263178368980594195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769716465,"filename":"image_25012025_01_42_02_751376_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/198a7da5a6e3b29424b15ca77e929040.jpg","text":"TemporaryFile(/tmp/multipartBody1042066776983061263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769716465,"filename":"image_25012025_01_42_02_751376_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331190335","file1":"1331190000","file0":"1331189956","file4":"1331190483","file5":"1331190488","file3":"1331190478"},"map_files_photo_id_array":[{"photo_id":"1331190488","filename":"file5"},{"photo_id":"1331190335","filename":"file2"},{"photo_id":"1331190483","filename":"file4"},{"photo_id":"1331190000","filename":"file1"},{"photo_id":"1331189956","filename":"file0"},{"photo_id":"1331190478","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331190488":["hashtag1","hashtag2"]},{"1331190000":["hashtag1","hashtag2"]},{"1331189956":["hashtag1","hashtag2"]},{"1331190335":["hashtag1","hashtag2"]},{"1331190478":["hashtag1","hashtag2"]},{"1331190483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331190488, 1331190000, 1331189956, 1331190335, 1331190478, 1331190483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.80590415000916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:49:02.627198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/43/image_25012025_01_43_02_423655_0000.jpg', '/home/pi/Desktop/images/25012025/01/43/image_25012025_01_43_02_423655_0001.jpg', '/home/pi/Desktop/images/25012025/01/43/image_25012025_01_43_02_423655_0002.jpg', '/home/pi/Desktop/images/25012025/01/43/image_25012025_01_43_02_423655_0003.jpg', '/home/pi/Desktop/images/25012025/01/44/image_25012025_01_44_02_917677_0000.jpg', '/home/pi/Desktop/images/25012025/01/44/image_25012025_01_44_02_917677_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/43/image_25012025_01_43_02_423655_0000.jpg
/home/pi/Desktop/images/25012025/01/43/image_25012025_01_43_02_423655_0001.jpg
/home/pi/Desktop/images/25012025/01/43/image_25012025_01_43_02_423655_0002.jpg
/home/pi/Desktop/images/25012025/01/43/image_25012025_01_43_02_423655_0003.jpg
/home/pi/Desktop/images/25012025/01/44/image_25012025_01_44_02_917677_0000.jpg
/home/pi/Desktop/images/25012025/01/44/image_25012025_01_44_02_917677_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":["1331190740","1331190713","1331190730","1331190709","1331190718","1331190723"],"photo_ids_order":["1331190709","1331190713","1331190718","1331190723","1331190730","1331190740"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8b229f4ed8827c93fd5ea081f2b2b72d.jpg","text":"TemporaryFile(/tmp/multipartBody8302798673140430381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769840142,"filename":"image_25012025_01_44_02_917677_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3c12d8a855608ad5fad5a96ddef31425.jpg","text":"TemporaryFile(/tmp/multipartBody4507139158616597396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769840142,"filename":"image_25012025_01_43_02_423655_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f4751478799ffa907b44722cba289363.jpg","text":"TemporaryFile(/tmp/multipartBody6410759950174406494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769840142,"filename":"image_25012025_01_44_02_917677_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/48a5f3bbab52ea48fc99254c297e2230.jpg","text":"TemporaryFile(/tmp/multipartBody1392121644508647110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769840142,"filename":"image_25012025_01_43_02_423655_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/11d08e0cc08725225d0f5fc1367d9d3c.jpg","text":"TemporaryFile(/tmp/multipartBody5992179387297701561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769840142,"filename":"image_25012025_01_43_02_423655_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1296af65727069af38b6ce722ab364a3.jpg","text":"TemporaryFile(/tmp/multipartBody6580790527781992882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769840142,"filename":"image_25012025_01_43_02_423655_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331190718","file1":"1331190713","file0":"1331190709","file4":"1331190730","file5":"1331190740","file3":"1331190723"},"map_files_photo_id_array":[{"photo_id":"1331190740","filename":"file5"},{"photo_id":"1331190718","filename":"file2"},{"photo_id":"1331190730","filename":"file4"},{"photo_id":"1331190713","filename":"file1"},{"photo_id":"1331190709","filename":"file0"},{"photo_id":"1331190723","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331190740":["hashtag1","hashtag2"]},{"1331190713":["hashtag1","hashtag2"]},{"1331190730":["hashtag1","hashtag2"]},{"1331190709":["hashtag1","hashtag2"]},{"1331190718":["hashtag1","hashtag2"]},{"1331190723":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331190740, 1331190713, 1331190730, 1331190709, 1331190718, 1331190723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.78527998924255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:51:02.941674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/44/image_25012025_01_44_02_917677_0002.jpg', '/home/pi/Desktop/images/25012025/01/44/image_25012025_01_44_02_917677_0003.jpg', '/home/pi/Desktop/images/25012025/01/45/image_25012025_01_45_02_570902_0000.jpg', '/home/pi/Desktop/images/25012025/01/45/image_25012025_01_45_02_570902_0001.jpg', '/home/pi/Desktop/images/25012025/01/45/image_25012025_01_45_02_570902_0002.jpg', '/home/pi/Desktop/images/25012025/01/45/image_25012025_01_45_02_570902_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/44/image_25012025_01_44_02_917677_0002.jpg
/home/pi/Desktop/images/25012025/01/44/image_25012025_01_44_02_917677_0003.jpg
/home/pi/Desktop/images/25012025/01/45/image_25012025_01_45_02_570902_0000.jpg
/home/pi/Desktop/images/25012025/01/45/image_25012025_01_45_02_570902_0001.jpg
/home/pi/Desktop/images/25012025/01/45/image_25012025_01_45_02_570902_0002.jpg
/home/pi/Desktop/images/25012025/01/45/image_25012025_01_45_02_570902_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":["1331191066","1331191060","1331191177","1331191162","1331191057","1331191231"],"photo_ids_order":["1331191057","1331191060","1331191066","1331191162","1331191177","1331191231"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f6c5200010c5dde544e79e52b60e96c3.jpg","text":"TemporaryFile(/tmp/multipartBody4141281694565817957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769969987,"filename":"image_25012025_01_45_02_570902_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4249f7c8e81ab08a26c624ecc85b0df3.jpg","text":"TemporaryFile(/tmp/multipartBody1141502463079727464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769969987,"filename":"image_25012025_01_44_02_917677_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9160ffc230c8a99ca7979c89297cb2bc.jpg","text":"TemporaryFile(/tmp/multipartBody4209956738046441817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769969987,"filename":"image_25012025_01_45_02_570902_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/de8a6f3e0ce7d44d58cb607143cfb5be.jpg","text":"TemporaryFile(/tmp/multipartBody4390337336671647920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769969987,"filename":"image_25012025_01_45_02_570902_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7970668381c06669aa19c133ab44b755.jpg","text":"TemporaryFile(/tmp/multipartBody3492497152101067969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769969987,"filename":"image_25012025_01_44_02_917677_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ba8ad4288e8562c8112cf8574d4d337c.jpg","text":"TemporaryFile(/tmp/multipartBody9094295741855484172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737769969987,"filename":"image_25012025_01_45_02_570902_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331191066","file1":"1331191060","file0":"1331191057","file4":"1331191177","file5":"1331191231","file3":"1331191162"},"map_files_photo_id_array":[{"photo_id":"1331191231","filename":"file5"},{"photo_id":"1331191066","filename":"file2"},{"photo_id":"1331191177","filename":"file4"},{"photo_id":"1331191060","filename":"file1"},{"photo_id":"1331191057","filename":"file0"},{"photo_id":"1331191162","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331191066":["hashtag1","hashtag2"]},{"1331191060":["hashtag1","hashtag2"]},{"1331191177":["hashtag1","hashtag2"]},{"1331191162":["hashtag1","hashtag2"]},{"1331191057":["hashtag1","hashtag2"]},{"1331191231":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331191066, 1331191060, 1331191177, 1331191162, 1331191057, 1331191231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.24742412567139 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:53:02.925142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/46/image_25012025_01_46_03_177072_0000.jpg', '/home/pi/Desktop/images/25012025/01/46/image_25012025_01_46_03_177072_0001.jpg', '/home/pi/Desktop/images/25012025/01/46/image_25012025_01_46_03_177072_0002.jpg', '/home/pi/Desktop/images/25012025/01/46/image_25012025_01_46_03_177072_0003.jpg', '/home/pi/Desktop/images/25012025/01/47/image_25012025_01_47_02_771926_0000.jpg', '/home/pi/Desktop/images/25012025/01/47/image_25012025_01_47_02_771926_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/46/image_25012025_01_46_03_177072_0000.jpg
/home/pi/Desktop/images/25012025/01/46/image_25012025_01_46_03_177072_0001.jpg
/home/pi/Desktop/images/25012025/01/46/image_25012025_01_46_03_177072_0002.jpg
/home/pi/Desktop/images/25012025/01/46/image_25012025_01_46_03_177072_0003.jpg
/home/pi/Desktop/images/25012025/01/47/image_25012025_01_47_02_771926_0000.jpg
/home/pi/Desktop/images/25012025/01/47/image_25012025_01_47_02_771926_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":["1331191613","1331191570","1331191567","1331191608","1331191589","1331191568"],"photo_ids_order":["1331191567","1331191568","1331191570","1331191589","1331191608","1331191613"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8632a535edd00e0700872e2f3708fc72.jpg","text":"TemporaryFile(/tmp/multipartBody5801521444772132666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770073957,"filename":"image_25012025_01_47_02_771926_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b305f521bc602ea5aa4b77c48fa95cff.jpg","text":"TemporaryFile(/tmp/multipartBody2943598366316474378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770073957,"filename":"image_25012025_01_46_03_177072_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/50f0e2f395be3c97f51be901b8191bbe.jpg","text":"TemporaryFile(/tmp/multipartBody9038852473426439355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770073957,"filename":"image_25012025_01_46_03_177072_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1ee490ef87ab0b58db2515956e262b45.jpg","text":"TemporaryFile(/tmp/multipartBody2090474984545558387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770073957,"filename":"image_25012025_01_47_02_771926_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/678a6dd962bb3cf08e201495ab04d603.jpg","text":"TemporaryFile(/tmp/multipartBody8344327654910143458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770073957,"filename":"image_25012025_01_46_03_177072_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e00380d64c745f724975a48696b3726d.jpg","text":"TemporaryFile(/tmp/multipartBody9185007309763688648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770073957,"filename":"image_25012025_01_46_03_177072_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331191570","file1":"1331191568","file0":"1331191567","file4":"1331191608","file5":"1331191613","file3":"1331191589"},"map_files_photo_id_array":[{"photo_id":"1331191613","filename":"file5"},{"photo_id":"1331191570","filename":"file2"},{"photo_id":"1331191608","filename":"file4"},{"photo_id":"1331191568","filename":"file1"},{"photo_id":"1331191567","filename":"file0"},{"photo_id":"1331191589","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331191613":["hashtag1","hashtag2"]},{"1331191570":["hashtag1","hashtag2"]},{"1331191567":["hashtag1","hashtag2"]},{"1331191608":["hashtag1","hashtag2"]},{"1331191589":["hashtag1","hashtag2"]},{"1331191568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331191613, 1331191570, 1331191567, 1331191608, 1331191589, 1331191568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.47302198410034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:55:02.926870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/47/image_25012025_01_47_02_771926_0002.jpg', '/home/pi/Desktop/images/25012025/01/47/image_25012025_01_47_02_771926_0003.jpg', '/home/pi/Desktop/images/25012025/01/48/image_25012025_01_48_02_255638_0000.jpg', '/home/pi/Desktop/images/25012025/01/48/image_25012025_01_48_02_255638_0001.jpg', '/home/pi/Desktop/images/25012025/01/48/image_25012025_01_48_02_255638_0002.jpg', '/home/pi/Desktop/images/25012025/01/48/image_25012025_01_48_02_255638_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/47/image_25012025_01_47_02_771926_0002.jpg
/home/pi/Desktop/images/25012025/01/47/image_25012025_01_47_02_771926_0003.jpg
/home/pi/Desktop/images/25012025/01/48/image_25012025_01_48_02_255638_0000.jpg
/home/pi/Desktop/images/25012025/01/48/image_25012025_01_48_02_255638_0001.jpg
/home/pi/Desktop/images/25012025/01/48/image_25012025_01_48_02_255638_0002.jpg
/home/pi/Desktop/images/25012025/01/48/image_25012025_01_48_02_255638_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":["1331191901","1331191876","1331191903","1331191927","1331191909","1331191917"],"photo_ids_order":["1331191876","1331191901","1331191903","1331191909","1331191917","1331191927"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/63eabb7d60b6d4028ae6ba9cbd7e622f.jpg","text":"TemporaryFile(/tmp/multipartBody4241544961477290370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770204342,"filename":"image_25012025_01_47_02_771926_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9e81273ee6034d2f38179f35261cf38b.jpg","text":"TemporaryFile(/tmp/multipartBody7720678592857674611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770204342,"filename":"image_25012025_01_47_02_771926_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/39af0b58e59d55675515d9c5c0a6bfa6.jpg","text":"TemporaryFile(/tmp/multipartBody3339060351515638011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770204342,"filename":"image_25012025_01_48_02_255638_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1af1fce43f11cffdf02d1e1ec90ce994.jpg","text":"TemporaryFile(/tmp/multipartBody9105379019323039924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770204342,"filename":"image_25012025_01_48_02_255638_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ab315f464b6320d2a6871d43e5c15d2a.jpg","text":"TemporaryFile(/tmp/multipartBody107631098720502277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770204342,"filename":"image_25012025_01_48_02_255638_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4ed1ab5eee6b9713fd18883cb9bb1604.jpg","text":"TemporaryFile(/tmp/multipartBody6416510340496795175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770204342,"filename":"image_25012025_01_48_02_255638_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331191903","file1":"1331191901","file0":"1331191876","file4":"1331191917","file5":"1331191927","file3":"1331191909"},"map_files_photo_id_array":[{"photo_id":"1331191927","filename":"file5"},{"photo_id":"1331191903","filename":"file2"},{"photo_id":"1331191917","filename":"file4"},{"photo_id":"1331191901","filename":"file1"},{"photo_id":"1331191876","filename":"file0"},{"photo_id":"1331191909","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331191901":["hashtag1","hashtag2"]},{"1331191876":["hashtag1","hashtag2"]},{"1331191903":["hashtag1","hashtag2"]},{"1331191927":["hashtag1","hashtag2"]},{"1331191909":["hashtag1","hashtag2"]},{"1331191917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331191901, 1331191876, 1331191903, 1331191927, 1331191909, 1331191917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.29316854476929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:57:02.901707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/49/image_25012025_01_49_02_855008_0000.jpg', '/home/pi/Desktop/images/25012025/01/49/image_25012025_01_49_02_855008_0001.jpg', '/home/pi/Desktop/images/25012025/01/49/image_25012025_01_49_02_855008_0002.jpg', '/home/pi/Desktop/images/25012025/01/49/image_25012025_01_49_02_855008_0003.jpg', '/home/pi/Desktop/images/25012025/01/50/image_25012025_01_50_02_370717_0000.jpg', '/home/pi/Desktop/images/25012025/01/50/image_25012025_01_50_02_370717_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/49/image_25012025_01_49_02_855008_0000.jpg
/home/pi/Desktop/images/25012025/01/49/image_25012025_01_49_02_855008_0001.jpg
/home/pi/Desktop/images/25012025/01/49/image_25012025_01_49_02_855008_0002.jpg
/home/pi/Desktop/images/25012025/01/49/image_25012025_01_49_02_855008_0003.jpg
/home/pi/Desktop/images/25012025/01/50/image_25012025_01_50_02_370717_0000.jpg
/home/pi/Desktop/images/25012025/01/50/image_25012025_01_50_02_370717_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.102444648742676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 02:59:02.917128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/49/image_25012025_01_49_02_855008_0000.jpg', '/home/pi/Desktop/images/25012025/01/49/image_25012025_01_49_02_855008_0001.jpg', '/home/pi/Desktop/images/25012025/01/49/image_25012025_01_49_02_855008_0002.jpg', '/home/pi/Desktop/images/25012025/01/49/image_25012025_01_49_02_855008_0003.jpg', '/home/pi/Desktop/images/25012025/01/50/image_25012025_01_50_02_370717_0000.jpg', '/home/pi/Desktop/images/25012025/01/50/image_25012025_01_50_02_370717_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/49/image_25012025_01_49_02_855008_0000.jpg
/home/pi/Desktop/images/25012025/01/49/image_25012025_01_49_02_855008_0001.jpg
/home/pi/Desktop/images/25012025/01/49/image_25012025_01_49_02_855008_0002.jpg
/home/pi/Desktop/images/25012025/01/49/image_25012025_01_49_02_855008_0003.jpg
/home/pi/Desktop/images/25012025/01/50/image_25012025_01_50_02_370717_0000.jpg
/home/pi/Desktop/images/25012025/01/50/image_25012025_01_50_02_370717_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":["1331192185","1331192065","1331192292","1331192067","1331192331","1331192204"],"photo_ids_order":["1331192065","1331192067","1331192185","1331192204","1331192292","1331192331"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6f3d5eafaf5e69a7fef18a37b05aca09.jpg","text":"TemporaryFile(/tmp/multipartBody2998183542402853496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770454559,"filename":"image_25012025_01_49_02_855008_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f80dcab9fc17ab80f80a6ab1ae233a90.jpg","text":"TemporaryFile(/tmp/multipartBody7977527345441550192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770454559,"filename":"image_25012025_01_49_02_855008_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e92d56d871086b7b7475ccd06f7aeecc.jpg","text":"TemporaryFile(/tmp/multipartBody8051632180934744318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770454559,"filename":"image_25012025_01_50_02_370717_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5a4fa6db986a162f33139dee65ca24e3.jpg","text":"TemporaryFile(/tmp/multipartBody3028950427973007801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770454559,"filename":"image_25012025_01_49_02_855008_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/27c596299131d2f54d92ac76563dafc2.jpg","text":"TemporaryFile(/tmp/multipartBody5038411588940426125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770454559,"filename":"image_25012025_01_50_02_370717_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/05c48c75b2eaea6d02d524501cf64eec.jpg","text":"TemporaryFile(/tmp/multipartBody3988328039258151133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770454559,"filename":"image_25012025_01_49_02_855008_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331192185","file1":"1331192067","file0":"1331192065","file4":"1331192292","file5":"1331192331","file3":"1331192204"},"map_files_photo_id_array":[{"photo_id":"1331192331","filename":"file5"},{"photo_id":"1331192185","filename":"file2"},{"photo_id":"1331192292","filename":"file4"},{"photo_id":"1331192067","filename":"file1"},{"photo_id":"1331192065","filename":"file0"},{"photo_id":"1331192204","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331192185":["hashtag1","hashtag2"]},{"1331192065":["hashtag1","hashtag2"]},{"1331192292":["hashtag1","hashtag2"]},{"1331192067":["hashtag1","hashtag2"]},{"1331192331":["hashtag1","hashtag2"]},{"1331192204":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331192185, 1331192065, 1331192292, 1331192067, 1331192331, 1331192204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.76973581314087 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:01:03.235885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/50/image_25012025_01_50_02_370717_0002.jpg', '/home/pi/Desktop/images/25012025/01/50/image_25012025_01_50_02_370717_0003.jpg', '/home/pi/Desktop/images/25012025/01/51/image_25012025_01_51_03_011536_0000.jpg', '/home/pi/Desktop/images/25012025/01/51/image_25012025_01_51_03_011536_0001.jpg', '/home/pi/Desktop/images/25012025/01/51/image_25012025_01_51_03_011536_0002.jpg', '/home/pi/Desktop/images/25012025/01/51/image_25012025_01_51_03_011536_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/50/image_25012025_01_50_02_370717_0002.jpg
/home/pi/Desktop/images/25012025/01/50/image_25012025_01_50_02_370717_0003.jpg
/home/pi/Desktop/images/25012025/01/51/image_25012025_01_51_03_011536_0000.jpg
/home/pi/Desktop/images/25012025/01/51/image_25012025_01_51_03_011536_0001.jpg
/home/pi/Desktop/images/25012025/01/51/image_25012025_01_51_03_011536_0002.jpg
/home/pi/Desktop/images/25012025/01/51/image_25012025_01_51_03_011536_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":["1331192530","1331192553","1331192546","1331192519","1331192540","1331192534"],"photo_ids_order":["1331192519","1331192530","1331192534","1331192540","1331192546","1331192553"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/22032621a1c87ed9c56391a87eedde7c.jpg","text":"TemporaryFile(/tmp/multipartBody7602465154818441604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770568076,"filename":"image_25012025_01_50_02_370717_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f487d6c732bd6aaf2fe5eb172df4e5fd.jpg","text":"TemporaryFile(/tmp/multipartBody5690021481314389706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770568076,"filename":"image_25012025_01_51_03_011536_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/97506212644b4669df8e5948f5e74392.jpg","text":"TemporaryFile(/tmp/multipartBody556619409186318463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770568076,"filename":"image_25012025_01_51_03_011536_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/187acc1769a48e94985726475998eb87.jpg","text":"TemporaryFile(/tmp/multipartBody3192873465429361647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770568076,"filename":"image_25012025_01_50_02_370717_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eefee288aab80dbdf2b3fc5c29f0a41b.jpg","text":"TemporaryFile(/tmp/multipartBody6978310409677250387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770568076,"filename":"image_25012025_01_51_03_011536_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8ab37d754076ea14e3dcdb9bed5d5af4.jpg","text":"TemporaryFile(/tmp/multipartBody1005938622264183500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770568076,"filename":"image_25012025_01_51_03_011536_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331192534","file1":"1331192530","file0":"1331192519","file4":"1331192546","file5":"1331192553","file3":"1331192540"},"map_files_photo_id_array":[{"photo_id":"1331192553","filename":"file5"},{"photo_id":"1331192534","filename":"file2"},{"photo_id":"1331192546","filename":"file4"},{"photo_id":"1331192530","filename":"file1"},{"photo_id":"1331192519","filename":"file0"},{"photo_id":"1331192540","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331192530":["hashtag1","hashtag2"]},{"1331192553":["hashtag1","hashtag2"]},{"1331192546":["hashtag1","hashtag2"]},{"1331192519":["hashtag1","hashtag2"]},{"1331192540":["hashtag1","hashtag2"]},{"1331192534":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331192530, 1331192553, 1331192546, 1331192519, 1331192540, 1331192534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.29317593574524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:03:03.005333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/52/image_25012025_01_52_02_555746_0000.jpg', '/home/pi/Desktop/images/25012025/01/52/image_25012025_01_52_02_555746_0001.jpg', '/home/pi/Desktop/images/25012025/01/52/image_25012025_01_52_02_555746_0002.jpg', '/home/pi/Desktop/images/25012025/01/52/image_25012025_01_52_02_555746_0003.jpg', '/home/pi/Desktop/images/25012025/01/53/image_25012025_01_53_03_068604_0000.jpg', '/home/pi/Desktop/images/25012025/01/53/image_25012025_01_53_03_068604_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/52/image_25012025_01_52_02_555746_0000.jpg
/home/pi/Desktop/images/25012025/01/52/image_25012025_01_52_02_555746_0001.jpg
/home/pi/Desktop/images/25012025/01/52/image_25012025_01_52_02_555746_0002.jpg
/home/pi/Desktop/images/25012025/01/52/image_25012025_01_52_02_555746_0003.jpg
/home/pi/Desktop/images/25012025/01/53/image_25012025_01_53_03_068604_0000.jpg
/home/pi/Desktop/images/25012025/01/53/image_25012025_01_53_03_068604_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":["1331193096","1331193360","1331192982","1331193374","1331193443","1331193311"],"photo_ids_order":["1331192982","1331193096","1331193311","1331193360","1331193374","1331193443"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e6daeaabcf96323b2e2bb69047fdb24e.jpg","text":"TemporaryFile(/tmp/multipartBody4694531386673878756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770691335,"filename":"image_25012025_01_52_02_555746_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f170f8cdd29f0d1fbd1c849e086a39c8.jpg","text":"TemporaryFile(/tmp/multipartBody616680598842224957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770691335,"filename":"image_25012025_01_52_02_555746_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/25d6d4ac7a246ddc4e2cb14063d7c481.jpg","text":"TemporaryFile(/tmp/multipartBody7460063823159316781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770691335,"filename":"image_25012025_01_52_02_555746_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/02fe64ca56be49a976efcb64cab8b8aa.jpg","text":"TemporaryFile(/tmp/multipartBody3310159056889504732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770691335,"filename":"image_25012025_01_53_03_068604_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d8d4fd79c4829e760df970bbd120751a.jpg","text":"TemporaryFile(/tmp/multipartBody6610070876024173005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770691335,"filename":"image_25012025_01_53_03_068604_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1665f8d9853834465464d58d88b07720.jpg","text":"TemporaryFile(/tmp/multipartBody213013720934635626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770691335,"filename":"image_25012025_01_52_02_555746_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331193311","file1":"1331193096","file0":"1331192982","file4":"1331193374","file5":"1331193443","file3":"1331193360"},"map_files_photo_id_array":[{"photo_id":"1331193443","filename":"file5"},{"photo_id":"1331193311","filename":"file2"},{"photo_id":"1331193374","filename":"file4"},{"photo_id":"1331193096","filename":"file1"},{"photo_id":"1331192982","filename":"file0"},{"photo_id":"1331193360","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331193096":["hashtag1","hashtag2"]},{"1331193360":["hashtag1","hashtag2"]},{"1331192982":["hashtag1","hashtag2"]},{"1331193374":["hashtag1","hashtag2"]},{"1331193443":["hashtag1","hashtag2"]},{"1331193311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331193096, 1331193360, 1331192982, 1331193374, 1331193443, 1331193311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.41658568382263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:05:03.400937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/53/image_25012025_01_53_03_068604_0002.jpg', '/home/pi/Desktop/images/25012025/01/53/image_25012025_01_53_03_068604_0003.jpg', '/home/pi/Desktop/images/25012025/01/54/image_25012025_01_54_02_689123_0000.jpg', '/home/pi/Desktop/images/25012025/01/54/image_25012025_01_54_02_689123_0001.jpg', '/home/pi/Desktop/images/25012025/01/54/image_25012025_01_54_02_689123_0002.jpg', '/home/pi/Desktop/images/25012025/01/54/image_25012025_01_54_02_689123_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/53/image_25012025_01_53_03_068604_0002.jpg
/home/pi/Desktop/images/25012025/01/53/image_25012025_01_53_03_068604_0003.jpg
/home/pi/Desktop/images/25012025/01/54/image_25012025_01_54_02_689123_0000.jpg
/home/pi/Desktop/images/25012025/01/54/image_25012025_01_54_02_689123_0001.jpg
/home/pi/Desktop/images/25012025/01/54/image_25012025_01_54_02_689123_0002.jpg
/home/pi/Desktop/images/25012025/01/54/image_25012025_01_54_02_689123_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":["1331194884","1331194179","1331194761","1331194547","1331194349","1331194879"],"photo_ids_order":["1331194179","1331194349","1331194547","1331194761","1331194879","1331194884"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4a5ffc07660664418f10fae1b1c4b3cc.jpg","text":"TemporaryFile(/tmp/multipartBody7206572008643527661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770792827,"filename":"image_25012025_01_54_02_689123_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ae2e2c2e3a484499d176283b6955901c.jpg","text":"TemporaryFile(/tmp/multipartBody3807703746915801453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770792827,"filename":"image_25012025_01_53_03_068604_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0cd1b5a4b599359bd5b90a3b85de1857.jpg","text":"TemporaryFile(/tmp/multipartBody968108441134180546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770792827,"filename":"image_25012025_01_54_02_689123_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/090c3ff3fa45f1b6b438bc7c83d6f64a.jpg","text":"TemporaryFile(/tmp/multipartBody5132113038190288287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770792827,"filename":"image_25012025_01_54_02_689123_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/58b7d25ad8700eca2e8c0abc34efefc2.jpg","text":"TemporaryFile(/tmp/multipartBody667100267657825012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770792827,"filename":"image_25012025_01_53_03_068604_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8cd95e7b0c3ae4bfa1405602426747ea.jpg","text":"TemporaryFile(/tmp/multipartBody4757861696598045238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770792827,"filename":"image_25012025_01_54_02_689123_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331194547","file1":"1331194349","file0":"1331194179","file4":"1331194879","file5":"1331194884","file3":"1331194761"},"map_files_photo_id_array":[{"photo_id":"1331194884","filename":"file5"},{"photo_id":"1331194547","filename":"file2"},{"photo_id":"1331194879","filename":"file4"},{"photo_id":"1331194349","filename":"file1"},{"photo_id":"1331194179","filename":"file0"},{"photo_id":"1331194761","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331194884":["hashtag1","hashtag2"]},{"1331194179":["hashtag1","hashtag2"]},{"1331194761":["hashtag1","hashtag2"]},{"1331194547":["hashtag1","hashtag2"]},{"1331194349":["hashtag1","hashtag2"]},{"1331194879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331194884, 1331194179, 1331194761, 1331194547, 1331194349, 1331194879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.55590438842773 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:07:03.337093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/55/image_25012025_01_55_02_207086_0000.jpg', '/home/pi/Desktop/images/25012025/01/55/image_25012025_01_55_02_207086_0001.jpg', '/home/pi/Desktop/images/25012025/01/55/image_25012025_01_55_02_207086_0002.jpg', '/home/pi/Desktop/images/25012025/01/55/image_25012025_01_55_02_207086_0003.jpg', '/home/pi/Desktop/images/25012025/01/56/image_25012025_01_56_02_723145_0000.jpg', '/home/pi/Desktop/images/25012025/01/56/image_25012025_01_56_02_723145_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/55/image_25012025_01_55_02_207086_0000.jpg
/home/pi/Desktop/images/25012025/01/55/image_25012025_01_55_02_207086_0001.jpg
/home/pi/Desktop/images/25012025/01/55/image_25012025_01_55_02_207086_0002.jpg
/home/pi/Desktop/images/25012025/01/55/image_25012025_01_55_02_207086_0003.jpg
/home/pi/Desktop/images/25012025/01/56/image_25012025_01_56_02_723145_0000.jpg
/home/pi/Desktop/images/25012025/01/56/image_25012025_01_56_02_723145_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":["1331196611","1331196215","1331196376","1331196601","1331196285","1331196213"],"photo_ids_order":["1331196213","1331196215","1331196285","1331196376","1331196601","1331196611"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/989c060318b0f026262311c84be24eb8.jpg","text":"TemporaryFile(/tmp/multipartBody511776253636444508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770921574,"filename":"image_25012025_01_56_02_723145_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3c9c1f1b47fb957fef3b3ecbff79eef1.jpg","text":"TemporaryFile(/tmp/multipartBody3136634103499962561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770921574,"filename":"image_25012025_01_55_02_207086_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7ad0aa62616f02ad0d2656d4ce62ae33.jpg","text":"TemporaryFile(/tmp/multipartBody4264503614969577441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770921574,"filename":"image_25012025_01_55_02_207086_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6b1269f8969aaabbf2b76d5014684aab.jpg","text":"TemporaryFile(/tmp/multipartBody6617666144467108548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770921574,"filename":"image_25012025_01_56_02_723145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4f4006d8b9effb8d0f0b964479649f2c.jpg","text":"TemporaryFile(/tmp/multipartBody1714320037192415458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770921574,"filename":"image_25012025_01_55_02_207086_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9a71141e090074df5b8616f6866d741e.jpg","text":"TemporaryFile(/tmp/multipartBody3990063042274577341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737770921574,"filename":"image_25012025_01_55_02_207086_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331196285","file1":"1331196215","file0":"1331196213","file4":"1331196601","file5":"1331196611","file3":"1331196376"},"map_files_photo_id_array":[{"photo_id":"1331196611","filename":"file5"},{"photo_id":"1331196285","filename":"file2"},{"photo_id":"1331196601","filename":"file4"},{"photo_id":"1331196215","filename":"file1"},{"photo_id":"1331196213","filename":"file0"},{"photo_id":"1331196376","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331196611":["hashtag1","hashtag2"]},{"1331196215":["hashtag1","hashtag2"]},{"1331196376":["hashtag1","hashtag2"]},{"1331196601":["hashtag1","hashtag2"]},{"1331196285":["hashtag1","hashtag2"]},{"1331196213":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331196611, 1331196215, 1331196376, 1331196601, 1331196285, 1331196213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.30950736999512 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:09:02.557821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/56/image_25012025_01_56_02_723145_0002.jpg', '/home/pi/Desktop/images/25012025/01/56/image_25012025_01_56_02_723145_0003.jpg', '/home/pi/Desktop/images/25012025/01/57/image_25012025_01_57_02_211182_0000.jpg', '/home/pi/Desktop/images/25012025/01/57/image_25012025_01_57_02_211182_0001.jpg', '/home/pi/Desktop/images/25012025/01/57/image_25012025_01_57_02_211182_0002.jpg', '/home/pi/Desktop/images/25012025/01/57/image_25012025_01_57_02_211182_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/56/image_25012025_01_56_02_723145_0002.jpg
/home/pi/Desktop/images/25012025/01/56/image_25012025_01_56_02_723145_0003.jpg
/home/pi/Desktop/images/25012025/01/57/image_25012025_01_57_02_211182_0000.jpg
/home/pi/Desktop/images/25012025/01/57/image_25012025_01_57_02_211182_0001.jpg
/home/pi/Desktop/images/25012025/01/57/image_25012025_01_57_02_211182_0002.jpg
/home/pi/Desktop/images/25012025/01/57/image_25012025_01_57_02_211182_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":["1331196866","1331196845","1331196871","1331196735","1331196732","1331196860"],"photo_ids_order":["1331196732","1331196735","1331196845","1331196860","1331196866","1331196871"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7adc7bfeb36b4a6ed799b4ce2e27fbf6.jpg","text":"TemporaryFile(/tmp/multipartBody8653237348582328795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771038878,"filename":"image_25012025_01_57_02_211182_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/16d6120cc20bb7f1257c68dcab29caac.jpg","text":"TemporaryFile(/tmp/multipartBody8662592382266979990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771038878,"filename":"image_25012025_01_57_02_211182_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a7d6b65dce81dc3b428a1a8593e1a9e3.jpg","text":"TemporaryFile(/tmp/multipartBody7682122599489706527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771038878,"filename":"image_25012025_01_57_02_211182_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cca569322ef19cc0e28794224d0914d3.jpg","text":"TemporaryFile(/tmp/multipartBody8349370528932265748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771038878,"filename":"image_25012025_01_56_02_723145_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d8408a9589e6758002b393535baedacb.jpg","text":"TemporaryFile(/tmp/multipartBody5741972195327101089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771038878,"filename":"image_25012025_01_56_02_723145_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/af0521c4ecc6908d7b8b8440974ac27d.jpg","text":"TemporaryFile(/tmp/multipartBody3801452566889620795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771038878,"filename":"image_25012025_01_57_02_211182_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331196845","file1":"1331196735","file0":"1331196732","file4":"1331196866","file5":"1331196871","file3":"1331196860"},"map_files_photo_id_array":[{"photo_id":"1331196871","filename":"file5"},{"photo_id":"1331196845","filename":"file2"},{"photo_id":"1331196866","filename":"file4"},{"photo_id":"1331196735","filename":"file1"},{"photo_id":"1331196732","filename":"file0"},{"photo_id":"1331196860","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331196866":["hashtag1","hashtag2"]},{"1331196845":["hashtag1","hashtag2"]},{"1331196871":["hashtag1","hashtag2"]},{"1331196735":["hashtag1","hashtag2"]},{"1331196732":["hashtag1","hashtag2"]},{"1331196860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331196866, 1331196845, 1331196871, 1331196735, 1331196732, 1331196860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.73725295066833 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:11:02.889155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/58/image_25012025_01_58_02_678355_0000.jpg', '/home/pi/Desktop/images/25012025/01/58/image_25012025_01_58_02_678355_0001.jpg', '/home/pi/Desktop/images/25012025/01/58/image_25012025_01_58_02_678355_0002.jpg', '/home/pi/Desktop/images/25012025/01/58/image_25012025_01_58_02_678355_0003.jpg', '/home/pi/Desktop/images/25012025/01/59/image_25012025_01_59_02_204028_0000.jpg', '/home/pi/Desktop/images/25012025/01/59/image_25012025_01_59_02_204028_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/58/image_25012025_01_58_02_678355_0000.jpg
/home/pi/Desktop/images/25012025/01/58/image_25012025_01_58_02_678355_0001.jpg
/home/pi/Desktop/images/25012025/01/58/image_25012025_01_58_02_678355_0002.jpg
/home/pi/Desktop/images/25012025/01/58/image_25012025_01_58_02_678355_0003.jpg
/home/pi/Desktop/images/25012025/01/59/image_25012025_01_59_02_204028_0000.jpg
/home/pi/Desktop/images/25012025/01/59/image_25012025_01_59_02_204028_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":["1331197337","1331197250","1331197354","1331197156","1331197191","1331197402"],"photo_ids_order":["1331197156","1331197191","1331197250","1331197337","1331197354","1331197402"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/626f0cdb9f06f88a06441f1a96d3bad2.jpg","text":"TemporaryFile(/tmp/multipartBody7844412062285502324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771158764,"filename":"image_25012025_01_58_02_678355_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/331dd0f7d36496cf3e663f300549c58f.jpg","text":"TemporaryFile(/tmp/multipartBody7336547899045853040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771158764,"filename":"image_25012025_01_58_02_678355_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ce07ca9661a611ad0bbcb15631b225eb.jpg","text":"TemporaryFile(/tmp/multipartBody5404254941040030612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771158764,"filename":"image_25012025_01_59_02_204028_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a4fd30012fd4483c916bc29888c3ab87.jpg","text":"TemporaryFile(/tmp/multipartBody2430731116127519432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771158764,"filename":"image_25012025_01_58_02_678355_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/242123e85aefa92400e34c36b96b5b07.jpg","text":"TemporaryFile(/tmp/multipartBody378076198854253767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771158764,"filename":"image_25012025_01_58_02_678355_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/089be9a46cf0936ae77277fbbb48a311.jpg","text":"TemporaryFile(/tmp/multipartBody2885462466458023077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771158764,"filename":"image_25012025_01_59_02_204028_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331197250","file1":"1331197191","file0":"1331197156","file4":"1331197354","file5":"1331197402","file3":"1331197337"},"map_files_photo_id_array":[{"photo_id":"1331197402","filename":"file5"},{"photo_id":"1331197250","filename":"file2"},{"photo_id":"1331197354","filename":"file4"},{"photo_id":"1331197191","filename":"file1"},{"photo_id":"1331197156","filename":"file0"},{"photo_id":"1331197337","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331197337":["hashtag1","hashtag2"]},{"1331197250":["hashtag1","hashtag2"]},{"1331197354":["hashtag1","hashtag2"]},{"1331197156":["hashtag1","hashtag2"]},{"1331197191":["hashtag1","hashtag2"]},{"1331197402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331197337, 1331197250, 1331197354, 1331197156, 1331197191, 1331197402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.49368810653687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:13:03.120902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/01/59/image_25012025_01_59_02_204028_0002.jpg', '/home/pi/Desktop/images/25012025/01/59/image_25012025_01_59_02_204028_0003.jpg', '/home/pi/Desktop/images/25012025/02/00/image_25012025_02_00_02_357361_0000.jpg', '/home/pi/Desktop/images/25012025/02/00/image_25012025_02_00_02_357361_0001.jpg', '/home/pi/Desktop/images/25012025/02/00/image_25012025_02_00_02_357361_0002.jpg', '/home/pi/Desktop/images/25012025/02/00/image_25012025_02_00_02_357361_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/01/59/image_25012025_01_59_02_204028_0002.jpg
/home/pi/Desktop/images/25012025/01/59/image_25012025_01_59_02_204028_0003.jpg
/home/pi/Desktop/images/25012025/02/00/image_25012025_02_00_02_357361_0000.jpg
/home/pi/Desktop/images/25012025/02/00/image_25012025_02_00_02_357361_0001.jpg
/home/pi/Desktop/images/25012025/02/00/image_25012025_02_00_02_357361_0002.jpg
/home/pi/Desktop/images/25012025/02/00/image_25012025_02_00_02_357361_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":["1331197488","1331197482","1331197503","1331197496","1331197509","1331197484"],"photo_ids_order":["1331197482","1331197484","1331197488","1331197496","1331197503","1331197509"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e815d8ad98472fbbd0a891f5c88d010d.jpg","text":"TemporaryFile(/tmp/multipartBody6324763349266270914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771289290,"filename":"image_25012025_02_00_02_357361_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e19d306fd73406d3f183725da735c61d.jpg","text":"TemporaryFile(/tmp/multipartBody1737560879122043890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771289290,"filename":"image_25012025_01_59_02_204028_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8ccebb7c22a192251032d25ff2691e45.jpg","text":"TemporaryFile(/tmp/multipartBody4857331144799575977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771289290,"filename":"image_25012025_02_00_02_357361_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f5f43229aacb565194f1d70a2ae715bd.jpg","text":"TemporaryFile(/tmp/multipartBody7503148367270777604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771289290,"filename":"image_25012025_02_00_02_357361_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f350eea1c353f34d68edd3b3652004fe.jpg","text":"TemporaryFile(/tmp/multipartBody994801002173333308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771289290,"filename":"image_25012025_02_00_02_357361_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ba7e4660773b72fb1c516a6093f032e3.jpg","text":"TemporaryFile(/tmp/multipartBody5896933310174971155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771289290,"filename":"image_25012025_01_59_02_204028_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331197488","file1":"1331197484","file0":"1331197482","file4":"1331197503","file5":"1331197509","file3":"1331197496"},"map_files_photo_id_array":[{"photo_id":"1331197509","filename":"file5"},{"photo_id":"1331197488","filename":"file2"},{"photo_id":"1331197503","filename":"file4"},{"photo_id":"1331197484","filename":"file1"},{"photo_id":"1331197482","filename":"file0"},{"photo_id":"1331197496","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331197488":["hashtag1","hashtag2"]},{"1331197482":["hashtag1","hashtag2"]},{"1331197503":["hashtag1","hashtag2"]},{"1331197496":["hashtag1","hashtag2"]},{"1331197509":["hashtag1","hashtag2"]},{"1331197484":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331197488, 1331197482, 1331197503, 1331197496, 1331197509, 1331197484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.43134427070618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:15:02.925900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/01/image_25012025_02_01_03_001600_0000.jpg', '/home/pi/Desktop/images/25012025/02/01/image_25012025_02_01_03_001600_0001.jpg', '/home/pi/Desktop/images/25012025/02/01/image_25012025_02_01_03_001600_0002.jpg', '/home/pi/Desktop/images/25012025/02/01/image_25012025_02_01_03_001600_0003.jpg', '/home/pi/Desktop/images/25012025/02/02/image_25012025_02_02_02_497449_0000.jpg', '/home/pi/Desktop/images/25012025/02/02/image_25012025_02_02_02_497449_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/01/image_25012025_02_01_03_001600_0000.jpg
/home/pi/Desktop/images/25012025/02/01/image_25012025_02_01_03_001600_0001.jpg
/home/pi/Desktop/images/25012025/02/01/image_25012025_02_01_03_001600_0002.jpg
/home/pi/Desktop/images/25012025/02/01/image_25012025_02_01_03_001600_0003.jpg
/home/pi/Desktop/images/25012025/02/02/image_25012025_02_02_02_497449_0000.jpg
/home/pi/Desktop/images/25012025/02/02/image_25012025_02_02_02_497449_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":["1331197537","1331197551","1331197542","1331197538","1331197553","1331197547"],"photo_ids_order":["1331197537","1331197538","1331197542","1331197547","1331197551","1331197553"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/35df36e063f69e8de045aa5fd89a314e.jpg","text":"TemporaryFile(/tmp/multipartBody7319979240684077130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771410201,"filename":"image_25012025_02_01_03_001600_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e92463b80de19f5e0ccdc9bd721a5bfb.jpg","text":"TemporaryFile(/tmp/multipartBody3869541788603042574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771410201,"filename":"image_25012025_02_02_02_497449_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c08823e101701fbe4cc3a43a1a0dcf80.jpg","text":"TemporaryFile(/tmp/multipartBody8092199314088858750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771410201,"filename":"image_25012025_02_01_03_001600_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1ac3231ddeec12a807077793be2fabe4.jpg","text":"TemporaryFile(/tmp/multipartBody363492038486397060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771410201,"filename":"image_25012025_02_01_03_001600_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9df0d30b1bd1c0da57e662efcd0dd17a.jpg","text":"TemporaryFile(/tmp/multipartBody4377603526510922820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771410201,"filename":"image_25012025_02_02_02_497449_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a2cc4a5ad162b1263b7f2ab301d51b79.jpg","text":"TemporaryFile(/tmp/multipartBody4751084360842678615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771410201,"filename":"image_25012025_02_01_03_001600_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331197542","file1":"1331197538","file0":"1331197537","file4":"1331197551","file5":"1331197553","file3":"1331197547"},"map_files_photo_id_array":[{"photo_id":"1331197553","filename":"file5"},{"photo_id":"1331197542","filename":"file2"},{"photo_id":"1331197551","filename":"file4"},{"photo_id":"1331197538","filename":"file1"},{"photo_id":"1331197537","filename":"file0"},{"photo_id":"1331197547","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331197537":["hashtag1","hashtag2"]},{"1331197551":["hashtag1","hashtag2"]},{"1331197542":["hashtag1","hashtag2"]},{"1331197538":["hashtag1","hashtag2"]},{"1331197553":["hashtag1","hashtag2"]},{"1331197547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331197537, 1331197551, 1331197542, 1331197538, 1331197553, 1331197547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.09596490859985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:17:02.427125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/02/image_25012025_02_02_02_497449_0002.jpg', '/home/pi/Desktop/images/25012025/02/02/image_25012025_02_02_02_497449_0003.jpg', '/home/pi/Desktop/images/25012025/02/03/image_25012025_02_03_02_192892_0000.jpg', '/home/pi/Desktop/images/25012025/02/03/image_25012025_02_03_02_192892_0001.jpg', '/home/pi/Desktop/images/25012025/02/03/image_25012025_02_03_02_192892_0002.jpg', '/home/pi/Desktop/images/25012025/02/03/image_25012025_02_03_02_192892_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/02/image_25012025_02_02_02_497449_0002.jpg
/home/pi/Desktop/images/25012025/02/02/image_25012025_02_02_02_497449_0003.jpg
/home/pi/Desktop/images/25012025/02/03/image_25012025_02_03_02_192892_0000.jpg
/home/pi/Desktop/images/25012025/02/03/image_25012025_02_03_02_192892_0001.jpg
/home/pi/Desktop/images/25012025/02/03/image_25012025_02_03_02_192892_0002.jpg
/home/pi/Desktop/images/25012025/02/03/image_25012025_02_03_02_192892_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":["1331197669","1331197794","1331197761","1331197764","1331197775","1331197769"],"photo_ids_order":["1331197669","1331197761","1331197764","1331197769","1331197775","1331197794"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/43a0b4bedf335f8a0959cf45942b1ac7.jpg","text":"TemporaryFile(/tmp/multipartBody5177747563476149342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771521919,"filename":"image_25012025_02_02_02_497449_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/90e8cc74275e493f98a306a604a37068.jpg","text":"TemporaryFile(/tmp/multipartBody5424059194281590016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771521919,"filename":"image_25012025_02_03_02_192892_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cdf9b9468eb51889ef1dbdba4370906d.jpg","text":"TemporaryFile(/tmp/multipartBody5847659359112950766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771521919,"filename":"image_25012025_02_02_02_497449_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1dd5f5196fd026e0b84f9673177d4ff5.jpg","text":"TemporaryFile(/tmp/multipartBody562475058709688799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771521919,"filename":"image_25012025_02_03_02_192892_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9e87a7adb0c2f3c40e5ccb1cf627591f.jpg","text":"TemporaryFile(/tmp/multipartBody1347199852994074470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771521919,"filename":"image_25012025_02_03_02_192892_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b1faad46e001c84de386f2ec33ce701b.jpg","text":"TemporaryFile(/tmp/multipartBody7400378614082019310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771521919,"filename":"image_25012025_02_03_02_192892_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331197764","file1":"1331197761","file0":"1331197669","file4":"1331197775","file5":"1331197794","file3":"1331197769"},"map_files_photo_id_array":[{"photo_id":"1331197794","filename":"file5"},{"photo_id":"1331197764","filename":"file2"},{"photo_id":"1331197775","filename":"file4"},{"photo_id":"1331197761","filename":"file1"},{"photo_id":"1331197669","filename":"file0"},{"photo_id":"1331197769","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331197669":["hashtag1","hashtag2"]},{"1331197794":["hashtag1","hashtag2"]},{"1331197761":["hashtag1","hashtag2"]},{"1331197764":["hashtag1","hashtag2"]},{"1331197775":["hashtag1","hashtag2"]},{"1331197769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331197669, 1331197794, 1331197761, 1331197764, 1331197775, 1331197769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.57438635826111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:19:02.605139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/04/image_25012025_02_04_02_669513_0000.jpg', '/home/pi/Desktop/images/25012025/02/04/image_25012025_02_04_02_669513_0001.jpg', '/home/pi/Desktop/images/25012025/02/04/image_25012025_02_04_02_669513_0002.jpg', '/home/pi/Desktop/images/25012025/02/04/image_25012025_02_04_02_669513_0003.jpg', '/home/pi/Desktop/images/25012025/02/05/image_25012025_02_05_02_186315_0000.jpg', '/home/pi/Desktop/images/25012025/02/05/image_25012025_02_05_02_186315_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/04/image_25012025_02_04_02_669513_0000.jpg
/home/pi/Desktop/images/25012025/02/04/image_25012025_02_04_02_669513_0001.jpg
/home/pi/Desktop/images/25012025/02/04/image_25012025_02_04_02_669513_0002.jpg
/home/pi/Desktop/images/25012025/02/04/image_25012025_02_04_02_669513_0003.jpg
/home/pi/Desktop/images/25012025/02/05/image_25012025_02_05_02_186315_0000.jpg
/home/pi/Desktop/images/25012025/02/05/image_25012025_02_05_02_186315_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":["1331199031","1331198941","1331198779","1331198769","1331198771","1331198774"],"photo_ids_order":["1331198769","1331198771","1331198774","1331198779","1331198941","1331199031"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dbcb36cba8f1414e610df5a794bc44d5.jpg","text":"TemporaryFile(/tmp/multipartBody7226034372012057161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771647162,"filename":"image_25012025_02_05_02_186315_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/10bc8f9bcf35c699570bc0cb981499c9.jpg","text":"TemporaryFile(/tmp/multipartBody2507297621053252708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771647162,"filename":"image_25012025_02_05_02_186315_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b269a76941b78382c2a94add3a0b2457.jpg","text":"TemporaryFile(/tmp/multipartBody7497696106521594580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771647162,"filename":"image_25012025_02_04_02_669513_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6bbbb56b8ee525e3c467f645a558390e.jpg","text":"TemporaryFile(/tmp/multipartBody8562134026071254526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771647162,"filename":"image_25012025_02_04_02_669513_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5d62ce80727e6d1d673b4c027f2ebabe.jpg","text":"TemporaryFile(/tmp/multipartBody8099264403787250895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771647162,"filename":"image_25012025_02_04_02_669513_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f07d9226d42fbc84f32c576f66b727ee.jpg","text":"TemporaryFile(/tmp/multipartBody2663145928071801758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771647162,"filename":"image_25012025_02_04_02_669513_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331198774","file1":"1331198771","file0":"1331198769","file4":"1331198941","file5":"1331199031","file3":"1331198779"},"map_files_photo_id_array":[{"photo_id":"1331199031","filename":"file5"},{"photo_id":"1331198774","filename":"file2"},{"photo_id":"1331198941","filename":"file4"},{"photo_id":"1331198771","filename":"file1"},{"photo_id":"1331198769","filename":"file0"},{"photo_id":"1331198779","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331199031":["hashtag1","hashtag2"]},{"1331198941":["hashtag1","hashtag2"]},{"1331198779":["hashtag1","hashtag2"]},{"1331198769":["hashtag1","hashtag2"]},{"1331198771":["hashtag1","hashtag2"]},{"1331198774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331199031, 1331198941, 1331198779, 1331198769, 1331198771, 1331198774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.35227537155151 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:21:02.819423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/05/image_25012025_02_05_02_186315_0002.jpg', '/home/pi/Desktop/images/25012025/02/05/image_25012025_02_05_02_186315_0003.jpg', '/home/pi/Desktop/images/25012025/02/06/image_25012025_02_06_02_726564_0000.jpg', '/home/pi/Desktop/images/25012025/02/06/image_25012025_02_06_02_726564_0001.jpg', '/home/pi/Desktop/images/25012025/02/06/image_25012025_02_06_02_726564_0002.jpg', '/home/pi/Desktop/images/25012025/02/06/image_25012025_02_06_02_726564_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/05/image_25012025_02_05_02_186315_0002.jpg
/home/pi/Desktop/images/25012025/02/05/image_25012025_02_05_02_186315_0003.jpg
/home/pi/Desktop/images/25012025/02/06/image_25012025_02_06_02_726564_0000.jpg
/home/pi/Desktop/images/25012025/02/06/image_25012025_02_06_02_726564_0001.jpg
/home/pi/Desktop/images/25012025/02/06/image_25012025_02_06_02_726564_0002.jpg
/home/pi/Desktop/images/25012025/02/06/image_25012025_02_06_02_726564_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":["1331199198","1331199183","1331199177","1331199174","1331199190","1331199203"],"photo_ids_order":["1331199174","1331199177","1331199183","1331199190","1331199198","1331199203"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/47b5234877cc0dfe007ec7e4ca15f196.jpg","text":"TemporaryFile(/tmp/multipartBody6319279811970720308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771771983,"filename":"image_25012025_02_06_02_726564_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1a4fa0cdbb5083868fa79e50b5fed570.jpg","text":"TemporaryFile(/tmp/multipartBody6975643345128379830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771771983,"filename":"image_25012025_02_06_02_726564_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3ad98a239dde2735289f82356c09f228.jpg","text":"TemporaryFile(/tmp/multipartBody7945539138871822679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771771983,"filename":"image_25012025_02_05_02_186315_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2365bab4e26ae0dbb7e8fb6d198cea7c.jpg","text":"TemporaryFile(/tmp/multipartBody8574370070505081550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771771983,"filename":"image_25012025_02_05_02_186315_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/46d9c43d13e05e2423c51dc95628ee36.jpg","text":"TemporaryFile(/tmp/multipartBody7000503091108180306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771771983,"filename":"image_25012025_02_06_02_726564_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1d7f1b8912575b68b4d97cf1cddef1b9.jpg","text":"TemporaryFile(/tmp/multipartBody657211484078114696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771771983,"filename":"image_25012025_02_06_02_726564_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331199183","file1":"1331199177","file0":"1331199174","file4":"1331199198","file5":"1331199203","file3":"1331199190"},"map_files_photo_id_array":[{"photo_id":"1331199203","filename":"file5"},{"photo_id":"1331199183","filename":"file2"},{"photo_id":"1331199198","filename":"file4"},{"photo_id":"1331199177","filename":"file1"},{"photo_id":"1331199174","filename":"file0"},{"photo_id":"1331199190","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331199198":["hashtag1","hashtag2"]},{"1331199183":["hashtag1","hashtag2"]},{"1331199177":["hashtag1","hashtag2"]},{"1331199174":["hashtag1","hashtag2"]},{"1331199190":["hashtag1","hashtag2"]},{"1331199203":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331199198, 1331199183, 1331199177, 1331199174, 1331199190, 1331199203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.06616282463074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:23:02.379756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/07/image_25012025_02_07_02_196423_0000.jpg', '/home/pi/Desktop/images/25012025/02/07/image_25012025_02_07_02_196423_0001.jpg', '/home/pi/Desktop/images/25012025/02/07/image_25012025_02_07_02_196423_0002.jpg', '/home/pi/Desktop/images/25012025/02/07/image_25012025_02_07_02_196423_0003.jpg', '/home/pi/Desktop/images/25012025/02/08/image_25012025_02_08_02_761398_0000.jpg', '/home/pi/Desktop/images/25012025/02/08/image_25012025_02_08_02_761398_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/07/image_25012025_02_07_02_196423_0000.jpg
/home/pi/Desktop/images/25012025/02/07/image_25012025_02_07_02_196423_0001.jpg
/home/pi/Desktop/images/25012025/02/07/image_25012025_02_07_02_196423_0002.jpg
/home/pi/Desktop/images/25012025/02/07/image_25012025_02_07_02_196423_0003.jpg
/home/pi/Desktop/images/25012025/02/08/image_25012025_02_08_02_761398_0000.jpg
/home/pi/Desktop/images/25012025/02/08/image_25012025_02_08_02_761398_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":["1331199250","1331199232","1331199260","1331199242","1331199236","1331199256"],"photo_ids_order":["1331199232","1331199236","1331199242","1331199250","1331199256","1331199260"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f6658d8b232dd6debd31e42f682ed8c2.jpg","text":"TemporaryFile(/tmp/multipartBody792421418788419106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771890318,"filename":"image_25012025_02_07_02_196423_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a692aa4cddec94cd44ff9ae14806bdd7.jpg","text":"TemporaryFile(/tmp/multipartBody2958822530226864229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771890318,"filename":"image_25012025_02_07_02_196423_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c76f997cf8bdae32d62830195cb03efb.jpg","text":"TemporaryFile(/tmp/multipartBody8620941002189828926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771890318,"filename":"image_25012025_02_08_02_761398_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/81317edd1fb98e775275eb4eb8267296.jpg","text":"TemporaryFile(/tmp/multipartBody4586888859866468760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771890318,"filename":"image_25012025_02_07_02_196423_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f76667b7129e09bd1da6e1d13bac4262.jpg","text":"TemporaryFile(/tmp/multipartBody4992675921534388748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771890318,"filename":"image_25012025_02_07_02_196423_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cc57d84a4c16328e7023c008d87cd1c7.jpg","text":"TemporaryFile(/tmp/multipartBody1532619765782248633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737771890318,"filename":"image_25012025_02_08_02_761398_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331199242","file1":"1331199236","file0":"1331199232","file4":"1331199256","file5":"1331199260","file3":"1331199250"},"map_files_photo_id_array":[{"photo_id":"1331199260","filename":"file5"},{"photo_id":"1331199242","filename":"file2"},{"photo_id":"1331199256","filename":"file4"},{"photo_id":"1331199236","filename":"file1"},{"photo_id":"1331199232","filename":"file0"},{"photo_id":"1331199250","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331199250":["hashtag1","hashtag2"]},{"1331199232":["hashtag1","hashtag2"]},{"1331199260":["hashtag1","hashtag2"]},{"1331199242":["hashtag1","hashtag2"]},{"1331199236":["hashtag1","hashtag2"]},{"1331199256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331199250, 1331199232, 1331199260, 1331199242, 1331199236, 1331199256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.42709970474243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:25:02.591897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/08/image_25012025_02_08_02_761398_0002.jpg', '/home/pi/Desktop/images/25012025/02/08/image_25012025_02_08_02_761398_0003.jpg', '/home/pi/Desktop/images/25012025/02/09/image_25012025_02_09_02_300248_0000.jpg', '/home/pi/Desktop/images/25012025/02/09/image_25012025_02_09_02_300248_0001.jpg', '/home/pi/Desktop/images/25012025/02/09/image_25012025_02_09_02_300248_0002.jpg', '/home/pi/Desktop/images/25012025/02/09/image_25012025_02_09_02_300248_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/08/image_25012025_02_08_02_761398_0002.jpg
/home/pi/Desktop/images/25012025/02/08/image_25012025_02_08_02_761398_0003.jpg
/home/pi/Desktop/images/25012025/02/09/image_25012025_02_09_02_300248_0000.jpg
/home/pi/Desktop/images/25012025/02/09/image_25012025_02_09_02_300248_0001.jpg
/home/pi/Desktop/images/25012025/02/09/image_25012025_02_09_02_300248_0002.jpg
/home/pi/Desktop/images/25012025/02/09/image_25012025_02_09_02_300248_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: 48.99684500694275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:26:03.053743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/08/image_25012025_02_08_02_761398_0002.jpg', '/home/pi/Desktop/images/25012025/02/08/image_25012025_02_08_02_761398_0003.jpg', '/home/pi/Desktop/images/25012025/02/09/image_25012025_02_09_02_300248_0000.jpg', '/home/pi/Desktop/images/25012025/02/09/image_25012025_02_09_02_300248_0001.jpg', '/home/pi/Desktop/images/25012025/02/09/image_25012025_02_09_02_300248_0002.jpg', '/home/pi/Desktop/images/25012025/02/09/image_25012025_02_09_02_300248_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/08/image_25012025_02_08_02_761398_0002.jpg
/home/pi/Desktop/images/25012025/02/08/image_25012025_02_08_02_761398_0003.jpg
/home/pi/Desktop/images/25012025/02/09/image_25012025_02_09_02_300248_0000.jpg
/home/pi/Desktop/images/25012025/02/09/image_25012025_02_09_02_300248_0001.jpg
/home/pi/Desktop/images/25012025/02/09/image_25012025_02_09_02_300248_0002.jpg
/home/pi/Desktop/images/25012025/02/09/image_25012025_02_09_02_300248_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":["1331199360","1331199380","1331199374","1331199368","1331199362","1331199385"],"photo_ids_order":["1331199360","1331199362","1331199368","1331199374","1331199380","1331199385"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/69e79be429481651cb6fe4e164da0397.jpg","text":"TemporaryFile(/tmp/multipartBody4538235344207741818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772071202,"filename":"image_25012025_02_08_02_761398_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c4dfb2f4a8b4bab18559dd4e3052b25d.jpg","text":"TemporaryFile(/tmp/multipartBody6771865231181365565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772071202,"filename":"image_25012025_02_09_02_300248_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/663f49a39d7662c5aa2a3873374152ac.jpg","text":"TemporaryFile(/tmp/multipartBody883268428148202452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772071202,"filename":"image_25012025_02_09_02_300248_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d87011c83bac1fe8fd5f05537d8ad140.jpg","text":"TemporaryFile(/tmp/multipartBody8405968011762472618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772071202,"filename":"image_25012025_02_09_02_300248_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/02f8644a66799cee1dff27d22fd8bf1a.jpg","text":"TemporaryFile(/tmp/multipartBody9116434194235840805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772071202,"filename":"image_25012025_02_08_02_761398_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b3284cf493dc7a5d707341bb1d8e299.jpg","text":"TemporaryFile(/tmp/multipartBody7164028572110285428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772071202,"filename":"image_25012025_02_09_02_300248_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331199368","file1":"1331199362","file0":"1331199360","file4":"1331199380","file5":"1331199385","file3":"1331199374"},"map_files_photo_id_array":[{"photo_id":"1331199385","filename":"file5"},{"photo_id":"1331199368","filename":"file2"},{"photo_id":"1331199380","filename":"file4"},{"photo_id":"1331199362","filename":"file1"},{"photo_id":"1331199360","filename":"file0"},{"photo_id":"1331199374","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331199360":["hashtag1","hashtag2"]},{"1331199380":["hashtag1","hashtag2"]},{"1331199374":["hashtag1","hashtag2"]},{"1331199368":["hashtag1","hashtag2"]},{"1331199362":["hashtag1","hashtag2"]},{"1331199385":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331199360, 1331199380, 1331199374, 1331199368, 1331199362, 1331199385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.35602116584778 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:28:02.934922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/10/image_25012025_02_10_02_835338_0000.jpg', '/home/pi/Desktop/images/25012025/02/10/image_25012025_02_10_02_835338_0001.jpg', '/home/pi/Desktop/images/25012025/02/10/image_25012025_02_10_02_835338_0002.jpg', '/home/pi/Desktop/images/25012025/02/10/image_25012025_02_10_02_835338_0003.jpg', '/home/pi/Desktop/images/25012025/02/11/image_25012025_02_11_02_597861_0000.jpg', '/home/pi/Desktop/images/25012025/02/11/image_25012025_02_11_02_597861_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/10/image_25012025_02_10_02_835338_0000.jpg
/home/pi/Desktop/images/25012025/02/10/image_25012025_02_10_02_835338_0001.jpg
/home/pi/Desktop/images/25012025/02/10/image_25012025_02_10_02_835338_0002.jpg
/home/pi/Desktop/images/25012025/02/10/image_25012025_02_10_02_835338_0003.jpg
/home/pi/Desktop/images/25012025/02/11/image_25012025_02_11_02_597861_0000.jpg
/home/pi/Desktop/images/25012025/02/11/image_25012025_02_11_02_597861_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: 45.25865411758423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:29:02.956543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/10/image_25012025_02_10_02_835338_0000.jpg', '/home/pi/Desktop/images/25012025/02/10/image_25012025_02_10_02_835338_0001.jpg', '/home/pi/Desktop/images/25012025/02/10/image_25012025_02_10_02_835338_0002.jpg', '/home/pi/Desktop/images/25012025/02/10/image_25012025_02_10_02_835338_0003.jpg', '/home/pi/Desktop/images/25012025/02/11/image_25012025_02_11_02_597861_0000.jpg', '/home/pi/Desktop/images/25012025/02/11/image_25012025_02_11_02_597861_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/10/image_25012025_02_10_02_835338_0000.jpg
/home/pi/Desktop/images/25012025/02/10/image_25012025_02_10_02_835338_0001.jpg
/home/pi/Desktop/images/25012025/02/10/image_25012025_02_10_02_835338_0002.jpg
/home/pi/Desktop/images/25012025/02/10/image_25012025_02_10_02_835338_0003.jpg
/home/pi/Desktop/images/25012025/02/11/image_25012025_02_11_02_597861_0000.jpg
/home/pi/Desktop/images/25012025/02/11/image_25012025_02_11_02_597861_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":["1331199465","1331199444","1331199447","1331199443","1331199484","1331199451"],"photo_ids_order":["1331199443","1331199444","1331199447","1331199451","1331199465","1331199484"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/816590502ad54c58935b1a9ce72bae2e.jpg","text":"TemporaryFile(/tmp/multipartBody7703704498946932391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772246523,"filename":"image_25012025_02_11_02_597861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8f72639b2e1ee2f3a578f01f00ba4d7b.jpg","text":"TemporaryFile(/tmp/multipartBody1940746444396278477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772246523,"filename":"image_25012025_02_10_02_835338_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5a92c6cbaba4fac1d3ae8cff89c110ac.jpg","text":"TemporaryFile(/tmp/multipartBody810681125150837749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772246523,"filename":"image_25012025_02_10_02_835338_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1bdb9949d23927d0f05eae9e06ef5717.jpg","text":"TemporaryFile(/tmp/multipartBody4186639319776830377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772246523,"filename":"image_25012025_02_10_02_835338_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dfe55737b94acda81b7d31d75b2615c1.jpg","text":"TemporaryFile(/tmp/multipartBody4847421785948297576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772246523,"filename":"image_25012025_02_11_02_597861_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3e6dd54484404b58b04afaa1df01acb4.jpg","text":"TemporaryFile(/tmp/multipartBody3896080950652456273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772246523,"filename":"image_25012025_02_10_02_835338_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331199447","file1":"1331199444","file0":"1331199443","file4":"1331199465","file5":"1331199484","file3":"1331199451"},"map_files_photo_id_array":[{"photo_id":"1331199484","filename":"file5"},{"photo_id":"1331199447","filename":"file2"},{"photo_id":"1331199465","filename":"file4"},{"photo_id":"1331199444","filename":"file1"},{"photo_id":"1331199443","filename":"file0"},{"photo_id":"1331199451","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331199465":["hashtag1","hashtag2"]},{"1331199444":["hashtag1","hashtag2"]},{"1331199447":["hashtag1","hashtag2"]},{"1331199443":["hashtag1","hashtag2"]},{"1331199484":["hashtag1","hashtag2"]},{"1331199451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331199465, 1331199444, 1331199447, 1331199443, 1331199484, 1331199451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.40964317321777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:31:03.089886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/11/image_25012025_02_11_02_597861_0002.jpg', '/home/pi/Desktop/images/25012025/02/11/image_25012025_02_11_02_597861_0003.jpg', '/home/pi/Desktop/images/25012025/02/12/image_25012025_02_12_03_103511_0000.jpg', '/home/pi/Desktop/images/25012025/02/12/image_25012025_02_12_03_103511_0001.jpg', '/home/pi/Desktop/images/25012025/02/12/image_25012025_02_12_03_103511_0002.jpg', '/home/pi/Desktop/images/25012025/02/12/image_25012025_02_12_03_103511_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/11/image_25012025_02_11_02_597861_0002.jpg
/home/pi/Desktop/images/25012025/02/11/image_25012025_02_11_02_597861_0003.jpg
/home/pi/Desktop/images/25012025/02/12/image_25012025_02_12_03_103511_0000.jpg
/home/pi/Desktop/images/25012025/02/12/image_25012025_02_12_03_103511_0001.jpg
/home/pi/Desktop/images/25012025/02/12/image_25012025_02_12_03_103511_0002.jpg
/home/pi/Desktop/images/25012025/02/12/image_25012025_02_12_03_103511_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":["1331199567","1331199576","1331199555","1331199571","1331199559","1331199544"],"photo_ids_order":["1331199544","1331199555","1331199559","1331199567","1331199571","1331199576"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9f667a5e51cc6ebe0f11afbb185b342d.jpg","text":"TemporaryFile(/tmp/multipartBody3840674491803255414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772369621,"filename":"image_25012025_02_12_03_103511_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/227475ba839ad049100310e5f8e47d17.jpg","text":"TemporaryFile(/tmp/multipartBody1600473484908233738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772369621,"filename":"image_25012025_02_12_03_103511_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/36fa593c1ae5d4ce9f51b1dd6c0fd0cf.jpg","text":"TemporaryFile(/tmp/multipartBody7280702529442874761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772369621,"filename":"image_25012025_02_11_02_597861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e06411c36fbf9df85400aace5dd67fe8.jpg","text":"TemporaryFile(/tmp/multipartBody3539770735070592761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772369621,"filename":"image_25012025_02_12_03_103511_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/25868550722d1943148b81f466c3798e.jpg","text":"TemporaryFile(/tmp/multipartBody8964480714762933879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772369621,"filename":"image_25012025_02_12_03_103511_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/15b7af5677c4f44145b8b3b8dc31b5c7.jpg","text":"TemporaryFile(/tmp/multipartBody4511138660573665460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772369621,"filename":"image_25012025_02_11_02_597861_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331199559","file1":"1331199555","file0":"1331199544","file4":"1331199571","file5":"1331199576","file3":"1331199567"},"map_files_photo_id_array":[{"photo_id":"1331199576","filename":"file5"},{"photo_id":"1331199559","filename":"file2"},{"photo_id":"1331199571","filename":"file4"},{"photo_id":"1331199555","filename":"file1"},{"photo_id":"1331199544","filename":"file0"},{"photo_id":"1331199567","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331199567":["hashtag1","hashtag2"]},{"1331199576":["hashtag1","hashtag2"]},{"1331199555":["hashtag1","hashtag2"]},{"1331199571":["hashtag1","hashtag2"]},{"1331199559":["hashtag1","hashtag2"]},{"1331199544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331199567, 1331199576, 1331199555, 1331199571, 1331199559, 1331199544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.44563913345337 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:33:03.227840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/13/image_25012025_02_13_02_739322_0000.jpg', '/home/pi/Desktop/images/25012025/02/13/image_25012025_02_13_02_739322_0001.jpg', '/home/pi/Desktop/images/25012025/02/13/image_25012025_02_13_02_739322_0002.jpg', '/home/pi/Desktop/images/25012025/02/13/image_25012025_02_13_02_739322_0003.jpg', '/home/pi/Desktop/images/25012025/02/14/image_25012025_02_14_02_272857_0000.jpg', '/home/pi/Desktop/images/25012025/02/14/image_25012025_02_14_02_272857_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/13/image_25012025_02_13_02_739322_0000.jpg
/home/pi/Desktop/images/25012025/02/13/image_25012025_02_13_02_739322_0001.jpg
/home/pi/Desktop/images/25012025/02/13/image_25012025_02_13_02_739322_0002.jpg
/home/pi/Desktop/images/25012025/02/13/image_25012025_02_13_02_739322_0003.jpg
/home/pi/Desktop/images/25012025/02/14/image_25012025_02_14_02_272857_0000.jpg
/home/pi/Desktop/images/25012025/02/14/image_25012025_02_14_02_272857_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":["1331199831","1331199624","1331199776","1331199620","1331199809","1331199856"],"photo_ids_order":["1331199620","1331199624","1331199776","1331199809","1331199831","1331199856"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c38090a410729403aeafa6f9385234a1.jpg","text":"TemporaryFile(/tmp/multipartBody5900674725426495686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772493407,"filename":"image_25012025_02_14_02_272857_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5ea2a7923b9a7130c191544f82392a05.jpg","text":"TemporaryFile(/tmp/multipartBody1982707462900872175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772493407,"filename":"image_25012025_02_13_02_739322_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c7bb2fd50d090e59043b451d2b20d44.jpg","text":"TemporaryFile(/tmp/multipartBody6444014667248935205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772493407,"filename":"image_25012025_02_13_02_739322_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ae60ee2e11d247d7d853304873b4eb83.jpg","text":"TemporaryFile(/tmp/multipartBody2404569058967211913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772493407,"filename":"image_25012025_02_13_02_739322_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1211a5f6db214443a62166790c53676a.jpg","text":"TemporaryFile(/tmp/multipartBody745006384117448192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772493407,"filename":"image_25012025_02_13_02_739322_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9cd3f090779a21ce839ce3e282a3b75f.jpg","text":"TemporaryFile(/tmp/multipartBody6782794639595050033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772493407,"filename":"image_25012025_02_14_02_272857_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331199776","file1":"1331199624","file0":"1331199620","file4":"1331199831","file5":"1331199856","file3":"1331199809"},"map_files_photo_id_array":[{"photo_id":"1331199856","filename":"file5"},{"photo_id":"1331199776","filename":"file2"},{"photo_id":"1331199831","filename":"file4"},{"photo_id":"1331199624","filename":"file1"},{"photo_id":"1331199620","filename":"file0"},{"photo_id":"1331199809","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331199831":["hashtag1","hashtag2"]},{"1331199624":["hashtag1","hashtag2"]},{"1331199776":["hashtag1","hashtag2"]},{"1331199620":["hashtag1","hashtag2"]},{"1331199809":["hashtag1","hashtag2"]},{"1331199856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331199831, 1331199624, 1331199776, 1331199620, 1331199809, 1331199856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.26426482200623 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:35:02.454021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/14/image_25012025_02_14_02_272857_0002.jpg', '/home/pi/Desktop/images/25012025/02/14/image_25012025_02_14_02_272857_0003.jpg', '/home/pi/Desktop/images/25012025/02/15/image_25012025_02_15_02_766914_0000.jpg', '/home/pi/Desktop/images/25012025/02/15/image_25012025_02_15_02_766914_0001.jpg', '/home/pi/Desktop/images/25012025/02/15/image_25012025_02_15_02_766914_0002.jpg', '/home/pi/Desktop/images/25012025/02/15/image_25012025_02_15_02_766914_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/14/image_25012025_02_14_02_272857_0002.jpg
/home/pi/Desktop/images/25012025/02/14/image_25012025_02_14_02_272857_0003.jpg
/home/pi/Desktop/images/25012025/02/15/image_25012025_02_15_02_766914_0000.jpg
/home/pi/Desktop/images/25012025/02/15/image_25012025_02_15_02_766914_0001.jpg
/home/pi/Desktop/images/25012025/02/15/image_25012025_02_15_02_766914_0002.jpg
/home/pi/Desktop/images/25012025/02/15/image_25012025_02_15_02_766914_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":["1331200050","1331200047","1331200046","1331200055","1331200043","1331200071"],"photo_ids_order":["1331200043","1331200046","1331200047","1331200050","1331200055","1331200071"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/64c3bc943e8c8d49e602010104576404.jpg","text":"TemporaryFile(/tmp/multipartBody8333807072643729157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772598587,"filename":"image_25012025_02_15_02_766914_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6b6f28068e1642486db86bcfbf4e821e.jpg","text":"TemporaryFile(/tmp/multipartBody4403587865456769276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772598587,"filename":"image_25012025_02_15_02_766914_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7abc104af908e5f2bbc416002172a726.jpg","text":"TemporaryFile(/tmp/multipartBody1116043098227436475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772598587,"filename":"image_25012025_02_14_02_272857_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5875e794fb19f1fc42bee5ecfc66cfac.jpg","text":"TemporaryFile(/tmp/multipartBody5179905651282861603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772598587,"filename":"image_25012025_02_15_02_766914_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c4239c38164372268937a609051caca9.jpg","text":"TemporaryFile(/tmp/multipartBody8794617244559443141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772598587,"filename":"image_25012025_02_14_02_272857_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2e9295a631e63c73e03300ef5c8d8671.jpg","text":"TemporaryFile(/tmp/multipartBody3850195116117758284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772598587,"filename":"image_25012025_02_15_02_766914_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331200047","file1":"1331200046","file0":"1331200043","file4":"1331200055","file5":"1331200071","file3":"1331200050"},"map_files_photo_id_array":[{"photo_id":"1331200071","filename":"file5"},{"photo_id":"1331200047","filename":"file2"},{"photo_id":"1331200055","filename":"file4"},{"photo_id":"1331200046","filename":"file1"},{"photo_id":"1331200043","filename":"file0"},{"photo_id":"1331200050","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331200050":["hashtag1","hashtag2"]},{"1331200047":["hashtag1","hashtag2"]},{"1331200046":["hashtag1","hashtag2"]},{"1331200055":["hashtag1","hashtag2"]},{"1331200043":["hashtag1","hashtag2"]},{"1331200071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331200050, 1331200047, 1331200046, 1331200055, 1331200043, 1331200071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.96115326881409 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:37:02.585305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/16/image_25012025_02_16_02_252283_0000.jpg', '/home/pi/Desktop/images/25012025/02/16/image_25012025_02_16_02_252283_0001.jpg', '/home/pi/Desktop/images/25012025/02/16/image_25012025_02_16_02_252283_0002.jpg', '/home/pi/Desktop/images/25012025/02/16/image_25012025_02_16_02_252283_0003.jpg', '/home/pi/Desktop/images/25012025/02/17/image_25012025_02_17_02_808230_0000.jpg', '/home/pi/Desktop/images/25012025/02/17/image_25012025_02_17_02_808230_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/16/image_25012025_02_16_02_252283_0000.jpg
/home/pi/Desktop/images/25012025/02/16/image_25012025_02_16_02_252283_0001.jpg
/home/pi/Desktop/images/25012025/02/16/image_25012025_02_16_02_252283_0002.jpg
/home/pi/Desktop/images/25012025/02/16/image_25012025_02_16_02_252283_0003.jpg
/home/pi/Desktop/images/25012025/02/17/image_25012025_02_17_02_808230_0000.jpg
/home/pi/Desktop/images/25012025/02/17/image_25012025_02_17_02_808230_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":["1331200548","1331200911","1331200536","1331200436","1331200699","1331200522"],"photo_ids_order":["1331200436","1331200522","1331200536","1331200548","1331200699","1331200911"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7be83246c4725c49c4ac88963cae4c7c.jpg","text":"TemporaryFile(/tmp/multipartBody4030854402523019086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772717641,"filename":"image_25012025_02_16_02_252283_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3ea0de57d6956420e4a8c872c3e28f71.jpg","text":"TemporaryFile(/tmp/multipartBody3256159608829457342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772717641,"filename":"image_25012025_02_17_02_808230_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/07513d740b31bf0df7875d135f3db692.jpg","text":"TemporaryFile(/tmp/multipartBody8735484936796546121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772717641,"filename":"image_25012025_02_16_02_252283_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fe4084effcd0401269953b9f281664e4.jpg","text":"TemporaryFile(/tmp/multipartBody3137724979941883825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772717641,"filename":"image_25012025_02_16_02_252283_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c18320fa1c0d0d11d8d1ac5600a6e5b1.jpg","text":"TemporaryFile(/tmp/multipartBody5191788513765614078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772717641,"filename":"image_25012025_02_17_02_808230_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/835b654354e72c12836882519d6a1bfb.jpg","text":"TemporaryFile(/tmp/multipartBody5628128339527805010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772717641,"filename":"image_25012025_02_16_02_252283_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331200536","file1":"1331200522","file0":"1331200436","file4":"1331200699","file5":"1331200911","file3":"1331200548"},"map_files_photo_id_array":[{"photo_id":"1331200911","filename":"file5"},{"photo_id":"1331200536","filename":"file2"},{"photo_id":"1331200699","filename":"file4"},{"photo_id":"1331200522","filename":"file1"},{"photo_id":"1331200436","filename":"file0"},{"photo_id":"1331200548","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331200548":["hashtag1","hashtag2"]},{"1331200911":["hashtag1","hashtag2"]},{"1331200536":["hashtag1","hashtag2"]},{"1331200436":["hashtag1","hashtag2"]},{"1331200699":["hashtag1","hashtag2"]},{"1331200522":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331200548, 1331200911, 1331200536, 1331200436, 1331200699, 1331200522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.19549131393433 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:39:02.834413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/17/image_25012025_02_17_02_808230_0002.jpg', '/home/pi/Desktop/images/25012025/02/17/image_25012025_02_17_02_808230_0003.jpg', '/home/pi/Desktop/images/25012025/02/18/image_25012025_02_18_02_274317_0000.jpg', '/home/pi/Desktop/images/25012025/02/18/image_25012025_02_18_02_274317_0001.jpg', '/home/pi/Desktop/images/25012025/02/18/image_25012025_02_18_02_274317_0002.jpg', '/home/pi/Desktop/images/25012025/02/18/image_25012025_02_18_02_274317_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/17/image_25012025_02_17_02_808230_0002.jpg
/home/pi/Desktop/images/25012025/02/17/image_25012025_02_17_02_808230_0003.jpg
/home/pi/Desktop/images/25012025/02/18/image_25012025_02_18_02_274317_0000.jpg
/home/pi/Desktop/images/25012025/02/18/image_25012025_02_18_02_274317_0001.jpg
/home/pi/Desktop/images/25012025/02/18/image_25012025_02_18_02_274317_0002.jpg
/home/pi/Desktop/images/25012025/02/18/image_25012025_02_18_02_274317_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":["1331202308","1331202008","1331202364","1331202375","1331202435","1331202167"],"photo_ids_order":["1331202008","1331202167","1331202308","1331202364","1331202375","1331202435"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9c9c4d7fd4380bf8458b4aff688faaa6.jpg","text":"TemporaryFile(/tmp/multipartBody834186688321933876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772852309,"filename":"image_25012025_02_18_02_274317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c7c0e9476df6d89e66c468c33863f081.jpg","text":"TemporaryFile(/tmp/multipartBody4460513139524467791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772852309,"filename":"image_25012025_02_17_02_808230_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9f0641dd749ac16ca23cd21cae8dd5a0.jpg","text":"TemporaryFile(/tmp/multipartBody6348509594421704590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772852309,"filename":"image_25012025_02_18_02_274317_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/47fa8bfde8e46b7984315cdeb37d899a.jpg","text":"TemporaryFile(/tmp/multipartBody8919275965853553941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772852309,"filename":"image_25012025_02_18_02_274317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/12e831949a856bde08ef83827b26069c.jpg","text":"TemporaryFile(/tmp/multipartBody9093110690022245077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772852309,"filename":"image_25012025_02_18_02_274317_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d1e8eef68c167e5b6a2bdd2961747c56.jpg","text":"TemporaryFile(/tmp/multipartBody8102303494207399871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772852309,"filename":"image_25012025_02_17_02_808230_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331202308","file1":"1331202167","file0":"1331202008","file4":"1331202375","file5":"1331202435","file3":"1331202364"},"map_files_photo_id_array":[{"photo_id":"1331202435","filename":"file5"},{"photo_id":"1331202308","filename":"file2"},{"photo_id":"1331202375","filename":"file4"},{"photo_id":"1331202167","filename":"file1"},{"photo_id":"1331202008","filename":"file0"},{"photo_id":"1331202364","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331202308":["hashtag1","hashtag2"]},{"1331202008":["hashtag1","hashtag2"]},{"1331202364":["hashtag1","hashtag2"]},{"1331202375":["hashtag1","hashtag2"]},{"1331202435":["hashtag1","hashtag2"]},{"1331202167":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331202308, 1331202008, 1331202364, 1331202375, 1331202435, 1331202167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 112.88840222358704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:41:02.883837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/19/image_25012025_02_19_02_780817_0000.jpg', '/home/pi/Desktop/images/25012025/02/19/image_25012025_02_19_02_780817_0001.jpg', '/home/pi/Desktop/images/25012025/02/19/image_25012025_02_19_02_780817_0002.jpg', '/home/pi/Desktop/images/25012025/02/19/image_25012025_02_19_02_780817_0003.jpg', '/home/pi/Desktop/images/25012025/02/20/image_25012025_02_20_02_334983_0000.jpg', '/home/pi/Desktop/images/25012025/02/20/image_25012025_02_20_02_334983_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/19/image_25012025_02_19_02_780817_0000.jpg
/home/pi/Desktop/images/25012025/02/19/image_25012025_02_19_02_780817_0001.jpg
/home/pi/Desktop/images/25012025/02/19/image_25012025_02_19_02_780817_0002.jpg
/home/pi/Desktop/images/25012025/02/19/image_25012025_02_19_02_780817_0003.jpg
/home/pi/Desktop/images/25012025/02/20/image_25012025_02_20_02_334983_0000.jpg
/home/pi/Desktop/images/25012025/02/20/image_25012025_02_20_02_334983_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":["1331202812","1331202898","1331202667","1331202792","1331202876","1331202741"],"photo_ids_order":["1331202667","1331202741","1331202792","1331202812","1331202876","1331202898"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3ed74af44277c6a69473c98513e7469b.jpg","text":"TemporaryFile(/tmp/multipartBody3822470184146465119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772957230,"filename":"image_25012025_02_19_02_780817_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3a44217fb8583f805c893a2cf6c7e8ef.jpg","text":"TemporaryFile(/tmp/multipartBody7809632278251660872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772957230,"filename":"image_25012025_02_20_02_334983_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2a4a3efb641d97dd563f93685a22c761.jpg","text":"TemporaryFile(/tmp/multipartBody1245012985648904777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772957230,"filename":"image_25012025_02_19_02_780817_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d6f61a10228879cc5ceb5733542d2bcf.jpg","text":"TemporaryFile(/tmp/multipartBody7453112727718362217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772957230,"filename":"image_25012025_02_19_02_780817_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c471968e70b7a938afb3131e8e6926dc.jpg","text":"TemporaryFile(/tmp/multipartBody1343682871478543450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772957230,"filename":"image_25012025_02_20_02_334983_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/597a26626c4bc515c3199febfe9c3316.jpg","text":"TemporaryFile(/tmp/multipartBody8583422285153962274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737772957230,"filename":"image_25012025_02_19_02_780817_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331202792","file1":"1331202741","file0":"1331202667","file4":"1331202876","file5":"1331202898","file3":"1331202812"},"map_files_photo_id_array":[{"photo_id":"1331202898","filename":"file5"},{"photo_id":"1331202792","filename":"file2"},{"photo_id":"1331202876","filename":"file4"},{"photo_id":"1331202741","filename":"file1"},{"photo_id":"1331202667","filename":"file0"},{"photo_id":"1331202812","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331202812":["hashtag1","hashtag2"]},{"1331202898":["hashtag1","hashtag2"]},{"1331202667":["hashtag1","hashtag2"]},{"1331202792":["hashtag1","hashtag2"]},{"1331202876":["hashtag1","hashtag2"]},{"1331202741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331202812, 1331202898, 1331202667, 1331202792, 1331202876, 1331202741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.80973029136658 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:43:03.204435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/20/image_25012025_02_20_02_334983_0002.jpg', '/home/pi/Desktop/images/25012025/02/20/image_25012025_02_20_02_334983_0003.jpg', '/home/pi/Desktop/images/25012025/02/21/image_25012025_02_21_03_039432_0000.jpg', '/home/pi/Desktop/images/25012025/02/21/image_25012025_02_21_03_039432_0001.jpg', '/home/pi/Desktop/images/25012025/02/21/image_25012025_02_21_03_039432_0002.jpg', '/home/pi/Desktop/images/25012025/02/21/image_25012025_02_21_03_039432_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/20/image_25012025_02_20_02_334983_0002.jpg
/home/pi/Desktop/images/25012025/02/20/image_25012025_02_20_02_334983_0003.jpg
/home/pi/Desktop/images/25012025/02/21/image_25012025_02_21_03_039432_0000.jpg
/home/pi/Desktop/images/25012025/02/21/image_25012025_02_21_03_039432_0001.jpg
/home/pi/Desktop/images/25012025/02/21/image_25012025_02_21_03_039432_0002.jpg
/home/pi/Desktop/images/25012025/02/21/image_25012025_02_21_03_039432_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":["1331203182","1331203185","1331203233","1331203178","1331203241","1331203223"],"photo_ids_order":["1331203178","1331203182","1331203185","1331203223","1331203233","1331203241"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7ae1cc25c60efd1daf5a4d63e71afc1a.jpg","text":"TemporaryFile(/tmp/multipartBody2376192158174659402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773079393,"filename":"image_25012025_02_20_02_334983_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c01d255acbc7f4b887f92857c1bf250f.jpg","text":"TemporaryFile(/tmp/multipartBody8279990255918468084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773079393,"filename":"image_25012025_02_21_03_039432_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5ed951750285e91362029655ce652fbf.jpg","text":"TemporaryFile(/tmp/multipartBody2771084800327860842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773079393,"filename":"image_25012025_02_21_03_039432_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a619150cc3a889d9f7424dbede0c949b.jpg","text":"TemporaryFile(/tmp/multipartBody8061076581388490921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773079393,"filename":"image_25012025_02_20_02_334983_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/01788ab429386f5174822ae16ad9f55d.jpg","text":"TemporaryFile(/tmp/multipartBody8456150810213409971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773079393,"filename":"image_25012025_02_21_03_039432_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/16b0e9b94cc013bd2635efa0d9d9be59.jpg","text":"TemporaryFile(/tmp/multipartBody4546281398605247929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773079393,"filename":"image_25012025_02_21_03_039432_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331203185","file1":"1331203182","file0":"1331203178","file4":"1331203233","file5":"1331203241","file3":"1331203223"},"map_files_photo_id_array":[{"photo_id":"1331203241","filename":"file5"},{"photo_id":"1331203185","filename":"file2"},{"photo_id":"1331203233","filename":"file4"},{"photo_id":"1331203182","filename":"file1"},{"photo_id":"1331203178","filename":"file0"},{"photo_id":"1331203223","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331203182":["hashtag1","hashtag2"]},{"1331203185":["hashtag1","hashtag2"]},{"1331203233":["hashtag1","hashtag2"]},{"1331203178":["hashtag1","hashtag2"]},{"1331203241":["hashtag1","hashtag2"]},{"1331203223":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331203182, 1331203185, 1331203233, 1331203178, 1331203241, 1331203223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.35033631324768 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:45:03.327589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/22/image_25012025_02_22_02_669290_0000.jpg', '/home/pi/Desktop/images/25012025/02/22/image_25012025_02_22_02_669290_0001.jpg', '/home/pi/Desktop/images/25012025/02/22/image_25012025_02_22_02_669290_0002.jpg', '/home/pi/Desktop/images/25012025/02/22/image_25012025_02_22_02_669290_0003.jpg', '/home/pi/Desktop/images/25012025/02/23/image_25012025_02_23_02_130918_0000.jpg', '/home/pi/Desktop/images/25012025/02/23/image_25012025_02_23_02_130918_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/22/image_25012025_02_22_02_669290_0000.jpg
/home/pi/Desktop/images/25012025/02/22/image_25012025_02_22_02_669290_0001.jpg
/home/pi/Desktop/images/25012025/02/22/image_25012025_02_22_02_669290_0002.jpg
/home/pi/Desktop/images/25012025/02/22/image_25012025_02_22_02_669290_0003.jpg
/home/pi/Desktop/images/25012025/02/23/image_25012025_02_23_02_130918_0000.jpg
/home/pi/Desktop/images/25012025/02/23/image_25012025_02_23_02_130918_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":["1331203395","1331203302","1331203305","1331203646","1331203298","1331203910"],"photo_ids_order":["1331203298","1331203302","1331203305","1331203395","1331203646","1331203910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f142c36bfbfc496c089e0ed1f8f226a1.jpg","text":"TemporaryFile(/tmp/multipartBody3331206947189440508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773193332,"filename":"image_25012025_02_22_02_669290_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b2b396af2427ce576a71ba55c10bd57a.jpg","text":"TemporaryFile(/tmp/multipartBody5199746612633457867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773193332,"filename":"image_25012025_02_22_02_669290_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7b0df600eae8802951bba19b0021754d.jpg","text":"TemporaryFile(/tmp/multipartBody6581987922074182496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773193332,"filename":"image_25012025_02_22_02_669290_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4c025f2050020de710d4e1d0689897a8.jpg","text":"TemporaryFile(/tmp/multipartBody2293361298294643867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773193332,"filename":"image_25012025_02_23_02_130918_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/db6b84d0522086d9f11fb9832d490a40.jpg","text":"TemporaryFile(/tmp/multipartBody409241195437429237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773193332,"filename":"image_25012025_02_22_02_669290_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/967f14d364d10dab87070617a84e30d0.jpg","text":"TemporaryFile(/tmp/multipartBody4999150028278831084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773193332,"filename":"image_25012025_02_23_02_130918_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331203305","file1":"1331203302","file0":"1331203298","file4":"1331203646","file5":"1331203910","file3":"1331203395"},"map_files_photo_id_array":[{"photo_id":"1331203910","filename":"file5"},{"photo_id":"1331203305","filename":"file2"},{"photo_id":"1331203646","filename":"file4"},{"photo_id":"1331203302","filename":"file1"},{"photo_id":"1331203298","filename":"file0"},{"photo_id":"1331203395","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331203395":["hashtag1","hashtag2"]},{"1331203302":["hashtag1","hashtag2"]},{"1331203305":["hashtag1","hashtag2"]},{"1331203646":["hashtag1","hashtag2"]},{"1331203298":["hashtag1","hashtag2"]},{"1331203910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331203395, 1331203302, 1331203305, 1331203646, 1331203298, 1331203910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.14760756492615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:47:03.322042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/23/image_25012025_02_23_02_130918_0002.jpg', '/home/pi/Desktop/images/25012025/02/23/image_25012025_02_23_02_130918_0003.jpg', '/home/pi/Desktop/images/25012025/02/24/image_25012025_02_24_02_662130_0000.jpg', '/home/pi/Desktop/images/25012025/02/24/image_25012025_02_24_02_662130_0001.jpg', '/home/pi/Desktop/images/25012025/02/24/image_25012025_02_24_02_662130_0002.jpg', '/home/pi/Desktop/images/25012025/02/24/image_25012025_02_24_02_662130_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/23/image_25012025_02_23_02_130918_0002.jpg
/home/pi/Desktop/images/25012025/02/23/image_25012025_02_23_02_130918_0003.jpg
/home/pi/Desktop/images/25012025/02/24/image_25012025_02_24_02_662130_0000.jpg
/home/pi/Desktop/images/25012025/02/24/image_25012025_02_24_02_662130_0001.jpg
/home/pi/Desktop/images/25012025/02/24/image_25012025_02_24_02_662130_0002.jpg
/home/pi/Desktop/images/25012025/02/24/image_25012025_02_24_02_662130_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":["1331204209","1331204230","1331204212","1331204226","1331204220","1331204216"],"photo_ids_order":["1331204209","1331204212","1331204216","1331204220","1331204226","1331204230"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a594b72f9e847a221d05eda1fa1ccf22.jpg","text":"TemporaryFile(/tmp/multipartBody6664503726636101773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773330729,"filename":"image_25012025_02_23_02_130918_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8479ee96a2059a84da3cf3cf57ca4b8b.jpg","text":"TemporaryFile(/tmp/multipartBody151623948174513937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773330729,"filename":"image_25012025_02_24_02_662130_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/739cf6e3b4cfcbc45472b928ff3f1382.jpg","text":"TemporaryFile(/tmp/multipartBody6280073973018509055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773330729,"filename":"image_25012025_02_23_02_130918_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e05d24a447159f0e54e683838e3c81b1.jpg","text":"TemporaryFile(/tmp/multipartBody1172272753410065685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773330729,"filename":"image_25012025_02_24_02_662130_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/13a3c73cb7e95137450ccd2d9c8092c7.jpg","text":"TemporaryFile(/tmp/multipartBody8901299817789814325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773330729,"filename":"image_25012025_02_24_02_662130_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/99bc9dafe5886a1bd4a588f0cc6b43a0.jpg","text":"TemporaryFile(/tmp/multipartBody1964754509850344019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773330729,"filename":"image_25012025_02_24_02_662130_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331204216","file1":"1331204212","file0":"1331204209","file4":"1331204226","file5":"1331204230","file3":"1331204220"},"map_files_photo_id_array":[{"photo_id":"1331204230","filename":"file5"},{"photo_id":"1331204216","filename":"file2"},{"photo_id":"1331204226","filename":"file4"},{"photo_id":"1331204212","filename":"file1"},{"photo_id":"1331204209","filename":"file0"},{"photo_id":"1331204220","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331204209":["hashtag1","hashtag2"]},{"1331204230":["hashtag1","hashtag2"]},{"1331204212":["hashtag1","hashtag2"]},{"1331204226":["hashtag1","hashtag2"]},{"1331204220":["hashtag1","hashtag2"]},{"1331204216":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331204209, 1331204230, 1331204212, 1331204226, 1331204220, 1331204216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.17988896369934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:49:02.723434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/25/image_25012025_02_25_02_421771_0000.jpg', '/home/pi/Desktop/images/25012025/02/25/image_25012025_02_25_02_421771_0001.jpg', '/home/pi/Desktop/images/25012025/02/25/image_25012025_02_25_02_421771_0002.jpg', '/home/pi/Desktop/images/25012025/02/25/image_25012025_02_25_02_421771_0003.jpg', '/home/pi/Desktop/images/25012025/02/26/image_25012025_02_26_02_995755_0000.jpg', '/home/pi/Desktop/images/25012025/02/26/image_25012025_02_26_02_995755_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/25/image_25012025_02_25_02_421771_0000.jpg
/home/pi/Desktop/images/25012025/02/25/image_25012025_02_25_02_421771_0001.jpg
/home/pi/Desktop/images/25012025/02/25/image_25012025_02_25_02_421771_0002.jpg
/home/pi/Desktop/images/25012025/02/25/image_25012025_02_25_02_421771_0003.jpg
/home/pi/Desktop/images/25012025/02/26/image_25012025_02_26_02_995755_0000.jpg
/home/pi/Desktop/images/25012025/02/26/image_25012025_02_26_02_995755_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":["1331205564","1331205402","1331204967","1331205077","1331205193","1331205658"],"photo_ids_order":["1331204967","1331205077","1331205193","1331205402","1331205564","1331205658"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dee490b4087b1bb8392870623a65c7cc.jpg","text":"TemporaryFile(/tmp/multipartBody5995753286586034967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773440654,"filename":"image_25012025_02_26_02_995755_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b975f29c145028c953357a05631540a2.jpg","text":"TemporaryFile(/tmp/multipartBody7536280335274313227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773440654,"filename":"image_25012025_02_25_02_421771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c781f1b436f29b2b723469382d95155.jpg","text":"TemporaryFile(/tmp/multipartBody1186935518662524598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773440654,"filename":"image_25012025_02_25_02_421771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/06f27b00f74cac4e597b512637a50c22.jpg","text":"TemporaryFile(/tmp/multipartBody8324100892322582054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773440654,"filename":"image_25012025_02_25_02_421771_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bf945f0300700951ddd1e6922652f082.jpg","text":"TemporaryFile(/tmp/multipartBody4714749139517532667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773440654,"filename":"image_25012025_02_25_02_421771_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/30bddddf9515bbe02a4791c76c35d442.jpg","text":"TemporaryFile(/tmp/multipartBody3335270527999645203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773440654,"filename":"image_25012025_02_26_02_995755_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331205193","file1":"1331205077","file0":"1331204967","file4":"1331205564","file5":"1331205658","file3":"1331205402"},"map_files_photo_id_array":[{"photo_id":"1331205658","filename":"file5"},{"photo_id":"1331205193","filename":"file2"},{"photo_id":"1331205564","filename":"file4"},{"photo_id":"1331205077","filename":"file1"},{"photo_id":"1331204967","filename":"file0"},{"photo_id":"1331205402","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331205564":["hashtag1","hashtag2"]},{"1331205402":["hashtag1","hashtag2"]},{"1331204967":["hashtag1","hashtag2"]},{"1331205077":["hashtag1","hashtag2"]},{"1331205193":["hashtag1","hashtag2"]},{"1331205658":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331205564, 1331205402, 1331204967, 1331205077, 1331205193, 1331205658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.69370126724243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:51:02.745685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/26/image_25012025_02_26_02_995755_0002.jpg', '/home/pi/Desktop/images/25012025/02/26/image_25012025_02_26_02_995755_0003.jpg', '/home/pi/Desktop/images/25012025/02/27/image_25012025_02_27_02_564243_0000.jpg', '/home/pi/Desktop/images/25012025/02/27/image_25012025_02_27_02_564243_0001.jpg', '/home/pi/Desktop/images/25012025/02/27/image_25012025_02_27_02_564243_0002.jpg', '/home/pi/Desktop/images/25012025/02/27/image_25012025_02_27_02_564243_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/26/image_25012025_02_26_02_995755_0002.jpg
/home/pi/Desktop/images/25012025/02/26/image_25012025_02_26_02_995755_0003.jpg
/home/pi/Desktop/images/25012025/02/27/image_25012025_02_27_02_564243_0000.jpg
/home/pi/Desktop/images/25012025/02/27/image_25012025_02_27_02_564243_0001.jpg
/home/pi/Desktop/images/25012025/02/27/image_25012025_02_27_02_564243_0002.jpg
/home/pi/Desktop/images/25012025/02/27/image_25012025_02_27_02_564243_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":["1331206131","1331206139","1331206226","1331206096","1331206135","1331205993"],"photo_ids_order":["1331205993","1331206096","1331206131","1331206135","1331206139","1331206226"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cdc6e8c3d2fde14805b2975fc76bb2be.jpg","text":"TemporaryFile(/tmp/multipartBody5444698454166797877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773564900,"filename":"image_25012025_02_27_02_564243_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ca67455986edf4d891626776c06577f7.jpg","text":"TemporaryFile(/tmp/multipartBody7584119753611220268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773564900,"filename":"image_25012025_02_27_02_564243_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3a3f79d8a28df5d5d6b72bc4856cb593.jpg","text":"TemporaryFile(/tmp/multipartBody6896874712221819968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773564900,"filename":"image_25012025_02_27_02_564243_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8160fa00a98e2ff64c6d4ffab58e3974.jpg","text":"TemporaryFile(/tmp/multipartBody5499152216373247901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773564900,"filename":"image_25012025_02_26_02_995755_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0d08ef441a89bef1970228ffe8f7ab9c.jpg","text":"TemporaryFile(/tmp/multipartBody1520395293814504462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773564900,"filename":"image_25012025_02_27_02_564243_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/290db5e8943c99177d747f2dbacf11ed.jpg","text":"TemporaryFile(/tmp/multipartBody5999884399077336699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773564900,"filename":"image_25012025_02_26_02_995755_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331206131","file1":"1331206096","file0":"1331205993","file4":"1331206139","file5":"1331206226","file3":"1331206135"},"map_files_photo_id_array":[{"photo_id":"1331206226","filename":"file5"},{"photo_id":"1331206131","filename":"file2"},{"photo_id":"1331206139","filename":"file4"},{"photo_id":"1331206096","filename":"file1"},{"photo_id":"1331205993","filename":"file0"},{"photo_id":"1331206135","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331206131":["hashtag1","hashtag2"]},{"1331206139":["hashtag1","hashtag2"]},{"1331206226":["hashtag1","hashtag2"]},{"1331206096":["hashtag1","hashtag2"]},{"1331206135":["hashtag1","hashtag2"]},{"1331205993":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331206131, 1331206139, 1331206226, 1331206096, 1331206135, 1331205993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.42036151885986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:53:03.066440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/28/image_25012025_02_28_03_059906_0000.jpg', '/home/pi/Desktop/images/25012025/02/28/image_25012025_02_28_03_059906_0001.jpg', '/home/pi/Desktop/images/25012025/02/28/image_25012025_02_28_03_059906_0002.jpg', '/home/pi/Desktop/images/25012025/02/28/image_25012025_02_28_03_059906_0003.jpg', '/home/pi/Desktop/images/25012025/02/29/image_25012025_02_29_02_874906_0000.jpg', '/home/pi/Desktop/images/25012025/02/29/image_25012025_02_29_02_874906_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/28/image_25012025_02_28_03_059906_0000.jpg
/home/pi/Desktop/images/25012025/02/28/image_25012025_02_28_03_059906_0001.jpg
/home/pi/Desktop/images/25012025/02/28/image_25012025_02_28_03_059906_0002.jpg
/home/pi/Desktop/images/25012025/02/28/image_25012025_02_28_03_059906_0003.jpg
/home/pi/Desktop/images/25012025/02/29/image_25012025_02_29_02_874906_0000.jpg
/home/pi/Desktop/images/25012025/02/29/image_25012025_02_29_02_874906_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":["1331207153","1331207165","1331207173","1331207131","1331206936","1331207157"],"photo_ids_order":["1331206936","1331207131","1331207153","1331207157","1331207165","1331207173"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0e2a357bf130e5070f91063b703107df.jpg","text":"TemporaryFile(/tmp/multipartBody278323220317640168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773681901,"filename":"image_25012025_02_28_03_059906_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e51e08e123e89dcd989704ff67463b78.jpg","text":"TemporaryFile(/tmp/multipartBody7400888241444806413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773681901,"filename":"image_25012025_02_29_02_874906_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c9bbe8be7a131fbab2b1560818e2834c.jpg","text":"TemporaryFile(/tmp/multipartBody8504884417410046580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773681901,"filename":"image_25012025_02_29_02_874906_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1b38750ff860fbe93eba921eccce4111.jpg","text":"TemporaryFile(/tmp/multipartBody835247975185622643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773681901,"filename":"image_25012025_02_28_03_059906_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0e1abe1312094ef059ded81a27fd79b0.jpg","text":"TemporaryFile(/tmp/multipartBody6085232028518801436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773681901,"filename":"image_25012025_02_28_03_059906_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e21cf142023eab26e3e2cd6982b28f65.jpg","text":"TemporaryFile(/tmp/multipartBody999472022388743705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773681901,"filename":"image_25012025_02_28_03_059906_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331207153","file1":"1331207131","file0":"1331206936","file4":"1331207165","file5":"1331207173","file3":"1331207157"},"map_files_photo_id_array":[{"photo_id":"1331207173","filename":"file5"},{"photo_id":"1331207153","filename":"file2"},{"photo_id":"1331207165","filename":"file4"},{"photo_id":"1331207131","filename":"file1"},{"photo_id":"1331206936","filename":"file0"},{"photo_id":"1331207157","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331207153":["hashtag1","hashtag2"]},{"1331207165":["hashtag1","hashtag2"]},{"1331207173":["hashtag1","hashtag2"]},{"1331207131":["hashtag1","hashtag2"]},{"1331206936":["hashtag1","hashtag2"]},{"1331207157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331207153, 1331207165, 1331207173, 1331207131, 1331206936, 1331207157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.87958312034607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:55:03.226995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/29/image_25012025_02_29_02_874906_0002.jpg', '/home/pi/Desktop/images/25012025/02/29/image_25012025_02_29_02_874906_0003.jpg', '/home/pi/Desktop/images/25012025/02/30/image_25012025_02_30_02_358367_0000.jpg', '/home/pi/Desktop/images/25012025/02/30/image_25012025_02_30_02_358367_0001.jpg', '/home/pi/Desktop/images/25012025/02/30/image_25012025_02_30_02_358367_0002.jpg', '/home/pi/Desktop/images/25012025/02/30/image_25012025_02_30_02_358367_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/29/image_25012025_02_29_02_874906_0002.jpg
/home/pi/Desktop/images/25012025/02/29/image_25012025_02_29_02_874906_0003.jpg
/home/pi/Desktop/images/25012025/02/30/image_25012025_02_30_02_358367_0000.jpg
/home/pi/Desktop/images/25012025/02/30/image_25012025_02_30_02_358367_0001.jpg
/home/pi/Desktop/images/25012025/02/30/image_25012025_02_30_02_358367_0002.jpg
/home/pi/Desktop/images/25012025/02/30/image_25012025_02_30_02_358367_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":["1331207881","1331207839","1331207889","1331207898","1331207790","1331207870"],"photo_ids_order":["1331207790","1331207839","1331207870","1331207881","1331207889","1331207898"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/77e2ec8c618b58329e01bb90eedf899e.jpg","text":"TemporaryFile(/tmp/multipartBody8124212597294812726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773805832,"filename":"image_25012025_02_30_02_358367_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7db1dca4e64a8bb61246371180e478b8.jpg","text":"TemporaryFile(/tmp/multipartBody8400438207534044843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773805832,"filename":"image_25012025_02_29_02_874906_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6eb62f7ad3bd2485d86b5035bb2d5c3b.jpg","text":"TemporaryFile(/tmp/multipartBody3272699707231227365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773805832,"filename":"image_25012025_02_30_02_358367_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b6515f47a036948ae97982519bb61bc9.jpg","text":"TemporaryFile(/tmp/multipartBody1975119049057656968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773805832,"filename":"image_25012025_02_30_02_358367_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/912b46144977f0e5bafa7f2e1821baa6.jpg","text":"TemporaryFile(/tmp/multipartBody7802630959617121433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773805832,"filename":"image_25012025_02_29_02_874906_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0a8b98e742738bd2623b5ed2cb693526.jpg","text":"TemporaryFile(/tmp/multipartBody2550009873665320868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737773805832,"filename":"image_25012025_02_30_02_358367_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331207870","file1":"1331207839","file0":"1331207790","file4":"1331207889","file5":"1331207898","file3":"1331207881"},"map_files_photo_id_array":[{"photo_id":"1331207898","filename":"file5"},{"photo_id":"1331207870","filename":"file2"},{"photo_id":"1331207889","filename":"file4"},{"photo_id":"1331207839","filename":"file1"},{"photo_id":"1331207790","filename":"file0"},{"photo_id":"1331207881","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331207881":["hashtag1","hashtag2"]},{"1331207839":["hashtag1","hashtag2"]},{"1331207889":["hashtag1","hashtag2"]},{"1331207898":["hashtag1","hashtag2"]},{"1331207790":["hashtag1","hashtag2"]},{"1331207870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331207881, 1331207839, 1331207889, 1331207898, 1331207790, 1331207870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.53871703147888 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 03:57:02.294131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/31/image_25012025_02_31_03_036634_0000.jpg', '/home/pi/Desktop/images/25012025/02/31/image_25012025_02_31_03_036634_0001.jpg', '/home/pi/Desktop/images/25012025/02/31/image_25012025_02_31_03_036634_0002.jpg', '/home/pi/Desktop/images/25012025/02/31/image_25012025_02_31_03_036634_0003.jpg', '/home/pi/Desktop/images/25012025/02/32/image_25012025_02_32_02_579099_0000.jpg', '/home/pi/Desktop/images/25012025/02/32/image_25012025_02_32_02_579099_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/31/image_25012025_02_31_03_036634_0000.jpg
/home/pi/Desktop/images/25012025/02/31/image_25012025_02_31_03_036634_0001.jpg
/home/pi/Desktop/images/25012025/02/31/image_25012025_02_31_03_036634_0002.jpg
/home/pi/Desktop/images/25012025/02/31/image_25012025_02_31_03_036634_0003.jpg
/home/pi/Desktop/images/25012025/02/32/image_25012025_02_32_02_579099_0000.jpg
/home/pi/Desktop/images/25012025/02/32/image_25012025_02_32_02_579099_0001.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-25 03:59:03.126925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/31/image_25012025_02_31_03_036634_0000.jpg', '/home/pi/Desktop/images/25012025/02/31/image_25012025_02_31_03_036634_0001.jpg', '/home/pi/Desktop/images/25012025/02/31/image_25012025_02_31_03_036634_0002.jpg', '/home/pi/Desktop/images/25012025/02/31/image_25012025_02_31_03_036634_0003.jpg', '/home/pi/Desktop/images/25012025/02/32/image_25012025_02_32_02_579099_0000.jpg', '/home/pi/Desktop/images/25012025/02/32/image_25012025_02_32_02_579099_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/31/image_25012025_02_31_03_036634_0000.jpg
/home/pi/Desktop/images/25012025/02/31/image_25012025_02_31_03_036634_0001.jpg
/home/pi/Desktop/images/25012025/02/31/image_25012025_02_31_03_036634_0002.jpg
/home/pi/Desktop/images/25012025/02/31/image_25012025_02_31_03_036634_0003.jpg
/home/pi/Desktop/images/25012025/02/32/image_25012025_02_32_02_579099_0000.jpg
/home/pi/Desktop/images/25012025/02/32/image_25012025_02_32_02_579099_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":["1331208122","1331208091","1331208135","1331208114","1331208102","1331208140"],"photo_ids_order":["1331208091","1331208102","1331208114","1331208122","1331208135","1331208140"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1497e11d7994b76f02a4dd032821c91c.jpg","text":"TemporaryFile(/tmp/multipartBody3369937606892356938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774047688,"filename":"image_25012025_02_31_03_036634_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9d563a7baf60ffddb73dbc3c6df96424.jpg","text":"TemporaryFile(/tmp/multipartBody3936586801424421931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774047688,"filename":"image_25012025_02_31_03_036634_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/059efa9aa795da009c673d0b62e27051.jpg","text":"TemporaryFile(/tmp/multipartBody1018155094364037509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774047688,"filename":"image_25012025_02_32_02_579099_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4ec1e0ec29edb0d0be711910770acb35.jpg","text":"TemporaryFile(/tmp/multipartBody1800530019920182285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774047688,"filename":"image_25012025_02_31_03_036634_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b5310c748c670e5b48ee6ec39573c72.jpg","text":"TemporaryFile(/tmp/multipartBody6342164823196117036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774047688,"filename":"image_25012025_02_31_03_036634_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2a53db44ec2549d4b82a753a5be9e433.jpg","text":"TemporaryFile(/tmp/multipartBody5816030954626376448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774047688,"filename":"image_25012025_02_32_02_579099_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331208114","file1":"1331208102","file0":"1331208091","file4":"1331208135","file5":"1331208140","file3":"1331208122"},"map_files_photo_id_array":[{"photo_id":"1331208140","filename":"file5"},{"photo_id":"1331208114","filename":"file2"},{"photo_id":"1331208135","filename":"file4"},{"photo_id":"1331208102","filename":"file1"},{"photo_id":"1331208091","filename":"file0"},{"photo_id":"1331208122","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331208122":["hashtag1","hashtag2"]},{"1331208091":["hashtag1","hashtag2"]},{"1331208135":["hashtag1","hashtag2"]},{"1331208114":["hashtag1","hashtag2"]},{"1331208102":["hashtag1","hashtag2"]},{"1331208140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331208122, 1331208091, 1331208135, 1331208114, 1331208102, 1331208140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.5814061164856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:01:03.076043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/32/image_25012025_02_32_02_579099_0002.jpg', '/home/pi/Desktop/images/25012025/02/32/image_25012025_02_32_02_579099_0003.jpg', '/home/pi/Desktop/images/25012025/02/33/image_25012025_02_33_03_064929_0000.jpg', '/home/pi/Desktop/images/25012025/02/33/image_25012025_02_33_03_064929_0001.jpg', '/home/pi/Desktop/images/25012025/02/33/image_25012025_02_33_03_064929_0002.jpg', '/home/pi/Desktop/images/25012025/02/33/image_25012025_02_33_03_064929_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/32/image_25012025_02_32_02_579099_0002.jpg
/home/pi/Desktop/images/25012025/02/32/image_25012025_02_32_02_579099_0003.jpg
/home/pi/Desktop/images/25012025/02/33/image_25012025_02_33_03_064929_0000.jpg
/home/pi/Desktop/images/25012025/02/33/image_25012025_02_33_03_064929_0001.jpg
/home/pi/Desktop/images/25012025/02/33/image_25012025_02_33_03_064929_0002.jpg
/home/pi/Desktop/images/25012025/02/33/image_25012025_02_33_03_064929_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":["1331208175","1331208183","1331208171","1331208195","1331208189","1331208179"],"photo_ids_order":["1331208171","1331208175","1331208179","1331208183","1331208189","1331208195"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/18e569b239f6ba3c5582b6056c59f71e.jpg","text":"TemporaryFile(/tmp/multipartBody4904049055466785275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774156421,"filename":"image_25012025_02_32_02_579099_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/14bb0b7bfd09212eeb51894e5e3a73bd.jpg","text":"TemporaryFile(/tmp/multipartBody3573167200155888241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774156421,"filename":"image_25012025_02_33_03_064929_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/097b903a39c00ed84c700dbedf1b9fc7.jpg","text":"TemporaryFile(/tmp/multipartBody5874437579568958094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774156421,"filename":"image_25012025_02_32_02_579099_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a2f8507ef3b3d046aa759024dc7fe942.jpg","text":"TemporaryFile(/tmp/multipartBody8019083466570777922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774156421,"filename":"image_25012025_02_33_03_064929_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/adf10fd72594b1f59ae0a14c609ebced.jpg","text":"TemporaryFile(/tmp/multipartBody580471152004044692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774156421,"filename":"image_25012025_02_33_03_064929_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f82cf4f7564d106071eb59bce8fd5f27.jpg","text":"TemporaryFile(/tmp/multipartBody7135610645017024623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774156421,"filename":"image_25012025_02_33_03_064929_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331208179","file1":"1331208175","file0":"1331208171","file4":"1331208189","file5":"1331208195","file3":"1331208183"},"map_files_photo_id_array":[{"photo_id":"1331208195","filename":"file5"},{"photo_id":"1331208179","filename":"file2"},{"photo_id":"1331208189","filename":"file4"},{"photo_id":"1331208175","filename":"file1"},{"photo_id":"1331208171","filename":"file0"},{"photo_id":"1331208183","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331208175":["hashtag1","hashtag2"]},{"1331208183":["hashtag1","hashtag2"]},{"1331208171":["hashtag1","hashtag2"]},{"1331208195":["hashtag1","hashtag2"]},{"1331208189":["hashtag1","hashtag2"]},{"1331208179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331208175, 1331208183, 1331208171, 1331208195, 1331208189, 1331208179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.87911176681519 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:03:03.248097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/34/image_25012025_02_34_02_551672_0000.jpg', '/home/pi/Desktop/images/25012025/02/34/image_25012025_02_34_02_551672_0001.jpg', '/home/pi/Desktop/images/25012025/02/34/image_25012025_02_34_02_551672_0002.jpg', '/home/pi/Desktop/images/25012025/02/34/image_25012025_02_34_02_551672_0003.jpg', '/home/pi/Desktop/images/25012025/02/35/image_25012025_02_35_03_067590_0000.jpg', '/home/pi/Desktop/images/25012025/02/35/image_25012025_02_35_03_067590_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/34/image_25012025_02_34_02_551672_0000.jpg
/home/pi/Desktop/images/25012025/02/34/image_25012025_02_34_02_551672_0001.jpg
/home/pi/Desktop/images/25012025/02/34/image_25012025_02_34_02_551672_0002.jpg
/home/pi/Desktop/images/25012025/02/34/image_25012025_02_34_02_551672_0003.jpg
/home/pi/Desktop/images/25012025/02/35/image_25012025_02_35_03_067590_0000.jpg
/home/pi/Desktop/images/25012025/02/35/image_25012025_02_35_03_067590_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":["1331208404","1331208271","1331208301","1331208264","1331208288","1331208267"],"photo_ids_order":["1331208264","1331208267","1331208271","1331208288","1331208301","1331208404"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6f09dfc78b70b69bcbbf6f5a7b8ef87d.jpg","text":"TemporaryFile(/tmp/multipartBody7038264814867062337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774289048,"filename":"image_25012025_02_35_03_067590_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b82a81ca3987717223ca9010fc5643ea.jpg","text":"TemporaryFile(/tmp/multipartBody2126267883779829608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774289048,"filename":"image_25012025_02_34_02_551672_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3552f1e311702877a32870bb990f861c.jpg","text":"TemporaryFile(/tmp/multipartBody246396283002799174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774289048,"filename":"image_25012025_02_35_03_067590_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5668e7b88459a367d6287954f89817d6.jpg","text":"TemporaryFile(/tmp/multipartBody185031310774838566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774289048,"filename":"image_25012025_02_34_02_551672_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b87b80a7dbfb2aab777d7380da24934f.jpg","text":"TemporaryFile(/tmp/multipartBody4800535198635851041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774289048,"filename":"image_25012025_02_34_02_551672_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f41fc008a8f02e49832585a1b9944c31.jpg","text":"TemporaryFile(/tmp/multipartBody1888704358961439411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774289048,"filename":"image_25012025_02_34_02_551672_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331208271","file1":"1331208267","file0":"1331208264","file4":"1331208301","file5":"1331208404","file3":"1331208288"},"map_files_photo_id_array":[{"photo_id":"1331208404","filename":"file5"},{"photo_id":"1331208271","filename":"file2"},{"photo_id":"1331208301","filename":"file4"},{"photo_id":"1331208267","filename":"file1"},{"photo_id":"1331208264","filename":"file0"},{"photo_id":"1331208288","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331208404":["hashtag1","hashtag2"]},{"1331208271":["hashtag1","hashtag2"]},{"1331208301":["hashtag1","hashtag2"]},{"1331208264":["hashtag1","hashtag2"]},{"1331208288":["hashtag1","hashtag2"]},{"1331208267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331208404, 1331208271, 1331208301, 1331208264, 1331208288, 1331208267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.73472499847412 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:05:02.512563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/35/image_25012025_02_35_03_067590_0002.jpg', '/home/pi/Desktop/images/25012025/02/35/image_25012025_02_35_03_067590_0003.jpg', '/home/pi/Desktop/images/25012025/02/36/image_25012025_02_36_02_645800_0000.jpg', '/home/pi/Desktop/images/25012025/02/36/image_25012025_02_36_02_645800_0001.jpg', '/home/pi/Desktop/images/25012025/02/36/image_25012025_02_36_02_645800_0002.jpg', '/home/pi/Desktop/images/25012025/02/36/image_25012025_02_36_02_645800_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/35/image_25012025_02_35_03_067590_0002.jpg
/home/pi/Desktop/images/25012025/02/35/image_25012025_02_35_03_067590_0003.jpg
/home/pi/Desktop/images/25012025/02/36/image_25012025_02_36_02_645800_0000.jpg
/home/pi/Desktop/images/25012025/02/36/image_25012025_02_36_02_645800_0001.jpg
/home/pi/Desktop/images/25012025/02/36/image_25012025_02_36_02_645800_0002.jpg
/home/pi/Desktop/images/25012025/02/36/image_25012025_02_36_02_645800_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: 43.93776535987854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:06:02.918000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/35/image_25012025_02_35_03_067590_0002.jpg', '/home/pi/Desktop/images/25012025/02/35/image_25012025_02_35_03_067590_0003.jpg', '/home/pi/Desktop/images/25012025/02/36/image_25012025_02_36_02_645800_0000.jpg', '/home/pi/Desktop/images/25012025/02/36/image_25012025_02_36_02_645800_0001.jpg', '/home/pi/Desktop/images/25012025/02/36/image_25012025_02_36_02_645800_0002.jpg', '/home/pi/Desktop/images/25012025/02/36/image_25012025_02_36_02_645800_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/35/image_25012025_02_35_03_067590_0002.jpg
/home/pi/Desktop/images/25012025/02/35/image_25012025_02_35_03_067590_0003.jpg
/home/pi/Desktop/images/25012025/02/36/image_25012025_02_36_02_645800_0000.jpg
/home/pi/Desktop/images/25012025/02/36/image_25012025_02_36_02_645800_0001.jpg
/home/pi/Desktop/images/25012025/02/36/image_25012025_02_36_02_645800_0002.jpg
/home/pi/Desktop/images/25012025/02/36/image_25012025_02_36_02_645800_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":["1331210708","1331210702","1331210794","1331210784","1331210879","1331210630"],"photo_ids_order":["1331210630","1331210702","1331210708","1331210784","1331210794","1331210879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d61c83c3af89d6ade8c147f668131239.jpg","text":"TemporaryFile(/tmp/multipartBody5661288006569093656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774468802,"filename":"image_25012025_02_36_02_645800_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/20af131b0a4b8199705555b33493a340.jpg","text":"TemporaryFile(/tmp/multipartBody5584243093394639970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774468802,"filename":"image_25012025_02_35_03_067590_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bab479ca51354d26bf84142ba5391f30.jpg","text":"TemporaryFile(/tmp/multipartBody3273039904829358941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774468802,"filename":"image_25012025_02_36_02_645800_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b3fca4ffd05121a4a591fb06b698d9ff.jpg","text":"TemporaryFile(/tmp/multipartBody173724798777837983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774468802,"filename":"image_25012025_02_36_02_645800_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1c547a176cfd1257bdfa94620f73b3a3.jpg","text":"TemporaryFile(/tmp/multipartBody4422358927998266893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774468802,"filename":"image_25012025_02_36_02_645800_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/01aa4609597326a5abbda677f771ae3d.jpg","text":"TemporaryFile(/tmp/multipartBody667913268178493851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774468802,"filename":"image_25012025_02_35_03_067590_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331210708","file1":"1331210702","file0":"1331210630","file4":"1331210794","file5":"1331210879","file3":"1331210784"},"map_files_photo_id_array":[{"photo_id":"1331210879","filename":"file5"},{"photo_id":"1331210708","filename":"file2"},{"photo_id":"1331210794","filename":"file4"},{"photo_id":"1331210702","filename":"file1"},{"photo_id":"1331210630","filename":"file0"},{"photo_id":"1331210784","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331210708":["hashtag1","hashtag2"]},{"1331210702":["hashtag1","hashtag2"]},{"1331210794":["hashtag1","hashtag2"]},{"1331210784":["hashtag1","hashtag2"]},{"1331210879":["hashtag1","hashtag2"]},{"1331210630":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331210708, 1331210702, 1331210794, 1331210784, 1331210879, 1331210630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.76007723808289 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:08:02.797091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/37/image_25012025_02_37_02_189701_0000.jpg', '/home/pi/Desktop/images/25012025/02/37/image_25012025_02_37_02_189701_0001.jpg', '/home/pi/Desktop/images/25012025/02/37/image_25012025_02_37_02_189701_0002.jpg', '/home/pi/Desktop/images/25012025/02/37/image_25012025_02_37_02_189701_0003.jpg', '/home/pi/Desktop/images/25012025/02/38/image_25012025_02_38_02_760238_0000.jpg', '/home/pi/Desktop/images/25012025/02/38/image_25012025_02_38_02_760238_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/37/image_25012025_02_37_02_189701_0000.jpg
/home/pi/Desktop/images/25012025/02/37/image_25012025_02_37_02_189701_0001.jpg
/home/pi/Desktop/images/25012025/02/37/image_25012025_02_37_02_189701_0002.jpg
/home/pi/Desktop/images/25012025/02/37/image_25012025_02_37_02_189701_0003.jpg
/home/pi/Desktop/images/25012025/02/38/image_25012025_02_38_02_760238_0000.jpg
/home/pi/Desktop/images/25012025/02/38/image_25012025_02_38_02_760238_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: 47.45974040031433 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:09:02.766374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/37/image_25012025_02_37_02_189701_0000.jpg', '/home/pi/Desktop/images/25012025/02/37/image_25012025_02_37_02_189701_0001.jpg', '/home/pi/Desktop/images/25012025/02/37/image_25012025_02_37_02_189701_0002.jpg', '/home/pi/Desktop/images/25012025/02/37/image_25012025_02_37_02_189701_0003.jpg', '/home/pi/Desktop/images/25012025/02/38/image_25012025_02_38_02_760238_0000.jpg', '/home/pi/Desktop/images/25012025/02/38/image_25012025_02_38_02_760238_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/37/image_25012025_02_37_02_189701_0000.jpg
/home/pi/Desktop/images/25012025/02/37/image_25012025_02_37_02_189701_0001.jpg
/home/pi/Desktop/images/25012025/02/37/image_25012025_02_37_02_189701_0002.jpg
/home/pi/Desktop/images/25012025/02/37/image_25012025_02_37_02_189701_0003.jpg
/home/pi/Desktop/images/25012025/02/38/image_25012025_02_38_02_760238_0000.jpg
/home/pi/Desktop/images/25012025/02/38/image_25012025_02_38_02_760238_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":["1331211079","1331211072","1331211075","1331211069","1331211084","1331211088"],"photo_ids_order":["1331211069","1331211072","1331211075","1331211079","1331211084","1331211088"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0b61a1b846f52ee4ee047c88056a7357.jpg","text":"TemporaryFile(/tmp/multipartBody5544242760238931347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774641234,"filename":"image_25012025_02_37_02_189701_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b79f857b8c68b28ff5ba5be8edeaf8d0.jpg","text":"TemporaryFile(/tmp/multipartBody735401138629057572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774641234,"filename":"image_25012025_02_37_02_189701_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1e66d818c5d0f89fbba96981a4b703d1.jpg","text":"TemporaryFile(/tmp/multipartBody1728420852833264220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774641234,"filename":"image_25012025_02_37_02_189701_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dd1b05d6790496a761f855fcfb4a0994.jpg","text":"TemporaryFile(/tmp/multipartBody5371643408290015501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774641234,"filename":"image_25012025_02_37_02_189701_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/60102cac0f6aad290c9cc87e631ad729.jpg","text":"TemporaryFile(/tmp/multipartBody3749403916203321789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774641234,"filename":"image_25012025_02_38_02_760238_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f0933a23d40864a35c7e378b29947f60.jpg","text":"TemporaryFile(/tmp/multipartBody7867376005416580933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774641234,"filename":"image_25012025_02_38_02_760238_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331211075","file1":"1331211072","file0":"1331211069","file4":"1331211084","file5":"1331211088","file3":"1331211079"},"map_files_photo_id_array":[{"photo_id":"1331211088","filename":"file5"},{"photo_id":"1331211075","filename":"file2"},{"photo_id":"1331211084","filename":"file4"},{"photo_id":"1331211072","filename":"file1"},{"photo_id":"1331211069","filename":"file0"},{"photo_id":"1331211079","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331211079":["hashtag1","hashtag2"]},{"1331211072":["hashtag1","hashtag2"]},{"1331211075":["hashtag1","hashtag2"]},{"1331211069":["hashtag1","hashtag2"]},{"1331211084":["hashtag1","hashtag2"]},{"1331211088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331211079, 1331211072, 1331211075, 1331211069, 1331211084, 1331211088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.4269392490387 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:11:02.653550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/38/image_25012025_02_38_02_760238_0002.jpg', '/home/pi/Desktop/images/25012025/02/38/image_25012025_02_38_02_760238_0003.jpg', '/home/pi/Desktop/images/25012025/02/39/image_25012025_02_39_02_263463_0000.jpg', '/home/pi/Desktop/images/25012025/02/39/image_25012025_02_39_02_263463_0001.jpg', '/home/pi/Desktop/images/25012025/02/39/image_25012025_02_39_02_263463_0002.jpg', '/home/pi/Desktop/images/25012025/02/39/image_25012025_02_39_02_263463_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/38/image_25012025_02_38_02_760238_0002.jpg
/home/pi/Desktop/images/25012025/02/38/image_25012025_02_38_02_760238_0003.jpg
/home/pi/Desktop/images/25012025/02/39/image_25012025_02_39_02_263463_0000.jpg
/home/pi/Desktop/images/25012025/02/39/image_25012025_02_39_02_263463_0001.jpg
/home/pi/Desktop/images/25012025/02/39/image_25012025_02_39_02_263463_0002.jpg
/home/pi/Desktop/images/25012025/02/39/image_25012025_02_39_02_263463_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: 42.66053557395935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:12:03.084264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/38/image_25012025_02_38_02_760238_0002.jpg', '/home/pi/Desktop/images/25012025/02/38/image_25012025_02_38_02_760238_0003.jpg', '/home/pi/Desktop/images/25012025/02/39/image_25012025_02_39_02_263463_0000.jpg', '/home/pi/Desktop/images/25012025/02/39/image_25012025_02_39_02_263463_0001.jpg', '/home/pi/Desktop/images/25012025/02/39/image_25012025_02_39_02_263463_0002.jpg', '/home/pi/Desktop/images/25012025/02/39/image_25012025_02_39_02_263463_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/38/image_25012025_02_38_02_760238_0002.jpg
/home/pi/Desktop/images/25012025/02/38/image_25012025_02_38_02_760238_0003.jpg
/home/pi/Desktop/images/25012025/02/39/image_25012025_02_39_02_263463_0000.jpg
/home/pi/Desktop/images/25012025/02/39/image_25012025_02_39_02_263463_0001.jpg
/home/pi/Desktop/images/25012025/02/39/image_25012025_02_39_02_263463_0002.jpg
/home/pi/Desktop/images/25012025/02/39/image_25012025_02_39_02_263463_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":["1331211445","1331211439","1331211427","1331211432","1331211423","1331211425"],"photo_ids_order":["1331211423","1331211425","1331211427","1331211432","1331211439","1331211445"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/88c1f3576376a6665750de584a541ce2.jpg","text":"TemporaryFile(/tmp/multipartBody8097851097344927573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774822121,"filename":"image_25012025_02_39_02_263463_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c4fa328806a0dda6a34cde710f3a459e.jpg","text":"TemporaryFile(/tmp/multipartBody1900877460349842572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774822121,"filename":"image_25012025_02_39_02_263463_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5116109630e5cd07e438d61dcdf91077.jpg","text":"TemporaryFile(/tmp/multipartBody7752554955470941613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774822121,"filename":"image_25012025_02_39_02_263463_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/187407d55a36e1aa2148499233fb9163.jpg","text":"TemporaryFile(/tmp/multipartBody3748016882025511889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774822121,"filename":"image_25012025_02_39_02_263463_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7bc00216b2e661ae22acbe879d54b8ea.jpg","text":"TemporaryFile(/tmp/multipartBody1647690958389673711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774822121,"filename":"image_25012025_02_38_02_760238_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a9a29a03050280e3ac3bd2ae367a233e.jpg","text":"TemporaryFile(/tmp/multipartBody8677955007874263139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774822121,"filename":"image_25012025_02_38_02_760238_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331211427","file1":"1331211425","file0":"1331211423","file4":"1331211439","file5":"1331211445","file3":"1331211432"},"map_files_photo_id_array":[{"photo_id":"1331211445","filename":"file5"},{"photo_id":"1331211427","filename":"file2"},{"photo_id":"1331211439","filename":"file4"},{"photo_id":"1331211425","filename":"file1"},{"photo_id":"1331211423","filename":"file0"},{"photo_id":"1331211432","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331211445":["hashtag1","hashtag2"]},{"1331211439":["hashtag1","hashtag2"]},{"1331211427":["hashtag1","hashtag2"]},{"1331211432":["hashtag1","hashtag2"]},{"1331211423":["hashtag1","hashtag2"]},{"1331211425":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331211445, 1331211439, 1331211427, 1331211432, 1331211423, 1331211425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.33483719825745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:14:03.065797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/40/image_25012025_02_40_02_845295_0000.jpg', '/home/pi/Desktop/images/25012025/02/40/image_25012025_02_40_02_845295_0001.jpg', '/home/pi/Desktop/images/25012025/02/40/image_25012025_02_40_02_845295_0002.jpg', '/home/pi/Desktop/images/25012025/02/40/image_25012025_02_40_02_845295_0003.jpg', '/home/pi/Desktop/images/25012025/02/41/image_25012025_02_41_02_331909_0000.jpg', '/home/pi/Desktop/images/25012025/02/41/image_25012025_02_41_02_331909_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/40/image_25012025_02_40_02_845295_0000.jpg
/home/pi/Desktop/images/25012025/02/40/image_25012025_02_40_02_845295_0001.jpg
/home/pi/Desktop/images/25012025/02/40/image_25012025_02_40_02_845295_0002.jpg
/home/pi/Desktop/images/25012025/02/40/image_25012025_02_40_02_845295_0003.jpg
/home/pi/Desktop/images/25012025/02/41/image_25012025_02_41_02_331909_0000.jpg
/home/pi/Desktop/images/25012025/02/41/image_25012025_02_41_02_331909_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":["1331211526","1331211564","1331211555","1331211578","1331211533","1331211676"],"photo_ids_order":["1331211526","1331211533","1331211555","1331211564","1331211578","1331211676"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c8e998cb1e57753565c824fb8e3732b3.jpg","text":"TemporaryFile(/tmp/multipartBody3410545460984082133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774951981,"filename":"image_25012025_02_40_02_845295_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c14f7ba92b588b20634fb08e0cc143b.jpg","text":"TemporaryFile(/tmp/multipartBody7797277288956109148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774951981,"filename":"image_25012025_02_40_02_845295_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7404b771019f5fbd698082a383982e00.jpg","text":"TemporaryFile(/tmp/multipartBody7456829579860487043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774951981,"filename":"image_25012025_02_40_02_845295_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ea0d5b69b64323b4a6019e3ebe704e70.jpg","text":"TemporaryFile(/tmp/multipartBody3256360225823492413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774951981,"filename":"image_25012025_02_41_02_331909_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0cdef6e37d1baf3d976d477b5121e85e.jpg","text":"TemporaryFile(/tmp/multipartBody2280922663988865576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774951981,"filename":"image_25012025_02_40_02_845295_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/303c80e9676812dd2937e163cd2e29f2.jpg","text":"TemporaryFile(/tmp/multipartBody8202367677189818566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737774951981,"filename":"image_25012025_02_41_02_331909_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331211555","file1":"1331211533","file0":"1331211526","file4":"1331211578","file5":"1331211676","file3":"1331211564"},"map_files_photo_id_array":[{"photo_id":"1331211676","filename":"file5"},{"photo_id":"1331211555","filename":"file2"},{"photo_id":"1331211578","filename":"file4"},{"photo_id":"1331211533","filename":"file1"},{"photo_id":"1331211526","filename":"file0"},{"photo_id":"1331211564","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331211526":["hashtag1","hashtag2"]},{"1331211564":["hashtag1","hashtag2"]},{"1331211555":["hashtag1","hashtag2"]},{"1331211578":["hashtag1","hashtag2"]},{"1331211533":["hashtag1","hashtag2"]},{"1331211676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331211526, 1331211564, 1331211555, 1331211578, 1331211533, 1331211676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.4968318939209 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:16:02.176851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/41/image_25012025_02_41_02_331909_0002.jpg', '/home/pi/Desktop/images/25012025/02/41/image_25012025_02_41_02_331909_0003.jpg', '/home/pi/Desktop/images/25012025/02/42/image_25012025_02_42_02_813524_0000.jpg', '/home/pi/Desktop/images/25012025/02/42/image_25012025_02_42_02_813524_0001.jpg', '/home/pi/Desktop/images/25012025/02/42/image_25012025_02_42_02_813524_0002.jpg', '/home/pi/Desktop/images/25012025/02/42/image_25012025_02_42_02_813524_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/41/image_25012025_02_41_02_331909_0002.jpg
/home/pi/Desktop/images/25012025/02/41/image_25012025_02_41_02_331909_0003.jpg
/home/pi/Desktop/images/25012025/02/42/image_25012025_02_42_02_813524_0000.jpg
/home/pi/Desktop/images/25012025/02/42/image_25012025_02_42_02_813524_0001.jpg
/home/pi/Desktop/images/25012025/02/42/image_25012025_02_42_02_813524_0002.jpg
/home/pi/Desktop/images/25012025/02/42/image_25012025_02_42_02_813524_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: 44.903690338134766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:17:02.881165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/41/image_25012025_02_41_02_331909_0002.jpg', '/home/pi/Desktop/images/25012025/02/41/image_25012025_02_41_02_331909_0003.jpg', '/home/pi/Desktop/images/25012025/02/42/image_25012025_02_42_02_813524_0000.jpg', '/home/pi/Desktop/images/25012025/02/42/image_25012025_02_42_02_813524_0001.jpg', '/home/pi/Desktop/images/25012025/02/42/image_25012025_02_42_02_813524_0002.jpg', '/home/pi/Desktop/images/25012025/02/42/image_25012025_02_42_02_813524_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/41/image_25012025_02_41_02_331909_0002.jpg
/home/pi/Desktop/images/25012025/02/41/image_25012025_02_41_02_331909_0003.jpg
/home/pi/Desktop/images/25012025/02/42/image_25012025_02_42_02_813524_0000.jpg
/home/pi/Desktop/images/25012025/02/42/image_25012025_02_42_02_813524_0001.jpg
/home/pi/Desktop/images/25012025/02/42/image_25012025_02_42_02_813524_0002.jpg
/home/pi/Desktop/images/25012025/02/42/image_25012025_02_42_02_813524_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":["1331211853","1331211882","1331211849","1331211846","1331211874","1331211868"],"photo_ids_order":["1331211846","1331211849","1331211853","1331211868","1331211874","1331211882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cdb50ec4f4b1595a556c605617d90c63.jpg","text":"TemporaryFile(/tmp/multipartBody4633272882461488331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775129429,"filename":"image_25012025_02_42_02_813524_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f28194f35aa660250a48407027f5d8c2.jpg","text":"TemporaryFile(/tmp/multipartBody7328085176203216656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775129429,"filename":"image_25012025_02_42_02_813524_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/36cda86e3adf0da1a3e8c14bd69305ca.jpg","text":"TemporaryFile(/tmp/multipartBody4517804543585567420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775129429,"filename":"image_25012025_02_41_02_331909_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dfc471180f2d8d33f9cd66bb471fea41.jpg","text":"TemporaryFile(/tmp/multipartBody6544922721968221555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775129429,"filename":"image_25012025_02_41_02_331909_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/64816c88e1c71cf2dc90e7fdb1bdfe8f.jpg","text":"TemporaryFile(/tmp/multipartBody5249083718006017033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775129429,"filename":"image_25012025_02_42_02_813524_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eed5a23c0d24410ec3252d2c81164bee.jpg","text":"TemporaryFile(/tmp/multipartBody1923271221525681539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775129429,"filename":"image_25012025_02_42_02_813524_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331211853","file1":"1331211849","file0":"1331211846","file4":"1331211874","file5":"1331211882","file3":"1331211868"},"map_files_photo_id_array":[{"photo_id":"1331211882","filename":"file5"},{"photo_id":"1331211853","filename":"file2"},{"photo_id":"1331211874","filename":"file4"},{"photo_id":"1331211849","filename":"file1"},{"photo_id":"1331211846","filename":"file0"},{"photo_id":"1331211868","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331211853":["hashtag1","hashtag2"]},{"1331211882":["hashtag1","hashtag2"]},{"1331211849":["hashtag1","hashtag2"]},{"1331211846":["hashtag1","hashtag2"]},{"1331211874":["hashtag1","hashtag2"]},{"1331211868":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331211853, 1331211882, 1331211849, 1331211846, 1331211874, 1331211868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.87093710899353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:19:03.093290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/43/image_25012025_02_43_02_386881_0000.jpg', '/home/pi/Desktop/images/25012025/02/43/image_25012025_02_43_02_386881_0001.jpg', '/home/pi/Desktop/images/25012025/02/43/image_25012025_02_43_02_386881_0002.jpg', '/home/pi/Desktop/images/25012025/02/43/image_25012025_02_43_02_386881_0003.jpg', '/home/pi/Desktop/images/25012025/02/44/image_25012025_02_44_02_946400_0000.jpg', '/home/pi/Desktop/images/25012025/02/44/image_25012025_02_44_02_946400_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/43/image_25012025_02_43_02_386881_0000.jpg
/home/pi/Desktop/images/25012025/02/43/image_25012025_02_43_02_386881_0001.jpg
/home/pi/Desktop/images/25012025/02/43/image_25012025_02_43_02_386881_0002.jpg
/home/pi/Desktop/images/25012025/02/43/image_25012025_02_43_02_386881_0003.jpg
/home/pi/Desktop/images/25012025/02/44/image_25012025_02_44_02_946400_0000.jpg
/home/pi/Desktop/images/25012025/02/44/image_25012025_02_44_02_946400_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":["1331211913","1331211916","1331211915","1331211929","1331211923","1331211917"],"photo_ids_order":["1331211913","1331211915","1331211916","1331211917","1331211923","1331211929"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/23f6f9fdfa05d781ae0ab03a4069983b.jpg","text":"TemporaryFile(/tmp/multipartBody425531421347887582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775234457,"filename":"image_25012025_02_43_02_386881_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/08df4c4e7fae320d51cb47854d0b37d3.jpg","text":"TemporaryFile(/tmp/multipartBody5734444680118490041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775234457,"filename":"image_25012025_02_43_02_386881_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6df75dfbcdef6ad5444dfd0732ea63ba.jpg","text":"TemporaryFile(/tmp/multipartBody7382482115064476604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775234457,"filename":"image_25012025_02_43_02_386881_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/32f94c53e091e6e6e5c59cb656bcc205.jpg","text":"TemporaryFile(/tmp/multipartBody1705007617028307239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775234457,"filename":"image_25012025_02_44_02_946400_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/749a4354c0b12ef8f2a4798c6a7d16b2.jpg","text":"TemporaryFile(/tmp/multipartBody7418215988805749308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775234457,"filename":"image_25012025_02_44_02_946400_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/33928fcefbc9eb729e2e57dbe45194f6.jpg","text":"TemporaryFile(/tmp/multipartBody3998123504341426193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775234457,"filename":"image_25012025_02_43_02_386881_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331211916","file1":"1331211915","file0":"1331211913","file4":"1331211923","file5":"1331211929","file3":"1331211917"},"map_files_photo_id_array":[{"photo_id":"1331211929","filename":"file5"},{"photo_id":"1331211916","filename":"file2"},{"photo_id":"1331211923","filename":"file4"},{"photo_id":"1331211915","filename":"file1"},{"photo_id":"1331211913","filename":"file0"},{"photo_id":"1331211917","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331211913":["hashtag1","hashtag2"]},{"1331211916":["hashtag1","hashtag2"]},{"1331211915":["hashtag1","hashtag2"]},{"1331211929":["hashtag1","hashtag2"]},{"1331211923":["hashtag1","hashtag2"]},{"1331211917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331211913, 1331211916, 1331211915, 1331211929, 1331211923, 1331211917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.8536491394043 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:21:03.465198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/44/image_25012025_02_44_02_946400_0002.jpg', '/home/pi/Desktop/images/25012025/02/44/image_25012025_02_44_02_946400_0003.jpg', '/home/pi/Desktop/images/25012025/02/45/image_25012025_02_45_02_515404_0000.jpg', '/home/pi/Desktop/images/25012025/02/45/image_25012025_02_45_02_515404_0001.jpg', '/home/pi/Desktop/images/25012025/02/45/image_25012025_02_45_02_515404_0002.jpg', '/home/pi/Desktop/images/25012025/02/45/image_25012025_02_45_02_515404_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/44/image_25012025_02_44_02_946400_0002.jpg
/home/pi/Desktop/images/25012025/02/44/image_25012025_02_44_02_946400_0003.jpg
/home/pi/Desktop/images/25012025/02/45/image_25012025_02_45_02_515404_0000.jpg
/home/pi/Desktop/images/25012025/02/45/image_25012025_02_45_02_515404_0001.jpg
/home/pi/Desktop/images/25012025/02/45/image_25012025_02_45_02_515404_0002.jpg
/home/pi/Desktop/images/25012025/02/45/image_25012025_02_45_02_515404_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: 46.67733073234558 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:22:02.702073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/44/image_25012025_02_44_02_946400_0002.jpg', '/home/pi/Desktop/images/25012025/02/44/image_25012025_02_44_02_946400_0003.jpg', '/home/pi/Desktop/images/25012025/02/45/image_25012025_02_45_02_515404_0000.jpg', '/home/pi/Desktop/images/25012025/02/45/image_25012025_02_45_02_515404_0001.jpg', '/home/pi/Desktop/images/25012025/02/45/image_25012025_02_45_02_515404_0002.jpg', '/home/pi/Desktop/images/25012025/02/45/image_25012025_02_45_02_515404_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/44/image_25012025_02_44_02_946400_0002.jpg
/home/pi/Desktop/images/25012025/02/44/image_25012025_02_44_02_946400_0003.jpg
/home/pi/Desktop/images/25012025/02/45/image_25012025_02_45_02_515404_0000.jpg
/home/pi/Desktop/images/25012025/02/45/image_25012025_02_45_02_515404_0001.jpg
/home/pi/Desktop/images/25012025/02/45/image_25012025_02_45_02_515404_0002.jpg
/home/pi/Desktop/images/25012025/02/45/image_25012025_02_45_02_515404_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":["1331213334","1331212971","1331212647","1331213648","1331212610","1331212606"],"photo_ids_order":["1331212606","1331212610","1331212647","1331212971","1331213334","1331213648"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ced0a91a41786d977a4e3ac3ec1706c3.jpg","text":"TemporaryFile(/tmp/multipartBody6723064475358562291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775419128,"filename":"image_25012025_02_45_02_515404_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/50e803a04d8c9362482ebb1a0a3e7616.jpg","text":"TemporaryFile(/tmp/multipartBody764758637676658240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775419128,"filename":"image_25012025_02_45_02_515404_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/357de6326c57af5da35752c61c0ce7ec.jpg","text":"TemporaryFile(/tmp/multipartBody8107091801449489821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775419128,"filename":"image_25012025_02_45_02_515404_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/608076f0b008717264386d73a681d1ef.jpg","text":"TemporaryFile(/tmp/multipartBody9118806128301402632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775419128,"filename":"image_25012025_02_45_02_515404_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d6d2613b61e66089c947881bea274156.jpg","text":"TemporaryFile(/tmp/multipartBody50562282572703934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775419128,"filename":"image_25012025_02_44_02_946400_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/faa3273081caf7e0556e3a4ef29083c2.jpg","text":"TemporaryFile(/tmp/multipartBody987629484218685475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775419128,"filename":"image_25012025_02_44_02_946400_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331212647","file1":"1331212610","file0":"1331212606","file4":"1331213334","file5":"1331213648","file3":"1331212971"},"map_files_photo_id_array":[{"photo_id":"1331213648","filename":"file5"},{"photo_id":"1331212647","filename":"file2"},{"photo_id":"1331213334","filename":"file4"},{"photo_id":"1331212610","filename":"file1"},{"photo_id":"1331212606","filename":"file0"},{"photo_id":"1331212971","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331213334":["hashtag1","hashtag2"]},{"1331212971":["hashtag1","hashtag2"]},{"1331212647":["hashtag1","hashtag2"]},{"1331213648":["hashtag1","hashtag2"]},{"1331212610":["hashtag1","hashtag2"]},{"1331212606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331213334, 1331212971, 1331212647, 1331213648, 1331212610, 1331212606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.14174938201904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:24:02.648993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/46/image_25012025_02_46_03_027485_0000.jpg', '/home/pi/Desktop/images/25012025/02/46/image_25012025_02_46_03_027485_0001.jpg', '/home/pi/Desktop/images/25012025/02/46/image_25012025_02_46_03_027485_0002.jpg', '/home/pi/Desktop/images/25012025/02/46/image_25012025_02_46_03_027485_0003.jpg', '/home/pi/Desktop/images/25012025/02/47/image_25012025_02_47_02_674840_0000.jpg', '/home/pi/Desktop/images/25012025/02/47/image_25012025_02_47_02_674840_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/46/image_25012025_02_46_03_027485_0000.jpg
/home/pi/Desktop/images/25012025/02/46/image_25012025_02_46_03_027485_0001.jpg
/home/pi/Desktop/images/25012025/02/46/image_25012025_02_46_03_027485_0002.jpg
/home/pi/Desktop/images/25012025/02/46/image_25012025_02_46_03_027485_0003.jpg
/home/pi/Desktop/images/25012025/02/47/image_25012025_02_47_02_674840_0000.jpg
/home/pi/Desktop/images/25012025/02/47/image_25012025_02_47_02_674840_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":["1331213970","1331213963","1331213974","1331213965","1331213959","1331213967"],"photo_ids_order":["1331213959","1331213963","1331213965","1331213967","1331213970","1331213974"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/730a9eb401290f2c6eaa197d1a6594c7.jpg","text":"TemporaryFile(/tmp/multipartBody809407135850105629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775530366,"filename":"image_25012025_02_47_02_674840_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0df6d13c19de46de03787fb58b649e83.jpg","text":"TemporaryFile(/tmp/multipartBody2938000707230671700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775530366,"filename":"image_25012025_02_46_03_027485_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4c062187fc47b276cde18c1b3b22f0e1.jpg","text":"TemporaryFile(/tmp/multipartBody4224052937238032169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775530366,"filename":"image_25012025_02_47_02_674840_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5512ecb7a1a51029135c2886bcb9d781.jpg","text":"TemporaryFile(/tmp/multipartBody4155171644166073466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775530366,"filename":"image_25012025_02_46_03_027485_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8d06a33f38f1eb61290b0e00897c2780.jpg","text":"TemporaryFile(/tmp/multipartBody8202658383377115375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775530366,"filename":"image_25012025_02_46_03_027485_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1bfff05e6a6717bd29482c285bfd36f4.jpg","text":"TemporaryFile(/tmp/multipartBody2587757343160724399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775530366,"filename":"image_25012025_02_46_03_027485_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331213965","file1":"1331213963","file0":"1331213959","file4":"1331213970","file5":"1331213974","file3":"1331213967"},"map_files_photo_id_array":[{"photo_id":"1331213974","filename":"file5"},{"photo_id":"1331213965","filename":"file2"},{"photo_id":"1331213970","filename":"file4"},{"photo_id":"1331213963","filename":"file1"},{"photo_id":"1331213959","filename":"file0"},{"photo_id":"1331213967","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331213970":["hashtag1","hashtag2"]},{"1331213963":["hashtag1","hashtag2"]},{"1331213974":["hashtag1","hashtag2"]},{"1331213965":["hashtag1","hashtag2"]},{"1331213959":["hashtag1","hashtag2"]},{"1331213967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331213970, 1331213963, 1331213974, 1331213965, 1331213959, 1331213967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.40211391448975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:26:02.747058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/47/image_25012025_02_47_02_674840_0002.jpg', '/home/pi/Desktop/images/25012025/02/47/image_25012025_02_47_02_674840_0003.jpg', '/home/pi/Desktop/images/25012025/02/48/image_25012025_02_48_02_179902_0000.jpg', '/home/pi/Desktop/images/25012025/02/48/image_25012025_02_48_02_179902_0001.jpg', '/home/pi/Desktop/images/25012025/02/48/image_25012025_02_48_02_179902_0002.jpg', '/home/pi/Desktop/images/25012025/02/48/image_25012025_02_48_02_179902_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/47/image_25012025_02_47_02_674840_0002.jpg
/home/pi/Desktop/images/25012025/02/47/image_25012025_02_47_02_674840_0003.jpg
/home/pi/Desktop/images/25012025/02/48/image_25012025_02_48_02_179902_0000.jpg
/home/pi/Desktop/images/25012025/02/48/image_25012025_02_48_02_179902_0001.jpg
/home/pi/Desktop/images/25012025/02/48/image_25012025_02_48_02_179902_0002.jpg
/home/pi/Desktop/images/25012025/02/48/image_25012025_02_48_02_179902_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":["1331214729","1331214650","1331214940","1331214871","1331214933","1331214663"],"photo_ids_order":["1331214650","1331214663","1331214729","1331214871","1331214933","1331214940"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5cae3811c3b86cdf6395b2880d3600e2.jpg","text":"TemporaryFile(/tmp/multipartBody7688107281591617284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775661869,"filename":"image_25012025_02_48_02_179902_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/452186233dc44584b2fa9bf85766739b.jpg","text":"TemporaryFile(/tmp/multipartBody4630614902291161146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775661869,"filename":"image_25012025_02_47_02_674840_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c7419d245fda7dd1281684908156e97.jpg","text":"TemporaryFile(/tmp/multipartBody6098064716000874552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775661869,"filename":"image_25012025_02_48_02_179902_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e6092e69b337810a998dd155b7490be6.jpg","text":"TemporaryFile(/tmp/multipartBody6972940088205525252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775661869,"filename":"image_25012025_02_48_02_179902_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d35d591e507b8612dafcfab607e18bd6.jpg","text":"TemporaryFile(/tmp/multipartBody1517490316046100742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775661869,"filename":"image_25012025_02_48_02_179902_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/98f018fdb59983f025c08df7bcf5be85.jpg","text":"TemporaryFile(/tmp/multipartBody303713461142871697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775661869,"filename":"image_25012025_02_47_02_674840_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331214729","file1":"1331214663","file0":"1331214650","file4":"1331214933","file5":"1331214940","file3":"1331214871"},"map_files_photo_id_array":[{"photo_id":"1331214940","filename":"file5"},{"photo_id":"1331214729","filename":"file2"},{"photo_id":"1331214933","filename":"file4"},{"photo_id":"1331214663","filename":"file1"},{"photo_id":"1331214650","filename":"file0"},{"photo_id":"1331214871","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331214729":["hashtag1","hashtag2"]},{"1331214650":["hashtag1","hashtag2"]},{"1331214940":["hashtag1","hashtag2"]},{"1331214871":["hashtag1","hashtag2"]},{"1331214933":["hashtag1","hashtag2"]},{"1331214663":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331214729, 1331214650, 1331214940, 1331214871, 1331214933, 1331214663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.69535875320435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:28:02.701453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/49/image_25012025_02_49_02_885670_0000.jpg', '/home/pi/Desktop/images/25012025/02/49/image_25012025_02_49_02_885670_0001.jpg', '/home/pi/Desktop/images/25012025/02/49/image_25012025_02_49_02_885670_0002.jpg', '/home/pi/Desktop/images/25012025/02/49/image_25012025_02_49_02_885670_0003.jpg', '/home/pi/Desktop/images/25012025/02/50/image_25012025_02_50_02_436917_0000.jpg', '/home/pi/Desktop/images/25012025/02/50/image_25012025_02_50_02_436917_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/49/image_25012025_02_49_02_885670_0000.jpg
/home/pi/Desktop/images/25012025/02/49/image_25012025_02_49_02_885670_0001.jpg
/home/pi/Desktop/images/25012025/02/49/image_25012025_02_49_02_885670_0002.jpg
/home/pi/Desktop/images/25012025/02/49/image_25012025_02_49_02_885670_0003.jpg
/home/pi/Desktop/images/25012025/02/50/image_25012025_02_50_02_436917_0000.jpg
/home/pi/Desktop/images/25012025/02/50/image_25012025_02_50_02_436917_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":["1331215395","1331215374","1331215359","1331215379","1331215364","1331215388"],"photo_ids_order":["1331215359","1331215364","1331215374","1331215379","1331215388","1331215395"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c485ccc4ce643de6bb36935913a51854.jpg","text":"TemporaryFile(/tmp/multipartBody5794180470185964346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775793617,"filename":"image_25012025_02_50_02_436917_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/41ea6d4cb05bb13289f99039ff4a46b4.jpg","text":"TemporaryFile(/tmp/multipartBody24178963385452566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775793617,"filename":"image_25012025_02_49_02_885670_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6e49d6eb879cd5331c609fb29c8b1d06.jpg","text":"TemporaryFile(/tmp/multipartBody7071367307485281769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775793617,"filename":"image_25012025_02_49_02_885670_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a7f5e206c2da0b400027afb883092b9c.jpg","text":"TemporaryFile(/tmp/multipartBody3971944561029779265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775793617,"filename":"image_25012025_02_49_02_885670_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/adfd3b704c283b5722ea6e56a68991c9.jpg","text":"TemporaryFile(/tmp/multipartBody6866325612783705449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775793617,"filename":"image_25012025_02_49_02_885670_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5dbf16e586cf67fc02b8fbf86c215940.jpg","text":"TemporaryFile(/tmp/multipartBody2398689868105141429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775793617,"filename":"image_25012025_02_50_02_436917_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331215374","file1":"1331215364","file0":"1331215359","file4":"1331215388","file5":"1331215395","file3":"1331215379"},"map_files_photo_id_array":[{"photo_id":"1331215395","filename":"file5"},{"photo_id":"1331215374","filename":"file2"},{"photo_id":"1331215388","filename":"file4"},{"photo_id":"1331215364","filename":"file1"},{"photo_id":"1331215359","filename":"file0"},{"photo_id":"1331215379","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331215395":["hashtag1","hashtag2"]},{"1331215374":["hashtag1","hashtag2"]},{"1331215359":["hashtag1","hashtag2"]},{"1331215379":["hashtag1","hashtag2"]},{"1331215364":["hashtag1","hashtag2"]},{"1331215388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331215395, 1331215374, 1331215359, 1331215379, 1331215364, 1331215388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.3883867263794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:30:02.725963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/50/image_25012025_02_50_02_436917_0002.jpg', '/home/pi/Desktop/images/25012025/02/50/image_25012025_02_50_02_436917_0003.jpg', '/home/pi/Desktop/images/25012025/02/51/image_25012025_02_51_03_055666_0000.jpg', '/home/pi/Desktop/images/25012025/02/51/image_25012025_02_51_03_055666_0001.jpg', '/home/pi/Desktop/images/25012025/02/51/image_25012025_02_51_03_055666_0002.jpg', '/home/pi/Desktop/images/25012025/02/51/image_25012025_02_51_03_055666_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/50/image_25012025_02_50_02_436917_0002.jpg
/home/pi/Desktop/images/25012025/02/50/image_25012025_02_50_02_436917_0003.jpg
/home/pi/Desktop/images/25012025/02/51/image_25012025_02_51_03_055666_0000.jpg
/home/pi/Desktop/images/25012025/02/51/image_25012025_02_51_03_055666_0001.jpg
/home/pi/Desktop/images/25012025/02/51/image_25012025_02_51_03_055666_0002.jpg
/home/pi/Desktop/images/25012025/02/51/image_25012025_02_51_03_055666_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":["1331215693","1331215687","1331215681","1331215698","1331215683","1331215704"],"photo_ids_order":["1331215681","1331215683","1331215687","1331215693","1331215698","1331215704"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/376716397a1cf0590e879ab6bc9fddc9.jpg","text":"TemporaryFile(/tmp/multipartBody2449377419685485429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775911026,"filename":"image_25012025_02_51_03_055666_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2dc15e0c0b31d5375e83ec671eee7c3d.jpg","text":"TemporaryFile(/tmp/multipartBody8574915823855882700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775911026,"filename":"image_25012025_02_51_03_055666_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b06a85a19ae408f0d8515156e096afed.jpg","text":"TemporaryFile(/tmp/multipartBody8232388462208901292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775911026,"filename":"image_25012025_02_50_02_436917_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/359e6f6d4b9a9c1949533b8ac9e8cdbc.jpg","text":"TemporaryFile(/tmp/multipartBody3523347027223865431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775911026,"filename":"image_25012025_02_51_03_055666_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3ed0c00f218cde192b37704d71de4176.jpg","text":"TemporaryFile(/tmp/multipartBody6420266744556202166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775911026,"filename":"image_25012025_02_50_02_436917_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e7d54fb73198dfd1345653165b4d97d2.jpg","text":"TemporaryFile(/tmp/multipartBody8279188025928606023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737775911026,"filename":"image_25012025_02_51_03_055666_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331215687","file1":"1331215683","file0":"1331215681","file4":"1331215698","file5":"1331215704","file3":"1331215693"},"map_files_photo_id_array":[{"photo_id":"1331215704","filename":"file5"},{"photo_id":"1331215687","filename":"file2"},{"photo_id":"1331215698","filename":"file4"},{"photo_id":"1331215683","filename":"file1"},{"photo_id":"1331215681","filename":"file0"},{"photo_id":"1331215693","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331215693":["hashtag1","hashtag2"]},{"1331215687":["hashtag1","hashtag2"]},{"1331215681":["hashtag1","hashtag2"]},{"1331215698":["hashtag1","hashtag2"]},{"1331215683":["hashtag1","hashtag2"]},{"1331215704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331215693, 1331215687, 1331215681, 1331215698, 1331215683, 1331215704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.37853336334229 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:32:02.696405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/52/image_25012025_02_52_02_532391_0000.jpg', '/home/pi/Desktop/images/25012025/02/52/image_25012025_02_52_02_532391_0001.jpg', '/home/pi/Desktop/images/25012025/02/52/image_25012025_02_52_02_532391_0002.jpg', '/home/pi/Desktop/images/25012025/02/52/image_25012025_02_52_02_532391_0003.jpg', '/home/pi/Desktop/images/25012025/02/53/image_25012025_02_53_03_174553_0000.jpg', '/home/pi/Desktop/images/25012025/02/53/image_25012025_02_53_03_174553_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/52/image_25012025_02_52_02_532391_0000.jpg
/home/pi/Desktop/images/25012025/02/52/image_25012025_02_52_02_532391_0001.jpg
/home/pi/Desktop/images/25012025/02/52/image_25012025_02_52_02_532391_0002.jpg
/home/pi/Desktop/images/25012025/02/52/image_25012025_02_52_02_532391_0003.jpg
/home/pi/Desktop/images/25012025/02/53/image_25012025_02_53_03_174553_0000.jpg
/home/pi/Desktop/images/25012025/02/53/image_25012025_02_53_03_174553_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":["1331215913","1331216061","1331216049","1331216100","1331216114","1331216138"],"photo_ids_order":["1331215913","1331216049","1331216061","1331216100","1331216114","1331216138"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/896262de4204ecae06b18ca1f2730de6.jpg","text":"TemporaryFile(/tmp/multipartBody1925498291372991577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776023980,"filename":"image_25012025_02_52_02_532391_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/57d8419e6b8d4ff069a032a82934416d.jpg","text":"TemporaryFile(/tmp/multipartBody7993554040381402478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776023980,"filename":"image_25012025_02_52_02_532391_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5aa23b1c4c1169a580711307da7c6918.jpg","text":"TemporaryFile(/tmp/multipartBody4845389656872122993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776023980,"filename":"image_25012025_02_52_02_532391_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e4afb0e33e23c05e4f5c3185de3da900.jpg","text":"TemporaryFile(/tmp/multipartBody7031331824999109309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776023980,"filename":"image_25012025_02_52_02_532391_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/11b1a25a2e8fc829490071b788b0852c.jpg","text":"TemporaryFile(/tmp/multipartBody7706440499055800341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776023980,"filename":"image_25012025_02_53_03_174553_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9698bfb573b0eb01aa67d6d2d3f112ce.jpg","text":"TemporaryFile(/tmp/multipartBody4947887561505146091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776023980,"filename":"image_25012025_02_53_03_174553_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331216061","file1":"1331216049","file0":"1331215913","file4":"1331216114","file5":"1331216138","file3":"1331216100"},"map_files_photo_id_array":[{"photo_id":"1331216138","filename":"file5"},{"photo_id":"1331216061","filename":"file2"},{"photo_id":"1331216114","filename":"file4"},{"photo_id":"1331216049","filename":"file1"},{"photo_id":"1331215913","filename":"file0"},{"photo_id":"1331216100","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331215913":["hashtag1","hashtag2"]},{"1331216061":["hashtag1","hashtag2"]},{"1331216049":["hashtag1","hashtag2"]},{"1331216100":["hashtag1","hashtag2"]},{"1331216114":["hashtag1","hashtag2"]},{"1331216138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331215913, 1331216061, 1331216049, 1331216100, 1331216114, 1331216138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.58343362808228 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:34:02.646107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/53/image_25012025_02_53_03_174553_0002.jpg', '/home/pi/Desktop/images/25012025/02/53/image_25012025_02_53_03_174553_0003.jpg', '/home/pi/Desktop/images/25012025/02/54/image_25012025_02_54_02_635140_0000.jpg', '/home/pi/Desktop/images/25012025/02/54/image_25012025_02_54_02_635140_0001.jpg', '/home/pi/Desktop/images/25012025/02/54/image_25012025_02_54_02_635140_0002.jpg', '/home/pi/Desktop/images/25012025/02/54/image_25012025_02_54_02_635140_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/53/image_25012025_02_53_03_174553_0002.jpg
/home/pi/Desktop/images/25012025/02/53/image_25012025_02_53_03_174553_0003.jpg
/home/pi/Desktop/images/25012025/02/54/image_25012025_02_54_02_635140_0000.jpg
/home/pi/Desktop/images/25012025/02/54/image_25012025_02_54_02_635140_0001.jpg
/home/pi/Desktop/images/25012025/02/54/image_25012025_02_54_02_635140_0002.jpg
/home/pi/Desktop/images/25012025/02/54/image_25012025_02_54_02_635140_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":["1331216635","1331216620","1331216625","1331216622","1331216642","1331216630"],"photo_ids_order":["1331216620","1331216622","1331216625","1331216630","1331216635","1331216642"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8a91946bd8c8cf3016285aa038de4296.jpg","text":"TemporaryFile(/tmp/multipartBody3716194625362217528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776144221,"filename":"image_25012025_02_54_02_635140_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/25b3ac9369dc563f067e859fa3facf0e.jpg","text":"TemporaryFile(/tmp/multipartBody6184017139105653803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776144221,"filename":"image_25012025_02_53_03_174553_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c7422a4a0bb732cad867105fd6b540d.jpg","text":"TemporaryFile(/tmp/multipartBody4877365524894663079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776144221,"filename":"image_25012025_02_54_02_635140_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e2e5e2dd6a8c0d8895fb1bea2fd3114e.jpg","text":"TemporaryFile(/tmp/multipartBody921351644079987438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776144221,"filename":"image_25012025_02_53_03_174553_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9e275d787231059bc73b2fe24b8b68d6.jpg","text":"TemporaryFile(/tmp/multipartBody7471128298213512683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776144221,"filename":"image_25012025_02_54_02_635140_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8ce84609e90850bb7f4bf48b322fc00b.jpg","text":"TemporaryFile(/tmp/multipartBody7828248089157454373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776144221,"filename":"image_25012025_02_54_02_635140_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331216625","file1":"1331216622","file0":"1331216620","file4":"1331216635","file5":"1331216642","file3":"1331216630"},"map_files_photo_id_array":[{"photo_id":"1331216642","filename":"file5"},{"photo_id":"1331216625","filename":"file2"},{"photo_id":"1331216635","filename":"file4"},{"photo_id":"1331216622","filename":"file1"},{"photo_id":"1331216620","filename":"file0"},{"photo_id":"1331216630","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331216635":["hashtag1","hashtag2"]},{"1331216620":["hashtag1","hashtag2"]},{"1331216625":["hashtag1","hashtag2"]},{"1331216622":["hashtag1","hashtag2"]},{"1331216642":["hashtag1","hashtag2"]},{"1331216630":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331216635, 1331216620, 1331216625, 1331216622, 1331216642, 1331216630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.81757664680481 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:36:02.818081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/55/image_25012025_02_55_02_262356_0000.jpg', '/home/pi/Desktop/images/25012025/02/55/image_25012025_02_55_02_262356_0001.jpg', '/home/pi/Desktop/images/25012025/02/55/image_25012025_02_55_02_262356_0002.jpg', '/home/pi/Desktop/images/25012025/02/55/image_25012025_02_55_02_262356_0003.jpg', '/home/pi/Desktop/images/25012025/02/56/image_25012025_02_56_02_764140_0000.jpg', '/home/pi/Desktop/images/25012025/02/56/image_25012025_02_56_02_764140_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/55/image_25012025_02_55_02_262356_0000.jpg
/home/pi/Desktop/images/25012025/02/55/image_25012025_02_55_02_262356_0001.jpg
/home/pi/Desktop/images/25012025/02/55/image_25012025_02_55_02_262356_0002.jpg
/home/pi/Desktop/images/25012025/02/55/image_25012025_02_55_02_262356_0003.jpg
/home/pi/Desktop/images/25012025/02/56/image_25012025_02_56_02_764140_0000.jpg
/home/pi/Desktop/images/25012025/02/56/image_25012025_02_56_02_764140_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":["1331216970","1331217012","1331217191","1331217035","1331217637","1331217394"],"photo_ids_order":["1331216970","1331217012","1331217035","1331217191","1331217394","1331217637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8b7f5d2c36e5162dbf1faaff42c29861.jpg","text":"TemporaryFile(/tmp/multipartBody5906057621734031049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776269096,"filename":"image_25012025_02_55_02_262356_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cbfc9b2365417ec015958913ddbed060.jpg","text":"TemporaryFile(/tmp/multipartBody6330598664313837864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776269096,"filename":"image_25012025_02_55_02_262356_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c5e95ad4e1f1e0d1dd6cb5045994667.jpg","text":"TemporaryFile(/tmp/multipartBody63764087541737737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776269096,"filename":"image_25012025_02_55_02_262356_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e79c75a3f2be490d8626697bca1e5aab.jpg","text":"TemporaryFile(/tmp/multipartBody5200517675857069585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776269096,"filename":"image_25012025_02_55_02_262356_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fca4f2829b9f4d71e89cd5cbd66e2160.jpg","text":"TemporaryFile(/tmp/multipartBody8794289002074038389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776269096,"filename":"image_25012025_02_56_02_764140_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/098a701b27c2a0cc544ff6f94d0aa4e6.jpg","text":"TemporaryFile(/tmp/multipartBody913555936191240265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776269096,"filename":"image_25012025_02_56_02_764140_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331217035","file1":"1331217012","file0":"1331216970","file4":"1331217394","file5":"1331217637","file3":"1331217191"},"map_files_photo_id_array":[{"photo_id":"1331217637","filename":"file5"},{"photo_id":"1331217035","filename":"file2"},{"photo_id":"1331217394","filename":"file4"},{"photo_id":"1331217012","filename":"file1"},{"photo_id":"1331216970","filename":"file0"},{"photo_id":"1331217191","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331216970":["hashtag1","hashtag2"]},{"1331217012":["hashtag1","hashtag2"]},{"1331217191":["hashtag1","hashtag2"]},{"1331217035":["hashtag1","hashtag2"]},{"1331217637":["hashtag1","hashtag2"]},{"1331217394":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331216970, 1331217012, 1331217191, 1331217035, 1331217637, 1331217394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.50266528129578 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:38:02.565683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/56/image_25012025_02_56_02_764140_0002.jpg', '/home/pi/Desktop/images/25012025/02/56/image_25012025_02_56_02_764140_0003.jpg', '/home/pi/Desktop/images/25012025/02/57/image_25012025_02_57_02_313886_0000.jpg', '/home/pi/Desktop/images/25012025/02/57/image_25012025_02_57_02_313886_0001.jpg', '/home/pi/Desktop/images/25012025/02/57/image_25012025_02_57_02_313886_0002.jpg', '/home/pi/Desktop/images/25012025/02/57/image_25012025_02_57_02_313886_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/56/image_25012025_02_56_02_764140_0002.jpg
/home/pi/Desktop/images/25012025/02/56/image_25012025_02_56_02_764140_0003.jpg
/home/pi/Desktop/images/25012025/02/57/image_25012025_02_57_02_313886_0000.jpg
/home/pi/Desktop/images/25012025/02/57/image_25012025_02_57_02_313886_0001.jpg
/home/pi/Desktop/images/25012025/02/57/image_25012025_02_57_02_313886_0002.jpg
/home/pi/Desktop/images/25012025/02/57/image_25012025_02_57_02_313886_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":["1331218065","1331218218","1331218103","1331218208","1331218109","1331218120"],"photo_ids_order":["1331218065","1331218103","1331218109","1331218120","1331218208","1331218218"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cbad11ca4c056e03c2a2e3735e213ddd.jpg","text":"TemporaryFile(/tmp/multipartBody4149867438474234249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776391232,"filename":"image_25012025_02_56_02_764140_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2f35e309642d7df768926a275db2551d.jpg","text":"TemporaryFile(/tmp/multipartBody4347353499894415094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776391232,"filename":"image_25012025_02_57_02_313886_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/40b699eaed070692ace990a9c852620f.jpg","text":"TemporaryFile(/tmp/multipartBody82918942543873296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776391232,"filename":"image_25012025_02_56_02_764140_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c6c8668ce605bcb76fd74bc24f06265c.jpg","text":"TemporaryFile(/tmp/multipartBody5444973099123380984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776391232,"filename":"image_25012025_02_57_02_313886_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/77f3a50c6afa820dc9765b0541f44916.jpg","text":"TemporaryFile(/tmp/multipartBody6222787447005085400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776391232,"filename":"image_25012025_02_57_02_313886_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9900f3e316a8bc5a614f0d21e186ab78.jpg","text":"TemporaryFile(/tmp/multipartBody4963038373016175116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776391232,"filename":"image_25012025_02_57_02_313886_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331218109","file1":"1331218103","file0":"1331218065","file4":"1331218208","file5":"1331218218","file3":"1331218120"},"map_files_photo_id_array":[{"photo_id":"1331218218","filename":"file5"},{"photo_id":"1331218109","filename":"file2"},{"photo_id":"1331218208","filename":"file4"},{"photo_id":"1331218103","filename":"file1"},{"photo_id":"1331218065","filename":"file0"},{"photo_id":"1331218120","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331218065":["hashtag1","hashtag2"]},{"1331218218":["hashtag1","hashtag2"]},{"1331218103":["hashtag1","hashtag2"]},{"1331218208":["hashtag1","hashtag2"]},{"1331218109":["hashtag1","hashtag2"]},{"1331218120":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331218065, 1331218218, 1331218103, 1331218208, 1331218109, 1331218120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 110.44610786437988 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:40:02.734794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/58/image_25012025_02_58_02_822126_0000.jpg', '/home/pi/Desktop/images/25012025/02/58/image_25012025_02_58_02_822126_0001.jpg', '/home/pi/Desktop/images/25012025/02/58/image_25012025_02_58_02_822126_0002.jpg', '/home/pi/Desktop/images/25012025/02/58/image_25012025_02_58_02_822126_0003.jpg', '/home/pi/Desktop/images/25012025/02/59/image_25012025_02_59_02_467947_0000.jpg', '/home/pi/Desktop/images/25012025/02/59/image_25012025_02_59_02_467947_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/58/image_25012025_02_58_02_822126_0000.jpg
/home/pi/Desktop/images/25012025/02/58/image_25012025_02_58_02_822126_0001.jpg
/home/pi/Desktop/images/25012025/02/58/image_25012025_02_58_02_822126_0002.jpg
/home/pi/Desktop/images/25012025/02/58/image_25012025_02_58_02_822126_0003.jpg
/home/pi/Desktop/images/25012025/02/59/image_25012025_02_59_02_467947_0000.jpg
/home/pi/Desktop/images/25012025/02/59/image_25012025_02_59_02_467947_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":["1331218263","1331218257","1331218268","1331218277","1331218282","1331218261"],"photo_ids_order":["1331218257","1331218261","1331218263","1331218268","1331218277","1331218282"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6c11742bc90027b1e507c5b87b6e4c0d.jpg","text":"TemporaryFile(/tmp/multipartBody335004166472194856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776499773,"filename":"image_25012025_02_58_02_822126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f773a3a4da016951cd710a000c414223.jpg","text":"TemporaryFile(/tmp/multipartBody3317267313571263381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776499773,"filename":"image_25012025_02_58_02_822126_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/79f8b619e7f98105d816cf3e652666a9.jpg","text":"TemporaryFile(/tmp/multipartBody256216281990094789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776499773,"filename":"image_25012025_02_58_02_822126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9549da74a786a894b7b05b3f1bd083c5.jpg","text":"TemporaryFile(/tmp/multipartBody1746680436409908514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776499773,"filename":"image_25012025_02_59_02_467947_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c8a0cf0294530447c455c52088c9fa72.jpg","text":"TemporaryFile(/tmp/multipartBody2759435004013611868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776499773,"filename":"image_25012025_02_59_02_467947_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7fc6fa90fbe8393e8e5633a2b8c6be37.jpg","text":"TemporaryFile(/tmp/multipartBody1747066185644701586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776499773,"filename":"image_25012025_02_58_02_822126_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331218263","file1":"1331218261","file0":"1331218257","file4":"1331218277","file5":"1331218282","file3":"1331218268"},"map_files_photo_id_array":[{"photo_id":"1331218282","filename":"file5"},{"photo_id":"1331218263","filename":"file2"},{"photo_id":"1331218277","filename":"file4"},{"photo_id":"1331218261","filename":"file1"},{"photo_id":"1331218257","filename":"file0"},{"photo_id":"1331218268","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331218263":["hashtag1","hashtag2"]},{"1331218257":["hashtag1","hashtag2"]},{"1331218268":["hashtag1","hashtag2"]},{"1331218277":["hashtag1","hashtag2"]},{"1331218282":["hashtag1","hashtag2"]},{"1331218261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331218263, 1331218257, 1331218268, 1331218277, 1331218282, 1331218261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.91516089439392 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:42:02.788987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/02/59/image_25012025_02_59_02_467947_0002.jpg', '/home/pi/Desktop/images/25012025/02/59/image_25012025_02_59_02_467947_0003.jpg', '/home/pi/Desktop/images/25012025/03/00/image_25012025_03_00_02_637508_0000.jpg', '/home/pi/Desktop/images/25012025/03/00/image_25012025_03_00_02_637508_0001.jpg', '/home/pi/Desktop/images/25012025/03/00/image_25012025_03_00_02_637508_0002.jpg', '/home/pi/Desktop/images/25012025/03/00/image_25012025_03_00_02_637508_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/02/59/image_25012025_02_59_02_467947_0002.jpg
/home/pi/Desktop/images/25012025/02/59/image_25012025_02_59_02_467947_0003.jpg
/home/pi/Desktop/images/25012025/03/00/image_25012025_03_00_02_637508_0000.jpg
/home/pi/Desktop/images/25012025/03/00/image_25012025_03_00_02_637508_0001.jpg
/home/pi/Desktop/images/25012025/03/00/image_25012025_03_00_02_637508_0002.jpg
/home/pi/Desktop/images/25012025/03/00/image_25012025_03_00_02_637508_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":["1331218491","1331218485","1331218479","1331218397","1331218394","1331218495"],"photo_ids_order":["1331218394","1331218397","1331218479","1331218485","1331218491","1331218495"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/05456c426cb15b725ea20e6aa1ee15f9.jpg","text":"TemporaryFile(/tmp/multipartBody5199881529948773034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776629847,"filename":"image_25012025_03_00_02_637508_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0c20f975b6513e7e99d09c4b07b72d9e.jpg","text":"TemporaryFile(/tmp/multipartBody482889144783578014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776629847,"filename":"image_25012025_03_00_02_637508_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/73afa1e74f50218ebec66a0a79d5914a.jpg","text":"TemporaryFile(/tmp/multipartBody9215382691223895283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776629847,"filename":"image_25012025_03_00_02_637508_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6ca5539c92ff4efe2fdf7a985b7f395a.jpg","text":"TemporaryFile(/tmp/multipartBody1274300491076032866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776629847,"filename":"image_25012025_02_59_02_467947_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7538f140554b61595021fcf00d6a2eee.jpg","text":"TemporaryFile(/tmp/multipartBody3178720302578121999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776629847,"filename":"image_25012025_02_59_02_467947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c79c02c17469227d56e869eb52cb79e5.jpg","text":"TemporaryFile(/tmp/multipartBody4485144134136462313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776629847,"filename":"image_25012025_03_00_02_637508_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331218479","file1":"1331218397","file0":"1331218394","file4":"1331218491","file5":"1331218495","file3":"1331218485"},"map_files_photo_id_array":[{"photo_id":"1331218495","filename":"file5"},{"photo_id":"1331218479","filename":"file2"},{"photo_id":"1331218491","filename":"file4"},{"photo_id":"1331218397","filename":"file1"},{"photo_id":"1331218394","filename":"file0"},{"photo_id":"1331218485","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331218491":["hashtag1","hashtag2"]},{"1331218485":["hashtag1","hashtag2"]},{"1331218479":["hashtag1","hashtag2"]},{"1331218397":["hashtag1","hashtag2"]},{"1331218394":["hashtag1","hashtag2"]},{"1331218495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331218491, 1331218485, 1331218479, 1331218397, 1331218394, 1331218495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.40284204483032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:44:02.744538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/01/image_25012025_03_01_02_321408_0000.jpg', '/home/pi/Desktop/images/25012025/03/01/image_25012025_03_01_02_321408_0001.jpg', '/home/pi/Desktop/images/25012025/03/01/image_25012025_03_01_02_321408_0002.jpg', '/home/pi/Desktop/images/25012025/03/01/image_25012025_03_01_02_321408_0003.jpg', '/home/pi/Desktop/images/25012025/03/02/image_25012025_03_02_02_872358_0000.jpg', '/home/pi/Desktop/images/25012025/03/02/image_25012025_03_02_02_872358_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/01/image_25012025_03_01_02_321408_0000.jpg
/home/pi/Desktop/images/25012025/03/01/image_25012025_03_01_02_321408_0001.jpg
/home/pi/Desktop/images/25012025/03/01/image_25012025_03_01_02_321408_0002.jpg
/home/pi/Desktop/images/25012025/03/01/image_25012025_03_01_02_321408_0003.jpg
/home/pi/Desktop/images/25012025/03/02/image_25012025_03_02_02_872358_0000.jpg
/home/pi/Desktop/images/25012025/03/02/image_25012025_03_02_02_872358_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":["1331218653","1331218676","1331218643","1331218660","1331218648","1331218639"],"photo_ids_order":["1331218639","1331218643","1331218648","1331218653","1331218660","1331218676"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/54d5774440d400f16aed44d8cbe8e1ae.jpg","text":"TemporaryFile(/tmp/multipartBody6262300406274228720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776749483,"filename":"image_25012025_03_01_02_321408_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/47b8d7d23c6790b72c989e042ab311a3.jpg","text":"TemporaryFile(/tmp/multipartBody2045031682768244380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776749483,"filename":"image_25012025_03_02_02_872358_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b0543fdd16b412b50fed0e313a69f3d4.jpg","text":"TemporaryFile(/tmp/multipartBody8776848004192370641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776749483,"filename":"image_25012025_03_01_02_321408_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ff912204bb259454af6ce83bc96743f6.jpg","text":"TemporaryFile(/tmp/multipartBody966861460253555416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776749483,"filename":"image_25012025_03_02_02_872358_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4919b3c1bf281c2997d093142f41bf31.jpg","text":"TemporaryFile(/tmp/multipartBody5839925538904937883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776749483,"filename":"image_25012025_03_01_02_321408_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/30d471dd2a624e1405a73eb6a6fccd81.jpg","text":"TemporaryFile(/tmp/multipartBody988978353145548696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776749483,"filename":"image_25012025_03_01_02_321408_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331218648","file1":"1331218643","file0":"1331218639","file4":"1331218660","file5":"1331218676","file3":"1331218653"},"map_files_photo_id_array":[{"photo_id":"1331218676","filename":"file5"},{"photo_id":"1331218648","filename":"file2"},{"photo_id":"1331218660","filename":"file4"},{"photo_id":"1331218643","filename":"file1"},{"photo_id":"1331218639","filename":"file0"},{"photo_id":"1331218653","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331218653":["hashtag1","hashtag2"]},{"1331218676":["hashtag1","hashtag2"]},{"1331218643":["hashtag1","hashtag2"]},{"1331218660":["hashtag1","hashtag2"]},{"1331218648":["hashtag1","hashtag2"]},{"1331218639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331218653, 1331218676, 1331218643, 1331218660, 1331218648, 1331218639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.57405614852905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:46:02.823546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/02/image_25012025_03_02_02_872358_0002.jpg', '/home/pi/Desktop/images/25012025/03/02/image_25012025_03_02_02_872358_0003.jpg', '/home/pi/Desktop/images/25012025/03/03/image_25012025_03_03_02_448079_0000.jpg', '/home/pi/Desktop/images/25012025/03/03/image_25012025_03_03_02_448079_0001.jpg', '/home/pi/Desktop/images/25012025/03/03/image_25012025_03_03_02_448079_0002.jpg', '/home/pi/Desktop/images/25012025/03/03/image_25012025_03_03_02_448079_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/02/image_25012025_03_02_02_872358_0002.jpg
/home/pi/Desktop/images/25012025/03/02/image_25012025_03_02_02_872358_0003.jpg
/home/pi/Desktop/images/25012025/03/03/image_25012025_03_03_02_448079_0000.jpg
/home/pi/Desktop/images/25012025/03/03/image_25012025_03_03_02_448079_0001.jpg
/home/pi/Desktop/images/25012025/03/03/image_25012025_03_03_02_448079_0002.jpg
/home/pi/Desktop/images/25012025/03/03/image_25012025_03_03_02_448079_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":["1331219882","1331219885","1331219816","1331219825","1331219890","1331219767"],"photo_ids_order":["1331219767","1331219816","1331219825","1331219882","1331219885","1331219890"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9221d59500e5beb93e9369091e27849d.jpg","text":"TemporaryFile(/tmp/multipartBody3756935634989543211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776868960,"filename":"image_25012025_03_03_02_448079_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4ccbd1c2fabee6c3550e5d33e5e162ad.jpg","text":"TemporaryFile(/tmp/multipartBody8416753043916291706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776868960,"filename":"image_25012025_03_03_02_448079_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/72f80b0353b0918381e29d525279e09b.jpg","text":"TemporaryFile(/tmp/multipartBody6890743818951270476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776868960,"filename":"image_25012025_03_02_02_872358_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a0b9f65af58f922b0b46cde969ebe988.jpg","text":"TemporaryFile(/tmp/multipartBody5901736030516040054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776868960,"filename":"image_25012025_03_03_02_448079_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e91f4af1cd231e5bdcfa84293a1bf4c0.jpg","text":"TemporaryFile(/tmp/multipartBody6420144941081144880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776868960,"filename":"image_25012025_03_03_02_448079_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/911fba0fb09b21d044d8a2007f833f0e.jpg","text":"TemporaryFile(/tmp/multipartBody5509544600303281320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776868960,"filename":"image_25012025_03_02_02_872358_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331219825","file1":"1331219816","file0":"1331219767","file4":"1331219885","file5":"1331219890","file3":"1331219882"},"map_files_photo_id_array":[{"photo_id":"1331219890","filename":"file5"},{"photo_id":"1331219825","filename":"file2"},{"photo_id":"1331219885","filename":"file4"},{"photo_id":"1331219816","filename":"file1"},{"photo_id":"1331219767","filename":"file0"},{"photo_id":"1331219882","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331219882":["hashtag1","hashtag2"]},{"1331219885":["hashtag1","hashtag2"]},{"1331219816":["hashtag1","hashtag2"]},{"1331219825":["hashtag1","hashtag2"]},{"1331219890":["hashtag1","hashtag2"]},{"1331219767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331219882, 1331219885, 1331219816, 1331219825, 1331219890, 1331219767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.34624004364014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:48:02.868332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/04/image_25012025_03_04_02_960788_0000.jpg', '/home/pi/Desktop/images/25012025/03/04/image_25012025_03_04_02_960788_0001.jpg', '/home/pi/Desktop/images/25012025/03/04/image_25012025_03_04_02_960788_0002.jpg', '/home/pi/Desktop/images/25012025/03/04/image_25012025_03_04_02_960788_0003.jpg', '/home/pi/Desktop/images/25012025/03/05/image_25012025_03_05_02_586943_0000.jpg', '/home/pi/Desktop/images/25012025/03/05/image_25012025_03_05_02_586943_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/04/image_25012025_03_04_02_960788_0000.jpg
/home/pi/Desktop/images/25012025/03/04/image_25012025_03_04_02_960788_0001.jpg
/home/pi/Desktop/images/25012025/03/04/image_25012025_03_04_02_960788_0002.jpg
/home/pi/Desktop/images/25012025/03/04/image_25012025_03_04_02_960788_0003.jpg
/home/pi/Desktop/images/25012025/03/05/image_25012025_03_05_02_586943_0000.jpg
/home/pi/Desktop/images/25012025/03/05/image_25012025_03_05_02_586943_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":["1331220357","1331220339","1331220380","1331220344","1331220445","1331220349"],"photo_ids_order":["1331220339","1331220344","1331220349","1331220357","1331220380","1331220445"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c88fe3b67e815f9c7701fc22c714c891.jpg","text":"TemporaryFile(/tmp/multipartBody7106376440313243756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776982193,"filename":"image_25012025_03_04_02_960788_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/af58fc5afeb55e14427cecb4e0c1004a.jpg","text":"TemporaryFile(/tmp/multipartBody3458994613744120767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776982193,"filename":"image_25012025_03_04_02_960788_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/facd5f4869b15b18e26aca75b45022ae.jpg","text":"TemporaryFile(/tmp/multipartBody8464621006679041871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776982193,"filename":"image_25012025_03_05_02_586943_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/57bc932393cc93725663a1d70767f6c9.jpg","text":"TemporaryFile(/tmp/multipartBody6990369257551454645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776982193,"filename":"image_25012025_03_04_02_960788_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ef690507f0a64aeb851add01ff9e5ca3.jpg","text":"TemporaryFile(/tmp/multipartBody4280723867930388258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776982193,"filename":"image_25012025_03_05_02_586943_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f9b095791f1d10b725f26a14c92f7777.jpg","text":"TemporaryFile(/tmp/multipartBody1439777148295395619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737776982193,"filename":"image_25012025_03_04_02_960788_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331220349","file1":"1331220344","file0":"1331220339","file4":"1331220380","file5":"1331220445","file3":"1331220357"},"map_files_photo_id_array":[{"photo_id":"1331220445","filename":"file5"},{"photo_id":"1331220349","filename":"file2"},{"photo_id":"1331220380","filename":"file4"},{"photo_id":"1331220344","filename":"file1"},{"photo_id":"1331220339","filename":"file0"},{"photo_id":"1331220357","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331220357":["hashtag1","hashtag2"]},{"1331220339":["hashtag1","hashtag2"]},{"1331220380":["hashtag1","hashtag2"]},{"1331220344":["hashtag1","hashtag2"]},{"1331220445":["hashtag1","hashtag2"]},{"1331220349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331220357, 1331220339, 1331220380, 1331220344, 1331220445, 1331220349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.97461128234863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:50:02.935535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/05/image_25012025_03_05_02_586943_0002.jpg', '/home/pi/Desktop/images/25012025/03/05/image_25012025_03_05_02_586943_0003.jpg', '/home/pi/Desktop/images/25012025/03/06/image_25012025_03_06_03_068994_0000.jpg', '/home/pi/Desktop/images/25012025/03/06/image_25012025_03_06_03_068994_0001.jpg', '/home/pi/Desktop/images/25012025/03/06/image_25012025_03_06_03_068994_0002.jpg', '/home/pi/Desktop/images/25012025/03/06/image_25012025_03_06_03_068994_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/05/image_25012025_03_05_02_586943_0002.jpg
/home/pi/Desktop/images/25012025/03/05/image_25012025_03_05_02_586943_0003.jpg
/home/pi/Desktop/images/25012025/03/06/image_25012025_03_06_03_068994_0000.jpg
/home/pi/Desktop/images/25012025/03/06/image_25012025_03_06_03_068994_0001.jpg
/home/pi/Desktop/images/25012025/03/06/image_25012025_03_06_03_068994_0002.jpg
/home/pi/Desktop/images/25012025/03/06/image_25012025_03_06_03_068994_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":["1331221713","1331221672","1331221762","1331221756","1331221624","1331221752"],"photo_ids_order":["1331221624","1331221672","1331221713","1331221752","1331221756","1331221762"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b60bc1dd25ecd3f88342d703255c16b5.jpg","text":"TemporaryFile(/tmp/multipartBody1341852264333288141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777109210,"filename":"image_25012025_03_06_03_068994_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/31aee32aea386852858d83ef44427933.jpg","text":"TemporaryFile(/tmp/multipartBody8822512314531390847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777109210,"filename":"image_25012025_03_05_02_586943_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/707e9e69f5d7a96aa08a8c1d81084324.jpg","text":"TemporaryFile(/tmp/multipartBody7393399902743242916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777109210,"filename":"image_25012025_03_06_03_068994_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e9008724545e56a68fe3aeb9388eb808.jpg","text":"TemporaryFile(/tmp/multipartBody5360011793093773917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777109210,"filename":"image_25012025_03_06_03_068994_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6ce389c9e0b2eda918770c403664b502.jpg","text":"TemporaryFile(/tmp/multipartBody2019636340046732222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777109210,"filename":"image_25012025_03_05_02_586943_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bd7cd561ba6edab784fda9573eed3ae8.jpg","text":"TemporaryFile(/tmp/multipartBody1068637479214424590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777109210,"filename":"image_25012025_03_06_03_068994_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331221713","file1":"1331221672","file0":"1331221624","file4":"1331221756","file5":"1331221762","file3":"1331221752"},"map_files_photo_id_array":[{"photo_id":"1331221762","filename":"file5"},{"photo_id":"1331221713","filename":"file2"},{"photo_id":"1331221756","filename":"file4"},{"photo_id":"1331221672","filename":"file1"},{"photo_id":"1331221624","filename":"file0"},{"photo_id":"1331221752","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331221713":["hashtag1","hashtag2"]},{"1331221672":["hashtag1","hashtag2"]},{"1331221762":["hashtag1","hashtag2"]},{"1331221756":["hashtag1","hashtag2"]},{"1331221624":["hashtag1","hashtag2"]},{"1331221752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331221713, 1331221672, 1331221762, 1331221756, 1331221624, 1331221752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.16921854019165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:52:02.887957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/07/image_25012025_03_07_02_626368_0000.jpg', '/home/pi/Desktop/images/25012025/03/07/image_25012025_03_07_02_626368_0001.jpg', '/home/pi/Desktop/images/25012025/03/07/image_25012025_03_07_02_626368_0002.jpg', '/home/pi/Desktop/images/25012025/03/07/image_25012025_03_07_02_626368_0003.jpg', '/home/pi/Desktop/images/25012025/03/08/image_25012025_03_08_03_137637_0000.jpg', '/home/pi/Desktop/images/25012025/03/08/image_25012025_03_08_03_137637_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/07/image_25012025_03_07_02_626368_0000.jpg
/home/pi/Desktop/images/25012025/03/07/image_25012025_03_07_02_626368_0001.jpg
/home/pi/Desktop/images/25012025/03/07/image_25012025_03_07_02_626368_0002.jpg
/home/pi/Desktop/images/25012025/03/07/image_25012025_03_07_02_626368_0003.jpg
/home/pi/Desktop/images/25012025/03/08/image_25012025_03_08_03_137637_0000.jpg
/home/pi/Desktop/images/25012025/03/08/image_25012025_03_08_03_137637_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":["1331222307","1331222297","1331222315","1331222311","1331222301","1331222304"],"photo_ids_order":["1331222297","1331222301","1331222304","1331222307","1331222311","1331222315"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b8856dfd58096d35e19bcc6844b4f8a6.jpg","text":"TemporaryFile(/tmp/multipartBody6992637413246522118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777227828,"filename":"image_25012025_03_07_02_626368_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/708012fef315ad9ea56066891ff5f433.jpg","text":"TemporaryFile(/tmp/multipartBody5160807053918819898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777227828,"filename":"image_25012025_03_07_02_626368_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/01aa3a30a2b8e0622a4bf6d0863afbcb.jpg","text":"TemporaryFile(/tmp/multipartBody2113133462165357532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777227828,"filename":"image_25012025_03_08_03_137637_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9d561447f6abdf9ca353e77995715fa7.jpg","text":"TemporaryFile(/tmp/multipartBody8969838764196091005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777227828,"filename":"image_25012025_03_08_03_137637_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/64df6338c31a65f5427eeb9d97d6fd15.jpg","text":"TemporaryFile(/tmp/multipartBody2957972315538938699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777227828,"filename":"image_25012025_03_07_02_626368_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dbf8add4c7e218398b19b2704ef20639.jpg","text":"TemporaryFile(/tmp/multipartBody3312991804046290087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777227828,"filename":"image_25012025_03_07_02_626368_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331222304","file1":"1331222301","file0":"1331222297","file4":"1331222311","file5":"1331222315","file3":"1331222307"},"map_files_photo_id_array":[{"photo_id":"1331222315","filename":"file5"},{"photo_id":"1331222304","filename":"file2"},{"photo_id":"1331222311","filename":"file4"},{"photo_id":"1331222301","filename":"file1"},{"photo_id":"1331222297","filename":"file0"},{"photo_id":"1331222307","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331222307":["hashtag1","hashtag2"]},{"1331222297":["hashtag1","hashtag2"]},{"1331222315":["hashtag1","hashtag2"]},{"1331222311":["hashtag1","hashtag2"]},{"1331222301":["hashtag1","hashtag2"]},{"1331222304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331222307, 1331222297, 1331222315, 1331222311, 1331222301, 1331222304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.81813263893127 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:54:02.810067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/08/image_25012025_03_08_03_137637_0002.jpg', '/home/pi/Desktop/images/25012025/03/08/image_25012025_03_08_03_137637_0003.jpg', '/home/pi/Desktop/images/25012025/03/09/image_25012025_03_09_02_826354_0000.jpg', '/home/pi/Desktop/images/25012025/03/09/image_25012025_03_09_02_826354_0001.jpg', '/home/pi/Desktop/images/25012025/03/09/image_25012025_03_09_02_826354_0002.jpg', '/home/pi/Desktop/images/25012025/03/09/image_25012025_03_09_02_826354_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/08/image_25012025_03_08_03_137637_0002.jpg
/home/pi/Desktop/images/25012025/03/08/image_25012025_03_08_03_137637_0003.jpg
/home/pi/Desktop/images/25012025/03/09/image_25012025_03_09_02_826354_0000.jpg
/home/pi/Desktop/images/25012025/03/09/image_25012025_03_09_02_826354_0001.jpg
/home/pi/Desktop/images/25012025/03/09/image_25012025_03_09_02_826354_0002.jpg
/home/pi/Desktop/images/25012025/03/09/image_25012025_03_09_02_826354_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":["1331222399","1331222461","1331222383","1331222377","1331222397","1331222401"],"photo_ids_order":["1331222377","1331222383","1331222397","1331222399","1331222401","1331222461"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/199ee7da7f87041d288cf94df03a7e36.jpg","text":"TemporaryFile(/tmp/multipartBody2462561844895207997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777338073,"filename":"image_25012025_03_09_02_826354_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a1851c6977c4152d393deada1787b4a7.jpg","text":"TemporaryFile(/tmp/multipartBody4582949654167421365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777338073,"filename":"image_25012025_03_09_02_826354_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8fb2859d3d1538b92419db75ed76eee6.jpg","text":"TemporaryFile(/tmp/multipartBody4910729356782183475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777338073,"filename":"image_25012025_03_08_03_137637_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4eed862de73c3526dfcc3e3ec0914a77.jpg","text":"TemporaryFile(/tmp/multipartBody106179147989022215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777338073,"filename":"image_25012025_03_08_03_137637_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a93cfdb57b1b430bdcf35eceba9c673d.jpg","text":"TemporaryFile(/tmp/multipartBody1367839968553125216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777338073,"filename":"image_25012025_03_09_02_826354_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/06f496085b0354e1f7eddeffcfca4121.jpg","text":"TemporaryFile(/tmp/multipartBody1807201162329077301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777338073,"filename":"image_25012025_03_09_02_826354_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331222397","file1":"1331222383","file0":"1331222377","file4":"1331222401","file5":"1331222461","file3":"1331222399"},"map_files_photo_id_array":[{"photo_id":"1331222461","filename":"file5"},{"photo_id":"1331222397","filename":"file2"},{"photo_id":"1331222401","filename":"file4"},{"photo_id":"1331222383","filename":"file1"},{"photo_id":"1331222377","filename":"file0"},{"photo_id":"1331222399","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331222399":["hashtag1","hashtag2"]},{"1331222461":["hashtag1","hashtag2"]},{"1331222383":["hashtag1","hashtag2"]},{"1331222377":["hashtag1","hashtag2"]},{"1331222397":["hashtag1","hashtag2"]},{"1331222401":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331222399, 1331222461, 1331222383, 1331222377, 1331222397, 1331222401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.81916832923889 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:56:03.091279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/10/image_25012025_03_10_02_428942_0000.jpg', '/home/pi/Desktop/images/25012025/03/10/image_25012025_03_10_02_428942_0001.jpg', '/home/pi/Desktop/images/25012025/03/10/image_25012025_03_10_02_428942_0002.jpg', '/home/pi/Desktop/images/25012025/03/10/image_25012025_03_10_02_428942_0003.jpg', '/home/pi/Desktop/images/25012025/03/11/image_25012025_03_11_03_072639_0000.jpg', '/home/pi/Desktop/images/25012025/03/11/image_25012025_03_11_03_072639_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/10/image_25012025_03_10_02_428942_0000.jpg
/home/pi/Desktop/images/25012025/03/10/image_25012025_03_10_02_428942_0001.jpg
/home/pi/Desktop/images/25012025/03/10/image_25012025_03_10_02_428942_0002.jpg
/home/pi/Desktop/images/25012025/03/10/image_25012025_03_10_02_428942_0003.jpg
/home/pi/Desktop/images/25012025/03/11/image_25012025_03_11_03_072639_0000.jpg
/home/pi/Desktop/images/25012025/03/11/image_25012025_03_11_03_072639_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":["1331222887","1331222892","1331222883","1331222904","1331222913","1331222897"],"photo_ids_order":["1331222883","1331222887","1331222892","1331222897","1331222904","1331222913"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/acf91d0d959b9339761e080419f97499.jpg","text":"TemporaryFile(/tmp/multipartBody3281703754706498269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777474946,"filename":"image_25012025_03_10_02_428942_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/305788f34f1cd2d2af1fe9212d90bc6a.jpg","text":"TemporaryFile(/tmp/multipartBody5407742020747816812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777474946,"filename":"image_25012025_03_10_02_428942_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/da192a7c6789460ea4c1796d17f289ce.jpg","text":"TemporaryFile(/tmp/multipartBody6266915713118614995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777474946,"filename":"image_25012025_03_10_02_428942_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c4ae85c4a72f87c8d2d405c48ee29e0.jpg","text":"TemporaryFile(/tmp/multipartBody1080055052076699273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777474946,"filename":"image_25012025_03_11_03_072639_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/410ecfb9f9bbb0b54e3f45f2584ba145.jpg","text":"TemporaryFile(/tmp/multipartBody8012976753100549135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777474946,"filename":"image_25012025_03_11_03_072639_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/87529385f9311155da8e262fe933bb50.jpg","text":"TemporaryFile(/tmp/multipartBody8670635862763463418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777474946,"filename":"image_25012025_03_10_02_428942_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331222892","file1":"1331222887","file0":"1331222883","file4":"1331222904","file5":"1331222913","file3":"1331222897"},"map_files_photo_id_array":[{"photo_id":"1331222913","filename":"file5"},{"photo_id":"1331222892","filename":"file2"},{"photo_id":"1331222904","filename":"file4"},{"photo_id":"1331222887","filename":"file1"},{"photo_id":"1331222883","filename":"file0"},{"photo_id":"1331222897","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331222887":["hashtag1","hashtag2"]},{"1331222892":["hashtag1","hashtag2"]},{"1331222883":["hashtag1","hashtag2"]},{"1331222904":["hashtag1","hashtag2"]},{"1331222913":["hashtag1","hashtag2"]},{"1331222897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331222887, 1331222892, 1331222883, 1331222904, 1331222913, 1331222897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.211177110672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 04:59:03.400752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/11/image_25012025_03_11_03_072639_0002.jpg', '/home/pi/Desktop/images/25012025/03/11/image_25012025_03_11_03_072639_0003.jpg', '/home/pi/Desktop/images/25012025/03/12/image_25012025_03_12_02_612182_0000.jpg', '/home/pi/Desktop/images/25012025/03/12/image_25012025_03_12_02_612182_0001.jpg', '/home/pi/Desktop/images/25012025/03/12/image_25012025_03_12_02_612182_0002.jpg', '/home/pi/Desktop/images/25012025/03/12/image_25012025_03_12_02_612182_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/11/image_25012025_03_11_03_072639_0002.jpg
/home/pi/Desktop/images/25012025/03/11/image_25012025_03_11_03_072639_0003.jpg
/home/pi/Desktop/images/25012025/03/12/image_25012025_03_12_02_612182_0000.jpg
/home/pi/Desktop/images/25012025/03/12/image_25012025_03_12_02_612182_0001.jpg
/home/pi/Desktop/images/25012025/03/12/image_25012025_03_12_02_612182_0002.jpg
/home/pi/Desktop/images/25012025/03/12/image_25012025_03_12_02_612182_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":["1331223124","1331223016","1331223171","1331222997","1331223132","1331223038"],"photo_ids_order":["1331222997","1331223016","1331223038","1331223124","1331223132","1331223171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6797be5aaad5c51c5022b8d18429907c.jpg","text":"TemporaryFile(/tmp/multipartBody4617798955298432428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777638987,"filename":"image_25012025_03_12_02_612182_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/659f4de86e31d1b6e442dadbd1614f93.jpg","text":"TemporaryFile(/tmp/multipartBody2618713572762799122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777638987,"filename":"image_25012025_03_11_03_072639_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8fffed0f574306ef15ca0e91608eab7d.jpg","text":"TemporaryFile(/tmp/multipartBody6378159056993703899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777638987,"filename":"image_25012025_03_12_02_612182_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/218deaf2bb1c5ca852a032bed8ce46e6.jpg","text":"TemporaryFile(/tmp/multipartBody8503948705465487610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777638987,"filename":"image_25012025_03_11_03_072639_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/545b22942e6e149b4215836178762de0.jpg","text":"TemporaryFile(/tmp/multipartBody7542749993733813031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777638987,"filename":"image_25012025_03_12_02_612182_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/247c755af90c110ee117f09bc5cb799a.jpg","text":"TemporaryFile(/tmp/multipartBody6724744856483205414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777638987,"filename":"image_25012025_03_12_02_612182_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331223038","file1":"1331223016","file0":"1331222997","file4":"1331223132","file5":"1331223171","file3":"1331223124"},"map_files_photo_id_array":[{"photo_id":"1331223171","filename":"file5"},{"photo_id":"1331223038","filename":"file2"},{"photo_id":"1331223132","filename":"file4"},{"photo_id":"1331223016","filename":"file1"},{"photo_id":"1331222997","filename":"file0"},{"photo_id":"1331223124","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331223124":["hashtag1","hashtag2"]},{"1331223016":["hashtag1","hashtag2"]},{"1331223171":["hashtag1","hashtag2"]},{"1331222997":["hashtag1","hashtag2"]},{"1331223132":["hashtag1","hashtag2"]},{"1331223038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331223124, 1331223016, 1331223171, 1331222997, 1331223132, 1331223038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.51130604743958 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:01:02.346375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/13/image_25012025_03_13_02_276705_0000.jpg', '/home/pi/Desktop/images/25012025/03/13/image_25012025_03_13_02_276705_0001.jpg', '/home/pi/Desktop/images/25012025/03/13/image_25012025_03_13_02_276705_0002.jpg', '/home/pi/Desktop/images/25012025/03/13/image_25012025_03_13_02_276705_0003.jpg', '/home/pi/Desktop/images/25012025/03/14/image_25012025_03_14_02_717278_0000.jpg', '/home/pi/Desktop/images/25012025/03/14/image_25012025_03_14_02_717278_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/13/image_25012025_03_13_02_276705_0000.jpg
/home/pi/Desktop/images/25012025/03/13/image_25012025_03_13_02_276705_0001.jpg
/home/pi/Desktop/images/25012025/03/13/image_25012025_03_13_02_276705_0002.jpg
/home/pi/Desktop/images/25012025/03/13/image_25012025_03_13_02_276705_0003.jpg
/home/pi/Desktop/images/25012025/03/14/image_25012025_03_14_02_717278_0000.jpg
/home/pi/Desktop/images/25012025/03/14/image_25012025_03_14_02_717278_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":["1331224141","1331223952","1331224269","1331224278","1331224187","1331224211"],"photo_ids_order":["1331223952","1331224141","1331224187","1331224211","1331224269","1331224278"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/de04e695104bffebc30c1beaa454460a.jpg","text":"TemporaryFile(/tmp/multipartBody2451435588475506522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777765051,"filename":"image_25012025_03_13_02_276705_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fbe9ede2624e0c5627e9aa4cdc093b7c.jpg","text":"TemporaryFile(/tmp/multipartBody71602712639951063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777765051,"filename":"image_25012025_03_13_02_276705_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/915d4e8fc2febbf60265ad0e805649c7.jpg","text":"TemporaryFile(/tmp/multipartBody3320791146056235569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777765051,"filename":"image_25012025_03_14_02_717278_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b2255496362b3dec28720f3b2ff011fd.jpg","text":"TemporaryFile(/tmp/multipartBody193278429829415114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777765051,"filename":"image_25012025_03_14_02_717278_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/516409e8e5f39608e2a5df985bfde64d.jpg","text":"TemporaryFile(/tmp/multipartBody4182936385819000272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777765051,"filename":"image_25012025_03_13_02_276705_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a7b76717ebbd33d3442496a2b81a9cb4.jpg","text":"TemporaryFile(/tmp/multipartBody3253623412814426455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777765051,"filename":"image_25012025_03_13_02_276705_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331224187","file1":"1331224141","file0":"1331223952","file4":"1331224269","file5":"1331224278","file3":"1331224211"},"map_files_photo_id_array":[{"photo_id":"1331224278","filename":"file5"},{"photo_id":"1331224187","filename":"file2"},{"photo_id":"1331224269","filename":"file4"},{"photo_id":"1331224141","filename":"file1"},{"photo_id":"1331223952","filename":"file0"},{"photo_id":"1331224211","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331224141":["hashtag1","hashtag2"]},{"1331223952":["hashtag1","hashtag2"]},{"1331224269":["hashtag1","hashtag2"]},{"1331224278":["hashtag1","hashtag2"]},{"1331224187":["hashtag1","hashtag2"]},{"1331224211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331224141, 1331223952, 1331224269, 1331224278, 1331224187, 1331224211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.90736603736877 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:03:02.677237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/14/image_25012025_03_14_02_717278_0002.jpg', '/home/pi/Desktop/images/25012025/03/14/image_25012025_03_14_02_717278_0003.jpg', '/home/pi/Desktop/images/25012025/03/15/image_25012025_03_15_02_289958_0000.jpg', '/home/pi/Desktop/images/25012025/03/15/image_25012025_03_15_02_289958_0001.jpg', '/home/pi/Desktop/images/25012025/03/15/image_25012025_03_15_02_289958_0002.jpg', '/home/pi/Desktop/images/25012025/03/15/image_25012025_03_15_02_289958_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/14/image_25012025_03_14_02_717278_0002.jpg
/home/pi/Desktop/images/25012025/03/14/image_25012025_03_14_02_717278_0003.jpg
/home/pi/Desktop/images/25012025/03/15/image_25012025_03_15_02_289958_0000.jpg
/home/pi/Desktop/images/25012025/03/15/image_25012025_03_15_02_289958_0001.jpg
/home/pi/Desktop/images/25012025/03/15/image_25012025_03_15_02_289958_0002.jpg
/home/pi/Desktop/images/25012025/03/15/image_25012025_03_15_02_289958_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":["1331224849","1331224875","1331224997","1331224836","1331224865","1331224748"],"photo_ids_order":["1331224748","1331224836","1331224849","1331224865","1331224875","1331224997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/008ad95c67349d1bc1edcbabf4247ffa.jpg","text":"TemporaryFile(/tmp/multipartBody1653776210676539657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777887404,"filename":"image_25012025_03_15_02_289958_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/54eea3683209f61e49dcfb04abc5acc2.jpg","text":"TemporaryFile(/tmp/multipartBody269073856191047324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777887404,"filename":"image_25012025_03_15_02_289958_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/efc9640db52fd467acf92585a27f86d4.jpg","text":"TemporaryFile(/tmp/multipartBody1891712521754723838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777887404,"filename":"image_25012025_03_15_02_289958_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/75bf923fbeacf038c5460615a9915e69.jpg","text":"TemporaryFile(/tmp/multipartBody2439385418006311460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777887404,"filename":"image_25012025_03_14_02_717278_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e594a3631425cebb89256c9e6ef2095d.jpg","text":"TemporaryFile(/tmp/multipartBody5186292459086095764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777887404,"filename":"image_25012025_03_15_02_289958_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/deba8e75309341a4690755f1a412c98e.jpg","text":"TemporaryFile(/tmp/multipartBody6277018843454843834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737777887404,"filename":"image_25012025_03_14_02_717278_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331224849","file1":"1331224836","file0":"1331224748","file4":"1331224875","file5":"1331224997","file3":"1331224865"},"map_files_photo_id_array":[{"photo_id":"1331224997","filename":"file5"},{"photo_id":"1331224849","filename":"file2"},{"photo_id":"1331224875","filename":"file4"},{"photo_id":"1331224836","filename":"file1"},{"photo_id":"1331224748","filename":"file0"},{"photo_id":"1331224865","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331224849":["hashtag1","hashtag2"]},{"1331224875":["hashtag1","hashtag2"]},{"1331224997":["hashtag1","hashtag2"]},{"1331224836":["hashtag1","hashtag2"]},{"1331224865":["hashtag1","hashtag2"]},{"1331224748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331224849, 1331224875, 1331224997, 1331224836, 1331224865, 1331224748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.10663676261902 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:05:02.758513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/16/image_25012025_03_16_02_924213_0000.jpg', '/home/pi/Desktop/images/25012025/03/16/image_25012025_03_16_02_924213_0001.jpg', '/home/pi/Desktop/images/25012025/03/16/image_25012025_03_16_02_924213_0002.jpg', '/home/pi/Desktop/images/25012025/03/16/image_25012025_03_16_02_924213_0003.jpg', '/home/pi/Desktop/images/25012025/03/17/image_25012025_03_17_02_638100_0000.jpg', '/home/pi/Desktop/images/25012025/03/17/image_25012025_03_17_02_638100_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/16/image_25012025_03_16_02_924213_0000.jpg
/home/pi/Desktop/images/25012025/03/16/image_25012025_03_16_02_924213_0001.jpg
/home/pi/Desktop/images/25012025/03/16/image_25012025_03_16_02_924213_0002.jpg
/home/pi/Desktop/images/25012025/03/16/image_25012025_03_16_02_924213_0003.jpg
/home/pi/Desktop/images/25012025/03/17/image_25012025_03_17_02_638100_0000.jpg
/home/pi/Desktop/images/25012025/03/17/image_25012025_03_17_02_638100_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: 30.255923748016357 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:06:02.118752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/16/image_25012025_03_16_02_924213_0000.jpg', '/home/pi/Desktop/images/25012025/03/16/image_25012025_03_16_02_924213_0001.jpg', '/home/pi/Desktop/images/25012025/03/16/image_25012025_03_16_02_924213_0002.jpg', '/home/pi/Desktop/images/25012025/03/16/image_25012025_03_16_02_924213_0003.jpg', '/home/pi/Desktop/images/25012025/03/17/image_25012025_03_17_02_638100_0000.jpg', '/home/pi/Desktop/images/25012025/03/17/image_25012025_03_17_02_638100_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/16/image_25012025_03_16_02_924213_0000.jpg
/home/pi/Desktop/images/25012025/03/16/image_25012025_03_16_02_924213_0001.jpg
/home/pi/Desktop/images/25012025/03/16/image_25012025_03_16_02_924213_0002.jpg
/home/pi/Desktop/images/25012025/03/16/image_25012025_03_16_02_924213_0003.jpg
/home/pi/Desktop/images/25012025/03/17/image_25012025_03_17_02_638100_0000.jpg
/home/pi/Desktop/images/25012025/03/17/image_25012025_03_17_02_638100_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":["1331225413","1331225409","1331225400","1331225403","1331225406","1331225398"],"photo_ids_order":["1331225398","1331225400","1331225403","1331225406","1331225409","1331225413"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/13d5cc75ed37051657950e3f16e140a6.jpg","text":"TemporaryFile(/tmp/multipartBody2329202642721368341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778069325,"filename":"image_25012025_03_17_02_638100_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/41021bbf5e9ff008161f6cd76eb69566.jpg","text":"TemporaryFile(/tmp/multipartBody4350080429410094349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778069325,"filename":"image_25012025_03_17_02_638100_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3132d4272bdf4f33b86dd1bd07f006fb.jpg","text":"TemporaryFile(/tmp/multipartBody552229897357811700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778069325,"filename":"image_25012025_03_16_02_924213_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5833f10b521ad3c3707659afe7330729.jpg","text":"TemporaryFile(/tmp/multipartBody2858667915455723660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778069325,"filename":"image_25012025_03_16_02_924213_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/80d7535121c3578d554147dc3de8bc5a.jpg","text":"TemporaryFile(/tmp/multipartBody7781410629156325508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778069325,"filename":"image_25012025_03_16_02_924213_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e2fccf0485f265b335fed9bd57b7d8d3.jpg","text":"TemporaryFile(/tmp/multipartBody6911930080739270498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778069325,"filename":"image_25012025_03_16_02_924213_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331225403","file1":"1331225400","file0":"1331225398","file4":"1331225409","file5":"1331225413","file3":"1331225406"},"map_files_photo_id_array":[{"photo_id":"1331225413","filename":"file5"},{"photo_id":"1331225403","filename":"file2"},{"photo_id":"1331225409","filename":"file4"},{"photo_id":"1331225400","filename":"file1"},{"photo_id":"1331225398","filename":"file0"},{"photo_id":"1331225406","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331225413":["hashtag1","hashtag2"]},{"1331225409":["hashtag1","hashtag2"]},{"1331225400":["hashtag1","hashtag2"]},{"1331225403":["hashtag1","hashtag2"]},{"1331225406":["hashtag1","hashtag2"]},{"1331225398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331225413, 1331225409, 1331225400, 1331225403, 1331225406, 1331225398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.11171340942383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:08:02.178802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/17/image_25012025_03_17_02_638100_0002.jpg', '/home/pi/Desktop/images/25012025/03/17/image_25012025_03_17_02_638100_0003.jpg', '/home/pi/Desktop/images/25012025/03/18/image_25012025_03_18_02_207058_0000.jpg', '/home/pi/Desktop/images/25012025/03/18/image_25012025_03_18_02_207058_0001.jpg', '/home/pi/Desktop/images/25012025/03/18/image_25012025_03_18_02_207058_0002.jpg', '/home/pi/Desktop/images/25012025/03/18/image_25012025_03_18_02_207058_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/17/image_25012025_03_17_02_638100_0002.jpg
/home/pi/Desktop/images/25012025/03/17/image_25012025_03_17_02_638100_0003.jpg
/home/pi/Desktop/images/25012025/03/18/image_25012025_03_18_02_207058_0000.jpg
/home/pi/Desktop/images/25012025/03/18/image_25012025_03_18_02_207058_0001.jpg
/home/pi/Desktop/images/25012025/03/18/image_25012025_03_18_02_207058_0002.jpg
/home/pi/Desktop/images/25012025/03/18/image_25012025_03_18_02_207058_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":["1331225475","1331225445","1331225469","1331225441","1331225450","1331225461"],"photo_ids_order":["1331225441","1331225445","1331225450","1331225461","1331225469","1331225475"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e210f98bf4a0394a8bb5126481e44412.jpg","text":"TemporaryFile(/tmp/multipartBody4083419732177769191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778189497,"filename":"image_25012025_03_18_02_207058_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b89d7595dd54341cdbf88a028e81051d.jpg","text":"TemporaryFile(/tmp/multipartBody4910856573330854205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778189497,"filename":"image_25012025_03_17_02_638100_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fb968c7faf76e96fb00eb931a75139b8.jpg","text":"TemporaryFile(/tmp/multipartBody2070341356251675884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778189497,"filename":"image_25012025_03_18_02_207058_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/745b0e042ef126fe6f3b0ea979c50f9f.jpg","text":"TemporaryFile(/tmp/multipartBody7991677034061541434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778189497,"filename":"image_25012025_03_17_02_638100_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d4dd7a61a9aaf7e8f9419d230432f67e.jpg","text":"TemporaryFile(/tmp/multipartBody5069577238520734196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778189497,"filename":"image_25012025_03_18_02_207058_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0ce579bb0ecf4fa86494067de6916a82.jpg","text":"TemporaryFile(/tmp/multipartBody1102980983844033746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778189497,"filename":"image_25012025_03_18_02_207058_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331225450","file1":"1331225445","file0":"1331225441","file4":"1331225469","file5":"1331225475","file3":"1331225461"},"map_files_photo_id_array":[{"photo_id":"1331225475","filename":"file5"},{"photo_id":"1331225450","filename":"file2"},{"photo_id":"1331225469","filename":"file4"},{"photo_id":"1331225445","filename":"file1"},{"photo_id":"1331225441","filename":"file0"},{"photo_id":"1331225461","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331225475":["hashtag1","hashtag2"]},{"1331225445":["hashtag1","hashtag2"]},{"1331225469":["hashtag1","hashtag2"]},{"1331225441":["hashtag1","hashtag2"]},{"1331225450":["hashtag1","hashtag2"]},{"1331225461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331225475, 1331225445, 1331225469, 1331225441, 1331225450, 1331225461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.21020317077637 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:10:02.321413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/19/image_25012025_03_19_02_870845_0000.jpg', '/home/pi/Desktop/images/25012025/03/19/image_25012025_03_19_02_870845_0001.jpg', '/home/pi/Desktop/images/25012025/03/19/image_25012025_03_19_02_870845_0002.jpg', '/home/pi/Desktop/images/25012025/03/19/image_25012025_03_19_02_870845_0003.jpg', '/home/pi/Desktop/images/25012025/03/20/image_25012025_03_20_02_391658_0000.jpg', '/home/pi/Desktop/images/25012025/03/20/image_25012025_03_20_02_391658_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/19/image_25012025_03_19_02_870845_0000.jpg
/home/pi/Desktop/images/25012025/03/19/image_25012025_03_19_02_870845_0001.jpg
/home/pi/Desktop/images/25012025/03/19/image_25012025_03_19_02_870845_0002.jpg
/home/pi/Desktop/images/25012025/03/19/image_25012025_03_19_02_870845_0003.jpg
/home/pi/Desktop/images/25012025/03/20/image_25012025_03_20_02_391658_0000.jpg
/home/pi/Desktop/images/25012025/03/20/image_25012025_03_20_02_391658_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: 47.773152112960815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:11:02.866203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/19/image_25012025_03_19_02_870845_0000.jpg', '/home/pi/Desktop/images/25012025/03/19/image_25012025_03_19_02_870845_0001.jpg', '/home/pi/Desktop/images/25012025/03/19/image_25012025_03_19_02_870845_0002.jpg', '/home/pi/Desktop/images/25012025/03/19/image_25012025_03_19_02_870845_0003.jpg', '/home/pi/Desktop/images/25012025/03/20/image_25012025_03_20_02_391658_0000.jpg', '/home/pi/Desktop/images/25012025/03/20/image_25012025_03_20_02_391658_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/19/image_25012025_03_19_02_870845_0000.jpg
/home/pi/Desktop/images/25012025/03/19/image_25012025_03_19_02_870845_0001.jpg
/home/pi/Desktop/images/25012025/03/19/image_25012025_03_19_02_870845_0002.jpg
/home/pi/Desktop/images/25012025/03/19/image_25012025_03_19_02_870845_0003.jpg
/home/pi/Desktop/images/25012025/03/20/image_25012025_03_20_02_391658_0000.jpg
/home/pi/Desktop/images/25012025/03/20/image_25012025_03_20_02_391658_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":["1331225521","1331225538","1331225523","1331225545","1331225533","1331225527"],"photo_ids_order":["1331225521","1331225523","1331225527","1331225533","1331225538","1331225545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/100bd201e7319e36ebb52e8164dd3031.jpg","text":"TemporaryFile(/tmp/multipartBody5082519604132510841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778368180,"filename":"image_25012025_03_19_02_870845_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/87a6d748127d2fdeec05bfa867d1bbfa.jpg","text":"TemporaryFile(/tmp/multipartBody5107716900416813726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778368180,"filename":"image_25012025_03_20_02_391658_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b655ebceec33e82f5cfb209723c7b3d3.jpg","text":"TemporaryFile(/tmp/multipartBody85163918423075807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778368180,"filename":"image_25012025_03_19_02_870845_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a266dbc70cc345270cc42e74344e59ea.jpg","text":"TemporaryFile(/tmp/multipartBody1320614770520698732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778368180,"filename":"image_25012025_03_20_02_391658_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/00993dc184702f3b274e3e38cbf5334c.jpg","text":"TemporaryFile(/tmp/multipartBody1244212970350306375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778368180,"filename":"image_25012025_03_19_02_870845_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1983e7a0cd7646d106c22f8bb4c17907.jpg","text":"TemporaryFile(/tmp/multipartBody3628967406944002765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778368180,"filename":"image_25012025_03_19_02_870845_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331225527","file1":"1331225523","file0":"1331225521","file4":"1331225538","file5":"1331225545","file3":"1331225533"},"map_files_photo_id_array":[{"photo_id":"1331225545","filename":"file5"},{"photo_id":"1331225527","filename":"file2"},{"photo_id":"1331225538","filename":"file4"},{"photo_id":"1331225523","filename":"file1"},{"photo_id":"1331225521","filename":"file0"},{"photo_id":"1331225533","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331225521":["hashtag1","hashtag2"]},{"1331225538":["hashtag1","hashtag2"]},{"1331225523":["hashtag1","hashtag2"]},{"1331225545":["hashtag1","hashtag2"]},{"1331225533":["hashtag1","hashtag2"]},{"1331225527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331225521, 1331225538, 1331225523, 1331225545, 1331225533, 1331225527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.7356960773468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:13:03.405850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/20/image_25012025_03_20_02_391658_0002.jpg', '/home/pi/Desktop/images/25012025/03/20/image_25012025_03_20_02_391658_0003.jpg', '/home/pi/Desktop/images/25012025/03/21/image_25012025_03_21_03_016677_0000.jpg', '/home/pi/Desktop/images/25012025/03/21/image_25012025_03_21_03_016677_0001.jpg', '/home/pi/Desktop/images/25012025/03/21/image_25012025_03_21_03_016677_0002.jpg', '/home/pi/Desktop/images/25012025/03/21/image_25012025_03_21_03_016677_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/20/image_25012025_03_20_02_391658_0002.jpg
/home/pi/Desktop/images/25012025/03/20/image_25012025_03_20_02_391658_0003.jpg
/home/pi/Desktop/images/25012025/03/21/image_25012025_03_21_03_016677_0000.jpg
/home/pi/Desktop/images/25012025/03/21/image_25012025_03_21_03_016677_0001.jpg
/home/pi/Desktop/images/25012025/03/21/image_25012025_03_21_03_016677_0002.jpg
/home/pi/Desktop/images/25012025/03/21/image_25012025_03_21_03_016677_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":["1331225595","1331225582","1331225603","1331225609","1331225590","1331225587"],"photo_ids_order":["1331225582","1331225587","1331225590","1331225595","1331225603","1331225609"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f0137865b3344ec8aa2ca0b686f65df1.jpg","text":"TemporaryFile(/tmp/multipartBody3593084298856582590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778480319,"filename":"image_25012025_03_21_03_016677_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d1489bfeefbbc9dd387d23766410df58.jpg","text":"TemporaryFile(/tmp/multipartBody7160972883998280718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778480319,"filename":"image_25012025_03_20_02_391658_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/27846387ba2bbaf368805a721136bd33.jpg","text":"TemporaryFile(/tmp/multipartBody828573016272921726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778480319,"filename":"image_25012025_03_21_03_016677_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d9143d4d2027d8adee98dda8e01c7d45.jpg","text":"TemporaryFile(/tmp/multipartBody5519133826514498907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778480319,"filename":"image_25012025_03_21_03_016677_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4f70d8eae5946b760a548e462a152f60.jpg","text":"TemporaryFile(/tmp/multipartBody7417875282336153784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778480319,"filename":"image_25012025_03_21_03_016677_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7d0cef8a53ee07ac72a02fdfe61b774b.jpg","text":"TemporaryFile(/tmp/multipartBody7449094734210125749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778480319,"filename":"image_25012025_03_20_02_391658_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331225590","file1":"1331225587","file0":"1331225582","file4":"1331225603","file5":"1331225609","file3":"1331225595"},"map_files_photo_id_array":[{"photo_id":"1331225609","filename":"file5"},{"photo_id":"1331225590","filename":"file2"},{"photo_id":"1331225603","filename":"file4"},{"photo_id":"1331225587","filename":"file1"},{"photo_id":"1331225582","filename":"file0"},{"photo_id":"1331225595","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331225595":["hashtag1","hashtag2"]},{"1331225582":["hashtag1","hashtag2"]},{"1331225603":["hashtag1","hashtag2"]},{"1331225609":["hashtag1","hashtag2"]},{"1331225590":["hashtag1","hashtag2"]},{"1331225587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331225595, 1331225582, 1331225603, 1331225609, 1331225590, 1331225587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.79467797279358 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:15:02.308386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/22/image_25012025_03_22_02_484687_0000.jpg', '/home/pi/Desktop/images/25012025/03/22/image_25012025_03_22_02_484687_0001.jpg', '/home/pi/Desktop/images/25012025/03/22/image_25012025_03_22_02_484687_0002.jpg', '/home/pi/Desktop/images/25012025/03/22/image_25012025_03_22_02_484687_0003.jpg', '/home/pi/Desktop/images/25012025/03/23/image_25012025_03_23_03_087891_0000.jpg', '/home/pi/Desktop/images/25012025/03/23/image_25012025_03_23_03_087891_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/22/image_25012025_03_22_02_484687_0000.jpg
/home/pi/Desktop/images/25012025/03/22/image_25012025_03_22_02_484687_0001.jpg
/home/pi/Desktop/images/25012025/03/22/image_25012025_03_22_02_484687_0002.jpg
/home/pi/Desktop/images/25012025/03/22/image_25012025_03_22_02_484687_0003.jpg
/home/pi/Desktop/images/25012025/03/23/image_25012025_03_23_03_087891_0000.jpg
/home/pi/Desktop/images/25012025/03/23/image_25012025_03_23_03_087891_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":["1331225667","1331225652","1331225648","1331225663","1331225657","1331225644"],"photo_ids_order":["1331225644","1331225648","1331225652","1331225657","1331225663","1331225667"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/386d16f64ab89395e1a197c5276c1e3f.jpg","text":"TemporaryFile(/tmp/multipartBody5296497512629083568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778603755,"filename":"image_25012025_03_23_03_087891_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/706689ea5fc1bdc9bc3358b8c99d30ec.jpg","text":"TemporaryFile(/tmp/multipartBody8525941686919862250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778603755,"filename":"image_25012025_03_22_02_484687_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5273bdce0cde659cac165e5d6b9c667f.jpg","text":"TemporaryFile(/tmp/multipartBody7648419536055919196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778603755,"filename":"image_25012025_03_22_02_484687_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c011c1e375ebcfa38684b28156a48e7.jpg","text":"TemporaryFile(/tmp/multipartBody5306885803974567476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778603755,"filename":"image_25012025_03_23_03_087891_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f2f3e3c5b56c172cdc2f6782b67109a7.jpg","text":"TemporaryFile(/tmp/multipartBody4613309560011686380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778603755,"filename":"image_25012025_03_22_02_484687_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eda19e937e9ab83572be2713e17f16c0.jpg","text":"TemporaryFile(/tmp/multipartBody9066515436095238649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778603755,"filename":"image_25012025_03_22_02_484687_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331225652","file1":"1331225648","file0":"1331225644","file4":"1331225663","file5":"1331225667","file3":"1331225657"},"map_files_photo_id_array":[{"photo_id":"1331225667","filename":"file5"},{"photo_id":"1331225652","filename":"file2"},{"photo_id":"1331225663","filename":"file4"},{"photo_id":"1331225648","filename":"file1"},{"photo_id":"1331225644","filename":"file0"},{"photo_id":"1331225657","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331225667":["hashtag1","hashtag2"]},{"1331225652":["hashtag1","hashtag2"]},{"1331225648":["hashtag1","hashtag2"]},{"1331225663":["hashtag1","hashtag2"]},{"1331225657":["hashtag1","hashtag2"]},{"1331225644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331225667, 1331225652, 1331225648, 1331225663, 1331225657, 1331225644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.88351845741272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:17:02.600112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/23/image_25012025_03_23_03_087891_0002.jpg', '/home/pi/Desktop/images/25012025/03/23/image_25012025_03_23_03_087891_0003.jpg', '/home/pi/Desktop/images/25012025/03/24/image_25012025_03_24_02_183805_0000.jpg', '/home/pi/Desktop/images/25012025/03/24/image_25012025_03_24_02_183805_0001.jpg', '/home/pi/Desktop/images/25012025/03/24/image_25012025_03_24_02_183805_0002.jpg', '/home/pi/Desktop/images/25012025/03/24/image_25012025_03_24_02_183805_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/23/image_25012025_03_23_03_087891_0002.jpg
/home/pi/Desktop/images/25012025/03/23/image_25012025_03_23_03_087891_0003.jpg
/home/pi/Desktop/images/25012025/03/24/image_25012025_03_24_02_183805_0000.jpg
/home/pi/Desktop/images/25012025/03/24/image_25012025_03_24_02_183805_0001.jpg
/home/pi/Desktop/images/25012025/03/24/image_25012025_03_24_02_183805_0002.jpg
/home/pi/Desktop/images/25012025/03/24/image_25012025_03_24_02_183805_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":["1331225947","1331225931","1331225814","1331225971","1331225695","1331225956"],"photo_ids_order":["1331225695","1331225814","1331225931","1331225947","1331225956","1331225971"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4da3d35b5e57dc94697e9e12d3766680.jpg","text":"TemporaryFile(/tmp/multipartBody3526285286766022096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778721851,"filename":"image_25012025_03_24_02_183805_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9d4f13e98db2b5fb7e301cef4f17910f.jpg","text":"TemporaryFile(/tmp/multipartBody4055794907789129080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778721851,"filename":"image_25012025_03_24_02_183805_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/58824ebf2ea48c80354e36872b7b1d4b.jpg","text":"TemporaryFile(/tmp/multipartBody3281861340008949032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778721851,"filename":"image_25012025_03_23_03_087891_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ed606b6896f7a931792306f09553588d.jpg","text":"TemporaryFile(/tmp/multipartBody4355996320861107290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778721851,"filename":"image_25012025_03_24_02_183805_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/31d92de1b745b4b984f044b059be494c.jpg","text":"TemporaryFile(/tmp/multipartBody3381472616074394336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778721851,"filename":"image_25012025_03_23_03_087891_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2044355acf493e0b3e5cc34c8fd8048a.jpg","text":"TemporaryFile(/tmp/multipartBody3067073385114681740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778721851,"filename":"image_25012025_03_24_02_183805_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331225931","file1":"1331225814","file0":"1331225695","file4":"1331225956","file5":"1331225971","file3":"1331225947"},"map_files_photo_id_array":[{"photo_id":"1331225971","filename":"file5"},{"photo_id":"1331225931","filename":"file2"},{"photo_id":"1331225956","filename":"file4"},{"photo_id":"1331225814","filename":"file1"},{"photo_id":"1331225695","filename":"file0"},{"photo_id":"1331225947","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331225947":["hashtag1","hashtag2"]},{"1331225931":["hashtag1","hashtag2"]},{"1331225814":["hashtag1","hashtag2"]},{"1331225971":["hashtag1","hashtag2"]},{"1331225695":["hashtag1","hashtag2"]},{"1331225956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331225947, 1331225931, 1331225814, 1331225971, 1331225695, 1331225956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.93179988861084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:19:02.683253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/25/image_25012025_03_25_02_835543_0000.jpg', '/home/pi/Desktop/images/25012025/03/25/image_25012025_03_25_02_835543_0001.jpg', '/home/pi/Desktop/images/25012025/03/25/image_25012025_03_25_02_835543_0002.jpg', '/home/pi/Desktop/images/25012025/03/25/image_25012025_03_25_02_835543_0003.jpg', '/home/pi/Desktop/images/25012025/03/26/image_25012025_03_26_02_429038_0000.jpg', '/home/pi/Desktop/images/25012025/03/26/image_25012025_03_26_02_429038_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/25/image_25012025_03_25_02_835543_0000.jpg
/home/pi/Desktop/images/25012025/03/25/image_25012025_03_25_02_835543_0001.jpg
/home/pi/Desktop/images/25012025/03/25/image_25012025_03_25_02_835543_0002.jpg
/home/pi/Desktop/images/25012025/03/25/image_25012025_03_25_02_835543_0003.jpg
/home/pi/Desktop/images/25012025/03/26/image_25012025_03_26_02_429038_0000.jpg
/home/pi/Desktop/images/25012025/03/26/image_25012025_03_26_02_429038_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":["1331226111","1331226125","1331226119","1331226110","1331226128","1331226115"],"photo_ids_order":["1331226110","1331226111","1331226115","1331226119","1331226125","1331226128"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/60ffc83bb780c25cd862679421c98702.jpg","text":"TemporaryFile(/tmp/multipartBody5755505142614743679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778851283,"filename":"image_25012025_03_25_02_835543_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/997e9a611d0d9c27ad291cc5aabddd83.jpg","text":"TemporaryFile(/tmp/multipartBody1393881940175991852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778851283,"filename":"image_25012025_03_26_02_429038_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e4f6913791407184a971f5559c72cb8e.jpg","text":"TemporaryFile(/tmp/multipartBody58436129487136107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778851283,"filename":"image_25012025_03_25_02_835543_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/888bc3b8c77663a30616624f5b9e2a5d.jpg","text":"TemporaryFile(/tmp/multipartBody8344993234157899002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778851283,"filename":"image_25012025_03_25_02_835543_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/80bec53782cf8aa5acf3495b6004bfe6.jpg","text":"TemporaryFile(/tmp/multipartBody3682863833935716121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778851283,"filename":"image_25012025_03_26_02_429038_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/074d6b8f43cab7556694ee7600bd0c23.jpg","text":"TemporaryFile(/tmp/multipartBody2330388817836497474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737778851283,"filename":"image_25012025_03_25_02_835543_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331226115","file1":"1331226111","file0":"1331226110","file4":"1331226125","file5":"1331226128","file3":"1331226119"},"map_files_photo_id_array":[{"photo_id":"1331226128","filename":"file5"},{"photo_id":"1331226115","filename":"file2"},{"photo_id":"1331226125","filename":"file4"},{"photo_id":"1331226111","filename":"file1"},{"photo_id":"1331226110","filename":"file0"},{"photo_id":"1331226119","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331226111":["hashtag1","hashtag2"]},{"1331226125":["hashtag1","hashtag2"]},{"1331226119":["hashtag1","hashtag2"]},{"1331226110":["hashtag1","hashtag2"]},{"1331226128":["hashtag1","hashtag2"]},{"1331226115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331226111, 1331226125, 1331226119, 1331226110, 1331226128, 1331226115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.60123372077942 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:21:02.842007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/26/image_25012025_03_26_02_429038_0002.jpg', '/home/pi/Desktop/images/25012025/03/26/image_25012025_03_26_02_429038_0003.jpg', '/home/pi/Desktop/images/25012025/03/27/image_25012025_03_27_03_028315_0000.jpg', '/home/pi/Desktop/images/25012025/03/27/image_25012025_03_27_03_028315_0001.jpg', '/home/pi/Desktop/images/25012025/03/27/image_25012025_03_27_03_028315_0002.jpg', '/home/pi/Desktop/images/25012025/03/27/image_25012025_03_27_03_028315_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/26/image_25012025_03_26_02_429038_0002.jpg
/home/pi/Desktop/images/25012025/03/26/image_25012025_03_26_02_429038_0003.jpg
/home/pi/Desktop/images/25012025/03/27/image_25012025_03_27_03_028315_0000.jpg
/home/pi/Desktop/images/25012025/03/27/image_25012025_03_27_03_028315_0001.jpg
/home/pi/Desktop/images/25012025/03/27/image_25012025_03_27_03_028315_0002.jpg
/home/pi/Desktop/images/25012025/03/27/image_25012025_03_27_03_028315_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: 30.295493841171265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:22:02.530035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/26/image_25012025_03_26_02_429038_0002.jpg', '/home/pi/Desktop/images/25012025/03/26/image_25012025_03_26_02_429038_0003.jpg', '/home/pi/Desktop/images/25012025/03/27/image_25012025_03_27_03_028315_0000.jpg', '/home/pi/Desktop/images/25012025/03/27/image_25012025_03_27_03_028315_0001.jpg', '/home/pi/Desktop/images/25012025/03/27/image_25012025_03_27_03_028315_0002.jpg', '/home/pi/Desktop/images/25012025/03/27/image_25012025_03_27_03_028315_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/26/image_25012025_03_26_02_429038_0002.jpg
/home/pi/Desktop/images/25012025/03/26/image_25012025_03_26_02_429038_0003.jpg
/home/pi/Desktop/images/25012025/03/27/image_25012025_03_27_03_028315_0000.jpg
/home/pi/Desktop/images/25012025/03/27/image_25012025_03_27_03_028315_0001.jpg
/home/pi/Desktop/images/25012025/03/27/image_25012025_03_27_03_028315_0002.jpg
/home/pi/Desktop/images/25012025/03/27/image_25012025_03_27_03_028315_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":["1331226243","1331226236","1331226239","1331226233","1331226250","1331226235"],"photo_ids_order":["1331226233","1331226235","1331226236","1331226239","1331226243","1331226250"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f2d80f510f4bddb1d3f702fd72eaf66f.jpg","text":"TemporaryFile(/tmp/multipartBody8025565508799964095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779027072,"filename":"image_25012025_03_27_03_028315_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8996e25dd0cc4167ac6a92b4c988c9fb.jpg","text":"TemporaryFile(/tmp/multipartBody2075968010460572866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779027072,"filename":"image_25012025_03_27_03_028315_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b169ac6607dbcf3f78d8298956e235b3.jpg","text":"TemporaryFile(/tmp/multipartBody6227459267753918057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779027072,"filename":"image_25012025_03_27_03_028315_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d1785fb5513b9c70791b55cd87d6ae23.jpg","text":"TemporaryFile(/tmp/multipartBody6493463574174480288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779027072,"filename":"image_25012025_03_26_02_429038_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ebe8b81231c4d03e385ad9f3379ef7bb.jpg","text":"TemporaryFile(/tmp/multipartBody28884994134044276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779027072,"filename":"image_25012025_03_27_03_028315_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2f04569bd768119a3337bed0a0b81c9c.jpg","text":"TemporaryFile(/tmp/multipartBody1079928367220906317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779027072,"filename":"image_25012025_03_26_02_429038_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331226236","file1":"1331226235","file0":"1331226233","file4":"1331226243","file5":"1331226250","file3":"1331226239"},"map_files_photo_id_array":[{"photo_id":"1331226250","filename":"file5"},{"photo_id":"1331226236","filename":"file2"},{"photo_id":"1331226243","filename":"file4"},{"photo_id":"1331226235","filename":"file1"},{"photo_id":"1331226233","filename":"file0"},{"photo_id":"1331226239","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331226243":["hashtag1","hashtag2"]},{"1331226236":["hashtag1","hashtag2"]},{"1331226239":["hashtag1","hashtag2"]},{"1331226233":["hashtag1","hashtag2"]},{"1331226250":["hashtag1","hashtag2"]},{"1331226235":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331226243, 1331226236, 1331226239, 1331226233, 1331226250, 1331226235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.31802773475647 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:24:02.530289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/28/image_25012025_03_28_02_516480_0000.jpg', '/home/pi/Desktop/images/25012025/03/28/image_25012025_03_28_02_516480_0001.jpg', '/home/pi/Desktop/images/25012025/03/28/image_25012025_03_28_02_516480_0002.jpg', '/home/pi/Desktop/images/25012025/03/28/image_25012025_03_28_02_516480_0003.jpg', '/home/pi/Desktop/images/25012025/03/29/image_25012025_03_29_03_077542_0000.jpg', '/home/pi/Desktop/images/25012025/03/29/image_25012025_03_29_03_077542_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/28/image_25012025_03_28_02_516480_0000.jpg
/home/pi/Desktop/images/25012025/03/28/image_25012025_03_28_02_516480_0001.jpg
/home/pi/Desktop/images/25012025/03/28/image_25012025_03_28_02_516480_0002.jpg
/home/pi/Desktop/images/25012025/03/28/image_25012025_03_28_02_516480_0003.jpg
/home/pi/Desktop/images/25012025/03/29/image_25012025_03_29_03_077542_0000.jpg
/home/pi/Desktop/images/25012025/03/29/image_25012025_03_29_03_077542_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":["1331226351","1331226324","1331226408","1331226347","1331226399","1331226403"],"photo_ids_order":["1331226324","1331226347","1331226351","1331226399","1331226403","1331226408"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3557fc2813717a8d23fee455eb662dca.jpg","text":"TemporaryFile(/tmp/multipartBody9153222225986463752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779148732,"filename":"image_25012025_03_28_02_516480_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8d42bf5172668bc51d0b47542a258c0c.jpg","text":"TemporaryFile(/tmp/multipartBody8774492090234011945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779148732,"filename":"image_25012025_03_28_02_516480_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/85c6650a24ef4ad61c3c2e8747137c71.jpg","text":"TemporaryFile(/tmp/multipartBody1621687089654657243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779148732,"filename":"image_25012025_03_29_03_077542_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/492679d2c60f523d027215da7a55516b.jpg","text":"TemporaryFile(/tmp/multipartBody927653988200122280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779148732,"filename":"image_25012025_03_28_02_516480_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/667b189a0e61ae9dd35d9e044ebaf94e.jpg","text":"TemporaryFile(/tmp/multipartBody1438296340111413910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779148732,"filename":"image_25012025_03_28_02_516480_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6e69c736b7b4b53f31801e2ab3c056a9.jpg","text":"TemporaryFile(/tmp/multipartBody6055599004646402598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779148732,"filename":"image_25012025_03_29_03_077542_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331226351","file1":"1331226347","file0":"1331226324","file4":"1331226403","file5":"1331226408","file3":"1331226399"},"map_files_photo_id_array":[{"photo_id":"1331226408","filename":"file5"},{"photo_id":"1331226351","filename":"file2"},{"photo_id":"1331226403","filename":"file4"},{"photo_id":"1331226347","filename":"file1"},{"photo_id":"1331226324","filename":"file0"},{"photo_id":"1331226399","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331226351":["hashtag1","hashtag2"]},{"1331226324":["hashtag1","hashtag2"]},{"1331226408":["hashtag1","hashtag2"]},{"1331226347":["hashtag1","hashtag2"]},{"1331226399":["hashtag1","hashtag2"]},{"1331226403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331226351, 1331226324, 1331226408, 1331226347, 1331226399, 1331226403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.48802518844604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:26:02.669528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/29/image_25012025_03_29_03_077542_0002.jpg', '/home/pi/Desktop/images/25012025/03/29/image_25012025_03_29_03_077542_0003.jpg', '/home/pi/Desktop/images/25012025/03/30/image_25012025_03_30_02_577314_0000.jpg', '/home/pi/Desktop/images/25012025/03/30/image_25012025_03_30_02_577314_0001.jpg', '/home/pi/Desktop/images/25012025/03/30/image_25012025_03_30_02_577314_0002.jpg', '/home/pi/Desktop/images/25012025/03/30/image_25012025_03_30_02_577314_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/29/image_25012025_03_29_03_077542_0002.jpg
/home/pi/Desktop/images/25012025/03/29/image_25012025_03_29_03_077542_0003.jpg
/home/pi/Desktop/images/25012025/03/30/image_25012025_03_30_02_577314_0000.jpg
/home/pi/Desktop/images/25012025/03/30/image_25012025_03_30_02_577314_0001.jpg
/home/pi/Desktop/images/25012025/03/30/image_25012025_03_30_02_577314_0002.jpg
/home/pi/Desktop/images/25012025/03/30/image_25012025_03_30_02_577314_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":["1331226683","1331226737","1331226749","1331226713","1331226707","1331226742"],"photo_ids_order":["1331226683","1331226707","1331226713","1331226737","1331226742","1331226749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1420358717b3975835306889fe89a76a.jpg","text":"TemporaryFile(/tmp/multipartBody8616999991142153562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779273696,"filename":"image_25012025_03_29_03_077542_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/870221cf12d53c0b3201688f47e037ca.jpg","text":"TemporaryFile(/tmp/multipartBody2701707681843182146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779273696,"filename":"image_25012025_03_30_02_577314_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2662239975c5efb74ab91732c5494408.jpg","text":"TemporaryFile(/tmp/multipartBody5275034491228239304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779273696,"filename":"image_25012025_03_30_02_577314_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9d1460cf1a0d1f8357c61d55701f6d51.jpg","text":"TemporaryFile(/tmp/multipartBody4436521699461193342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779273696,"filename":"image_25012025_03_30_02_577314_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3f4ede5ae00a62263240d5c49cf25af1.jpg","text":"TemporaryFile(/tmp/multipartBody8965051751576001014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779273696,"filename":"image_25012025_03_29_03_077542_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a91f6f334ca5ee4d29a7a01299791ca6.jpg","text":"TemporaryFile(/tmp/multipartBody8106673724424928431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779273696,"filename":"image_25012025_03_30_02_577314_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331226713","file1":"1331226707","file0":"1331226683","file4":"1331226742","file5":"1331226749","file3":"1331226737"},"map_files_photo_id_array":[{"photo_id":"1331226749","filename":"file5"},{"photo_id":"1331226713","filename":"file2"},{"photo_id":"1331226742","filename":"file4"},{"photo_id":"1331226707","filename":"file1"},{"photo_id":"1331226683","filename":"file0"},{"photo_id":"1331226737","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331226683":["hashtag1","hashtag2"]},{"1331226737":["hashtag1","hashtag2"]},{"1331226749":["hashtag1","hashtag2"]},{"1331226713":["hashtag1","hashtag2"]},{"1331226707":["hashtag1","hashtag2"]},{"1331226742":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331226683, 1331226737, 1331226749, 1331226713, 1331226707, 1331226742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.60694313049316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:28:02.796826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/31/image_25012025_03_31_02_267423_0000.jpg', '/home/pi/Desktop/images/25012025/03/31/image_25012025_03_31_02_267423_0001.jpg', '/home/pi/Desktop/images/25012025/03/31/image_25012025_03_31_02_267423_0002.jpg', '/home/pi/Desktop/images/25012025/03/31/image_25012025_03_31_02_267423_0003.jpg', '/home/pi/Desktop/images/25012025/03/32/image_25012025_03_32_02_854270_0000.jpg', '/home/pi/Desktop/images/25012025/03/32/image_25012025_03_32_02_854270_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/31/image_25012025_03_31_02_267423_0000.jpg
/home/pi/Desktop/images/25012025/03/31/image_25012025_03_31_02_267423_0001.jpg
/home/pi/Desktop/images/25012025/03/31/image_25012025_03_31_02_267423_0002.jpg
/home/pi/Desktop/images/25012025/03/31/image_25012025_03_31_02_267423_0003.jpg
/home/pi/Desktop/images/25012025/03/32/image_25012025_03_32_02_854270_0000.jpg
/home/pi/Desktop/images/25012025/03/32/image_25012025_03_32_02_854270_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":["1331226813","1331226816","1331226819","1331226807","1331226793","1331226882"],"photo_ids_order":["1331226793","1331226807","1331226813","1331226816","1331226819","1331226882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ca8d533b832421c079ab22aa59f7d908.jpg","text":"TemporaryFile(/tmp/multipartBody1943887385146386986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779374808,"filename":"image_25012025_03_31_02_267423_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6e08785c7e60fac4582568bd996d2d03.jpg","text":"TemporaryFile(/tmp/multipartBody3737553263430657300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779374808,"filename":"image_25012025_03_31_02_267423_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/225b79adc00d636678a1aed56e41920f.jpg","text":"TemporaryFile(/tmp/multipartBody7947329188695025173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779374808,"filename":"image_25012025_03_32_02_854270_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/81cd5bd925e4261f7e49de727aae2837.jpg","text":"TemporaryFile(/tmp/multipartBody739638886488502234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779374808,"filename":"image_25012025_03_31_02_267423_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b1512d8e86a6c363f3880183eb32edb8.jpg","text":"TemporaryFile(/tmp/multipartBody3346586557919190036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779374808,"filename":"image_25012025_03_31_02_267423_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0ed3713b3e1f7fd5be726ca24fd26847.jpg","text":"TemporaryFile(/tmp/multipartBody8667484535129460215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779374808,"filename":"image_25012025_03_32_02_854270_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331226813","file1":"1331226807","file0":"1331226793","file4":"1331226819","file5":"1331226882","file3":"1331226816"},"map_files_photo_id_array":[{"photo_id":"1331226882","filename":"file5"},{"photo_id":"1331226813","filename":"file2"},{"photo_id":"1331226819","filename":"file4"},{"photo_id":"1331226807","filename":"file1"},{"photo_id":"1331226793","filename":"file0"},{"photo_id":"1331226816","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331226813":["hashtag1","hashtag2"]},{"1331226816":["hashtag1","hashtag2"]},{"1331226819":["hashtag1","hashtag2"]},{"1331226807":["hashtag1","hashtag2"]},{"1331226793":["hashtag1","hashtag2"]},{"1331226882":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331226813, 1331226816, 1331226819, 1331226807, 1331226793, 1331226882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.10458445549011 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:30:02.943884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/32/image_25012025_03_32_02_854270_0002.jpg', '/home/pi/Desktop/images/25012025/03/32/image_25012025_03_32_02_854270_0003.jpg', '/home/pi/Desktop/images/25012025/03/33/image_25012025_03_33_02_436316_0000.jpg', '/home/pi/Desktop/images/25012025/03/33/image_25012025_03_33_02_436316_0001.jpg', '/home/pi/Desktop/images/25012025/03/33/image_25012025_03_33_02_436316_0002.jpg', '/home/pi/Desktop/images/25012025/03/33/image_25012025_03_33_02_436316_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/32/image_25012025_03_32_02_854270_0002.jpg
/home/pi/Desktop/images/25012025/03/32/image_25012025_03_32_02_854270_0003.jpg
/home/pi/Desktop/images/25012025/03/33/image_25012025_03_33_02_436316_0000.jpg
/home/pi/Desktop/images/25012025/03/33/image_25012025_03_33_02_436316_0001.jpg
/home/pi/Desktop/images/25012025/03/33/image_25012025_03_33_02_436316_0002.jpg
/home/pi/Desktop/images/25012025/03/33/image_25012025_03_33_02_436316_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":["1331227125","1331227169","1331227076","1331227142","1331227136","1331227114"],"photo_ids_order":["1331227076","1331227114","1331227125","1331227136","1331227142","1331227169"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/95fcddc7f1bea8e1fb6a3a3183059a51.jpg","text":"TemporaryFile(/tmp/multipartBody7913141335451879638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779499343,"filename":"image_25012025_03_33_02_436316_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/450816cf9d160b762b2947090fa16960.jpg","text":"TemporaryFile(/tmp/multipartBody2598532898471851014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779499343,"filename":"image_25012025_03_33_02_436316_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8b75327e4dc025c11453098382e60451.jpg","text":"TemporaryFile(/tmp/multipartBody9181002301361914562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779499343,"filename":"image_25012025_03_32_02_854270_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/690981f5a4123ebc0148bd83a600bf81.jpg","text":"TemporaryFile(/tmp/multipartBody9084835487587560139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779499343,"filename":"image_25012025_03_33_02_436316_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b709948b470718796430877eb4682c05.jpg","text":"TemporaryFile(/tmp/multipartBody4900809686570274120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779499343,"filename":"image_25012025_03_33_02_436316_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/479af4b3d7d2dabf59dc507ea2e3dbda.jpg","text":"TemporaryFile(/tmp/multipartBody3987842318950287799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779499343,"filename":"image_25012025_03_32_02_854270_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331227125","file1":"1331227114","file0":"1331227076","file4":"1331227142","file5":"1331227169","file3":"1331227136"},"map_files_photo_id_array":[{"photo_id":"1331227169","filename":"file5"},{"photo_id":"1331227125","filename":"file2"},{"photo_id":"1331227142","filename":"file4"},{"photo_id":"1331227114","filename":"file1"},{"photo_id":"1331227076","filename":"file0"},{"photo_id":"1331227136","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331227125":["hashtag1","hashtag2"]},{"1331227169":["hashtag1","hashtag2"]},{"1331227076":["hashtag1","hashtag2"]},{"1331227142":["hashtag1","hashtag2"]},{"1331227136":["hashtag1","hashtag2"]},{"1331227114":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331227125, 1331227169, 1331227076, 1331227142, 1331227136, 1331227114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.33892846107483 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:32:02.814779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/34/image_25012025_03_34_03_074137_0000.jpg', '/home/pi/Desktop/images/25012025/03/34/image_25012025_03_34_03_074137_0001.jpg', '/home/pi/Desktop/images/25012025/03/34/image_25012025_03_34_03_074137_0002.jpg', '/home/pi/Desktop/images/25012025/03/34/image_25012025_03_34_03_074137_0003.jpg', '/home/pi/Desktop/images/25012025/03/35/image_25012025_03_35_02_786051_0000.jpg', '/home/pi/Desktop/images/25012025/03/35/image_25012025_03_35_02_786051_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/34/image_25012025_03_34_03_074137_0000.jpg
/home/pi/Desktop/images/25012025/03/34/image_25012025_03_34_03_074137_0001.jpg
/home/pi/Desktop/images/25012025/03/34/image_25012025_03_34_03_074137_0002.jpg
/home/pi/Desktop/images/25012025/03/34/image_25012025_03_34_03_074137_0003.jpg
/home/pi/Desktop/images/25012025/03/35/image_25012025_03_35_02_786051_0000.jpg
/home/pi/Desktop/images/25012025/03/35/image_25012025_03_35_02_786051_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":["1331228284","1331228190","1331228148","1331228034","1331228139","1331228180"],"photo_ids_order":["1331228034","1331228139","1331228148","1331228180","1331228190","1331228284"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/57ee4b21b3e1465264acdf619f9c885d.jpg","text":"TemporaryFile(/tmp/multipartBody1329368014896906386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779627929,"filename":"image_25012025_03_35_02_786051_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e6416efd987acdbd48a7b40b72d28b79.jpg","text":"TemporaryFile(/tmp/multipartBody1000221487900614061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779627929,"filename":"image_25012025_03_35_02_786051_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ee813b974f3da84b4c0e1662555bf910.jpg","text":"TemporaryFile(/tmp/multipartBody1354737326471802882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779627929,"filename":"image_25012025_03_34_03_074137_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e8a2c329fdce372886c025a82f1b5931.jpg","text":"TemporaryFile(/tmp/multipartBody847603211055966208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779627929,"filename":"image_25012025_03_34_03_074137_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b4eef73f025940d84780810324291b74.jpg","text":"TemporaryFile(/tmp/multipartBody5744205349250969696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779627929,"filename":"image_25012025_03_34_03_074137_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/19690602584f9e971fade9eb20095e5a.jpg","text":"TemporaryFile(/tmp/multipartBody5018448299457833066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779627929,"filename":"image_25012025_03_34_03_074137_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331228148","file1":"1331228139","file0":"1331228034","file4":"1331228190","file5":"1331228284","file3":"1331228180"},"map_files_photo_id_array":[{"photo_id":"1331228284","filename":"file5"},{"photo_id":"1331228148","filename":"file2"},{"photo_id":"1331228190","filename":"file4"},{"photo_id":"1331228139","filename":"file1"},{"photo_id":"1331228034","filename":"file0"},{"photo_id":"1331228180","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331228284":["hashtag1","hashtag2"]},{"1331228190":["hashtag1","hashtag2"]},{"1331228148":["hashtag1","hashtag2"]},{"1331228034":["hashtag1","hashtag2"]},{"1331228139":["hashtag1","hashtag2"]},{"1331228180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331228284, 1331228190, 1331228148, 1331228034, 1331228139, 1331228180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 108.07996368408203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:34:02.844014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/35/image_25012025_03_35_02_786051_0002.jpg', '/home/pi/Desktop/images/25012025/03/35/image_25012025_03_35_02_786051_0003.jpg', '/home/pi/Desktop/images/25012025/03/36/image_25012025_03_36_02_214871_0000.jpg', '/home/pi/Desktop/images/25012025/03/36/image_25012025_03_36_02_214871_0001.jpg', '/home/pi/Desktop/images/25012025/03/36/image_25012025_03_36_02_214871_0002.jpg', '/home/pi/Desktop/images/25012025/03/36/image_25012025_03_36_02_214871_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/35/image_25012025_03_35_02_786051_0002.jpg
/home/pi/Desktop/images/25012025/03/35/image_25012025_03_35_02_786051_0003.jpg
/home/pi/Desktop/images/25012025/03/36/image_25012025_03_36_02_214871_0000.jpg
/home/pi/Desktop/images/25012025/03/36/image_25012025_03_36_02_214871_0001.jpg
/home/pi/Desktop/images/25012025/03/36/image_25012025_03_36_02_214871_0002.jpg
/home/pi/Desktop/images/25012025/03/36/image_25012025_03_36_02_214871_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":["1331229178","1331228974","1331229007","1331228976","1331229095","1331229170"],"photo_ids_order":["1331228974","1331228976","1331229007","1331229095","1331229170","1331229178"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/886de383f2a76d73fb041b139b995091.jpg","text":"TemporaryFile(/tmp/multipartBody7162988926546846595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779753946,"filename":"image_25012025_03_36_02_214871_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cac9be8e4acab315bf542632c3ede365.jpg","text":"TemporaryFile(/tmp/multipartBody4990996765301453512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779753946,"filename":"image_25012025_03_35_02_786051_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e4317bc1eab4004142c9addf5fcdc6c9.jpg","text":"TemporaryFile(/tmp/multipartBody4294974555295448412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779753946,"filename":"image_25012025_03_36_02_214871_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/290bda5b260bcf0fe168e20e71253b92.jpg","text":"TemporaryFile(/tmp/multipartBody7232327768710518637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779753946,"filename":"image_25012025_03_35_02_786051_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/22df2c7d2fa5c287edfdbce9775d72b3.jpg","text":"TemporaryFile(/tmp/multipartBody4409943189435367888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779753946,"filename":"image_25012025_03_36_02_214871_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/07cfe5e6420396855cea372d3a0b4a41.jpg","text":"TemporaryFile(/tmp/multipartBody1878603690976401083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779753946,"filename":"image_25012025_03_36_02_214871_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331229007","file1":"1331228976","file0":"1331228974","file4":"1331229170","file5":"1331229178","file3":"1331229095"},"map_files_photo_id_array":[{"photo_id":"1331229178","filename":"file5"},{"photo_id":"1331229007","filename":"file2"},{"photo_id":"1331229170","filename":"file4"},{"photo_id":"1331228976","filename":"file1"},{"photo_id":"1331228974","filename":"file0"},{"photo_id":"1331229095","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331229178":["hashtag1","hashtag2"]},{"1331228974":["hashtag1","hashtag2"]},{"1331229007":["hashtag1","hashtag2"]},{"1331228976":["hashtag1","hashtag2"]},{"1331229095":["hashtag1","hashtag2"]},{"1331229170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331229178, 1331228974, 1331229007, 1331228976, 1331229095, 1331229170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 112.22827196121216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:36:03.081145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/37/image_25012025_03_37_02_923651_0000.jpg', '/home/pi/Desktop/images/25012025/03/37/image_25012025_03_37_02_923651_0001.jpg', '/home/pi/Desktop/images/25012025/03/37/image_25012025_03_37_02_923651_0002.jpg', '/home/pi/Desktop/images/25012025/03/37/image_25012025_03_37_02_923651_0003.jpg', '/home/pi/Desktop/images/25012025/03/38/image_25012025_03_38_02_436251_0000.jpg', '/home/pi/Desktop/images/25012025/03/38/image_25012025_03_38_02_436251_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/37/image_25012025_03_37_02_923651_0000.jpg
/home/pi/Desktop/images/25012025/03/37/image_25012025_03_37_02_923651_0001.jpg
/home/pi/Desktop/images/25012025/03/37/image_25012025_03_37_02_923651_0002.jpg
/home/pi/Desktop/images/25012025/03/37/image_25012025_03_37_02_923651_0003.jpg
/home/pi/Desktop/images/25012025/03/38/image_25012025_03_38_02_436251_0000.jpg
/home/pi/Desktop/images/25012025/03/38/image_25012025_03_38_02_436251_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":["1331229803","1331229706","1331230141","1331229609","1331230032","1331229902"],"photo_ids_order":["1331229609","1331229706","1331229803","1331229902","1331230032","1331230141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/865e2d6c1f367068601149f3e0d2038b.jpg","text":"TemporaryFile(/tmp/multipartBody2710776963905331149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779865382,"filename":"image_25012025_03_37_02_923651_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1bcbdd8ce5aba69bef2918b76638ed16.jpg","text":"TemporaryFile(/tmp/multipartBody6789829441672240996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779865382,"filename":"image_25012025_03_37_02_923651_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/98fc4098993e885ab6212fe676bde5be.jpg","text":"TemporaryFile(/tmp/multipartBody1639152977432206642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779865382,"filename":"image_25012025_03_38_02_436251_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4074b564db8cb6e93fb4ada071d508d3.jpg","text":"TemporaryFile(/tmp/multipartBody6169771449318470099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779865382,"filename":"image_25012025_03_37_02_923651_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7096ce3532787d2e7538115c7d269059.jpg","text":"TemporaryFile(/tmp/multipartBody1691182179032463789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779865382,"filename":"image_25012025_03_38_02_436251_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/23df133ddeb72427e6b66c554aafde0c.jpg","text":"TemporaryFile(/tmp/multipartBody4596337998960331598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779865382,"filename":"image_25012025_03_37_02_923651_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331229803","file1":"1331229706","file0":"1331229609","file4":"1331230032","file5":"1331230141","file3":"1331229902"},"map_files_photo_id_array":[{"photo_id":"1331230141","filename":"file5"},{"photo_id":"1331229803","filename":"file2"},{"photo_id":"1331230032","filename":"file4"},{"photo_id":"1331229706","filename":"file1"},{"photo_id":"1331229609","filename":"file0"},{"photo_id":"1331229902","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331229803":["hashtag1","hashtag2"]},{"1331229706":["hashtag1","hashtag2"]},{"1331230141":["hashtag1","hashtag2"]},{"1331229609":["hashtag1","hashtag2"]},{"1331230032":["hashtag1","hashtag2"]},{"1331229902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331229803, 1331229706, 1331230141, 1331229609, 1331230032, 1331229902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.26872038841248 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:38:02.938896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/38/image_25012025_03_38_02_436251_0002.jpg', '/home/pi/Desktop/images/25012025/03/38/image_25012025_03_38_02_436251_0003.jpg', '/home/pi/Desktop/images/25012025/03/39/image_25012025_03_39_03_054028_0000.jpg', '/home/pi/Desktop/images/25012025/03/39/image_25012025_03_39_03_054028_0001.jpg', '/home/pi/Desktop/images/25012025/03/39/image_25012025_03_39_03_054028_0002.jpg', '/home/pi/Desktop/images/25012025/03/39/image_25012025_03_39_03_054028_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/38/image_25012025_03_38_02_436251_0002.jpg
/home/pi/Desktop/images/25012025/03/38/image_25012025_03_38_02_436251_0003.jpg
/home/pi/Desktop/images/25012025/03/39/image_25012025_03_39_03_054028_0000.jpg
/home/pi/Desktop/images/25012025/03/39/image_25012025_03_39_03_054028_0001.jpg
/home/pi/Desktop/images/25012025/03/39/image_25012025_03_39_03_054028_0002.jpg
/home/pi/Desktop/images/25012025/03/39/image_25012025_03_39_03_054028_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 [200]>
b'{"photo_ids":["1331230988","1331230993","1331230978","1331230998","1331230977","1331230985"],"photo_ids_order":["1331230977","1331230978","1331230985","1331230988","1331230993","1331230998"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/73fc44c33f35cb6127e435127a2173a7.jpg","text":"TemporaryFile(/tmp/multipartBody3963310020795859965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779981915,"filename":"image_25012025_03_39_03_054028_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/af15fdde99519a532c2f909b502372f2.jpg","text":"TemporaryFile(/tmp/multipartBody1381704479172272713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779981915,"filename":"image_25012025_03_39_03_054028_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d77df2024bcdc62d278ad7e865fb7d2e.jpg","text":"TemporaryFile(/tmp/multipartBody4511267314782077620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779981915,"filename":"image_25012025_03_38_02_436251_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/202c77f854a55dc8100ae1488df41c11.jpg","text":"TemporaryFile(/tmp/multipartBody8112133946595574448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779981915,"filename":"image_25012025_03_39_03_054028_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d4edf5f3a500a4b74939e40500f8e150.jpg","text":"TemporaryFile(/tmp/multipartBody6217714402533096208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779981915,"filename":"image_25012025_03_38_02_436251_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/279b29c2a240e4a2f3a30d75d6142b0c.jpg","text":"TemporaryFile(/tmp/multipartBody3135907043790087367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737779981915,"filename":"image_25012025_03_39_03_054028_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331230985","file1":"1331230978","file0":"1331230977","file4":"1331230993","file5":"1331230998","file3":"1331230988"},"map_files_photo_id_array":[{"photo_id":"1331230998","filename":"file5"},{"photo_id":"1331230985","filename":"file2"},{"photo_id":"1331230993","filename":"file4"},{"photo_id":"1331230978","filename":"file1"},{"photo_id":"1331230977","filename":"file0"},{"photo_id":"1331230988","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331230988":["hashtag1","hashtag2"]},{"1331230993":["hashtag1","hashtag2"]},{"1331230978":["hashtag1","hashtag2"]},{"1331230998":["hashtag1","hashtag2"]},{"1331230977":["hashtag1","hashtag2"]},{"1331230985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331230988, 1331230993, 1331230978, 1331230998, 1331230977, 1331230985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 125.59419083595276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 05:40:22.556934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/40/image_25012025_03_40_02_603955_0000.jpg', '/home/pi/Desktop/images/25012025/03/40/image_25012025_03_40_02_603955_0001.jpg', '/home/pi/Desktop/images/25012025/03/40/image_25012025_03_40_02_603955_0002.jpg', '/home/pi/Desktop/images/25012025/03/40/image_25012025_03_40_02_603955_0003.jpg', '/home/pi/Desktop/images/25012025/03/41/image_25012025_03_41_02_240759_0000.jpg', '/home/pi/Desktop/images/25012025/03/41/image_25012025_03_41_02_240759_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/40/image_25012025_03_40_02_603955_0000.jpg
/home/pi/Desktop/images/25012025/03/40/image_25012025_03_40_02_603955_0001.jpg
/home/pi/Desktop/images/25012025/03/40/image_25012025_03_40_02_603955_0002.jpg
/home/pi/Desktop/images/25012025/03/40/image_25012025_03_40_02_603955_0003.jpg
/home/pi/Desktop/images/25012025/03/41/image_25012025_03_41_02_240759_0000.jpg
/home/pi/Desktop/images/25012025/03/41/image_25012025_03_41_02_240759_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":["1331231776","1331231815","1331231820","1331231901","1331231762","1331231825"],"photo_ids_order":["1331231762","1331231776","1331231815","1331231820","1331231825","1331231901"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a4352855c11249e774e2db8ef9441a85.jpg","text":"TemporaryFile(/tmp/multipartBody2173267893875400689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780125715,"filename":"image_25012025_03_40_02_603955_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c1b4a89d2febb42c0bb5e3193a24414.jpg","text":"TemporaryFile(/tmp/multipartBody2794466964819652461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780125715,"filename":"image_25012025_03_40_02_603955_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e3248e6536e1743f3de17e480cce925e.jpg","text":"TemporaryFile(/tmp/multipartBody4893709270674090293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780125715,"filename":"image_25012025_03_40_02_603955_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bc88b43e2447788441fd5cca58509161.jpg","text":"TemporaryFile(/tmp/multipartBody8729989537956457289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780125715,"filename":"image_25012025_03_41_02_240759_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c4ea4914203e1138239bd8c7bd739fb5.jpg","text":"TemporaryFile(/tmp/multipartBody8095580307533823850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780125715,"filename":"image_25012025_03_40_02_603955_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a48795dc092a850b1890d8ecfb9d079d.jpg","text":"TemporaryFile(/tmp/multipartBody6676024430733295673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780125715,"filename":"image_25012025_03_41_02_240759_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331231815","file1":"1331231776","file0":"1331231762","file4":"1331231825","file5":"1331231901","file3":"1331231820"},"map_files_photo_id_array":[{"photo_id":"1331231901","filename":"file5"},{"photo_id":"1331231815","filename":"file2"},{"photo_id":"1331231825","filename":"file4"},{"photo_id":"1331231776","filename":"file1"},{"photo_id":"1331231762","filename":"file0"},{"photo_id":"1331231820","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331231776":["hashtag1","hashtag2"]},{"1331231815":["hashtag1","hashtag2"]},{"1331231820":["hashtag1","hashtag2"]},{"1331231901":["hashtag1","hashtag2"]},{"1331231762":["hashtag1","hashtag2"]},{"1331231825":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331231776, 1331231815, 1331231820, 1331231901, 1331231762, 1331231825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.69675302505493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:42:02.871573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/41/image_25012025_03_41_02_240759_0002.jpg', '/home/pi/Desktop/images/25012025/03/41/image_25012025_03_41_02_240759_0003.jpg', '/home/pi/Desktop/images/25012025/03/42/image_25012025_03_42_02_744417_0000.jpg', '/home/pi/Desktop/images/25012025/03/42/image_25012025_03_42_02_744417_0001.jpg', '/home/pi/Desktop/images/25012025/03/42/image_25012025_03_42_02_744417_0002.jpg', '/home/pi/Desktop/images/25012025/03/42/image_25012025_03_42_02_744417_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/41/image_25012025_03_41_02_240759_0002.jpg
/home/pi/Desktop/images/25012025/03/41/image_25012025_03_41_02_240759_0003.jpg
/home/pi/Desktop/images/25012025/03/42/image_25012025_03_42_02_744417_0000.jpg
/home/pi/Desktop/images/25012025/03/42/image_25012025_03_42_02_744417_0001.jpg
/home/pi/Desktop/images/25012025/03/42/image_25012025_03_42_02_744417_0002.jpg
/home/pi/Desktop/images/25012025/03/42/image_25012025_03_42_02_744417_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":["1331232795","1331232400","1331232915","1331232692","1331232611","1331232997"],"photo_ids_order":["1331232400","1331232611","1331232692","1331232795","1331232915","1331232997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f3b11f9c646327aa9a0cf8ad6e4d0f87.jpg","text":"TemporaryFile(/tmp/multipartBody53033919711905877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780227827,"filename":"image_25012025_03_42_02_744417_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3c9d50b68faa58d7d5f19c0d595af48c.jpg","text":"TemporaryFile(/tmp/multipartBody5151867328356010441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780227827,"filename":"image_25012025_03_41_02_240759_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d3ebcfa3051463988b607496d9df6914.jpg","text":"TemporaryFile(/tmp/multipartBody4166214137937201927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780227827,"filename":"image_25012025_03_42_02_744417_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/acfd2fc03583490644b79a5c1da257fc.jpg","text":"TemporaryFile(/tmp/multipartBody2045805534986355846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780227827,"filename":"image_25012025_03_42_02_744417_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1a43322950a0dca0d7c541ddb932f6ce.jpg","text":"TemporaryFile(/tmp/multipartBody6881538542087052769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780227827,"filename":"image_25012025_03_41_02_240759_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ffc4565ec72d44e64a05686b113a624c.jpg","text":"TemporaryFile(/tmp/multipartBody6448733550605413191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780227827,"filename":"image_25012025_03_42_02_744417_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331232692","file1":"1331232611","file0":"1331232400","file4":"1331232915","file5":"1331232997","file3":"1331232795"},"map_files_photo_id_array":[{"photo_id":"1331232997","filename":"file5"},{"photo_id":"1331232692","filename":"file2"},{"photo_id":"1331232915","filename":"file4"},{"photo_id":"1331232611","filename":"file1"},{"photo_id":"1331232400","filename":"file0"},{"photo_id":"1331232795","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331232795":["hashtag1","hashtag2"]},{"1331232400":["hashtag1","hashtag2"]},{"1331232915":["hashtag1","hashtag2"]},{"1331232692":["hashtag1","hashtag2"]},{"1331232611":["hashtag1","hashtag2"]},{"1331232997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331232795, 1331232400, 1331232915, 1331232692, 1331232611, 1331232997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.91984534263611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:44:02.974605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/43/image_25012025_03_43_02_356289_0000.jpg', '/home/pi/Desktop/images/25012025/03/43/image_25012025_03_43_02_356289_0001.jpg', '/home/pi/Desktop/images/25012025/03/43/image_25012025_03_43_02_356289_0002.jpg', '/home/pi/Desktop/images/25012025/03/43/image_25012025_03_43_02_356289_0003.jpg', '/home/pi/Desktop/images/25012025/03/44/image_25012025_03_44_02_851036_0000.jpg', '/home/pi/Desktop/images/25012025/03/44/image_25012025_03_44_02_851036_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/43/image_25012025_03_43_02_356289_0000.jpg
/home/pi/Desktop/images/25012025/03/43/image_25012025_03_43_02_356289_0001.jpg
/home/pi/Desktop/images/25012025/03/43/image_25012025_03_43_02_356289_0002.jpg
/home/pi/Desktop/images/25012025/03/43/image_25012025_03_43_02_356289_0003.jpg
/home/pi/Desktop/images/25012025/03/44/image_25012025_03_44_02_851036_0000.jpg
/home/pi/Desktop/images/25012025/03/44/image_25012025_03_44_02_851036_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":["1331233758","1331233725","1331233719","1331233811","1331233663","1331233852"],"photo_ids_order":["1331233663","1331233719","1331233725","1331233758","1331233811","1331233852"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0abf1370ab403b0b21e74d4d4fdb3b62.jpg","text":"TemporaryFile(/tmp/multipartBody8529944364011094955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780348042,"filename":"image_25012025_03_43_02_356289_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f66305c1d39a30b76b2ee7f807c6d20d.jpg","text":"TemporaryFile(/tmp/multipartBody5101354181102558131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780348042,"filename":"image_25012025_03_43_02_356289_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c13142b3af1e3f99b6ade720ade10d6.jpg","text":"TemporaryFile(/tmp/multipartBody1037673745460184994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780348042,"filename":"image_25012025_03_43_02_356289_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d921ff681e1598766c95ce09bd4e396d.jpg","text":"TemporaryFile(/tmp/multipartBody5868829463567217624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780348042,"filename":"image_25012025_03_44_02_851036_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/660244c778506092f728b262f13929c5.jpg","text":"TemporaryFile(/tmp/multipartBody3290338025702259599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780348042,"filename":"image_25012025_03_43_02_356289_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2876f11ce57c1bfa1d80619a878056ac.jpg","text":"TemporaryFile(/tmp/multipartBody6633610991855426424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780348042,"filename":"image_25012025_03_44_02_851036_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331233725","file1":"1331233719","file0":"1331233663","file4":"1331233811","file5":"1331233852","file3":"1331233758"},"map_files_photo_id_array":[{"photo_id":"1331233852","filename":"file5"},{"photo_id":"1331233725","filename":"file2"},{"photo_id":"1331233811","filename":"file4"},{"photo_id":"1331233719","filename":"file1"},{"photo_id":"1331233663","filename":"file0"},{"photo_id":"1331233758","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331233758":["hashtag1","hashtag2"]},{"1331233725":["hashtag1","hashtag2"]},{"1331233719":["hashtag1","hashtag2"]},{"1331233811":["hashtag1","hashtag2"]},{"1331233663":["hashtag1","hashtag2"]},{"1331233852":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331233758, 1331233725, 1331233719, 1331233811, 1331233663, 1331233852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 109.50397419929504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:46:03.125719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/44/image_25012025_03_44_02_851036_0002.jpg', '/home/pi/Desktop/images/25012025/03/44/image_25012025_03_44_02_851036_0003.jpg', '/home/pi/Desktop/images/25012025/03/45/image_25012025_03_45_02_481029_0000.jpg', '/home/pi/Desktop/images/25012025/03/45/image_25012025_03_45_02_481029_0001.jpg', '/home/pi/Desktop/images/25012025/03/45/image_25012025_03_45_02_481029_0002.jpg', '/home/pi/Desktop/images/25012025/03/45/image_25012025_03_45_02_481029_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/44/image_25012025_03_44_02_851036_0002.jpg
/home/pi/Desktop/images/25012025/03/44/image_25012025_03_44_02_851036_0003.jpg
/home/pi/Desktop/images/25012025/03/45/image_25012025_03_45_02_481029_0000.jpg
/home/pi/Desktop/images/25012025/03/45/image_25012025_03_45_02_481029_0001.jpg
/home/pi/Desktop/images/25012025/03/45/image_25012025_03_45_02_481029_0002.jpg
/home/pi/Desktop/images/25012025/03/45/image_25012025_03_45_02_481029_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":["1331233893","1331233896","1331233902","1331233898","1331233889","1331233907"],"photo_ids_order":["1331233889","1331233893","1331233896","1331233898","1331233902","1331233907"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ee16ebf0b66bf9c418c8ac3e670d3911.jpg","text":"TemporaryFile(/tmp/multipartBody4524333100782836638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780462817,"filename":"image_25012025_03_44_02_851036_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bfd644fe5301b9ad2d158b9469b37024.jpg","text":"TemporaryFile(/tmp/multipartBody988341473573293321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780462817,"filename":"image_25012025_03_45_02_481029_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/34d81ead74a0fe4280cc8f40170fe532.jpg","text":"TemporaryFile(/tmp/multipartBody5966141306960139876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780462817,"filename":"image_25012025_03_45_02_481029_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4f9d6e515f8281c93a349c003bbe67d1.jpg","text":"TemporaryFile(/tmp/multipartBody67213610465036735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780462817,"filename":"image_25012025_03_45_02_481029_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/925352e26dfff6d9e388e61370dbcd78.jpg","text":"TemporaryFile(/tmp/multipartBody5482100805280445122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780462817,"filename":"image_25012025_03_44_02_851036_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/005a820796b9c1980069592bfc6ba66f.jpg","text":"TemporaryFile(/tmp/multipartBody7931542885448376307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780462817,"filename":"image_25012025_03_45_02_481029_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331233896","file1":"1331233893","file0":"1331233889","file4":"1331233902","file5":"1331233907","file3":"1331233898"},"map_files_photo_id_array":[{"photo_id":"1331233907","filename":"file5"},{"photo_id":"1331233896","filename":"file2"},{"photo_id":"1331233902","filename":"file4"},{"photo_id":"1331233893","filename":"file1"},{"photo_id":"1331233889","filename":"file0"},{"photo_id":"1331233898","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331233893":["hashtag1","hashtag2"]},{"1331233896":["hashtag1","hashtag2"]},{"1331233902":["hashtag1","hashtag2"]},{"1331233898":["hashtag1","hashtag2"]},{"1331233889":["hashtag1","hashtag2"]},{"1331233907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331233893, 1331233896, 1331233902, 1331233898, 1331233889, 1331233907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.12942552566528 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:48:02.222677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/46/image_25012025_03_46_02_998358_0000.jpg', '/home/pi/Desktop/images/25012025/03/46/image_25012025_03_46_02_998358_0001.jpg', '/home/pi/Desktop/images/25012025/03/46/image_25012025_03_46_02_998358_0002.jpg', '/home/pi/Desktop/images/25012025/03/46/image_25012025_03_46_02_998358_0003.jpg', '/home/pi/Desktop/images/25012025/03/47/image_25012025_03_47_02_603714_0000.jpg', '/home/pi/Desktop/images/25012025/03/47/image_25012025_03_47_02_603714_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/46/image_25012025_03_46_02_998358_0000.jpg
/home/pi/Desktop/images/25012025/03/46/image_25012025_03_46_02_998358_0001.jpg
/home/pi/Desktop/images/25012025/03/46/image_25012025_03_46_02_998358_0002.jpg
/home/pi/Desktop/images/25012025/03/46/image_25012025_03_46_02_998358_0003.jpg
/home/pi/Desktop/images/25012025/03/47/image_25012025_03_47_02_603714_0000.jpg
/home/pi/Desktop/images/25012025/03/47/image_25012025_03_47_02_603714_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":["1331233986","1331233982","1331233958","1331233961","1331233990","1331233981"],"photo_ids_order":["1331233958","1331233961","1331233981","1331233982","1331233986","1331233990"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/18d22b5a81bdc1244678557b35d2f350.jpg","text":"TemporaryFile(/tmp/multipartBody3631418141556905936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780589490,"filename":"image_25012025_03_47_02_603714_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f7245af2c07e3debf91e54983de7f6aa.jpg","text":"TemporaryFile(/tmp/multipartBody4193552653883262190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780589490,"filename":"image_25012025_03_46_02_998358_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8aad962991822ac73e7df64eb2da6ce6.jpg","text":"TemporaryFile(/tmp/multipartBody1722967144912964165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780589490,"filename":"image_25012025_03_46_02_998358_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/95db15319ada93224c2e83be2d581c34.jpg","text":"TemporaryFile(/tmp/multipartBody1806305139502347525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780589490,"filename":"image_25012025_03_46_02_998358_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/45f62050f44b0e9d2b5c738e0ef08b94.jpg","text":"TemporaryFile(/tmp/multipartBody811317388155632426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780589490,"filename":"image_25012025_03_47_02_603714_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c65686a22047b78d34d30164f3dc4fed.jpg","text":"TemporaryFile(/tmp/multipartBody2309415726060032004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780589490,"filename":"image_25012025_03_46_02_998358_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331233981","file1":"1331233961","file0":"1331233958","file4":"1331233986","file5":"1331233990","file3":"1331233982"},"map_files_photo_id_array":[{"photo_id":"1331233990","filename":"file5"},{"photo_id":"1331233981","filename":"file2"},{"photo_id":"1331233986","filename":"file4"},{"photo_id":"1331233961","filename":"file1"},{"photo_id":"1331233958","filename":"file0"},{"photo_id":"1331233982","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331233986":["hashtag1","hashtag2"]},{"1331233982":["hashtag1","hashtag2"]},{"1331233958":["hashtag1","hashtag2"]},{"1331233961":["hashtag1","hashtag2"]},{"1331233990":["hashtag1","hashtag2"]},{"1331233981":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331233986, 1331233982, 1331233958, 1331233961, 1331233990, 1331233981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.56668591499329 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 05:50:02.266055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/47/image_25012025_03_47_02_603714_0002.jpg', '/home/pi/Desktop/images/25012025/03/47/image_25012025_03_47_02_603714_0003.jpg', '/home/pi/Desktop/images/25012025/03/48/image_25012025_03_48_03_174739_0000.jpg', '/home/pi/Desktop/images/25012025/03/48/image_25012025_03_48_03_174739_0001.jpg', '/home/pi/Desktop/images/25012025/03/48/image_25012025_03_48_03_174739_0002.jpg', '/home/pi/Desktop/images/25012025/03/48/image_25012025_03_48_03_174739_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/47/image_25012025_03_47_02_603714_0002.jpg
/home/pi/Desktop/images/25012025/03/47/image_25012025_03_47_02_603714_0003.jpg
/home/pi/Desktop/images/25012025/03/48/image_25012025_03_48_03_174739_0000.jpg
/home/pi/Desktop/images/25012025/03/48/image_25012025_03_48_03_174739_0001.jpg
/home/pi/Desktop/images/25012025/03/48/image_25012025_03_48_03_174739_0002.jpg
/home/pi/Desktop/images/25012025/03/48/image_25012025_03_48_03_174739_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 [200]>
b'{"photo_ids":["1331234046","1331234055","1331234077","1331234038","1331234032","1331234026"],"photo_ids_order":["1331234026","1331234032","1331234038","1331234046","1331234055","1331234077"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/55ff67699d758ea65d87d7ea6f4e9340.jpg","text":"TemporaryFile(/tmp/multipartBody4060487940656122842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780709800,"filename":"image_25012025_03_48_03_174739_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1e779952824eb4e9375fde29dad16b31.jpg","text":"TemporaryFile(/tmp/multipartBody8893617132949137868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780709800,"filename":"image_25012025_03_48_03_174739_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6526a3940e84f5697e237f41324ea3a5.jpg","text":"TemporaryFile(/tmp/multipartBody6032475073638183160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780709800,"filename":"image_25012025_03_48_03_174739_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2f158105ede4a0aea41d4f73e0ea9315.jpg","text":"TemporaryFile(/tmp/multipartBody1304650025394416255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780709800,"filename":"image_25012025_03_48_03_174739_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0faddb6ca776d6a6e0df7ee3ed9073c6.jpg","text":"TemporaryFile(/tmp/multipartBody248230860360330648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780709800,"filename":"image_25012025_03_47_02_603714_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/982f8f094e7b017e58711f9a53bc9ef9.jpg","text":"TemporaryFile(/tmp/multipartBody2864930943358483605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780709800,"filename":"image_25012025_03_47_02_603714_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331234038","file1":"1331234032","file0":"1331234026","file4":"1331234055","file5":"1331234077","file3":"1331234046"},"map_files_photo_id_array":[{"photo_id":"1331234077","filename":"file5"},{"photo_id":"1331234038","filename":"file2"},{"photo_id":"1331234055","filename":"file4"},{"photo_id":"1331234032","filename":"file1"},{"photo_id":"1331234026","filename":"file0"},{"photo_id":"1331234046","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331234046":["hashtag1","hashtag2"]},{"1331234055":["hashtag1","hashtag2"]},{"1331234077":["hashtag1","hashtag2"]},{"1331234038":["hashtag1","hashtag2"]},{"1331234032":["hashtag1","hashtag2"]},{"1331234026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331234046, 1331234055, 1331234077, 1331234038, 1331234032, 1331234026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 119.95676851272583 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 05:52:21.818885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/49/image_25012025_03_49_02_792662_0000.jpg', '/home/pi/Desktop/images/25012025/03/49/image_25012025_03_49_02_792662_0001.jpg', '/home/pi/Desktop/images/25012025/03/49/image_25012025_03_49_02_792662_0002.jpg', '/home/pi/Desktop/images/25012025/03/49/image_25012025_03_49_02_792662_0003.jpg', '/home/pi/Desktop/images/25012025/03/50/image_25012025_03_50_02_432974_0000.jpg', '/home/pi/Desktop/images/25012025/03/50/image_25012025_03_50_02_432974_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/49/image_25012025_03_49_02_792662_0000.jpg
/home/pi/Desktop/images/25012025/03/49/image_25012025_03_49_02_792662_0001.jpg
/home/pi/Desktop/images/25012025/03/49/image_25012025_03_49_02_792662_0002.jpg
/home/pi/Desktop/images/25012025/03/49/image_25012025_03_49_02_792662_0003.jpg
/home/pi/Desktop/images/25012025/03/50/image_25012025_03_50_02_432974_0000.jpg
/home/pi/Desktop/images/25012025/03/50/image_25012025_03_50_02_432974_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":["1331234325","1331234340","1331234334","1331234313","1331234205","1331234153"],"photo_ids_order":["1331234153","1331234205","1331234313","1331234325","1331234334","1331234340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ebc0350bd652412ba9442705a63e7af7.jpg","text":"TemporaryFile(/tmp/multipartBody3276185489934637256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780830674,"filename":"image_25012025_03_49_02_792662_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/82141cdde75762763869af17cd2cff48.jpg","text":"TemporaryFile(/tmp/multipartBody2608666299605249276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780830674,"filename":"image_25012025_03_50_02_432974_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/57ac9cd4fd692d39a5be702058a08743.jpg","text":"TemporaryFile(/tmp/multipartBody3169475369041479401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780830674,"filename":"image_25012025_03_50_02_432974_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bcabab3c56fda079767b113d64fcf3dc.jpg","text":"TemporaryFile(/tmp/multipartBody5106418483324164974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780830674,"filename":"image_25012025_03_49_02_792662_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/04ee85b59a551cdaf7281d9a9307a502.jpg","text":"TemporaryFile(/tmp/multipartBody3911741138120209449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780830674,"filename":"image_25012025_03_49_02_792662_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/79956071cb002628ecd5aad8e148419b.jpg","text":"TemporaryFile(/tmp/multipartBody5516035509025397867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780830674,"filename":"image_25012025_03_49_02_792662_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331234313","file1":"1331234205","file0":"1331234153","file4":"1331234334","file5":"1331234340","file3":"1331234325"},"map_files_photo_id_array":[{"photo_id":"1331234340","filename":"file5"},{"photo_id":"1331234313","filename":"file2"},{"photo_id":"1331234334","filename":"file4"},{"photo_id":"1331234205","filename":"file1"},{"photo_id":"1331234153","filename":"file0"},{"photo_id":"1331234325","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331234325":["hashtag1","hashtag2"]},{"1331234340":["hashtag1","hashtag2"]},{"1331234334":["hashtag1","hashtag2"]},{"1331234313":["hashtag1","hashtag2"]},{"1331234205":["hashtag1","hashtag2"]},{"1331234153":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331234325, 1331234340, 1331234334, 1331234313, 1331234205, 1331234153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 111.4215259552002 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 05:54:21.923674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/50/image_25012025_03_50_02_432974_0002.jpg', '/home/pi/Desktop/images/25012025/03/50/image_25012025_03_50_02_432974_0003.jpg', '/home/pi/Desktop/images/25012025/03/51/image_25012025_03_51_02_974269_0000.jpg', '/home/pi/Desktop/images/25012025/03/51/image_25012025_03_51_02_974269_0001.jpg', '/home/pi/Desktop/images/25012025/03/51/image_25012025_03_51_02_974269_0002.jpg', '/home/pi/Desktop/images/25012025/03/51/image_25012025_03_51_02_974269_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/50/image_25012025_03_50_02_432974_0002.jpg
/home/pi/Desktop/images/25012025/03/50/image_25012025_03_50_02_432974_0003.jpg
/home/pi/Desktop/images/25012025/03/51/image_25012025_03_51_02_974269_0000.jpg
/home/pi/Desktop/images/25012025/03/51/image_25012025_03_51_02_974269_0001.jpg
/home/pi/Desktop/images/25012025/03/51/image_25012025_03_51_02_974269_0002.jpg
/home/pi/Desktop/images/25012025/03/51/image_25012025_03_51_02_974269_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":["1331234801","1331235313","1331235186","1331235010","1331235099","1331235450"],"photo_ids_order":["1331234801","1331235010","1331235099","1331235186","1331235313","1331235450"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/109a4caee90483d09ae00e037cbb0658.jpg","text":"TemporaryFile(/tmp/multipartBody1436655298170734674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780961903,"filename":"image_25012025_03_50_02_432974_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3838a01afc9a3f6c2e30e84954af1bbd.jpg","text":"TemporaryFile(/tmp/multipartBody7657702070660380539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780961903,"filename":"image_25012025_03_51_02_974269_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1cd74a0f27045564e68c6a7eacb2e589.jpg","text":"TemporaryFile(/tmp/multipartBody5146253466644972300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780961903,"filename":"image_25012025_03_51_02_974269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a19c7c08bd8ce1f192f57ff3d77c2816.jpg","text":"TemporaryFile(/tmp/multipartBody2054285226407406154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780961903,"filename":"image_25012025_03_50_02_432974_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d77f4c3eea143322c9f16f773dbee682.jpg","text":"TemporaryFile(/tmp/multipartBody6470341474718502916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780961903,"filename":"image_25012025_03_51_02_974269_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f3faba0e12af5ef98eb259bcc15ae7e6.jpg","text":"TemporaryFile(/tmp/multipartBody2799039148046296070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737780961903,"filename":"image_25012025_03_51_02_974269_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331235099","file1":"1331235010","file0":"1331234801","file4":"1331235313","file5":"1331235450","file3":"1331235186"},"map_files_photo_id_array":[{"photo_id":"1331235450","filename":"file5"},{"photo_id":"1331235099","filename":"file2"},{"photo_id":"1331235313","filename":"file4"},{"photo_id":"1331235010","filename":"file1"},{"photo_id":"1331234801","filename":"file0"},{"photo_id":"1331235186","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331234801":["hashtag1","hashtag2"]},{"1331235313":["hashtag1","hashtag2"]},{"1331235186":["hashtag1","hashtag2"]},{"1331235010":["hashtag1","hashtag2"]},{"1331235099":["hashtag1","hashtag2"]},{"1331235450":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331234801, 1331235313, 1331235186, 1331235010, 1331235099, 1331235450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.45066475868225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 05:56:22.009096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0000.jpg', '/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0001.jpg', '/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0002.jpg', '/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0003.jpg', '/home/pi/Desktop/images/25012025/03/53/image_25012025_03_53_02_264095_0000.jpg', '/home/pi/Desktop/images/25012025/03/53/image_25012025_03_53_02_264095_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0000.jpg
/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0001.jpg
/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0002.jpg
/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0003.jpg
/home/pi/Desktop/images/25012025/03/53/image_25012025_03_53_02_264095_0000.jpg
/home/pi/Desktop/images/25012025/03/53/image_25012025_03_53_02_264095_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-25 05:59:02.581034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0000.jpg', '/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0001.jpg', '/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0002.jpg', '/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0003.jpg', '/home/pi/Desktop/images/25012025/03/53/image_25012025_03_53_02_264095_0000.jpg', '/home/pi/Desktop/images/25012025/03/53/image_25012025_03_53_02_264095_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0000.jpg
/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0001.jpg
/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0002.jpg
/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0003.jpg
/home/pi/Desktop/images/25012025/03/53/image_25012025_03_53_02_264095_0000.jpg
/home/pi/Desktop/images/25012025/03/53/image_25012025_03_53_02_264095_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: 48.721383571624756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:00:02.924459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0000.jpg', '/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0001.jpg', '/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0002.jpg', '/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0003.jpg', '/home/pi/Desktop/images/25012025/03/53/image_25012025_03_53_02_264095_0000.jpg', '/home/pi/Desktop/images/25012025/03/53/image_25012025_03_53_02_264095_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0000.jpg
/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0001.jpg
/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0002.jpg
/home/pi/Desktop/images/25012025/03/52/image_25012025_03_52_02_500233_0003.jpg
/home/pi/Desktop/images/25012025/03/53/image_25012025_03_53_02_264095_0000.jpg
/home/pi/Desktop/images/25012025/03/53/image_25012025_03_53_02_264095_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":["1331237816","1331237836","1331237827","1331237812","1331237820","1331237807"],"photo_ids_order":["1331237807","1331237812","1331237816","1331237820","1331237827","1331237836"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/afc50f8e524bd50d9fd94d475f51cd20.jpg","text":"TemporaryFile(/tmp/multipartBody1967960267246713202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781311332,"filename":"image_25012025_03_52_02_500233_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4b73b1c450f1df369d56fa29c903b8be.jpg","text":"TemporaryFile(/tmp/multipartBody1972177909029144863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781311332,"filename":"image_25012025_03_53_02_264095_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b0ef09fca809fa2b8ca1eeee9c6b4036.jpg","text":"TemporaryFile(/tmp/multipartBody3365313084391759458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781311332,"filename":"image_25012025_03_53_02_264095_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/57f10bd9d9e895361d12aefe9e873b54.jpg","text":"TemporaryFile(/tmp/multipartBody7206606688317949605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781311332,"filename":"image_25012025_03_52_02_500233_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/63ae8807f9baf88c6649c1c2699bad01.jpg","text":"TemporaryFile(/tmp/multipartBody1624332090989180219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781311332,"filename":"image_25012025_03_52_02_500233_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/de451102ee028282f3bd9f65bf19545f.jpg","text":"TemporaryFile(/tmp/multipartBody4587788426514855423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781311332,"filename":"image_25012025_03_52_02_500233_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331237816","file1":"1331237812","file0":"1331237807","file4":"1331237827","file5":"1331237836","file3":"1331237820"},"map_files_photo_id_array":[{"photo_id":"1331237836","filename":"file5"},{"photo_id":"1331237816","filename":"file2"},{"photo_id":"1331237827","filename":"file4"},{"photo_id":"1331237812","filename":"file1"},{"photo_id":"1331237807","filename":"file0"},{"photo_id":"1331237820","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331237816":["hashtag1","hashtag2"]},{"1331237836":["hashtag1","hashtag2"]},{"1331237827":["hashtag1","hashtag2"]},{"1331237812":["hashtag1","hashtag2"]},{"1331237820":["hashtag1","hashtag2"]},{"1331237807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331237816, 1331237836, 1331237827, 1331237812, 1331237820, 1331237807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.80644369125366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:02:02.934809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/53/image_25012025_03_53_02_264095_0002.jpg', '/home/pi/Desktop/images/25012025/03/53/image_25012025_03_53_02_264095_0003.jpg', '/home/pi/Desktop/images/25012025/03/54/image_25012025_03_54_02_722537_0000.jpg', '/home/pi/Desktop/images/25012025/03/54/image_25012025_03_54_02_722537_0001.jpg', '/home/pi/Desktop/images/25012025/03/54/image_25012025_03_54_02_722537_0002.jpg', '/home/pi/Desktop/images/25012025/03/54/image_25012025_03_54_02_722537_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/53/image_25012025_03_53_02_264095_0002.jpg
/home/pi/Desktop/images/25012025/03/53/image_25012025_03_53_02_264095_0003.jpg
/home/pi/Desktop/images/25012025/03/54/image_25012025_03_54_02_722537_0000.jpg
/home/pi/Desktop/images/25012025/03/54/image_25012025_03_54_02_722537_0001.jpg
/home/pi/Desktop/images/25012025/03/54/image_25012025_03_54_02_722537_0002.jpg
/home/pi/Desktop/images/25012025/03/54/image_25012025_03_54_02_722537_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":["1331238271","1331238148","1331238312","1331238191","1331238146","1331238302"],"photo_ids_order":["1331238146","1331238148","1331238191","1331238271","1331238302","1331238312"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fb32cf72abff29940fdab25c48c3b7b5.jpg","text":"TemporaryFile(/tmp/multipartBody6096168314509860740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781429293,"filename":"image_25012025_03_54_02_722537_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1b9c688804114f91d820735bff65d7ce.jpg","text":"TemporaryFile(/tmp/multipartBody4589654461494038282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781429293,"filename":"image_25012025_03_53_02_264095_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/968babd7a1ca234832b0d41a68cead34.jpg","text":"TemporaryFile(/tmp/multipartBody1175320830440719262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781429293,"filename":"image_25012025_03_54_02_722537_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e1ec105d0021b7c9b23bcc788fa495a8.jpg","text":"TemporaryFile(/tmp/multipartBody6612669454299696603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781429293,"filename":"image_25012025_03_54_02_722537_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/001b805c1c7f317c4d32b8c29c96938f.jpg","text":"TemporaryFile(/tmp/multipartBody4438686759956016612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781429293,"filename":"image_25012025_03_53_02_264095_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2139f18d4e0dc9adb8085e94b8561c00.jpg","text":"TemporaryFile(/tmp/multipartBody2147835057160128937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781429293,"filename":"image_25012025_03_54_02_722537_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331238191","file1":"1331238148","file0":"1331238146","file4":"1331238302","file5":"1331238312","file3":"1331238271"},"map_files_photo_id_array":[{"photo_id":"1331238312","filename":"file5"},{"photo_id":"1331238191","filename":"file2"},{"photo_id":"1331238302","filename":"file4"},{"photo_id":"1331238148","filename":"file1"},{"photo_id":"1331238146","filename":"file0"},{"photo_id":"1331238271","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331238271":["hashtag1","hashtag2"]},{"1331238148":["hashtag1","hashtag2"]},{"1331238312":["hashtag1","hashtag2"]},{"1331238191":["hashtag1","hashtag2"]},{"1331238146":["hashtag1","hashtag2"]},{"1331238302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331238271, 1331238148, 1331238312, 1331238191, 1331238146, 1331238302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 110.12983679771423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:04:03.224826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/55/image_25012025_03_55_02_443931_0000.jpg', '/home/pi/Desktop/images/25012025/03/55/image_25012025_03_55_02_443931_0001.jpg', '/home/pi/Desktop/images/25012025/03/55/image_25012025_03_55_02_443931_0002.jpg', '/home/pi/Desktop/images/25012025/03/55/image_25012025_03_55_02_443931_0003.jpg', '/home/pi/Desktop/images/25012025/03/56/image_25012025_03_56_02_901288_0000.jpg', '/home/pi/Desktop/images/25012025/03/56/image_25012025_03_56_02_901288_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/55/image_25012025_03_55_02_443931_0000.jpg
/home/pi/Desktop/images/25012025/03/55/image_25012025_03_55_02_443931_0001.jpg
/home/pi/Desktop/images/25012025/03/55/image_25012025_03_55_02_443931_0002.jpg
/home/pi/Desktop/images/25012025/03/55/image_25012025_03_55_02_443931_0003.jpg
/home/pi/Desktop/images/25012025/03/56/image_25012025_03_56_02_901288_0000.jpg
/home/pi/Desktop/images/25012025/03/56/image_25012025_03_56_02_901288_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":["1331238483","1331238403","1331238411","1331238464","1331238455","1331238388"],"photo_ids_order":["1331238388","1331238403","1331238411","1331238455","1331238464","1331238483"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f7959eb0ab97386144def3175ca7e8e3.jpg","text":"TemporaryFile(/tmp/multipartBody1141117267299839731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781552651,"filename":"image_25012025_03_56_02_901288_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b9362573b19c8a3924f62f3a2223eae6.jpg","text":"TemporaryFile(/tmp/multipartBody5302397130894470328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781552651,"filename":"image_25012025_03_55_02_443931_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f80c3323d28a974c54d999957bad0367.jpg","text":"TemporaryFile(/tmp/multipartBody399101588633514523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781552651,"filename":"image_25012025_03_55_02_443931_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dbd86b96ba6f86cc3fdc543245e3ec77.jpg","text":"TemporaryFile(/tmp/multipartBody3042244051460775099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781552651,"filename":"image_25012025_03_56_02_901288_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/611176043b80b316d7fc01070f5774ce.jpg","text":"TemporaryFile(/tmp/multipartBody1549815030038950945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781552651,"filename":"image_25012025_03_55_02_443931_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7064db46aca37661ae150ea1889ae933.jpg","text":"TemporaryFile(/tmp/multipartBody8373645994201856352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781552651,"filename":"image_25012025_03_55_02_443931_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331238411","file1":"1331238403","file0":"1331238388","file4":"1331238464","file5":"1331238483","file3":"1331238455"},"map_files_photo_id_array":[{"photo_id":"1331238483","filename":"file5"},{"photo_id":"1331238411","filename":"file2"},{"photo_id":"1331238464","filename":"file4"},{"photo_id":"1331238403","filename":"file1"},{"photo_id":"1331238388","filename":"file0"},{"photo_id":"1331238455","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331238483":["hashtag1","hashtag2"]},{"1331238403":["hashtag1","hashtag2"]},{"1331238411":["hashtag1","hashtag2"]},{"1331238464":["hashtag1","hashtag2"]},{"1331238455":["hashtag1","hashtag2"]},{"1331238388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331238483, 1331238403, 1331238411, 1331238464, 1331238455, 1331238388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.71262955665588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:06:03.146958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/56/image_25012025_03_56_02_901288_0002.jpg', '/home/pi/Desktop/images/25012025/03/56/image_25012025_03_56_02_901288_0003.jpg', '/home/pi/Desktop/images/25012025/03/57/image_25012025_03_57_02_584982_0000.jpg', '/home/pi/Desktop/images/25012025/03/57/image_25012025_03_57_02_584982_0001.jpg', '/home/pi/Desktop/images/25012025/03/57/image_25012025_03_57_02_584982_0002.jpg', '/home/pi/Desktop/images/25012025/03/57/image_25012025_03_57_02_584982_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/56/image_25012025_03_56_02_901288_0002.jpg
/home/pi/Desktop/images/25012025/03/56/image_25012025_03_56_02_901288_0003.jpg
/home/pi/Desktop/images/25012025/03/57/image_25012025_03_57_02_584982_0000.jpg
/home/pi/Desktop/images/25012025/03/57/image_25012025_03_57_02_584982_0001.jpg
/home/pi/Desktop/images/25012025/03/57/image_25012025_03_57_02_584982_0002.jpg
/home/pi/Desktop/images/25012025/03/57/image_25012025_03_57_02_584982_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":["1331238780","1331238613","1331238607","1331238618","1331238602","1331238694"],"photo_ids_order":["1331238602","1331238607","1331238613","1331238618","1331238694","1331238780"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d04fe1722586b7f8bf9926fdc2eda79b.jpg","text":"TemporaryFile(/tmp/multipartBody3290292668795744429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781663946,"filename":"image_25012025_03_57_02_584982_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/40719d829556f23498a20977bbe748ca.jpg","text":"TemporaryFile(/tmp/multipartBody3038790837745201740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781663946,"filename":"image_25012025_03_57_02_584982_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c285be6c1522c194f8c5be5e7f9651e0.jpg","text":"TemporaryFile(/tmp/multipartBody3976580607250452081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781663946,"filename":"image_25012025_03_56_02_901288_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ef1f885ad6eb92bd402d43742fcdc773.jpg","text":"TemporaryFile(/tmp/multipartBody8207037632531211340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781663946,"filename":"image_25012025_03_57_02_584982_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4c25eb69667ad71a6805da4e2bb234b6.jpg","text":"TemporaryFile(/tmp/multipartBody3775407679493797193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781663946,"filename":"image_25012025_03_56_02_901288_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b324ea9957bb2ce2a4f31657ed97aa58.jpg","text":"TemporaryFile(/tmp/multipartBody6135878299308922610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781663946,"filename":"image_25012025_03_57_02_584982_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331238613","file1":"1331238607","file0":"1331238602","file4":"1331238694","file5":"1331238780","file3":"1331238618"},"map_files_photo_id_array":[{"photo_id":"1331238780","filename":"file5"},{"photo_id":"1331238613","filename":"file2"},{"photo_id":"1331238694","filename":"file4"},{"photo_id":"1331238607","filename":"file1"},{"photo_id":"1331238602","filename":"file0"},{"photo_id":"1331238618","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331238780":["hashtag1","hashtag2"]},{"1331238613":["hashtag1","hashtag2"]},{"1331238607":["hashtag1","hashtag2"]},{"1331238618":["hashtag1","hashtag2"]},{"1331238602":["hashtag1","hashtag2"]},{"1331238694":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331238780, 1331238613, 1331238607, 1331238618, 1331238602, 1331238694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.94603681564331 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:08:02.304599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/58/image_25012025_03_58_02_121664_0000.jpg', '/home/pi/Desktop/images/25012025/03/58/image_25012025_03_58_02_121664_0001.jpg', '/home/pi/Desktop/images/25012025/03/58/image_25012025_03_58_02_121664_0002.jpg', '/home/pi/Desktop/images/25012025/03/58/image_25012025_03_58_02_121664_0003.jpg', '/home/pi/Desktop/images/25012025/03/59/image_25012025_03_59_02_815708_0000.jpg', '/home/pi/Desktop/images/25012025/03/59/image_25012025_03_59_02_815708_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/58/image_25012025_03_58_02_121664_0000.jpg
/home/pi/Desktop/images/25012025/03/58/image_25012025_03_58_02_121664_0001.jpg
/home/pi/Desktop/images/25012025/03/58/image_25012025_03_58_02_121664_0002.jpg
/home/pi/Desktop/images/25012025/03/58/image_25012025_03_58_02_121664_0003.jpg
/home/pi/Desktop/images/25012025/03/59/image_25012025_03_59_02_815708_0000.jpg
/home/pi/Desktop/images/25012025/03/59/image_25012025_03_59_02_815708_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":["1331239098","1331238952","1331239227","1331239236","1331239218","1331239168"],"photo_ids_order":["1331238952","1331239098","1331239168","1331239218","1331239227","1331239236"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/890354826ac5da083ffa8be57971e69d.jpg","text":"TemporaryFile(/tmp/multipartBody2816633619771833428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781773925,"filename":"image_25012025_03_58_02_121664_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6ffd6ad4b742ef73affc2e8485be9434.jpg","text":"TemporaryFile(/tmp/multipartBody2882910869406171467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781773925,"filename":"image_25012025_03_58_02_121664_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/536eb16ca1e9ba196b2688e089ca21d2.jpg","text":"TemporaryFile(/tmp/multipartBody6177216516326792713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781773925,"filename":"image_25012025_03_59_02_815708_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f7a53e8ba511cea84a42cd973051c713.jpg","text":"TemporaryFile(/tmp/multipartBody7525663638352108457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781773925,"filename":"image_25012025_03_59_02_815708_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fa4fbffcbefdd79780a8220bad98cc50.jpg","text":"TemporaryFile(/tmp/multipartBody771074025318546112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781773925,"filename":"image_25012025_03_58_02_121664_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/93f329ea49ac03510cad8a08b9ac4a75.jpg","text":"TemporaryFile(/tmp/multipartBody7725329144521403095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781773925,"filename":"image_25012025_03_58_02_121664_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331239168","file1":"1331239098","file0":"1331238952","file4":"1331239227","file5":"1331239236","file3":"1331239218"},"map_files_photo_id_array":[{"photo_id":"1331239236","filename":"file5"},{"photo_id":"1331239168","filename":"file2"},{"photo_id":"1331239227","filename":"file4"},{"photo_id":"1331239098","filename":"file1"},{"photo_id":"1331238952","filename":"file0"},{"photo_id":"1331239218","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331239098":["hashtag1","hashtag2"]},{"1331238952":["hashtag1","hashtag2"]},{"1331239227":["hashtag1","hashtag2"]},{"1331239236":["hashtag1","hashtag2"]},{"1331239218":["hashtag1","hashtag2"]},{"1331239168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331239098, 1331238952, 1331239227, 1331239236, 1331239218, 1331239168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.63097190856934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:10:02.411502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/03/59/image_25012025_03_59_02_815708_0002.jpg', '/home/pi/Desktop/images/25012025/03/59/image_25012025_03_59_02_815708_0003.jpg', '/home/pi/Desktop/images/25012025/04/00/image_25012025_04_00_02_926674_0000.jpg', '/home/pi/Desktop/images/25012025/04/00/image_25012025_04_00_02_926674_0001.jpg', '/home/pi/Desktop/images/25012025/04/00/image_25012025_04_00_02_926674_0002.jpg', '/home/pi/Desktop/images/25012025/04/00/image_25012025_04_00_02_926674_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/03/59/image_25012025_03_59_02_815708_0002.jpg
/home/pi/Desktop/images/25012025/03/59/image_25012025_03_59_02_815708_0003.jpg
/home/pi/Desktop/images/25012025/04/00/image_25012025_04_00_02_926674_0000.jpg
/home/pi/Desktop/images/25012025/04/00/image_25012025_04_00_02_926674_0001.jpg
/home/pi/Desktop/images/25012025/04/00/image_25012025_04_00_02_926674_0002.jpg
/home/pi/Desktop/images/25012025/04/00/image_25012025_04_00_02_926674_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":["1331240013","1331239913","1331239922","1331240006","1331240000","1331239963"],"photo_ids_order":["1331239913","1331239922","1331239963","1331240000","1331240006","1331240013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c1c1764409c1a0def81e2831184c1e69.jpg","text":"TemporaryFile(/tmp/multipartBody3004069065313037512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781909774,"filename":"image_25012025_04_00_02_926674_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/26e780ad303c437a5a806364a69aba7a.jpg","text":"TemporaryFile(/tmp/multipartBody2646041264455396406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781909774,"filename":"image_25012025_03_59_02_815708_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/766027dec34a4f7e2586caa0ac86267e.jpg","text":"TemporaryFile(/tmp/multipartBody6087307864445990339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781909774,"filename":"image_25012025_03_59_02_815708_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1487bc08630f6438129b12b3e2a40e36.jpg","text":"TemporaryFile(/tmp/multipartBody4284588657603738549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781909774,"filename":"image_25012025_04_00_02_926674_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/825c42011e5f015b6350b922b2a96d95.jpg","text":"TemporaryFile(/tmp/multipartBody1156647014492268814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781909774,"filename":"image_25012025_04_00_02_926674_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2975b84434b2e7547654c8ac6fee427a.jpg","text":"TemporaryFile(/tmp/multipartBody8259667599241925331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737781909774,"filename":"image_25012025_04_00_02_926674_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331239963","file1":"1331239922","file0":"1331239913","file4":"1331240006","file5":"1331240013","file3":"1331240000"},"map_files_photo_id_array":[{"photo_id":"1331240013","filename":"file5"},{"photo_id":"1331239963","filename":"file2"},{"photo_id":"1331240006","filename":"file4"},{"photo_id":"1331239922","filename":"file1"},{"photo_id":"1331239913","filename":"file0"},{"photo_id":"1331240000","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331240013":["hashtag1","hashtag2"]},{"1331239913":["hashtag1","hashtag2"]},{"1331239922":["hashtag1","hashtag2"]},{"1331240006":["hashtag1","hashtag2"]},{"1331240000":["hashtag1","hashtag2"]},{"1331239963":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331240013, 1331239913, 1331239922, 1331240006, 1331240000, 1331239963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 112.32794308662415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:12:02.291104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/01/image_25012025_04_01_02_457676_0000.jpg', '/home/pi/Desktop/images/25012025/04/01/image_25012025_04_01_02_457676_0001.jpg', '/home/pi/Desktop/images/25012025/04/01/image_25012025_04_01_02_457676_0002.jpg', '/home/pi/Desktop/images/25012025/04/01/image_25012025_04_01_02_457676_0003.jpg', '/home/pi/Desktop/images/25012025/04/02/image_25012025_04_02_02_912606_0000.jpg', '/home/pi/Desktop/images/25012025/04/02/image_25012025_04_02_02_912606_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/01/image_25012025_04_01_02_457676_0000.jpg
/home/pi/Desktop/images/25012025/04/01/image_25012025_04_01_02_457676_0001.jpg
/home/pi/Desktop/images/25012025/04/01/image_25012025_04_01_02_457676_0002.jpg
/home/pi/Desktop/images/25012025/04/01/image_25012025_04_01_02_457676_0003.jpg
/home/pi/Desktop/images/25012025/04/02/image_25012025_04_02_02_912606_0000.jpg
/home/pi/Desktop/images/25012025/04/02/image_25012025_04_02_02_912606_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: 50.507351875305176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:13:03.152748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/01/image_25012025_04_01_02_457676_0000.jpg', '/home/pi/Desktop/images/25012025/04/01/image_25012025_04_01_02_457676_0001.jpg', '/home/pi/Desktop/images/25012025/04/01/image_25012025_04_01_02_457676_0002.jpg', '/home/pi/Desktop/images/25012025/04/01/image_25012025_04_01_02_457676_0003.jpg', '/home/pi/Desktop/images/25012025/04/02/image_25012025_04_02_02_912606_0000.jpg', '/home/pi/Desktop/images/25012025/04/02/image_25012025_04_02_02_912606_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/01/image_25012025_04_01_02_457676_0000.jpg
/home/pi/Desktop/images/25012025/04/01/image_25012025_04_01_02_457676_0001.jpg
/home/pi/Desktop/images/25012025/04/01/image_25012025_04_01_02_457676_0002.jpg
/home/pi/Desktop/images/25012025/04/01/image_25012025_04_01_02_457676_0003.jpg
/home/pi/Desktop/images/25012025/04/02/image_25012025_04_02_02_912606_0000.jpg
/home/pi/Desktop/images/25012025/04/02/image_25012025_04_02_02_912606_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":["1331240116","1331240145","1331240139","1331240121","1331240129","1331240098"],"photo_ids_order":["1331240098","1331240116","1331240121","1331240129","1331240139","1331240145"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e5a955067111901d62f7f24a1860f35a.jpg","text":"TemporaryFile(/tmp/multipartBody978901262841143772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782087008,"filename":"image_25012025_04_01_02_457676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/566069a1ccda5ceb5653b463e537b658.jpg","text":"TemporaryFile(/tmp/multipartBody2888304395541099870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782087008,"filename":"image_25012025_04_02_02_912606_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f14da2b2e4f59959e5bf17c5668813f8.jpg","text":"TemporaryFile(/tmp/multipartBody5366423548685139472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782087008,"filename":"image_25012025_04_02_02_912606_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dd350e7eb30a2c23f9920d3af40dc629.jpg","text":"TemporaryFile(/tmp/multipartBody6096846630756053379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782087008,"filename":"image_25012025_04_01_02_457676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ae9c6135975080aa8e98bbeb0293a045.jpg","text":"TemporaryFile(/tmp/multipartBody8567857343780981915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782087008,"filename":"image_25012025_04_01_02_457676_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/34f61317edb9afffb46ed4de7429f596.jpg","text":"TemporaryFile(/tmp/multipartBody5555420410162632674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782087008,"filename":"image_25012025_04_01_02_457676_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331240121","file1":"1331240116","file0":"1331240098","file4":"1331240139","file5":"1331240145","file3":"1331240129"},"map_files_photo_id_array":[{"photo_id":"1331240145","filename":"file5"},{"photo_id":"1331240121","filename":"file2"},{"photo_id":"1331240139","filename":"file4"},{"photo_id":"1331240116","filename":"file1"},{"photo_id":"1331240098","filename":"file0"},{"photo_id":"1331240129","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331240116":["hashtag1","hashtag2"]},{"1331240145":["hashtag1","hashtag2"]},{"1331240139":["hashtag1","hashtag2"]},{"1331240121":["hashtag1","hashtag2"]},{"1331240129":["hashtag1","hashtag2"]},{"1331240098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331240116, 1331240145, 1331240139, 1331240121, 1331240129, 1331240098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 115.86799788475037 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:15:03.311204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/02/image_25012025_04_02_02_912606_0002.jpg', '/home/pi/Desktop/images/25012025/04/02/image_25012025_04_02_02_912606_0003.jpg', '/home/pi/Desktop/images/25012025/04/03/image_25012025_04_03_02_508823_0000.jpg', '/home/pi/Desktop/images/25012025/04/03/image_25012025_04_03_02_508823_0001.jpg', '/home/pi/Desktop/images/25012025/04/03/image_25012025_04_03_02_508823_0002.jpg', '/home/pi/Desktop/images/25012025/04/03/image_25012025_04_03_02_508823_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/02/image_25012025_04_02_02_912606_0002.jpg
/home/pi/Desktop/images/25012025/04/02/image_25012025_04_02_02_912606_0003.jpg
/home/pi/Desktop/images/25012025/04/03/image_25012025_04_03_02_508823_0000.jpg
/home/pi/Desktop/images/25012025/04/03/image_25012025_04_03_02_508823_0001.jpg
/home/pi/Desktop/images/25012025/04/03/image_25012025_04_03_02_508823_0002.jpg
/home/pi/Desktop/images/25012025/04/03/image_25012025_04_03_02_508823_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":["1331240341","1331240323","1331240317","1331240331","1331240318","1331240290"],"photo_ids_order":["1331240290","1331240317","1331240318","1331240323","1331240331","1331240341"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bcec0580cc1d7878665a45f3c74b11de.jpg","text":"TemporaryFile(/tmp/multipartBody908442986372663034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782209397,"filename":"image_25012025_04_03_02_508823_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7bb10b8284d9c751a57cabb1e628b0f5.jpg","text":"TemporaryFile(/tmp/multipartBody6054534754353118386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782209397,"filename":"image_25012025_04_03_02_508823_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a51c4a9ce5837f5311194713636f6441.jpg","text":"TemporaryFile(/tmp/multipartBody786266769044037668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782209397,"filename":"image_25012025_04_02_02_912606_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b288a0434b7bcaedc0c6c1c7fe66e53d.jpg","text":"TemporaryFile(/tmp/multipartBody54504373314868405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782209397,"filename":"image_25012025_04_03_02_508823_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f1d5096e2e405d466359f88f364c2eb0.jpg","text":"TemporaryFile(/tmp/multipartBody5490032095056914609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782209397,"filename":"image_25012025_04_03_02_508823_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8dc0000e19b8d33f6526b6281d9abfcc.jpg","text":"TemporaryFile(/tmp/multipartBody7201148851876250079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782209397,"filename":"image_25012025_04_02_02_912606_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331240318","file1":"1331240317","file0":"1331240290","file4":"1331240331","file5":"1331240341","file3":"1331240323"},"map_files_photo_id_array":[{"photo_id":"1331240341","filename":"file5"},{"photo_id":"1331240318","filename":"file2"},{"photo_id":"1331240331","filename":"file4"},{"photo_id":"1331240317","filename":"file1"},{"photo_id":"1331240290","filename":"file0"},{"photo_id":"1331240323","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331240341":["hashtag1","hashtag2"]},{"1331240323":["hashtag1","hashtag2"]},{"1331240317":["hashtag1","hashtag2"]},{"1331240331":["hashtag1","hashtag2"]},{"1331240318":["hashtag1","hashtag2"]},{"1331240290":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331240341, 1331240323, 1331240317, 1331240331, 1331240318, 1331240290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.22419738769531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:17:02.305487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/04/image_25012025_04_04_03_081804_0000.jpg', '/home/pi/Desktop/images/25012025/04/04/image_25012025_04_04_03_081804_0001.jpg', '/home/pi/Desktop/images/25012025/04/04/image_25012025_04_04_03_081804_0002.jpg', '/home/pi/Desktop/images/25012025/04/04/image_25012025_04_04_03_081804_0003.jpg', '/home/pi/Desktop/images/25012025/04/05/image_25012025_04_05_02_701694_0000.jpg', '/home/pi/Desktop/images/25012025/04/05/image_25012025_04_05_02_701694_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/04/image_25012025_04_04_03_081804_0000.jpg
/home/pi/Desktop/images/25012025/04/04/image_25012025_04_04_03_081804_0001.jpg
/home/pi/Desktop/images/25012025/04/04/image_25012025_04_04_03_081804_0002.jpg
/home/pi/Desktop/images/25012025/04/04/image_25012025_04_04_03_081804_0003.jpg
/home/pi/Desktop/images/25012025/04/05/image_25012025_04_05_02_701694_0000.jpg
/home/pi/Desktop/images/25012025/04/05/image_25012025_04_05_02_701694_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":["1331240467","1331240415","1331240456","1331240411","1331240405","1331240386"],"photo_ids_order":["1331240386","1331240405","1331240411","1331240415","1331240456","1331240467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b043d148b3010b2bff6660fc1e6fb3f8.jpg","text":"TemporaryFile(/tmp/multipartBody2361622482432584916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782327056,"filename":"image_25012025_04_05_02_701694_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f93e66d723d6c8b96db608f13b76b9ca.jpg","text":"TemporaryFile(/tmp/multipartBody3260331243369117833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782327056,"filename":"image_25012025_04_04_03_081804_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/764c518954d790fb8d4617a1b07fa799.jpg","text":"TemporaryFile(/tmp/multipartBody2504491551279003100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782327056,"filename":"image_25012025_04_05_02_701694_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a1e4d9438cb20d1c2a6da5c9e1cbbb32.jpg","text":"TemporaryFile(/tmp/multipartBody8211107280648944724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782327056,"filename":"image_25012025_04_04_03_081804_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c95b6af12ea7789a15672c3fea8cf65a.jpg","text":"TemporaryFile(/tmp/multipartBody4428781647846609000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782327056,"filename":"image_25012025_04_04_03_081804_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8e22c8448678d905d168121b11de6062.jpg","text":"TemporaryFile(/tmp/multipartBody244694429460872710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782327056,"filename":"image_25012025_04_04_03_081804_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331240411","file1":"1331240405","file0":"1331240386","file4":"1331240456","file5":"1331240467","file3":"1331240415"},"map_files_photo_id_array":[{"photo_id":"1331240467","filename":"file5"},{"photo_id":"1331240411","filename":"file2"},{"photo_id":"1331240456","filename":"file4"},{"photo_id":"1331240405","filename":"file1"},{"photo_id":"1331240386","filename":"file0"},{"photo_id":"1331240415","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331240467":["hashtag1","hashtag2"]},{"1331240415":["hashtag1","hashtag2"]},{"1331240456":["hashtag1","hashtag2"]},{"1331240411":["hashtag1","hashtag2"]},{"1331240405":["hashtag1","hashtag2"]},{"1331240386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331240467, 1331240415, 1331240456, 1331240411, 1331240405, 1331240386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.53559255599976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:19:02.462662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/05/image_25012025_04_05_02_701694_0002.jpg', '/home/pi/Desktop/images/25012025/04/05/image_25012025_04_05_02_701694_0003.jpg', '/home/pi/Desktop/images/25012025/04/06/image_25012025_04_06_02_241569_0000.jpg', '/home/pi/Desktop/images/25012025/04/06/image_25012025_04_06_02_241569_0001.jpg', '/home/pi/Desktop/images/25012025/04/06/image_25012025_04_06_02_241569_0002.jpg', '/home/pi/Desktop/images/25012025/04/06/image_25012025_04_06_02_241569_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/05/image_25012025_04_05_02_701694_0002.jpg
/home/pi/Desktop/images/25012025/04/05/image_25012025_04_05_02_701694_0003.jpg
/home/pi/Desktop/images/25012025/04/06/image_25012025_04_06_02_241569_0000.jpg
/home/pi/Desktop/images/25012025/04/06/image_25012025_04_06_02_241569_0001.jpg
/home/pi/Desktop/images/25012025/04/06/image_25012025_04_06_02_241569_0002.jpg
/home/pi/Desktop/images/25012025/04/06/image_25012025_04_06_02_241569_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":["1331240551","1331240545","1331240571","1331240556","1331240588","1331240549"],"photo_ids_order":["1331240545","1331240549","1331240551","1331240556","1331240571","1331240588"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6ff5906a372f81a8b61ed8227ae710e7.jpg","text":"TemporaryFile(/tmp/multipartBody1302838601891266642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782443048,"filename":"image_25012025_04_06_02_241569_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3ef4425594c936e05fbef4cc5c9390ce.jpg","text":"TemporaryFile(/tmp/multipartBody82655227392455854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782443048,"filename":"image_25012025_04_05_02_701694_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ab99f06360369dcfbf8c53c7e69e5e61.jpg","text":"TemporaryFile(/tmp/multipartBody2287049783017857822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782443048,"filename":"image_25012025_04_06_02_241569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7de26d4cb9a238bc059ca8c40348f6a0.jpg","text":"TemporaryFile(/tmp/multipartBody4516757093536188840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782443048,"filename":"image_25012025_04_06_02_241569_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7802a9d7900fef42baf2a72e4cb94234.jpg","text":"TemporaryFile(/tmp/multipartBody8034219429972934867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782443048,"filename":"image_25012025_04_06_02_241569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/07fbd2562111db1492aa2e127df05b02.jpg","text":"TemporaryFile(/tmp/multipartBody6427548964347910256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782443048,"filename":"image_25012025_04_05_02_701694_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331240551","file1":"1331240549","file0":"1331240545","file4":"1331240571","file5":"1331240588","file3":"1331240556"},"map_files_photo_id_array":[{"photo_id":"1331240588","filename":"file5"},{"photo_id":"1331240551","filename":"file2"},{"photo_id":"1331240571","filename":"file4"},{"photo_id":"1331240549","filename":"file1"},{"photo_id":"1331240545","filename":"file0"},{"photo_id":"1331240556","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331240551":["hashtag1","hashtag2"]},{"1331240545":["hashtag1","hashtag2"]},{"1331240571":["hashtag1","hashtag2"]},{"1331240556":["hashtag1","hashtag2"]},{"1331240588":["hashtag1","hashtag2"]},{"1331240549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331240551, 1331240545, 1331240571, 1331240556, 1331240588, 1331240549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.50733017921448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:21:02.713954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/07/image_25012025_04_07_02_781466_0000.jpg', '/home/pi/Desktop/images/25012025/04/07/image_25012025_04_07_02_781466_0001.jpg', '/home/pi/Desktop/images/25012025/04/07/image_25012025_04_07_02_781466_0002.jpg', '/home/pi/Desktop/images/25012025/04/07/image_25012025_04_07_02_781466_0003.jpg', '/home/pi/Desktop/images/25012025/04/08/image_25012025_04_08_02_282717_0000.jpg', '/home/pi/Desktop/images/25012025/04/08/image_25012025_04_08_02_282717_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/07/image_25012025_04_07_02_781466_0000.jpg
/home/pi/Desktop/images/25012025/04/07/image_25012025_04_07_02_781466_0001.jpg
/home/pi/Desktop/images/25012025/04/07/image_25012025_04_07_02_781466_0002.jpg
/home/pi/Desktop/images/25012025/04/07/image_25012025_04_07_02_781466_0003.jpg
/home/pi/Desktop/images/25012025/04/08/image_25012025_04_08_02_282717_0000.jpg
/home/pi/Desktop/images/25012025/04/08/image_25012025_04_08_02_282717_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":["1331241696","1331241699","1331241687","1331241683","1331241691","1331241703"],"photo_ids_order":["1331241683","1331241687","1331241691","1331241696","1331241699","1331241703"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c2d59391d7fe9debd710aec1756a25db.jpg","text":"TemporaryFile(/tmp/multipartBody2343327450413618512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782541352,"filename":"image_25012025_04_07_02_781466_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8d4f0ffebc1f14321b767307fa65a5e3.jpg","text":"TemporaryFile(/tmp/multipartBody3911885209096297642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782541352,"filename":"image_25012025_04_08_02_282717_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5dfb8a043865d8aa33b265769aa27eef.jpg","text":"TemporaryFile(/tmp/multipartBody4904763907061189739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782541352,"filename":"image_25012025_04_07_02_781466_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d870f4194fe0655448caee4246ae9af7.jpg","text":"TemporaryFile(/tmp/multipartBody8319806090146231608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782541352,"filename":"image_25012025_04_07_02_781466_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6758894109eea34dc9a4005d6d29dd86.jpg","text":"TemporaryFile(/tmp/multipartBody8467337567237554053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782541352,"filename":"image_25012025_04_07_02_781466_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/db0a87df07cce0ac457d0bb32f5cb69a.jpg","text":"TemporaryFile(/tmp/multipartBody3736328862265760851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782541352,"filename":"image_25012025_04_08_02_282717_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331241691","file1":"1331241687","file0":"1331241683","file4":"1331241699","file5":"1331241703","file3":"1331241696"},"map_files_photo_id_array":[{"photo_id":"1331241703","filename":"file5"},{"photo_id":"1331241691","filename":"file2"},{"photo_id":"1331241699","filename":"file4"},{"photo_id":"1331241687","filename":"file1"},{"photo_id":"1331241683","filename":"file0"},{"photo_id":"1331241696","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331241696":["hashtag1","hashtag2"]},{"1331241699":["hashtag1","hashtag2"]},{"1331241687":["hashtag1","hashtag2"]},{"1331241683":["hashtag1","hashtag2"]},{"1331241691":["hashtag1","hashtag2"]},{"1331241703":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331241696, 1331241699, 1331241687, 1331241683, 1331241691, 1331241703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.9403669834137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 06:22:22.748932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/08/image_25012025_04_08_02_282717_0002.jpg', '/home/pi/Desktop/images/25012025/04/08/image_25012025_04_08_02_282717_0003.jpg', '/home/pi/Desktop/images/25012025/04/09/image_25012025_04_09_02_856420_0000.jpg', '/home/pi/Desktop/images/25012025/04/09/image_25012025_04_09_02_856420_0001.jpg', '/home/pi/Desktop/images/25012025/04/09/image_25012025_04_09_02_856420_0002.jpg', '/home/pi/Desktop/images/25012025/04/09/image_25012025_04_09_02_856420_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/08/image_25012025_04_08_02_282717_0002.jpg
/home/pi/Desktop/images/25012025/04/08/image_25012025_04_08_02_282717_0003.jpg
/home/pi/Desktop/images/25012025/04/09/image_25012025_04_09_02_856420_0000.jpg
/home/pi/Desktop/images/25012025/04/09/image_25012025_04_09_02_856420_0001.jpg
/home/pi/Desktop/images/25012025/04/09/image_25012025_04_09_02_856420_0002.jpg
/home/pi/Desktop/images/25012025/04/09/image_25012025_04_09_02_856420_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":["1331242193","1331242125","1331242115","1331242156","1331242150","1331242191"],"photo_ids_order":["1331242115","1331242125","1331242150","1331242156","1331242191","1331242193"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1bc5738b7527e3ab45f332d441272f05.jpg","text":"TemporaryFile(/tmp/multipartBody1512153518842630826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782648735,"filename":"image_25012025_04_09_02_856420_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a6dbfa38616609850cc6d0aecdde5699.jpg","text":"TemporaryFile(/tmp/multipartBody1203272368927259138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782648735,"filename":"image_25012025_04_08_02_282717_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c51e1e8ac88802513dbe4779bab3a477.jpg","text":"TemporaryFile(/tmp/multipartBody4293861288172696371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782648735,"filename":"image_25012025_04_08_02_282717_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/91d28cf7610b09f79e80c1f6dc8f4ab7.jpg","text":"TemporaryFile(/tmp/multipartBody5964446709359226719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782648735,"filename":"image_25012025_04_09_02_856420_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9416498ff643f2e565d3220383820079.jpg","text":"TemporaryFile(/tmp/multipartBody7998078663514081432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782648735,"filename":"image_25012025_04_09_02_856420_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/035e7f4fe375ff78c78fac8c4712fa3f.jpg","text":"TemporaryFile(/tmp/multipartBody3937133482774831452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782648735,"filename":"image_25012025_04_09_02_856420_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331242150","file1":"1331242125","file0":"1331242115","file4":"1331242191","file5":"1331242193","file3":"1331242156"},"map_files_photo_id_array":[{"photo_id":"1331242193","filename":"file5"},{"photo_id":"1331242150","filename":"file2"},{"photo_id":"1331242191","filename":"file4"},{"photo_id":"1331242125","filename":"file1"},{"photo_id":"1331242115","filename":"file0"},{"photo_id":"1331242156","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331242193":["hashtag1","hashtag2"]},{"1331242125":["hashtag1","hashtag2"]},{"1331242115":["hashtag1","hashtag2"]},{"1331242156":["hashtag1","hashtag2"]},{"1331242150":["hashtag1","hashtag2"]},{"1331242191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331242193, 1331242125, 1331242115, 1331242156, 1331242150, 1331242191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 108.88267755508423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 06:24:21.828524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/10/image_25012025_04_10_02_312261_0000.jpg', '/home/pi/Desktop/images/25012025/04/10/image_25012025_04_10_02_312261_0001.jpg', '/home/pi/Desktop/images/25012025/04/10/image_25012025_04_10_02_312261_0002.jpg', '/home/pi/Desktop/images/25012025/04/10/image_25012025_04_10_02_312261_0003.jpg', '/home/pi/Desktop/images/25012025/04/11/image_25012025_04_11_02_911415_0000.jpg', '/home/pi/Desktop/images/25012025/04/11/image_25012025_04_11_02_911415_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/10/image_25012025_04_10_02_312261_0000.jpg
/home/pi/Desktop/images/25012025/04/10/image_25012025_04_10_02_312261_0001.jpg
/home/pi/Desktop/images/25012025/04/10/image_25012025_04_10_02_312261_0002.jpg
/home/pi/Desktop/images/25012025/04/10/image_25012025_04_10_02_312261_0003.jpg
/home/pi/Desktop/images/25012025/04/11/image_25012025_04_11_02_911415_0000.jpg
/home/pi/Desktop/images/25012025/04/11/image_25012025_04_11_02_911415_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":["1331242830","1331243024","1331242867","1331242756","1331242963","1331243040"],"photo_ids_order":["1331242756","1331242830","1331242867","1331242963","1331243024","1331243040"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8d1403ab6429b47c6ee9ef4d2c07aa96.jpg","text":"TemporaryFile(/tmp/multipartBody5352921590707039883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782768990,"filename":"image_25012025_04_10_02_312261_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4c6cf4001a5e84718f79b195a2d94ac5.jpg","text":"TemporaryFile(/tmp/multipartBody3297989548086476372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782768990,"filename":"image_25012025_04_11_02_911415_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/595e0c0e729895b0631008561e1b51c1.jpg","text":"TemporaryFile(/tmp/multipartBody5129873774335495242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782768990,"filename":"image_25012025_04_10_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/25/b58b59a575257c4a5127789f4f53e8d9.jpg","text":"TemporaryFile(/tmp/multipartBody2171059745295812840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782768990,"filename":"image_25012025_04_10_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/25/a3f0273515734c3b3ddbb80453318821.jpg","text":"TemporaryFile(/tmp/multipartBody6998635282427205351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782768990,"filename":"image_25012025_04_10_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/25/c8453c9e29835b36d9ddafc0687552f0.jpg","text":"TemporaryFile(/tmp/multipartBody2338413891817903014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782768990,"filename":"image_25012025_04_11_02_911415_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331242867","file1":"1331242830","file0":"1331242756","file4":"1331243024","file5":"1331243040","file3":"1331242963"},"map_files_photo_id_array":[{"photo_id":"1331243040","filename":"file5"},{"photo_id":"1331242867","filename":"file2"},{"photo_id":"1331243024","filename":"file4"},{"photo_id":"1331242830","filename":"file1"},{"photo_id":"1331242756","filename":"file0"},{"photo_id":"1331242963","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331242830":["hashtag1","hashtag2"]},{"1331243024":["hashtag1","hashtag2"]},{"1331242867":["hashtag1","hashtag2"]},{"1331242756":["hashtag1","hashtag2"]},{"1331242963":["hashtag1","hashtag2"]},{"1331243040":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331242830, 1331243024, 1331242867, 1331242756, 1331242963, 1331243040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.15587949752808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 06:26:21.893782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/11/image_25012025_04_11_02_911415_0002.jpg', '/home/pi/Desktop/images/25012025/04/11/image_25012025_04_11_02_911415_0003.jpg', '/home/pi/Desktop/images/25012025/04/12/image_25012025_04_12_02_404543_0000.jpg', '/home/pi/Desktop/images/25012025/04/12/image_25012025_04_12_02_404543_0001.jpg', '/home/pi/Desktop/images/25012025/04/12/image_25012025_04_12_02_404543_0002.jpg', '/home/pi/Desktop/images/25012025/04/12/image_25012025_04_12_02_404543_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/11/image_25012025_04_11_02_911415_0002.jpg
/home/pi/Desktop/images/25012025/04/11/image_25012025_04_11_02_911415_0003.jpg
/home/pi/Desktop/images/25012025/04/12/image_25012025_04_12_02_404543_0000.jpg
/home/pi/Desktop/images/25012025/04/12/image_25012025_04_12_02_404543_0001.jpg
/home/pi/Desktop/images/25012025/04/12/image_25012025_04_12_02_404543_0002.jpg
/home/pi/Desktop/images/25012025/04/12/image_25012025_04_12_02_404543_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: 46.22772574424744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 06:27:22.457103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/11/image_25012025_04_11_02_911415_0002.jpg', '/home/pi/Desktop/images/25012025/04/11/image_25012025_04_11_02_911415_0003.jpg', '/home/pi/Desktop/images/25012025/04/12/image_25012025_04_12_02_404543_0000.jpg', '/home/pi/Desktop/images/25012025/04/12/image_25012025_04_12_02_404543_0001.jpg', '/home/pi/Desktop/images/25012025/04/12/image_25012025_04_12_02_404543_0002.jpg', '/home/pi/Desktop/images/25012025/04/12/image_25012025_04_12_02_404543_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/11/image_25012025_04_11_02_911415_0002.jpg
/home/pi/Desktop/images/25012025/04/11/image_25012025_04_11_02_911415_0003.jpg
/home/pi/Desktop/images/25012025/04/12/image_25012025_04_12_02_404543_0000.jpg
/home/pi/Desktop/images/25012025/04/12/image_25012025_04_12_02_404543_0001.jpg
/home/pi/Desktop/images/25012025/04/12/image_25012025_04_12_02_404543_0002.jpg
/home/pi/Desktop/images/25012025/04/12/image_25012025_04_12_02_404543_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":["1331243591","1331243627","1331243621","1331243603","1331243611","1331243625"],"photo_ids_order":["1331243591","1331243603","1331243611","1331243621","1331243625","1331243627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/16d827b2a28ee78ae827a36c2e9e1da5.jpg","text":"TemporaryFile(/tmp/multipartBody7824938503483610625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782953621,"filename":"image_25012025_04_11_02_911415_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/89922765171dee0c59da70f6629f3f16.jpg","text":"TemporaryFile(/tmp/multipartBody3310936659495127781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782953621,"filename":"image_25012025_04_12_02_404543_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ccf67ef322d843611668b9e8ea2e47f6.jpg","text":"TemporaryFile(/tmp/multipartBody6662463361446283029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782953621,"filename":"image_25012025_04_12_02_404543_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/03a9a1a6310264f56dd41469cd9ea982.jpg","text":"TemporaryFile(/tmp/multipartBody1014882054744160888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782953621,"filename":"image_25012025_04_11_02_911415_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/adc09d8fca261bb6e4ecfe4fc8420760.jpg","text":"TemporaryFile(/tmp/multipartBody594294801330074111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782953621,"filename":"image_25012025_04_12_02_404543_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ffa0acde2ff897be5b4d5e71b0a55ed3.jpg","text":"TemporaryFile(/tmp/multipartBody8667751679204114392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737782953621,"filename":"image_25012025_04_12_02_404543_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331243611","file1":"1331243603","file0":"1331243591","file4":"1331243625","file5":"1331243627","file3":"1331243621"},"map_files_photo_id_array":[{"photo_id":"1331243627","filename":"file5"},{"photo_id":"1331243611","filename":"file2"},{"photo_id":"1331243625","filename":"file4"},{"photo_id":"1331243603","filename":"file1"},{"photo_id":"1331243591","filename":"file0"},{"photo_id":"1331243621","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331243591":["hashtag1","hashtag2"]},{"1331243627":["hashtag1","hashtag2"]},{"1331243621":["hashtag1","hashtag2"]},{"1331243603":["hashtag1","hashtag2"]},{"1331243611":["hashtag1","hashtag2"]},{"1331243625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331243591, 1331243627, 1331243621, 1331243603, 1331243611, 1331243625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.06565141677856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 06:29:22.516356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/13/image_25012025_04_13_03_001158_0000.jpg', '/home/pi/Desktop/images/25012025/04/13/image_25012025_04_13_03_001158_0001.jpg', '/home/pi/Desktop/images/25012025/04/13/image_25012025_04_13_03_001158_0002.jpg', '/home/pi/Desktop/images/25012025/04/13/image_25012025_04_13_03_001158_0003.jpg', '/home/pi/Desktop/images/25012025/04/14/image_25012025_04_14_02_514650_0000.jpg', '/home/pi/Desktop/images/25012025/04/14/image_25012025_04_14_02_514650_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/13/image_25012025_04_13_03_001158_0000.jpg
/home/pi/Desktop/images/25012025/04/13/image_25012025_04_13_03_001158_0001.jpg
/home/pi/Desktop/images/25012025/04/13/image_25012025_04_13_03_001158_0002.jpg
/home/pi/Desktop/images/25012025/04/13/image_25012025_04_13_03_001158_0003.jpg
/home/pi/Desktop/images/25012025/04/14/image_25012025_04_14_02_514650_0000.jpg
/home/pi/Desktop/images/25012025/04/14/image_25012025_04_14_02_514650_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":["1331243756","1331243759","1331243738","1331243732","1331243752","1331243746"],"photo_ids_order":["1331243732","1331243738","1331243746","1331243752","1331243756","1331243759"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c507afd94bb5148dcebfccbad02a8546.jpg","text":"TemporaryFile(/tmp/multipartBody6144443775271318301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783065790,"filename":"image_25012025_04_14_02_514650_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6728f2bc2378a24cd4586f508758a7b3.jpg","text":"TemporaryFile(/tmp/multipartBody7706350834041992677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783065790,"filename":"image_25012025_04_14_02_514650_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7156e658bef98f27f039c4d732fa5a55.jpg","text":"TemporaryFile(/tmp/multipartBody435326360607803039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783065790,"filename":"image_25012025_04_13_03_001158_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c6728e5598d08a0939967b06812e507f.jpg","text":"TemporaryFile(/tmp/multipartBody7640869073832482132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783065790,"filename":"image_25012025_04_13_03_001158_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3fd86f6cb683578f42a584314af22f9d.jpg","text":"TemporaryFile(/tmp/multipartBody531365614366895997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783065790,"filename":"image_25012025_04_13_03_001158_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/58858b71a02cb4fc521d0126b5bf6aca.jpg","text":"TemporaryFile(/tmp/multipartBody1984740516695355659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783065790,"filename":"image_25012025_04_13_03_001158_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331243746","file1":"1331243738","file0":"1331243732","file4":"1331243756","file5":"1331243759","file3":"1331243752"},"map_files_photo_id_array":[{"photo_id":"1331243759","filename":"file5"},{"photo_id":"1331243746","filename":"file2"},{"photo_id":"1331243756","filename":"file4"},{"photo_id":"1331243738","filename":"file1"},{"photo_id":"1331243732","filename":"file0"},{"photo_id":"1331243752","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331243756":["hashtag1","hashtag2"]},{"1331243759":["hashtag1","hashtag2"]},{"1331243738":["hashtag1","hashtag2"]},{"1331243732":["hashtag1","hashtag2"]},{"1331243752":["hashtag1","hashtag2"]},{"1331243746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331243756, 1331243759, 1331243738, 1331243732, 1331243752, 1331243746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.46301174163818 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:31:03.198608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/14/image_25012025_04_14_02_514650_0002.jpg', '/home/pi/Desktop/images/25012025/04/14/image_25012025_04_14_02_514650_0003.jpg', '/home/pi/Desktop/images/25012025/04/15/image_25012025_04_15_03_072707_0000.jpg', '/home/pi/Desktop/images/25012025/04/15/image_25012025_04_15_03_072707_0001.jpg', '/home/pi/Desktop/images/25012025/04/15/image_25012025_04_15_03_072707_0002.jpg', '/home/pi/Desktop/images/25012025/04/15/image_25012025_04_15_03_072707_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/14/image_25012025_04_14_02_514650_0002.jpg
/home/pi/Desktop/images/25012025/04/14/image_25012025_04_14_02_514650_0003.jpg
/home/pi/Desktop/images/25012025/04/15/image_25012025_04_15_03_072707_0000.jpg
/home/pi/Desktop/images/25012025/04/15/image_25012025_04_15_03_072707_0001.jpg
/home/pi/Desktop/images/25012025/04/15/image_25012025_04_15_03_072707_0002.jpg
/home/pi/Desktop/images/25012025/04/15/image_25012025_04_15_03_072707_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":["1331244200","1331244122","1331244110","1331244178","1331244006","1331244170"],"photo_ids_order":["1331244006","1331244110","1331244122","1331244170","1331244178","1331244200"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/531a9601f9d1f1369afb25bb2110f039.jpg","text":"TemporaryFile(/tmp/multipartBody2899095526865887437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783170789,"filename":"image_25012025_04_15_03_072707_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/99fafd217335810ae910eb5bcd47ff8f.jpg","text":"TemporaryFile(/tmp/multipartBody6148830699500931105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783170789,"filename":"image_25012025_04_15_03_072707_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a4d05a7f16be8aa34b9801c5c2ada980.jpg","text":"TemporaryFile(/tmp/multipartBody257639143927892588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783170789,"filename":"image_25012025_04_14_02_514650_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4ab51c2750ed446a8e114aa5bb6b1f99.jpg","text":"TemporaryFile(/tmp/multipartBody6498841410876433838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783170789,"filename":"image_25012025_04_15_03_072707_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/89e3fcbd6dfe9ab3c4be40a52012cd9f.jpg","text":"TemporaryFile(/tmp/multipartBody8805471120794318864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783170789,"filename":"image_25012025_04_14_02_514650_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4e070c34bfef3c4e4a7146a7da6cfe01.jpg","text":"TemporaryFile(/tmp/multipartBody7309675776559123295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783170789,"filename":"image_25012025_04_15_03_072707_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331244122","file1":"1331244110","file0":"1331244006","file4":"1331244178","file5":"1331244200","file3":"1331244170"},"map_files_photo_id_array":[{"photo_id":"1331244200","filename":"file5"},{"photo_id":"1331244122","filename":"file2"},{"photo_id":"1331244178","filename":"file4"},{"photo_id":"1331244110","filename":"file1"},{"photo_id":"1331244006","filename":"file0"},{"photo_id":"1331244170","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331244200":["hashtag1","hashtag2"]},{"1331244122":["hashtag1","hashtag2"]},{"1331244110":["hashtag1","hashtag2"]},{"1331244178":["hashtag1","hashtag2"]},{"1331244006":["hashtag1","hashtag2"]},{"1331244170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331244200, 1331244122, 1331244110, 1331244178, 1331244006, 1331244170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 117.35143899917603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:33:02.467617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/16/image_25012025_04_16_02_632420_0000.jpg', '/home/pi/Desktop/images/25012025/04/16/image_25012025_04_16_02_632420_0001.jpg', '/home/pi/Desktop/images/25012025/04/16/image_25012025_04_16_02_632420_0002.jpg', '/home/pi/Desktop/images/25012025/04/16/image_25012025_04_16_02_632420_0003.jpg', '/home/pi/Desktop/images/25012025/04/17/image_25012025_04_17_02_200237_0000.jpg', '/home/pi/Desktop/images/25012025/04/17/image_25012025_04_17_02_200237_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/16/image_25012025_04_16_02_632420_0000.jpg
/home/pi/Desktop/images/25012025/04/16/image_25012025_04_16_02_632420_0001.jpg
/home/pi/Desktop/images/25012025/04/16/image_25012025_04_16_02_632420_0002.jpg
/home/pi/Desktop/images/25012025/04/16/image_25012025_04_16_02_632420_0003.jpg
/home/pi/Desktop/images/25012025/04/17/image_25012025_04_17_02_200237_0000.jpg
/home/pi/Desktop/images/25012025/04/17/image_25012025_04_17_02_200237_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":["1331244260","1331244268","1331244277","1331244258","1331244303","1331244263"],"photo_ids_order":["1331244258","1331244260","1331244263","1331244268","1331244277","1331244303"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/82509f13d54169ea516a84c2c4dafb89.jpg","text":"TemporaryFile(/tmp/multipartBody9187299742877736944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783272750,"filename":"image_25012025_04_16_02_632420_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1ce53a7c9e104e1abda6685fdf1e9216.jpg","text":"TemporaryFile(/tmp/multipartBody2131814090610494098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783272750,"filename":"image_25012025_04_16_02_632420_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4f2df9d630c199940d9498504264cdcf.jpg","text":"TemporaryFile(/tmp/multipartBody7856161043496800516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783272750,"filename":"image_25012025_04_17_02_200237_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c65f9ee5dc4b6121cc761548ace8d97e.jpg","text":"TemporaryFile(/tmp/multipartBody6149796967409697369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783272750,"filename":"image_25012025_04_16_02_632420_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/297ec96507df41d13f5ff7b3a7ea55f4.jpg","text":"TemporaryFile(/tmp/multipartBody4071642221497474618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783272750,"filename":"image_25012025_04_17_02_200237_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3a32ae13b960efaabe20e285faf662c1.jpg","text":"TemporaryFile(/tmp/multipartBody3102102258668024139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783272750,"filename":"image_25012025_04_16_02_632420_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331244263","file1":"1331244260","file0":"1331244258","file4":"1331244277","file5":"1331244303","file3":"1331244268"},"map_files_photo_id_array":[{"photo_id":"1331244303","filename":"file5"},{"photo_id":"1331244263","filename":"file2"},{"photo_id":"1331244277","filename":"file4"},{"photo_id":"1331244260","filename":"file1"},{"photo_id":"1331244258","filename":"file0"},{"photo_id":"1331244268","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331244260":["hashtag1","hashtag2"]},{"1331244268":["hashtag1","hashtag2"]},{"1331244277":["hashtag1","hashtag2"]},{"1331244258":["hashtag1","hashtag2"]},{"1331244303":["hashtag1","hashtag2"]},{"1331244263":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331244260, 1331244268, 1331244277, 1331244258, 1331244303, 1331244263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.28309464454651 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:35:02.460513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/17/image_25012025_04_17_02_200237_0002.jpg', '/home/pi/Desktop/images/25012025/04/17/image_25012025_04_17_02_200237_0003.jpg', '/home/pi/Desktop/images/25012025/04/18/image_25012025_04_18_02_709900_0000.jpg', '/home/pi/Desktop/images/25012025/04/18/image_25012025_04_18_02_709900_0001.jpg', '/home/pi/Desktop/images/25012025/04/18/image_25012025_04_18_02_709900_0002.jpg', '/home/pi/Desktop/images/25012025/04/18/image_25012025_04_18_02_709900_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/17/image_25012025_04_17_02_200237_0002.jpg
/home/pi/Desktop/images/25012025/04/17/image_25012025_04_17_02_200237_0003.jpg
/home/pi/Desktop/images/25012025/04/18/image_25012025_04_18_02_709900_0000.jpg
/home/pi/Desktop/images/25012025/04/18/image_25012025_04_18_02_709900_0001.jpg
/home/pi/Desktop/images/25012025/04/18/image_25012025_04_18_02_709900_0002.jpg
/home/pi/Desktop/images/25012025/04/18/image_25012025_04_18_02_709900_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: 39.97085762023926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:36:02.980349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/17/image_25012025_04_17_02_200237_0002.jpg', '/home/pi/Desktop/images/25012025/04/17/image_25012025_04_17_02_200237_0003.jpg', '/home/pi/Desktop/images/25012025/04/18/image_25012025_04_18_02_709900_0000.jpg', '/home/pi/Desktop/images/25012025/04/18/image_25012025_04_18_02_709900_0001.jpg', '/home/pi/Desktop/images/25012025/04/18/image_25012025_04_18_02_709900_0002.jpg', '/home/pi/Desktop/images/25012025/04/18/image_25012025_04_18_02_709900_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/17/image_25012025_04_17_02_200237_0002.jpg
/home/pi/Desktop/images/25012025/04/17/image_25012025_04_17_02_200237_0003.jpg
/home/pi/Desktop/images/25012025/04/18/image_25012025_04_18_02_709900_0000.jpg
/home/pi/Desktop/images/25012025/04/18/image_25012025_04_18_02_709900_0001.jpg
/home/pi/Desktop/images/25012025/04/18/image_25012025_04_18_02_709900_0002.jpg
/home/pi/Desktop/images/25012025/04/18/image_25012025_04_18_02_709900_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":["1331245624","1331245447","1331245632","1331245586","1331245637","1331245619"],"photo_ids_order":["1331245447","1331245586","1331245619","1331245624","1331245632","1331245637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0d07a52daef0bc3f892bccded1e7a6fe.jpg","text":"TemporaryFile(/tmp/multipartBody8149332287545412929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783471838,"filename":"image_25012025_04_18_02_709900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/85efe5df6e3241fd0855758618734837.jpg","text":"TemporaryFile(/tmp/multipartBody2441579976704597507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783471838,"filename":"image_25012025_04_17_02_200237_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a8f6c76065ded06f394f443fbe42dcfe.jpg","text":"TemporaryFile(/tmp/multipartBody5858794028322315069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783471838,"filename":"image_25012025_04_18_02_709900_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/731713f07125086811479a00b2f7458e.jpg","text":"TemporaryFile(/tmp/multipartBody7030156025383484096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783471838,"filename":"image_25012025_04_17_02_200237_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/41009cc96b8772a6e3e4d09c84641b0f.jpg","text":"TemporaryFile(/tmp/multipartBody4589275442468712104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783471838,"filename":"image_25012025_04_18_02_709900_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c4261aafe974ab3991d7919b4f196d6e.jpg","text":"TemporaryFile(/tmp/multipartBody5933449004739707724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783471838,"filename":"image_25012025_04_18_02_709900_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331245619","file1":"1331245586","file0":"1331245447","file4":"1331245632","file5":"1331245637","file3":"1331245624"},"map_files_photo_id_array":[{"photo_id":"1331245637","filename":"file5"},{"photo_id":"1331245619","filename":"file2"},{"photo_id":"1331245632","filename":"file4"},{"photo_id":"1331245586","filename":"file1"},{"photo_id":"1331245447","filename":"file0"},{"photo_id":"1331245624","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331245624":["hashtag1","hashtag2"]},{"1331245447":["hashtag1","hashtag2"]},{"1331245632":["hashtag1","hashtag2"]},{"1331245586":["hashtag1","hashtag2"]},{"1331245637":["hashtag1","hashtag2"]},{"1331245619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331245624, 1331245447, 1331245632, 1331245586, 1331245637, 1331245619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.96342325210571 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:38:03.028409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/19/image_25012025_04_19_02_392898_0000.jpg', '/home/pi/Desktop/images/25012025/04/19/image_25012025_04_19_02_392898_0001.jpg', '/home/pi/Desktop/images/25012025/04/19/image_25012025_04_19_02_392898_0002.jpg', '/home/pi/Desktop/images/25012025/04/19/image_25012025_04_19_02_392898_0003.jpg', '/home/pi/Desktop/images/25012025/04/20/image_25012025_04_20_02_927990_0000.jpg', '/home/pi/Desktop/images/25012025/04/20/image_25012025_04_20_02_927990_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/19/image_25012025_04_19_02_392898_0000.jpg
/home/pi/Desktop/images/25012025/04/19/image_25012025_04_19_02_392898_0001.jpg
/home/pi/Desktop/images/25012025/04/19/image_25012025_04_19_02_392898_0002.jpg
/home/pi/Desktop/images/25012025/04/19/image_25012025_04_19_02_392898_0003.jpg
/home/pi/Desktop/images/25012025/04/20/image_25012025_04_20_02_927990_0000.jpg
/home/pi/Desktop/images/25012025/04/20/image_25012025_04_20_02_927990_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":["1331245851","1331245860","1331245833","1331245827","1331245821","1331245815"],"photo_ids_order":["1331245815","1331245821","1331245827","1331245833","1331245851","1331245860"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bdfbb1aa0be2f256f23b468442ed8cee.jpg","text":"TemporaryFile(/tmp/multipartBody7912830339675298576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783582368,"filename":"image_25012025_04_20_02_927990_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a4e953a90bf2e8d4a1365d44df3c93bb.jpg","text":"TemporaryFile(/tmp/multipartBody4385628447444804076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783582368,"filename":"image_25012025_04_20_02_927990_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/25f1520fab29dc5ae1c00b3ce3b3bcc1.jpg","text":"TemporaryFile(/tmp/multipartBody4085622568824216793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783582368,"filename":"image_25012025_04_19_02_392898_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2b7e2f46a66dbdca0be1d0cd17e38405.jpg","text":"TemporaryFile(/tmp/multipartBody2647108041924158943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783582368,"filename":"image_25012025_04_19_02_392898_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c1d9c5e4b7de72075883ef3afafc7cfc.jpg","text":"TemporaryFile(/tmp/multipartBody2125791952711936081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783582368,"filename":"image_25012025_04_19_02_392898_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2532e5d596d4a79d471c1359e84e857d.jpg","text":"TemporaryFile(/tmp/multipartBody6329634637565871178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783582368,"filename":"image_25012025_04_19_02_392898_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331245827","file1":"1331245821","file0":"1331245815","file4":"1331245851","file5":"1331245860","file3":"1331245833"},"map_files_photo_id_array":[{"photo_id":"1331245860","filename":"file5"},{"photo_id":"1331245827","filename":"file2"},{"photo_id":"1331245851","filename":"file4"},{"photo_id":"1331245821","filename":"file1"},{"photo_id":"1331245815","filename":"file0"},{"photo_id":"1331245833","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331245851":["hashtag1","hashtag2"]},{"1331245860":["hashtag1","hashtag2"]},{"1331245833":["hashtag1","hashtag2"]},{"1331245827":["hashtag1","hashtag2"]},{"1331245821":["hashtag1","hashtag2"]},{"1331245815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331245851, 1331245860, 1331245833, 1331245827, 1331245821, 1331245815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.55596208572388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:40:02.253317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/20/image_25012025_04_20_02_927990_0002.jpg', '/home/pi/Desktop/images/25012025/04/20/image_25012025_04_20_02_927990_0003.jpg', '/home/pi/Desktop/images/25012025/04/21/image_25012025_04_21_02_572392_0000.jpg', '/home/pi/Desktop/images/25012025/04/21/image_25012025_04_21_02_572392_0001.jpg', '/home/pi/Desktop/images/25012025/04/21/image_25012025_04_21_02_572392_0002.jpg', '/home/pi/Desktop/images/25012025/04/21/image_25012025_04_21_02_572392_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/20/image_25012025_04_20_02_927990_0002.jpg
/home/pi/Desktop/images/25012025/04/20/image_25012025_04_20_02_927990_0003.jpg
/home/pi/Desktop/images/25012025/04/21/image_25012025_04_21_02_572392_0000.jpg
/home/pi/Desktop/images/25012025/04/21/image_25012025_04_21_02_572392_0001.jpg
/home/pi/Desktop/images/25012025/04/21/image_25012025_04_21_02_572392_0002.jpg
/home/pi/Desktop/images/25012025/04/21/image_25012025_04_21_02_572392_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":["1331246452","1331246289","1331246331","1331246625","1331246257","1331246365"],"photo_ids_order":["1331246257","1331246289","1331246331","1331246365","1331246452","1331246625"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/04de4cd30c9324dc96069e31f2b624a0.jpg","text":"TemporaryFile(/tmp/multipartBody4228686231858609390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783712501,"filename":"image_25012025_04_21_02_572392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9f1b90d19aa712c82b0df8dc59e5fd14.jpg","text":"TemporaryFile(/tmp/multipartBody7444215935196297560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783712501,"filename":"image_25012025_04_20_02_927990_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/efa9e9d90967c94fdd71d4c2fd68ad3f.jpg","text":"TemporaryFile(/tmp/multipartBody4576473900309859197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783712501,"filename":"image_25012025_04_21_02_572392_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fab0dbf7addcf53b86625132682dbe63.jpg","text":"TemporaryFile(/tmp/multipartBody4228940918973428474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783712501,"filename":"image_25012025_04_21_02_572392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3b63c70b20505857c56fbb6d2e329b86.jpg","text":"TemporaryFile(/tmp/multipartBody4994701796618831520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783712501,"filename":"image_25012025_04_20_02_927990_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2ef21dbf52893149b00ba5b91c58d39c.jpg","text":"TemporaryFile(/tmp/multipartBody2362248546163292045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783712501,"filename":"image_25012025_04_21_02_572392_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331246331","file1":"1331246289","file0":"1331246257","file4":"1331246452","file5":"1331246625","file3":"1331246365"},"map_files_photo_id_array":[{"photo_id":"1331246625","filename":"file5"},{"photo_id":"1331246331","filename":"file2"},{"photo_id":"1331246452","filename":"file4"},{"photo_id":"1331246289","filename":"file1"},{"photo_id":"1331246257","filename":"file0"},{"photo_id":"1331246365","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331246452":["hashtag1","hashtag2"]},{"1331246289":["hashtag1","hashtag2"]},{"1331246331":["hashtag1","hashtag2"]},{"1331246625":["hashtag1","hashtag2"]},{"1331246257":["hashtag1","hashtag2"]},{"1331246365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331246452, 1331246289, 1331246331, 1331246625, 1331246257, 1331246365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 109.10530877113342 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:42:02.182593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/22/image_25012025_04_22_03_096912_0000.jpg', '/home/pi/Desktop/images/25012025/04/22/image_25012025_04_22_03_096912_0001.jpg', '/home/pi/Desktop/images/25012025/04/22/image_25012025_04_22_03_096912_0002.jpg', '/home/pi/Desktop/images/25012025/04/22/image_25012025_04_22_03_096912_0003.jpg', '/home/pi/Desktop/images/25012025/04/23/image_25012025_04_23_02_623073_0000.jpg', '/home/pi/Desktop/images/25012025/04/23/image_25012025_04_23_02_623073_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/22/image_25012025_04_22_03_096912_0000.jpg
/home/pi/Desktop/images/25012025/04/22/image_25012025_04_22_03_096912_0001.jpg
/home/pi/Desktop/images/25012025/04/22/image_25012025_04_22_03_096912_0002.jpg
/home/pi/Desktop/images/25012025/04/22/image_25012025_04_22_03_096912_0003.jpg
/home/pi/Desktop/images/25012025/04/23/image_25012025_04_23_02_623073_0000.jpg
/home/pi/Desktop/images/25012025/04/23/image_25012025_04_23_02_623073_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":["1331247060","1331246940","1331246934","1331246981","1331246944","1331247115"],"photo_ids_order":["1331246934","1331246940","1331246944","1331246981","1331247060","1331247115"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c20139248ac9a7db8194c2925224a1de.jpg","text":"TemporaryFile(/tmp/multipartBody6748210052498766645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783830759,"filename":"image_25012025_04_23_02_623073_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/33ab2ef8994ee007c266d14177477802.jpg","text":"TemporaryFile(/tmp/multipartBody3922309420712302489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783830759,"filename":"image_25012025_04_22_03_096912_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/115ac65bedd57fc2689da7a7fa8b75af.jpg","text":"TemporaryFile(/tmp/multipartBody5865823771774779194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783830759,"filename":"image_25012025_04_22_03_096912_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/37c826421cf293b374b4e2f6494fd751.jpg","text":"TemporaryFile(/tmp/multipartBody2071021738853645004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783830759,"filename":"image_25012025_04_22_03_096912_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/651289bd50bd55631a8c24a1b93401c3.jpg","text":"TemporaryFile(/tmp/multipartBody2737720404726823846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783830759,"filename":"image_25012025_04_22_03_096912_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2a33ea5e0acc8543f0ab9693866a5e98.jpg","text":"TemporaryFile(/tmp/multipartBody5378428551574875467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737783830759,"filename":"image_25012025_04_23_02_623073_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331246944","file1":"1331246940","file0":"1331246934","file4":"1331247060","file5":"1331247115","file3":"1331246981"},"map_files_photo_id_array":[{"photo_id":"1331247115","filename":"file5"},{"photo_id":"1331246944","filename":"file2"},{"photo_id":"1331247060","filename":"file4"},{"photo_id":"1331246940","filename":"file1"},{"photo_id":"1331246934","filename":"file0"},{"photo_id":"1331246981","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331247060":["hashtag1","hashtag2"]},{"1331246940":["hashtag1","hashtag2"]},{"1331246934":["hashtag1","hashtag2"]},{"1331246981":["hashtag1","hashtag2"]},{"1331246944":["hashtag1","hashtag2"]},{"1331247115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331247060, 1331246940, 1331246934, 1331246981, 1331246944, 1331247115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.8073399066925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:44:02.262672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/23/image_25012025_04_23_02_623073_0002.jpg', '/home/pi/Desktop/images/25012025/04/23/image_25012025_04_23_02_623073_0003.jpg', '/home/pi/Desktop/images/25012025/04/24/image_25012025_04_24_02_170033_0000.jpg', '/home/pi/Desktop/images/25012025/04/24/image_25012025_04_24_02_170033_0001.jpg', '/home/pi/Desktop/images/25012025/04/24/image_25012025_04_24_02_170033_0002.jpg', '/home/pi/Desktop/images/25012025/04/24/image_25012025_04_24_02_170033_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/23/image_25012025_04_23_02_623073_0002.jpg
/home/pi/Desktop/images/25012025/04/23/image_25012025_04_23_02_623073_0003.jpg
/home/pi/Desktop/images/25012025/04/24/image_25012025_04_24_02_170033_0000.jpg
/home/pi/Desktop/images/25012025/04/24/image_25012025_04_24_02_170033_0001.jpg
/home/pi/Desktop/images/25012025/04/24/image_25012025_04_24_02_170033_0002.jpg
/home/pi/Desktop/images/25012025/04/24/image_25012025_04_24_02_170033_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: 37.85976552963257 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:45:02.987191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/23/image_25012025_04_23_02_623073_0002.jpg', '/home/pi/Desktop/images/25012025/04/23/image_25012025_04_23_02_623073_0003.jpg', '/home/pi/Desktop/images/25012025/04/24/image_25012025_04_24_02_170033_0000.jpg', '/home/pi/Desktop/images/25012025/04/24/image_25012025_04_24_02_170033_0001.jpg', '/home/pi/Desktop/images/25012025/04/24/image_25012025_04_24_02_170033_0002.jpg', '/home/pi/Desktop/images/25012025/04/24/image_25012025_04_24_02_170033_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/23/image_25012025_04_23_02_623073_0002.jpg
/home/pi/Desktop/images/25012025/04/23/image_25012025_04_23_02_623073_0003.jpg
/home/pi/Desktop/images/25012025/04/24/image_25012025_04_24_02_170033_0000.jpg
/home/pi/Desktop/images/25012025/04/24/image_25012025_04_24_02_170033_0001.jpg
/home/pi/Desktop/images/25012025/04/24/image_25012025_04_24_02_170033_0002.jpg
/home/pi/Desktop/images/25012025/04/24/image_25012025_04_24_02_170033_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":["1331247455","1331247449","1331247437","1331247440","1331247475","1331247442"],"photo_ids_order":["1331247437","1331247440","1331247442","1331247449","1331247455","1331247475"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1f555566985e8501fecf38992029b88e.jpg","text":"TemporaryFile(/tmp/multipartBody6059182715313318755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784007862,"filename":"image_25012025_04_24_02_170033_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8de07bd5be6d2314532e605865636e94.jpg","text":"TemporaryFile(/tmp/multipartBody3386813919786417741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784007862,"filename":"image_25012025_04_24_02_170033_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a53ca8ab5f5397ec0fdee60895542ecf.jpg","text":"TemporaryFile(/tmp/multipartBody8812427111185067548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784007862,"filename":"image_25012025_04_23_02_623073_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/56159468c0f98e8b85a2e1458b44c937.jpg","text":"TemporaryFile(/tmp/multipartBody8745543064604169304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784007862,"filename":"image_25012025_04_23_02_623073_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cdbe0fb38ad4952a6030aecbed62ea4c.jpg","text":"TemporaryFile(/tmp/multipartBody1220672063344905514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784007862,"filename":"image_25012025_04_24_02_170033_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/855763efd0239936fac69b84db6d027c.jpg","text":"TemporaryFile(/tmp/multipartBody4510307493406589539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784007862,"filename":"image_25012025_04_24_02_170033_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331247442","file1":"1331247440","file0":"1331247437","file4":"1331247455","file5":"1331247475","file3":"1331247449"},"map_files_photo_id_array":[{"photo_id":"1331247475","filename":"file5"},{"photo_id":"1331247442","filename":"file2"},{"photo_id":"1331247455","filename":"file4"},{"photo_id":"1331247440","filename":"file1"},{"photo_id":"1331247437","filename":"file0"},{"photo_id":"1331247449","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331247455":["hashtag1","hashtag2"]},{"1331247449":["hashtag1","hashtag2"]},{"1331247437":["hashtag1","hashtag2"]},{"1331247440":["hashtag1","hashtag2"]},{"1331247475":["hashtag1","hashtag2"]},{"1331247442":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331247455, 1331247449, 1331247437, 1331247440, 1331247475, 1331247442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.21762752532959 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:47:03.194695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/25/image_25012025_04_25_02_671384_0000.jpg', '/home/pi/Desktop/images/25012025/04/25/image_25012025_04_25_02_671384_0001.jpg', '/home/pi/Desktop/images/25012025/04/25/image_25012025_04_25_02_671384_0002.jpg', '/home/pi/Desktop/images/25012025/04/25/image_25012025_04_25_02_671384_0003.jpg', '/home/pi/Desktop/images/25012025/04/26/image_25012025_04_26_02_226730_0000.jpg', '/home/pi/Desktop/images/25012025/04/26/image_25012025_04_26_02_226730_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/25/image_25012025_04_25_02_671384_0000.jpg
/home/pi/Desktop/images/25012025/04/25/image_25012025_04_25_02_671384_0001.jpg
/home/pi/Desktop/images/25012025/04/25/image_25012025_04_25_02_671384_0002.jpg
/home/pi/Desktop/images/25012025/04/25/image_25012025_04_25_02_671384_0003.jpg
/home/pi/Desktop/images/25012025/04/26/image_25012025_04_26_02_226730_0000.jpg
/home/pi/Desktop/images/25012025/04/26/image_25012025_04_26_02_226730_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: 38.06549048423767 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:48:02.635339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/25/image_25012025_04_25_02_671384_0000.jpg', '/home/pi/Desktop/images/25012025/04/25/image_25012025_04_25_02_671384_0001.jpg', '/home/pi/Desktop/images/25012025/04/25/image_25012025_04_25_02_671384_0002.jpg', '/home/pi/Desktop/images/25012025/04/25/image_25012025_04_25_02_671384_0003.jpg', '/home/pi/Desktop/images/25012025/04/26/image_25012025_04_26_02_226730_0000.jpg', '/home/pi/Desktop/images/25012025/04/26/image_25012025_04_26_02_226730_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/25/image_25012025_04_25_02_671384_0000.jpg
/home/pi/Desktop/images/25012025/04/25/image_25012025_04_25_02_671384_0001.jpg
/home/pi/Desktop/images/25012025/04/25/image_25012025_04_25_02_671384_0002.jpg
/home/pi/Desktop/images/25012025/04/25/image_25012025_04_25_02_671384_0003.jpg
/home/pi/Desktop/images/25012025/04/26/image_25012025_04_26_02_226730_0000.jpg
/home/pi/Desktop/images/25012025/04/26/image_25012025_04_26_02_226730_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":["1331248101","1331247629","1331247778","1331247850","1331248000","1331247919"],"photo_ids_order":["1331247629","1331247778","1331247850","1331247919","1331248000","1331248101"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d9fc2db61ab4e27cb5f246b25ec9e13a.jpg","text":"TemporaryFile(/tmp/multipartBody3676390110149161790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784187799,"filename":"image_25012025_04_26_02_226730_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6c71ceb0e296146838693012da671637.jpg","text":"TemporaryFile(/tmp/multipartBody5460024419046760064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784187799,"filename":"image_25012025_04_25_02_671384_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/24c574daa25748815d457bc21acec26f.jpg","text":"TemporaryFile(/tmp/multipartBody5052252621513824810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784187799,"filename":"image_25012025_04_25_02_671384_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/397d4c9c5348196cee3093522540047e.jpg","text":"TemporaryFile(/tmp/multipartBody7766394217614926592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784187799,"filename":"image_25012025_04_25_02_671384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8674ff58ef4d52e25565bcc7e58ebe7e.jpg","text":"TemporaryFile(/tmp/multipartBody738821928519413127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784187799,"filename":"image_25012025_04_26_02_226730_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e89bc2108c6c05da31e79912ca570eb8.jpg","text":"TemporaryFile(/tmp/multipartBody4794788396620099534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784187799,"filename":"image_25012025_04_25_02_671384_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331247850","file1":"1331247778","file0":"1331247629","file4":"1331248000","file5":"1331248101","file3":"1331247919"},"map_files_photo_id_array":[{"photo_id":"1331248101","filename":"file5"},{"photo_id":"1331247850","filename":"file2"},{"photo_id":"1331248000","filename":"file4"},{"photo_id":"1331247778","filename":"file1"},{"photo_id":"1331247629","filename":"file0"},{"photo_id":"1331247919","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331248101":["hashtag1","hashtag2"]},{"1331247629":["hashtag1","hashtag2"]},{"1331247778":["hashtag1","hashtag2"]},{"1331247850":["hashtag1","hashtag2"]},{"1331248000":["hashtag1","hashtag2"]},{"1331247919":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331248101, 1331247629, 1331247778, 1331247850, 1331248000, 1331247919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 110.73848056793213 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:50:02.626160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/26/image_25012025_04_26_02_226730_0002.jpg', '/home/pi/Desktop/images/25012025/04/26/image_25012025_04_26_02_226730_0003.jpg', '/home/pi/Desktop/images/25012025/04/27/image_25012025_04_27_02_738842_0000.jpg', '/home/pi/Desktop/images/25012025/04/27/image_25012025_04_27_02_738842_0001.jpg', '/home/pi/Desktop/images/25012025/04/27/image_25012025_04_27_02_738842_0002.jpg', '/home/pi/Desktop/images/25012025/04/27/image_25012025_04_27_02_738842_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/26/image_25012025_04_26_02_226730_0002.jpg
/home/pi/Desktop/images/25012025/04/26/image_25012025_04_26_02_226730_0003.jpg
/home/pi/Desktop/images/25012025/04/27/image_25012025_04_27_02_738842_0000.jpg
/home/pi/Desktop/images/25012025/04/27/image_25012025_04_27_02_738842_0001.jpg
/home/pi/Desktop/images/25012025/04/27/image_25012025_04_27_02_738842_0002.jpg
/home/pi/Desktop/images/25012025/04/27/image_25012025_04_27_02_738842_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":["1331248617","1331248524","1331248622","1331248593","1331248494","1331248554"],"photo_ids_order":["1331248494","1331248524","1331248554","1331248593","1331248617","1331248622"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/19f3c17f8ca03555257ac938a4aa28c8.jpg","text":"TemporaryFile(/tmp/multipartBody344068876749419522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784300695,"filename":"image_25012025_04_27_02_738842_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d8c1b952b5dbc48fd803109c46e45bf0.jpg","text":"TemporaryFile(/tmp/multipartBody5822194581317749767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784300695,"filename":"image_25012025_04_26_02_226730_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2ec8a3dbc76949c541e8e00d7314c7bc.jpg","text":"TemporaryFile(/tmp/multipartBody6721637679042187919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784300695,"filename":"image_25012025_04_27_02_738842_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/11dd7ac639c3a67a12153b671d0816be.jpg","text":"TemporaryFile(/tmp/multipartBody4780399029545992851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784300695,"filename":"image_25012025_04_27_02_738842_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/02dbd28125c40468bc6c4fe22550877f.jpg","text":"TemporaryFile(/tmp/multipartBody1049732752785214128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784300695,"filename":"image_25012025_04_26_02_226730_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/755deadcaa6e5a43ed5485ab4cb3e8c0.jpg","text":"TemporaryFile(/tmp/multipartBody6427850588320584238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784300695,"filename":"image_25012025_04_27_02_738842_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331248554","file1":"1331248524","file0":"1331248494","file4":"1331248617","file5":"1331248622","file3":"1331248593"},"map_files_photo_id_array":[{"photo_id":"1331248622","filename":"file5"},{"photo_id":"1331248554","filename":"file2"},{"photo_id":"1331248617","filename":"file4"},{"photo_id":"1331248524","filename":"file1"},{"photo_id":"1331248494","filename":"file0"},{"photo_id":"1331248593","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331248617":["hashtag1","hashtag2"]},{"1331248524":["hashtag1","hashtag2"]},{"1331248622":["hashtag1","hashtag2"]},{"1331248593":["hashtag1","hashtag2"]},{"1331248494":["hashtag1","hashtag2"]},{"1331248554":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331248617, 1331248524, 1331248622, 1331248593, 1331248494, 1331248554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.72532320022583 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:52:02.759448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/28/image_25012025_04_28_02_231692_0000.jpg', '/home/pi/Desktop/images/25012025/04/28/image_25012025_04_28_02_231692_0001.jpg', '/home/pi/Desktop/images/25012025/04/28/image_25012025_04_28_02_231692_0002.jpg', '/home/pi/Desktop/images/25012025/04/28/image_25012025_04_28_02_231692_0003.jpg', '/home/pi/Desktop/images/25012025/04/29/image_25012025_04_29_02_742527_0000.jpg', '/home/pi/Desktop/images/25012025/04/29/image_25012025_04_29_02_742527_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/28/image_25012025_04_28_02_231692_0000.jpg
/home/pi/Desktop/images/25012025/04/28/image_25012025_04_28_02_231692_0001.jpg
/home/pi/Desktop/images/25012025/04/28/image_25012025_04_28_02_231692_0002.jpg
/home/pi/Desktop/images/25012025/04/28/image_25012025_04_28_02_231692_0003.jpg
/home/pi/Desktop/images/25012025/04/29/image_25012025_04_29_02_742527_0000.jpg
/home/pi/Desktop/images/25012025/04/29/image_25012025_04_29_02_742527_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":["1331248803","1331248793","1331248808","1331248798","1331248786","1331248780"],"photo_ids_order":["1331248780","1331248786","1331248793","1331248798","1331248803","1331248808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f8b8c9b6fd964e567e059341a188408b.jpg","text":"TemporaryFile(/tmp/multipartBody1044799249507111479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784427400,"filename":"image_25012025_04_29_02_742527_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f3f701bd76e1482fb4e375b91d67b7d4.jpg","text":"TemporaryFile(/tmp/multipartBody202641046388585332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784427400,"filename":"image_25012025_04_28_02_231692_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d30e386b51a9f5a0de10b66d2c54fc41.jpg","text":"TemporaryFile(/tmp/multipartBody3626063240333572607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784427400,"filename":"image_25012025_04_29_02_742527_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/234a8be9e49742a4a891e73e6c6f7330.jpg","text":"TemporaryFile(/tmp/multipartBody1370564863094566131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784427400,"filename":"image_25012025_04_28_02_231692_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/83e66dd39ebb2fdfb6ce7526af3cac3c.jpg","text":"TemporaryFile(/tmp/multipartBody8122927398399518590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784427400,"filename":"image_25012025_04_28_02_231692_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a51dc6cdf3f1b4918fd237c8885542b0.jpg","text":"TemporaryFile(/tmp/multipartBody3820221805035807876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784427400,"filename":"image_25012025_04_28_02_231692_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331248793","file1":"1331248786","file0":"1331248780","file4":"1331248803","file5":"1331248808","file3":"1331248798"},"map_files_photo_id_array":[{"photo_id":"1331248808","filename":"file5"},{"photo_id":"1331248793","filename":"file2"},{"photo_id":"1331248803","filename":"file4"},{"photo_id":"1331248786","filename":"file1"},{"photo_id":"1331248780","filename":"file0"},{"photo_id":"1331248798","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331248803":["hashtag1","hashtag2"]},{"1331248793":["hashtag1","hashtag2"]},{"1331248808":["hashtag1","hashtag2"]},{"1331248798":["hashtag1","hashtag2"]},{"1331248786":["hashtag1","hashtag2"]},{"1331248780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331248803, 1331248793, 1331248808, 1331248798, 1331248786, 1331248780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.41885137557983 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:54:02.771993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/30/image_25012025_04_30_02_304873_0000.jpg', '/home/pi/Desktop/images/25012025/04/30/image_25012025_04_30_02_304873_0001.jpg', '/home/pi/Desktop/images/25012025/04/31/image_25012025_04_31_02_680793_0000.jpg', '/home/pi/Desktop/images/25012025/04/31/image_25012025_04_31_02_680793_0001.jpg', '/home/pi/Desktop/images/25012025/04/31/image_25012025_04_31_02_680793_0002.jpg', '/home/pi/Desktop/images/25012025/04/31/image_25012025_04_31_02_680793_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/30/image_25012025_04_30_02_304873_0000.jpg
/home/pi/Desktop/images/25012025/04/30/image_25012025_04_30_02_304873_0001.jpg
/home/pi/Desktop/images/25012025/04/31/image_25012025_04_31_02_680793_0000.jpg
/home/pi/Desktop/images/25012025/04/31/image_25012025_04_31_02_680793_0001.jpg
/home/pi/Desktop/images/25012025/04/31/image_25012025_04_31_02_680793_0002.jpg
/home/pi/Desktop/images/25012025/04/31/image_25012025_04_31_02_680793_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331248856","1331248850","1331248835","1331248840","1331248845","1331248860"],"photo_ids_order":["1331248835","1331248840","1331248845","1331248850","1331248856","1331248860"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/514d632fd0a5ed4ee477fd17d20e451b.jpg","text":"TemporaryFile(/tmp/multipartBody8131965576741820094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784517214,"filename":"image_25012025_04_31_02_680793_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e7bdbd3723381b112e7639b199c73e9b.jpg","text":"TemporaryFile(/tmp/multipartBody787485127499342816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784517214,"filename":"image_25012025_04_31_02_680793_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f9dfdbf5e6557113b578a5eade759080.jpg","text":"TemporaryFile(/tmp/multipartBody6966144719897921255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784517214,"filename":"image_25012025_04_30_02_304873_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/42b49559e90a2b4ac040b061211eb2c1.jpg","text":"TemporaryFile(/tmp/multipartBody8795962702667666120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784517214,"filename":"image_25012025_04_30_02_304873_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1b755ded55f592f64ac0871938694333.jpg","text":"TemporaryFile(/tmp/multipartBody5833869031329090573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784517214,"filename":"image_25012025_04_31_02_680793_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/43898043419ec3435c79ebb0b74eef1d.jpg","text":"TemporaryFile(/tmp/multipartBody4050965748911718742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784517214,"filename":"image_25012025_04_31_02_680793_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331248845","file1":"1331248840","file0":"1331248835","file4":"1331248856","file5":"1331248860","file3":"1331248850"},"map_files_photo_id_array":[{"photo_id":"1331248860","filename":"file5"},{"photo_id":"1331248845","filename":"file2"},{"photo_id":"1331248856","filename":"file4"},{"photo_id":"1331248840","filename":"file1"},{"photo_id":"1331248835","filename":"file0"},{"photo_id":"1331248850","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331248856":["hashtag1","hashtag2"]},{"1331248850":["hashtag1","hashtag2"]},{"1331248835":["hashtag1","hashtag2"]},{"1331248840":["hashtag1","hashtag2"]},{"1331248845":["hashtag1","hashtag2"]},{"1331248860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331248856, 1331248850, 1331248835, 1331248840, 1331248845, 1331248860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.25687766075134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:55:02.374232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/32/image_25012025_04_32_02_177772_0001.jpg', '/home/pi/Desktop/images/25012025/04/35/image_25012025_04_35_02_702464_0000.jpg', '/home/pi/Desktop/images/25012025/04/35/image_25012025_04_35_02_702464_0001.jpg', '/home/pi/Desktop/images/25012025/04/35/image_25012025_04_35_02_702464_0002.jpg', '/home/pi/Desktop/images/25012025/04/35/image_25012025_04_35_02_702464_0003.jpg', '/home/pi/Desktop/images/25012025/04/36/image_25012025_04_36_02_199029_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/32/image_25012025_04_32_02_177772_0001.jpg
/home/pi/Desktop/images/25012025/04/35/image_25012025_04_35_02_702464_0000.jpg
/home/pi/Desktop/images/25012025/04/35/image_25012025_04_35_02_702464_0001.jpg
/home/pi/Desktop/images/25012025/04/35/image_25012025_04_35_02_702464_0002.jpg
/home/pi/Desktop/images/25012025/04/35/image_25012025_04_35_02_702464_0003.jpg
/home/pi/Desktop/images/25012025/04/36/image_25012025_04_36_02_199029_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: 14.670704126358032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 06:55:21.730516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/32/image_25012025_04_32_02_177772_0001.jpg', '/home/pi/Desktop/images/25012025/04/35/image_25012025_04_35_02_702464_0000.jpg', '/home/pi/Desktop/images/25012025/04/35/image_25012025_04_35_02_702464_0001.jpg', '/home/pi/Desktop/images/25012025/04/35/image_25012025_04_35_02_702464_0002.jpg', '/home/pi/Desktop/images/25012025/04/35/image_25012025_04_35_02_702464_0003.jpg', '/home/pi/Desktop/images/25012025/04/36/image_25012025_04_36_02_199029_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/32/image_25012025_04_32_02_177772_0001.jpg
/home/pi/Desktop/images/25012025/04/35/image_25012025_04_35_02_702464_0000.jpg
/home/pi/Desktop/images/25012025/04/35/image_25012025_04_35_02_702464_0001.jpg
/home/pi/Desktop/images/25012025/04/35/image_25012025_04_35_02_702464_0002.jpg
/home/pi/Desktop/images/25012025/04/35/image_25012025_04_35_02_702464_0003.jpg
/home/pi/Desktop/images/25012025/04/36/image_25012025_04_36_02_199029_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331248911","1331248895","1331248889","1331248898","1331248883","1331248926"],"photo_ids_order":["1331248883","1331248889","1331248895","1331248898","1331248911","1331248926"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a6c8b836ab91c5a3f660b40ce2c15672.jpg","text":"TemporaryFile(/tmp/multipartBody7220444837831282359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784596694,"filename":"image_25012025_04_35_02_702464_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5617870ef993013b5c7c8eeb37eb4147.jpg","text":"TemporaryFile(/tmp/multipartBody2641203978157487107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784596694,"filename":"image_25012025_04_35_02_702464_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/52207bd9093f709f35f250ca80a28e63.jpg","text":"TemporaryFile(/tmp/multipartBody3859473315304226987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784596694,"filename":"image_25012025_04_35_02_702464_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ceac6cfdecefccadfe83e32cd8b4e289.jpg","text":"TemporaryFile(/tmp/multipartBody4477872320130629811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784596694,"filename":"image_25012025_04_35_02_702464_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7e1f4ff24e0b8c2c8feccb459ed033b2.jpg","text":"TemporaryFile(/tmp/multipartBody2665255691808054802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784596694,"filename":"image_25012025_04_32_02_177772_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cfbc042f6c2efbb80e543af277c9e9f7.jpg","text":"TemporaryFile(/tmp/multipartBody5204079191708860662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784596694,"filename":"image_25012025_04_36_02_199029_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331248895","file1":"1331248889","file0":"1331248883","file4":"1331248911","file5":"1331248926","file3":"1331248898"},"map_files_photo_id_array":[{"photo_id":"1331248926","filename":"file5"},{"photo_id":"1331248895","filename":"file2"},{"photo_id":"1331248911","filename":"file4"},{"photo_id":"1331248889","filename":"file1"},{"photo_id":"1331248883","filename":"file0"},{"photo_id":"1331248898","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331248911":["hashtag1","hashtag2"]},{"1331248895":["hashtag1","hashtag2"]},{"1331248889":["hashtag1","hashtag2"]},{"1331248898":["hashtag1","hashtag2"]},{"1331248883":["hashtag1","hashtag2"]},{"1331248926":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331248911, 1331248895, 1331248889, 1331248898, 1331248883, 1331248926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.903738021850586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 06:56:22.475541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/04/36/image_25012025_04_36_02_199029_0001.jpg', '/home/pi/Desktop/images/25012025/04/36/image_25012025_04_36_02_199029_0003.jpg', '/home/pi/Desktop/images/25012025/04/37/image_25012025_04_37_02_681793_0000.jpg', '/home/pi/Desktop/images/25012025/04/38/image_25012025_04_38_02_191831_0001.jpg', '/home/pi/Desktop/images/25012025/05/00/image_25012025_05_00_03_045213_0000.jpg', '/home/pi/Desktop/images/25012025/05/00/image_25012025_05_00_03_045213_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/04/36/image_25012025_04_36_02_199029_0001.jpg
/home/pi/Desktop/images/25012025/04/36/image_25012025_04_36_02_199029_0003.jpg
/home/pi/Desktop/images/25012025/04/37/image_25012025_04_37_02_681793_0000.jpg
/home/pi/Desktop/images/25012025/04/38/image_25012025_04_38_02_191831_0001.jpg
/home/pi/Desktop/images/25012025/05/00/image_25012025_05_00_03_045213_0000.jpg
/home/pi/Desktop/images/25012025/05/00/image_25012025_05_00_03_045213_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":["1331249168","1331249153","1331249158","1331249085","1331249166","1331248959"],"photo_ids_order":["1331248959","1331249085","1331249153","1331249158","1331249166","1331249168"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2093e114ef6d884ffef694cecdf56b73.jpg","text":"TemporaryFile(/tmp/multipartBody1515616925377288627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784657660,"filename":"image_25012025_05_00_03_045213_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a48ff752506b5abb6bf16c0f23d85eb0.jpg","text":"TemporaryFile(/tmp/multipartBody5283655829508664933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784657660,"filename":"image_25012025_04_37_02_681793_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e4faa5d02673ba12d92b4a21891ab1b4.jpg","text":"TemporaryFile(/tmp/multipartBody7849939901397131861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784657660,"filename":"image_25012025_04_38_02_191831_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ad53e49599e0f70e871b44c8e7f70cd9.jpg","text":"TemporaryFile(/tmp/multipartBody395236231809345348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784657660,"filename":"image_25012025_04_36_02_199029_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/582d555af725ca9ad13d40ffa23aebaf.jpg","text":"TemporaryFile(/tmp/multipartBody8869387911808494817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784657660,"filename":"image_25012025_05_00_03_045213_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/da053f29218d9bd74c819152f3a9daab.jpg","text":"TemporaryFile(/tmp/multipartBody3697222458952309658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784657660,"filename":"image_25012025_04_36_02_199029_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331249153","file1":"1331249085","file0":"1331248959","file4":"1331249166","file5":"1331249168","file3":"1331249158"},"map_files_photo_id_array":[{"photo_id":"1331249168","filename":"file5"},{"photo_id":"1331249153","filename":"file2"},{"photo_id":"1331249166","filename":"file4"},{"photo_id":"1331249085","filename":"file1"},{"photo_id":"1331248959","filename":"file0"},{"photo_id":"1331249158","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331249168":["hashtag1","hashtag2"]},{"1331249153":["hashtag1","hashtag2"]},{"1331249158":["hashtag1","hashtag2"]},{"1331249085":["hashtag1","hashtag2"]},{"1331249166":["hashtag1","hashtag2"]},{"1331248959":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331249168, 1331249153, 1331249158, 1331249085, 1331249166, 1331248959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.0631639957428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 06:59:02.235688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/00/image_25012025_05_00_03_045213_0002.jpg', '/home/pi/Desktop/images/25012025/05/01/image_25012025_05_01_02_668723_0002.jpg', '/home/pi/Desktop/images/25012025/05/01/image_25012025_05_01_02_668723_0003.jpg', '/home/pi/Desktop/images/25012025/05/02/image_25012025_05_02_02_194570_0000.jpg', '/home/pi/Desktop/images/25012025/05/02/image_25012025_05_02_02_194570_0001.jpg', '/home/pi/Desktop/images/25012025/05/02/image_25012025_05_02_02_194570_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/00/image_25012025_05_00_03_045213_0002.jpg
/home/pi/Desktop/images/25012025/05/01/image_25012025_05_01_02_668723_0002.jpg
/home/pi/Desktop/images/25012025/05/01/image_25012025_05_01_02_668723_0003.jpg
/home/pi/Desktop/images/25012025/05/02/image_25012025_05_02_02_194570_0000.jpg
/home/pi/Desktop/images/25012025/05/02/image_25012025_05_02_02_194570_0001.jpg
/home/pi/Desktop/images/25012025/05/02/image_25012025_05_02_02_194570_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331249456","1331249438","1331249453","1331249402","1331249433","1331249424"],"photo_ids_order":["1331249402","1331249424","1331249433","1331249438","1331249453","1331249456"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c129f8f5b4c14750257473717249660c.jpg","text":"TemporaryFile(/tmp/multipartBody1939530364985034380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784817808,"filename":"image_25012025_05_02_02_194570_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4441e6b4560bd1a38eabdf461243fbc4.jpg","text":"TemporaryFile(/tmp/multipartBody1862808997682514229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784817808,"filename":"image_25012025_05_02_02_194570_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2eb269a2d65de9d4888b1deb59822bb1.jpg","text":"TemporaryFile(/tmp/multipartBody149171040874598303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784817808,"filename":"image_25012025_05_02_02_194570_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9253e4fcb7844951752db1a1ead39477.jpg","text":"TemporaryFile(/tmp/multipartBody3461387797213869982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784817808,"filename":"image_25012025_05_00_03_045213_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6f81ac47273d754877d3d652f91f110f.jpg","text":"TemporaryFile(/tmp/multipartBody8788350299775503306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784817808,"filename":"image_25012025_05_01_02_668723_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8516244f5f84485474a27b415bad7031.jpg","text":"TemporaryFile(/tmp/multipartBody1309598284716984335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784817808,"filename":"image_25012025_05_01_02_668723_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331249433","file1":"1331249424","file0":"1331249402","file4":"1331249453","file5":"1331249456","file3":"1331249438"},"map_files_photo_id_array":[{"photo_id":"1331249456","filename":"file5"},{"photo_id":"1331249433","filename":"file2"},{"photo_id":"1331249453","filename":"file4"},{"photo_id":"1331249424","filename":"file1"},{"photo_id":"1331249402","filename":"file0"},{"photo_id":"1331249438","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331249456":["hashtag1","hashtag2"]},{"1331249438":["hashtag1","hashtag2"]},{"1331249453":["hashtag1","hashtag2"]},{"1331249402":["hashtag1","hashtag2"]},{"1331249433":["hashtag1","hashtag2"]},{"1331249424":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331249456, 1331249438, 1331249453, 1331249402, 1331249433, 1331249424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.78597092628479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 07:00:02.873711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/03/image_25012025_05_03_02_824732_0000.jpg', '/home/pi/Desktop/images/25012025/05/03/image_25012025_05_03_02_824732_0002.jpg', '/home/pi/Desktop/images/25012025/05/03/image_25012025_05_03_02_824732_0003.jpg', '/home/pi/Desktop/images/25012025/05/04/image_25012025_05_04_02_316599_0000.jpg', '/home/pi/Desktop/images/25012025/05/05/image_25012025_05_05_02_995181_0000.jpg', '/home/pi/Desktop/images/25012025/05/05/image_25012025_05_05_02_995181_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/03/image_25012025_05_03_02_824732_0000.jpg
/home/pi/Desktop/images/25012025/05/03/image_25012025_05_03_02_824732_0002.jpg
/home/pi/Desktop/images/25012025/05/03/image_25012025_05_03_02_824732_0003.jpg
/home/pi/Desktop/images/25012025/05/04/image_25012025_05_04_02_316599_0000.jpg
/home/pi/Desktop/images/25012025/05/05/image_25012025_05_05_02_995181_0000.jpg
/home/pi/Desktop/images/25012025/05/05/image_25012025_05_05_02_995181_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331249483","1331249490","1331249478","1331249493","1331249487","1331249472"],"photo_ids_order":["1331249472","1331249478","1331249483","1331249487","1331249490","1331249493"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4cb2e9d75899565bc4431b6a7a7e2ba9.jpg","text":"TemporaryFile(/tmp/multipartBody8279194515944647823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784878230,"filename":"image_25012025_05_03_02_824732_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/97ce29019fd5019897cfb59858a54335.jpg","text":"TemporaryFile(/tmp/multipartBody8780097083109542627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784878230,"filename":"image_25012025_05_05_02_995181_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/88dce8f440effa3f754d42916e876cac.jpg","text":"TemporaryFile(/tmp/multipartBody17370326613237133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784878230,"filename":"image_25012025_05_03_02_824732_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/36c83e9113f5a9f7b30308b097168ea0.jpg","text":"TemporaryFile(/tmp/multipartBody1220888476267517374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784878230,"filename":"image_25012025_05_05_02_995181_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b363d13c560dc54eae162daff5a4e5c1.jpg","text":"TemporaryFile(/tmp/multipartBody9208099444745047689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784878230,"filename":"image_25012025_05_04_02_316599_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f76265d2756e2c8833951970e954f096.jpg","text":"TemporaryFile(/tmp/multipartBody2737551893401200050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784878230,"filename":"image_25012025_05_03_02_824732_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331249483","file1":"1331249478","file0":"1331249472","file4":"1331249490","file5":"1331249493","file3":"1331249487"},"map_files_photo_id_array":[{"photo_id":"1331249493","filename":"file5"},{"photo_id":"1331249483","filename":"file2"},{"photo_id":"1331249490","filename":"file4"},{"photo_id":"1331249478","filename":"file1"},{"photo_id":"1331249472","filename":"file0"},{"photo_id":"1331249487","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331249483":["hashtag1","hashtag2"]},{"1331249490":["hashtag1","hashtag2"]},{"1331249478":["hashtag1","hashtag2"]},{"1331249493":["hashtag1","hashtag2"]},{"1331249487":["hashtag1","hashtag2"]},{"1331249472":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331249483, 1331249490, 1331249478, 1331249493, 1331249487, 1331249472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.332056760787964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 07:01:02.445639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/05/image_25012025_05_05_02_995181_0002.jpg', '/home/pi/Desktop/images/25012025/05/05/image_25012025_05_05_02_995181_0003.jpg', '/home/pi/Desktop/images/25012025/05/06/image_25012025_05_06_02_505523_0000.jpg', '/home/pi/Desktop/images/25012025/05/06/image_25012025_05_06_02_505523_0001.jpg', '/home/pi/Desktop/images/25012025/05/06/image_25012025_05_06_02_505523_0002.jpg', '/home/pi/Desktop/images/25012025/05/06/image_25012025_05_06_02_505523_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/05/image_25012025_05_05_02_995181_0002.jpg
/home/pi/Desktop/images/25012025/05/05/image_25012025_05_05_02_995181_0003.jpg
/home/pi/Desktop/images/25012025/05/06/image_25012025_05_06_02_505523_0000.jpg
/home/pi/Desktop/images/25012025/05/06/image_25012025_05_06_02_505523_0001.jpg
/home/pi/Desktop/images/25012025/05/06/image_25012025_05_06_02_505523_0002.jpg
/home/pi/Desktop/images/25012025/05/06/image_25012025_05_06_02_505523_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331250263","1331250272","1331250266","1331250230","1331250269","1331250274"],"photo_ids_order":["1331250230","1331250263","1331250266","1331250269","1331250272","1331250274"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cede108d0728839cb4f3e68a1fc5a863.jpg","text":"TemporaryFile(/tmp/multipartBody7291314946645187119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784937910,"filename":"image_25012025_05_05_02_995181_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/95d9b34f7873c780f058a458b0b1bcfc.jpg","text":"TemporaryFile(/tmp/multipartBody292570915398926471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784937910,"filename":"image_25012025_05_06_02_505523_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e249bb798f756e3b2d48b4b06f55666f.jpg","text":"TemporaryFile(/tmp/multipartBody6714089205073253066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784937910,"filename":"image_25012025_05_06_02_505523_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/524df1092183d968c6070b358af7e7c3.jpg","text":"TemporaryFile(/tmp/multipartBody6121625295621636538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784937910,"filename":"image_25012025_05_05_02_995181_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b8bf454bc96cab23ce597e570a10f33f.jpg","text":"TemporaryFile(/tmp/multipartBody5652177409956111684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784937910,"filename":"image_25012025_05_06_02_505523_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ec22e40797947b7606224c9d01b49523.jpg","text":"TemporaryFile(/tmp/multipartBody254511343042634902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784937910,"filename":"image_25012025_05_06_02_505523_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331250266","file1":"1331250263","file0":"1331250230","file4":"1331250272","file5":"1331250274","file3":"1331250269"},"map_files_photo_id_array":[{"photo_id":"1331250274","filename":"file5"},{"photo_id":"1331250266","filename":"file2"},{"photo_id":"1331250272","filename":"file4"},{"photo_id":"1331250263","filename":"file1"},{"photo_id":"1331250230","filename":"file0"},{"photo_id":"1331250269","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331250263":["hashtag1","hashtag2"]},{"1331250272":["hashtag1","hashtag2"]},{"1331250266":["hashtag1","hashtag2"]},{"1331250230":["hashtag1","hashtag2"]},{"1331250269":["hashtag1","hashtag2"]},{"1331250274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331250263, 1331250272, 1331250266, 1331250230, 1331250269, 1331250274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.322662353515625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 07:02:02.887234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/07/image_25012025_05_07_02_186253_0000.jpg', '/home/pi/Desktop/images/25012025/05/07/image_25012025_05_07_02_186253_0001.jpg', '/home/pi/Desktop/images/25012025/05/07/image_25012025_05_07_02_186253_0002.jpg', '/home/pi/Desktop/images/25012025/05/07/image_25012025_05_07_02_186253_0003.jpg', '/home/pi/Desktop/images/25012025/05/08/image_25012025_05_08_02_689609_0000.jpg', '/home/pi/Desktop/images/25012025/05/08/image_25012025_05_08_02_689609_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/07/image_25012025_05_07_02_186253_0000.jpg
/home/pi/Desktop/images/25012025/05/07/image_25012025_05_07_02_186253_0001.jpg
/home/pi/Desktop/images/25012025/05/07/image_25012025_05_07_02_186253_0002.jpg
/home/pi/Desktop/images/25012025/05/07/image_25012025_05_07_02_186253_0003.jpg
/home/pi/Desktop/images/25012025/05/08/image_25012025_05_08_02_689609_0000.jpg
/home/pi/Desktop/images/25012025/05/08/image_25012025_05_08_02_689609_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":["1331250545","1331250496","1331250583","1331250580","1331250588","1331250576"],"photo_ids_order":["1331250496","1331250545","1331250576","1331250580","1331250583","1331250588"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/01978d3252f64f4507bcf797acdb8070.jpg","text":"TemporaryFile(/tmp/multipartBody3744204778400414626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784999202,"filename":"image_25012025_05_07_02_186253_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b24cefde626888be1377f41994b9f590.jpg","text":"TemporaryFile(/tmp/multipartBody6963507530507900296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784999202,"filename":"image_25012025_05_07_02_186253_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e85d6631a4dbbf6e589963bd1a88a1fe.jpg","text":"TemporaryFile(/tmp/multipartBody5902941201306240027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784999202,"filename":"image_25012025_05_08_02_689609_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0d6d8d4f3a64c49c61539c9efa931158.jpg","text":"TemporaryFile(/tmp/multipartBody7845163548270796672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784999202,"filename":"image_25012025_05_07_02_186253_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/25fc077b613d72d722898bce69c4553e.jpg","text":"TemporaryFile(/tmp/multipartBody5054840717778496516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784999202,"filename":"image_25012025_05_08_02_689609_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/34b7cf32fa10ff24046efb5bc17f78ec.jpg","text":"TemporaryFile(/tmp/multipartBody228543175592172322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737784999202,"filename":"image_25012025_05_07_02_186253_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331250576","file1":"1331250545","file0":"1331250496","file4":"1331250583","file5":"1331250588","file3":"1331250580"},"map_files_photo_id_array":[{"photo_id":"1331250588","filename":"file5"},{"photo_id":"1331250576","filename":"file2"},{"photo_id":"1331250583","filename":"file4"},{"photo_id":"1331250545","filename":"file1"},{"photo_id":"1331250496","filename":"file0"},{"photo_id":"1331250580","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331250545":["hashtag1","hashtag2"]},{"1331250496":["hashtag1","hashtag2"]},{"1331250583":["hashtag1","hashtag2"]},{"1331250580":["hashtag1","hashtag2"]},{"1331250588":["hashtag1","hashtag2"]},{"1331250576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331250545, 1331250496, 1331250583, 1331250580, 1331250588, 1331250576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.58545541763306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:03:22.082315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/08/image_25012025_05_08_02_689609_0002.jpg', '/home/pi/Desktop/images/25012025/05/08/image_25012025_05_08_02_689609_0003.jpg', '/home/pi/Desktop/images/25012025/05/09/image_25012025_05_09_02_221211_0000.jpg', '/home/pi/Desktop/images/25012025/05/09/image_25012025_05_09_02_221211_0001.jpg', '/home/pi/Desktop/images/25012025/05/09/image_25012025_05_09_02_221211_0002.jpg', '/home/pi/Desktop/images/25012025/05/09/image_25012025_05_09_02_221211_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/08/image_25012025_05_08_02_689609_0002.jpg
/home/pi/Desktop/images/25012025/05/08/image_25012025_05_08_02_689609_0003.jpg
/home/pi/Desktop/images/25012025/05/09/image_25012025_05_09_02_221211_0000.jpg
/home/pi/Desktop/images/25012025/05/09/image_25012025_05_09_02_221211_0001.jpg
/home/pi/Desktop/images/25012025/05/09/image_25012025_05_09_02_221211_0002.jpg
/home/pi/Desktop/images/25012025/05/09/image_25012025_05_09_02_221211_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331250609","1331250634","1331250628","1331250637","1331250657","1331250645"],"photo_ids_order":["1331250609","1331250628","1331250634","1331250637","1331250645","1331250657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/029a143cb5c7771f7081f3bd42e3f397.jpg","text":"TemporaryFile(/tmp/multipartBody2930994103287259849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785078037,"filename":"image_25012025_05_08_02_689609_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b6c1e8491432b1f6f535077bb6c6b3fd.jpg","text":"TemporaryFile(/tmp/multipartBody7749917016330357383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785078037,"filename":"image_25012025_05_09_02_221211_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aacb06c42b24b625b61f2a7deb41a3fb.jpg","text":"TemporaryFile(/tmp/multipartBody4268531226521231270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785078037,"filename":"image_25012025_05_08_02_689609_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eb2118aae0cbe07727beb02e3bfe403b.jpg","text":"TemporaryFile(/tmp/multipartBody1900325152801826720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785078037,"filename":"image_25012025_05_09_02_221211_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6fe3ed219f680b46969dd128ade8b7c9.jpg","text":"TemporaryFile(/tmp/multipartBody2490244135643282143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785078037,"filename":"image_25012025_05_09_02_221211_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5f565056cd7eb3f979e2aeaa34d56f7c.jpg","text":"TemporaryFile(/tmp/multipartBody1913439939813996698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785078037,"filename":"image_25012025_05_09_02_221211_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331250634","file1":"1331250628","file0":"1331250609","file4":"1331250645","file5":"1331250657","file3":"1331250637"},"map_files_photo_id_array":[{"photo_id":"1331250657","filename":"file5"},{"photo_id":"1331250634","filename":"file2"},{"photo_id":"1331250645","filename":"file4"},{"photo_id":"1331250628","filename":"file1"},{"photo_id":"1331250609","filename":"file0"},{"photo_id":"1331250637","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331250609":["hashtag1","hashtag2"]},{"1331250634":["hashtag1","hashtag2"]},{"1331250628":["hashtag1","hashtag2"]},{"1331250637":["hashtag1","hashtag2"]},{"1331250657":["hashtag1","hashtag2"]},{"1331250645":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331250609, 1331250634, 1331250628, 1331250637, 1331250657, 1331250645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.34195613861084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:04:22.641225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/10/image_25012025_05_10_02_702039_0000.jpg', '/home/pi/Desktop/images/25012025/05/10/image_25012025_05_10_02_702039_0001.jpg', '/home/pi/Desktop/images/25012025/05/10/image_25012025_05_10_02_702039_0002.jpg', '/home/pi/Desktop/images/25012025/05/10/image_25012025_05_10_02_702039_0003.jpg', '/home/pi/Desktop/images/25012025/05/11/image_25012025_05_11_02_229471_0000.jpg', '/home/pi/Desktop/images/25012025/05/11/image_25012025_05_11_02_229471_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/10/image_25012025_05_10_02_702039_0000.jpg
/home/pi/Desktop/images/25012025/05/10/image_25012025_05_10_02_702039_0001.jpg
/home/pi/Desktop/images/25012025/05/10/image_25012025_05_10_02_702039_0002.jpg
/home/pi/Desktop/images/25012025/05/10/image_25012025_05_10_02_702039_0003.jpg
/home/pi/Desktop/images/25012025/05/11/image_25012025_05_11_02_229471_0000.jpg
/home/pi/Desktop/images/25012025/05/11/image_25012025_05_11_02_229471_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331250747","1331250755","1331250741","1331250750","1331250744","1331250738"],"photo_ids_order":["1331250738","1331250741","1331250744","1331250747","1331250750","1331250755"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/29e9a99ef63b3e186b723ffc8669af6a.jpg","text":"TemporaryFile(/tmp/multipartBody6490848724479434965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785138966,"filename":"image_25012025_05_10_02_702039_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ee765a8035e43b2982927050f7c7a1cb.jpg","text":"TemporaryFile(/tmp/multipartBody7593742678424003533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785138966,"filename":"image_25012025_05_11_02_229471_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/13d8073c7aaf0613aae150a1a806c844.jpg","text":"TemporaryFile(/tmp/multipartBody3316564821405560116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785138966,"filename":"image_25012025_05_10_02_702039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0e5a5b1c4497aeb3d9693c013f416a7c.jpg","text":"TemporaryFile(/tmp/multipartBody1522021091629069600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785138966,"filename":"image_25012025_05_11_02_229471_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/146937b1ad57e16cdd4e584817761839.jpg","text":"TemporaryFile(/tmp/multipartBody2464425224698520041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785138966,"filename":"image_25012025_05_10_02_702039_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d8c2f9a881d29a86e5fab0ae5ecd6116.jpg","text":"TemporaryFile(/tmp/multipartBody4878369911608749781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785138966,"filename":"image_25012025_05_10_02_702039_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331250744","file1":"1331250741","file0":"1331250738","file4":"1331250750","file5":"1331250755","file3":"1331250747"},"map_files_photo_id_array":[{"photo_id":"1331250755","filename":"file5"},{"photo_id":"1331250744","filename":"file2"},{"photo_id":"1331250750","filename":"file4"},{"photo_id":"1331250741","filename":"file1"},{"photo_id":"1331250738","filename":"file0"},{"photo_id":"1331250747","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331250747":["hashtag1","hashtag2"]},{"1331250755":["hashtag1","hashtag2"]},{"1331250741":["hashtag1","hashtag2"]},{"1331250750":["hashtag1","hashtag2"]},{"1331250744":["hashtag1","hashtag2"]},{"1331250738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331250747, 1331250755, 1331250741, 1331250750, 1331250744, 1331250738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.43074178695679 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:05:22.100748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/11/image_25012025_05_11_02_229471_0002.jpg', '/home/pi/Desktop/images/25012025/05/11/image_25012025_05_11_02_229471_0003.jpg', '/home/pi/Desktop/images/25012025/05/12/image_25012025_05_12_02_733913_0000.jpg', '/home/pi/Desktop/images/25012025/05/12/image_25012025_05_12_02_733913_0001.jpg', '/home/pi/Desktop/images/25012025/05/12/image_25012025_05_12_02_733913_0002.jpg', '/home/pi/Desktop/images/25012025/05/12/image_25012025_05_12_02_733913_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/11/image_25012025_05_11_02_229471_0002.jpg
/home/pi/Desktop/images/25012025/05/11/image_25012025_05_11_02_229471_0003.jpg
/home/pi/Desktop/images/25012025/05/12/image_25012025_05_12_02_733913_0000.jpg
/home/pi/Desktop/images/25012025/05/12/image_25012025_05_12_02_733913_0001.jpg
/home/pi/Desktop/images/25012025/05/12/image_25012025_05_12_02_733913_0002.jpg
/home/pi/Desktop/images/25012025/05/12/image_25012025_05_12_02_733913_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331250779","1331250776","1331250781","1331250784","1331250778","1331250774"],"photo_ids_order":["1331250774","1331250776","1331250778","1331250779","1331250781","1331250784"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/003e526210dd578e52a0c4639f5a9fc0.jpg","text":"TemporaryFile(/tmp/multipartBody5933215040481410605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785198200,"filename":"image_25012025_05_12_02_733913_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b598c386cd8eb1305b1c69b8c80aa2ae.jpg","text":"TemporaryFile(/tmp/multipartBody3577118791893300019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785198200,"filename":"image_25012025_05_11_02_229471_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dcd899794e2ca974c11dbfcc05403c9b.jpg","text":"TemporaryFile(/tmp/multipartBody8492671988907952439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785198200,"filename":"image_25012025_05_12_02_733913_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/be0fa0b9cb525b14f588a39ac5a47a98.jpg","text":"TemporaryFile(/tmp/multipartBody335310876479729751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785198200,"filename":"image_25012025_05_12_02_733913_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e76f31dad057b1d85becb9d6638e1372.jpg","text":"TemporaryFile(/tmp/multipartBody2098883359717158973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785198200,"filename":"image_25012025_05_12_02_733913_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e9b40fdb20a1b6c43bbefe43ff5ef38e.jpg","text":"TemporaryFile(/tmp/multipartBody7502223415686125580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785198200,"filename":"image_25012025_05_11_02_229471_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331250778","file1":"1331250776","file0":"1331250774","file4":"1331250781","file5":"1331250784","file3":"1331250779"},"map_files_photo_id_array":[{"photo_id":"1331250784","filename":"file5"},{"photo_id":"1331250778","filename":"file2"},{"photo_id":"1331250781","filename":"file4"},{"photo_id":"1331250776","filename":"file1"},{"photo_id":"1331250774","filename":"file0"},{"photo_id":"1331250779","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331250779":["hashtag1","hashtag2"]},{"1331250776":["hashtag1","hashtag2"]},{"1331250781":["hashtag1","hashtag2"]},{"1331250784":["hashtag1","hashtag2"]},{"1331250778":["hashtag1","hashtag2"]},{"1331250774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331250779, 1331250776, 1331250781, 1331250784, 1331250778, 1331250774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.824392318725586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:06:22.691394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/13/image_25012025_05_13_02_555305_0000.jpg', '/home/pi/Desktop/images/25012025/05/13/image_25012025_05_13_02_555305_0001.jpg', '/home/pi/Desktop/images/25012025/05/13/image_25012025_05_13_02_555305_0002.jpg', '/home/pi/Desktop/images/25012025/05/13/image_25012025_05_13_02_555305_0003.jpg', '/home/pi/Desktop/images/25012025/05/14/image_25012025_05_14_03_065520_0000.jpg', '/home/pi/Desktop/images/25012025/05/14/image_25012025_05_14_03_065520_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/13/image_25012025_05_13_02_555305_0000.jpg
/home/pi/Desktop/images/25012025/05/13/image_25012025_05_13_02_555305_0001.jpg
/home/pi/Desktop/images/25012025/05/13/image_25012025_05_13_02_555305_0002.jpg
/home/pi/Desktop/images/25012025/05/13/image_25012025_05_13_02_555305_0003.jpg
/home/pi/Desktop/images/25012025/05/14/image_25012025_05_14_03_065520_0000.jpg
/home/pi/Desktop/images/25012025/05/14/image_25012025_05_14_03_065520_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331250909","1331251051","1331251032","1331251056","1331251017","1331251011"],"photo_ids_order":["1331250909","1331251011","1331251017","1331251032","1331251051","1331251056"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3a29dd6ee0b2f11053c0ba5aad42b601.jpg","text":"TemporaryFile(/tmp/multipartBody4960222633021930489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785259840,"filename":"image_25012025_05_13_02_555305_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6fcbaf2f8f9586c860202d7a79ad7625.jpg","text":"TemporaryFile(/tmp/multipartBody257947197935848845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785259840,"filename":"image_25012025_05_14_03_065520_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0cdb59c7b87a6abd0f877aa723893ae0.jpg","text":"TemporaryFile(/tmp/multipartBody1778096855372377271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785259840,"filename":"image_25012025_05_13_02_555305_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0b65610447fcd05273c7c93b8fe84276.jpg","text":"TemporaryFile(/tmp/multipartBody2128413802538047411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785259840,"filename":"image_25012025_05_14_03_065520_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ff78bfab41ec69244e08b1a89c7aa3c6.jpg","text":"TemporaryFile(/tmp/multipartBody4971306511175497567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785259840,"filename":"image_25012025_05_13_02_555305_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f105d488200b854cc570679f1049c353.jpg","text":"TemporaryFile(/tmp/multipartBody3726641165761028332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785259840,"filename":"image_25012025_05_13_02_555305_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331251017","file1":"1331251011","file0":"1331250909","file4":"1331251051","file5":"1331251056","file3":"1331251032"},"map_files_photo_id_array":[{"photo_id":"1331251056","filename":"file5"},{"photo_id":"1331251017","filename":"file2"},{"photo_id":"1331251051","filename":"file4"},{"photo_id":"1331251011","filename":"file1"},{"photo_id":"1331250909","filename":"file0"},{"photo_id":"1331251032","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331250909":["hashtag1","hashtag2"]},{"1331251051":["hashtag1","hashtag2"]},{"1331251032":["hashtag1","hashtag2"]},{"1331251056":["hashtag1","hashtag2"]},{"1331251017":["hashtag1","hashtag2"]},{"1331251011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331250909, 1331251051, 1331251032, 1331251056, 1331251017, 1331251011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.154226541519165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:07:22.259360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/14/image_25012025_05_14_03_065520_0002.jpg', '/home/pi/Desktop/images/25012025/05/14/image_25012025_05_14_03_065520_0003.jpg', '/home/pi/Desktop/images/25012025/05/15/image_25012025_05_15_02_632874_0000.jpg', '/home/pi/Desktop/images/25012025/05/15/image_25012025_05_15_02_632874_0001.jpg', '/home/pi/Desktop/images/25012025/05/15/image_25012025_05_15_02_632874_0002.jpg', '/home/pi/Desktop/images/25012025/05/15/image_25012025_05_15_02_632874_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/14/image_25012025_05_14_03_065520_0002.jpg
/home/pi/Desktop/images/25012025/05/14/image_25012025_05_14_03_065520_0003.jpg
/home/pi/Desktop/images/25012025/05/15/image_25012025_05_15_02_632874_0000.jpg
/home/pi/Desktop/images/25012025/05/15/image_25012025_05_15_02_632874_0001.jpg
/home/pi/Desktop/images/25012025/05/15/image_25012025_05_15_02_632874_0002.jpg
/home/pi/Desktop/images/25012025/05/15/image_25012025_05_15_02_632874_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331251174","1331251168","1331251240","1331251132","1331251146","1331251233"],"photo_ids_order":["1331251132","1331251146","1331251168","1331251174","1331251233","1331251240"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6091852841ef7cfb994531838965dd0a.jpg","text":"TemporaryFile(/tmp/multipartBody6778272989859962529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785318423,"filename":"image_25012025_05_15_02_632874_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/15b130535709e72e7a2f7f58ab3753dd.jpg","text":"TemporaryFile(/tmp/multipartBody1750201740845956553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785318423,"filename":"image_25012025_05_15_02_632874_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9a5e9f726cae919137cbadc63cd7e918.jpg","text":"TemporaryFile(/tmp/multipartBody5579473669274072321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785318423,"filename":"image_25012025_05_15_02_632874_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0e0df9a1a9377de8e33e4c7e62c1bd94.jpg","text":"TemporaryFile(/tmp/multipartBody699971892990651102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785318423,"filename":"image_25012025_05_14_03_065520_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/90e2947276a14dfea8c5d590b88a2cd3.jpg","text":"TemporaryFile(/tmp/multipartBody8888028354577149031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785318423,"filename":"image_25012025_05_14_03_065520_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3c5a030ae98f5723d1de08bbc2945862.jpg","text":"TemporaryFile(/tmp/multipartBody4316420973725791088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785318423,"filename":"image_25012025_05_15_02_632874_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331251168","file1":"1331251146","file0":"1331251132","file4":"1331251233","file5":"1331251240","file3":"1331251174"},"map_files_photo_id_array":[{"photo_id":"1331251240","filename":"file5"},{"photo_id":"1331251168","filename":"file2"},{"photo_id":"1331251233","filename":"file4"},{"photo_id":"1331251146","filename":"file1"},{"photo_id":"1331251132","filename":"file0"},{"photo_id":"1331251174","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331251174":["hashtag1","hashtag2"]},{"1331251168":["hashtag1","hashtag2"]},{"1331251240":["hashtag1","hashtag2"]},{"1331251132":["hashtag1","hashtag2"]},{"1331251146":["hashtag1","hashtag2"]},{"1331251233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331251174, 1331251168, 1331251240, 1331251132, 1331251146, 1331251233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.54166913032532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:08:22.704542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0000.jpg', '/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0001.jpg', '/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0002.jpg', '/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0003.jpg', '/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0000.jpg', '/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0000.jpg
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0001.jpg
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0002.jpg
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0003.jpg
/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0000.jpg
/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_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 [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>889b7h2pk</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>889b7h2pk</strong>.
uploaded 0 photos
time to upload: 72.10908651351929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 07:10:02.953436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0000.jpg', '/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0001.jpg', '/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0002.jpg', '/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0003.jpg', '/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0000.jpg', '/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0000.jpg
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0001.jpg
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0002.jpg
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0003.jpg
/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0000.jpg
/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0001.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>889b7l8ig</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>889b7l8ig</strong>.
uploaded 0 photos
time to upload: 46.032841205596924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 07:11:02.734564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0000.jpg', '/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0001.jpg', '/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0002.jpg', '/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0003.jpg', '/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0000.jpg', '/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0000.jpg
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0001.jpg
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0002.jpg
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0003.jpg
/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0000.jpg
/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_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: 16.038728952407837 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:11:22.188728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0000.jpg', '/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0001.jpg', '/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0002.jpg', '/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0003.jpg', '/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0000.jpg', '/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0000.jpg
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0001.jpg
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0002.jpg
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0003.jpg
/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0000.jpg
/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0001.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>889b7plmm</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>889b7plmm</strong>.
uploaded 0 photos
time to upload: 46.053669929504395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:12:21.883835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0000.jpg', '/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0001.jpg', '/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0002.jpg', '/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0003.jpg', '/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0000.jpg', '/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0000.jpg
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0001.jpg
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0002.jpg
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0003.jpg
/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0000.jpg
/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0001.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>889b83658</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>889b83658</strong>.
uploaded 0 photos
time to upload: 46.010610818862915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:13:22.362840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0000.jpg', '/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0001.jpg', '/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0002.jpg', '/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0003.jpg', '/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0000.jpg', '/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0000.jpg
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0001.jpg
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0002.jpg
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0003.jpg
/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0000.jpg
/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0001.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>889b86hh1</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>889b86hh1</strong>.
uploaded 0 photos
time to upload: 45.999558448791504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:14:21.880963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0000.jpg', '/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0001.jpg', '/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0002.jpg', '/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0003.jpg', '/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0000.jpg', '/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0000.jpg
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0001.jpg
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0002.jpg
/home/pi/Desktop/images/25012025/05/16/image_25012025_05_16_02_110936_0003.jpg
/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0000.jpg
/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_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":["1331251649","1331251640","1331251622","1331251657","1331251653","1331251632"],"photo_ids_order":["1331251622","1331251632","1331251640","1331251649","1331251653","1331251657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/04ce291394fbac9b6fbb4ae2f0b80e02.jpg","text":"TemporaryFile(/tmp/multipartBody2024276289719297729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785738278,"filename":"image_25012025_05_16_02_110936_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/15e81db49cfedcc5ee766d3fe7919822.jpg","text":"TemporaryFile(/tmp/multipartBody8007060828663128151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785738278,"filename":"image_25012025_05_16_02_110936_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/21384c80c2d615a612ee9c8ce7df46ce.jpg","text":"TemporaryFile(/tmp/multipartBody8516974591922366901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785738278,"filename":"image_25012025_05_16_02_110936_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/327db533f5ff9836b796eedb5bfd23f4.jpg","text":"TemporaryFile(/tmp/multipartBody610484320540815075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785738278,"filename":"image_25012025_05_17_02_834263_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b1673ffec28b9e9ea1b97dafef7c9b15.jpg","text":"TemporaryFile(/tmp/multipartBody8374975863752225150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785738278,"filename":"image_25012025_05_17_02_834263_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fce99b3abfa289187b891f0ca16b2c82.jpg","text":"TemporaryFile(/tmp/multipartBody2784418106830939957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785738278,"filename":"image_25012025_05_16_02_110936_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331251640","file1":"1331251632","file0":"1331251622","file4":"1331251653","file5":"1331251657","file3":"1331251649"},"map_files_photo_id_array":[{"photo_id":"1331251657","filename":"file5"},{"photo_id":"1331251640","filename":"file2"},{"photo_id":"1331251653","filename":"file4"},{"photo_id":"1331251632","filename":"file1"},{"photo_id":"1331251622","filename":"file0"},{"photo_id":"1331251649","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331251649":["hashtag1","hashtag2"]},{"1331251640":["hashtag1","hashtag2"]},{"1331251622":["hashtag1","hashtag2"]},{"1331251657":["hashtag1","hashtag2"]},{"1331251653":["hashtag1","hashtag2"]},{"1331251632":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331251649, 1331251640, 1331251622, 1331251657, 1331251653, 1331251632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.33517050743103 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 07:16:02.441992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0002.jpg', '/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0003.jpg', '/home/pi/Desktop/images/25012025/05/18/image_25012025_05_18_02_370986_0000.jpg', '/home/pi/Desktop/images/25012025/05/18/image_25012025_05_18_02_370986_0001.jpg', '/home/pi/Desktop/images/25012025/05/18/image_25012025_05_18_02_370986_0002.jpg', '/home/pi/Desktop/images/25012025/05/18/image_25012025_05_18_02_370986_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0002.jpg
/home/pi/Desktop/images/25012025/05/17/image_25012025_05_17_02_834263_0003.jpg
/home/pi/Desktop/images/25012025/05/18/image_25012025_05_18_02_370986_0000.jpg
/home/pi/Desktop/images/25012025/05/18/image_25012025_05_18_02_370986_0001.jpg
/home/pi/Desktop/images/25012025/05/18/image_25012025_05_18_02_370986_0002.jpg
/home/pi/Desktop/images/25012025/05/18/image_25012025_05_18_02_370986_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331251730","1331251735","1331251726","1331251708","1331251719","1331251713"],"photo_ids_order":["1331251708","1331251713","1331251719","1331251726","1331251730","1331251735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a68594b544b90550297a917104ab0e9b.jpg","text":"TemporaryFile(/tmp/multipartBody5285940151424679537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785839064,"filename":"image_25012025_05_18_02_370986_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a81c50bb906a58fde2d2814e6aca175b.jpg","text":"TemporaryFile(/tmp/multipartBody7581913962950117034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785839064,"filename":"image_25012025_05_18_02_370986_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7ec9bb341e68a17ed66bd53b11df3813.jpg","text":"TemporaryFile(/tmp/multipartBody2410244629812243711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785839064,"filename":"image_25012025_05_18_02_370986_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6f0b592bbc8444b04576164de6f236cc.jpg","text":"TemporaryFile(/tmp/multipartBody6270758472463974985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785839064,"filename":"image_25012025_05_17_02_834263_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a6514842cab2def4d2fbaf61ecafb53b.jpg","text":"TemporaryFile(/tmp/multipartBody7286782124889365344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785839064,"filename":"image_25012025_05_18_02_370986_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/007627217376e5a0e1f39281a3d77be0.jpg","text":"TemporaryFile(/tmp/multipartBody3316817469543103724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785839064,"filename":"image_25012025_05_17_02_834263_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331251719","file1":"1331251713","file0":"1331251708","file4":"1331251730","file5":"1331251735","file3":"1331251726"},"map_files_photo_id_array":[{"photo_id":"1331251735","filename":"file5"},{"photo_id":"1331251719","filename":"file2"},{"photo_id":"1331251730","filename":"file4"},{"photo_id":"1331251713","filename":"file1"},{"photo_id":"1331251708","filename":"file0"},{"photo_id":"1331251726","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331251730":["hashtag1","hashtag2"]},{"1331251735":["hashtag1","hashtag2"]},{"1331251726":["hashtag1","hashtag2"]},{"1331251708":["hashtag1","hashtag2"]},{"1331251719":["hashtag1","hashtag2"]},{"1331251713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331251730, 1331251735, 1331251726, 1331251708, 1331251719, 1331251713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.958454608917236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 07:17:03.283967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/19/image_25012025_05_19_02_966820_0000.jpg', '/home/pi/Desktop/images/25012025/05/19/image_25012025_05_19_02_966820_0001.jpg', '/home/pi/Desktop/images/25012025/05/19/image_25012025_05_19_02_966820_0002.jpg', '/home/pi/Desktop/images/25012025/05/19/image_25012025_05_19_02_966820_0003.jpg', '/home/pi/Desktop/images/25012025/05/20/image_25012025_05_20_02_430216_0000.jpg', '/home/pi/Desktop/images/25012025/05/20/image_25012025_05_20_02_430216_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/19/image_25012025_05_19_02_966820_0000.jpg
/home/pi/Desktop/images/25012025/05/19/image_25012025_05_19_02_966820_0001.jpg
/home/pi/Desktop/images/25012025/05/19/image_25012025_05_19_02_966820_0002.jpg
/home/pi/Desktop/images/25012025/05/19/image_25012025_05_19_02_966820_0003.jpg
/home/pi/Desktop/images/25012025/05/20/image_25012025_05_20_02_430216_0000.jpg
/home/pi/Desktop/images/25012025/05/20/image_25012025_05_20_02_430216_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: 16.040669441223145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:17:22.491874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/19/image_25012025_05_19_02_966820_0000.jpg', '/home/pi/Desktop/images/25012025/05/19/image_25012025_05_19_02_966820_0001.jpg', '/home/pi/Desktop/images/25012025/05/19/image_25012025_05_19_02_966820_0002.jpg', '/home/pi/Desktop/images/25012025/05/19/image_25012025_05_19_02_966820_0003.jpg', '/home/pi/Desktop/images/25012025/05/20/image_25012025_05_20_02_430216_0000.jpg', '/home/pi/Desktop/images/25012025/05/20/image_25012025_05_20_02_430216_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/19/image_25012025_05_19_02_966820_0000.jpg
/home/pi/Desktop/images/25012025/05/19/image_25012025_05_19_02_966820_0001.jpg
/home/pi/Desktop/images/25012025/05/19/image_25012025_05_19_02_966820_0002.jpg
/home/pi/Desktop/images/25012025/05/19/image_25012025_05_19_02_966820_0003.jpg
/home/pi/Desktop/images/25012025/05/20/image_25012025_05_20_02_430216_0000.jpg
/home/pi/Desktop/images/25012025/05/20/image_25012025_05_20_02_430216_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331251763","1331251768","1331251753","1331251779","1331251773","1331251758"],"photo_ids_order":["1331251753","1331251758","1331251763","1331251768","1331251773","1331251779"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0afede3c2477ec7328ee0cc001f6d194.jpg","text":"TemporaryFile(/tmp/multipartBody8948335282364177743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785918893,"filename":"image_25012025_05_19_02_966820_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/16d0d1e69682d80e9d8cda454ea57778.jpg","text":"TemporaryFile(/tmp/multipartBody6356070382465724717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785918893,"filename":"image_25012025_05_19_02_966820_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/832efcb9a846baf063fab012d4579e6b.jpg","text":"TemporaryFile(/tmp/multipartBody3278910049112397803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785918893,"filename":"image_25012025_05_19_02_966820_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/75747cf7a06457f777c71ae8a9fe9c0f.jpg","text":"TemporaryFile(/tmp/multipartBody667838247610106376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785918893,"filename":"image_25012025_05_20_02_430216_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/05a1cf0878b8978a7121e3cac36fc134.jpg","text":"TemporaryFile(/tmp/multipartBody6988423199834912069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785918893,"filename":"image_25012025_05_20_02_430216_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/22d238c8575686d9d394b7252415a1be.jpg","text":"TemporaryFile(/tmp/multipartBody2650498740343987358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785918893,"filename":"image_25012025_05_19_02_966820_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331251763","file1":"1331251758","file0":"1331251753","file4":"1331251773","file5":"1331251779","file3":"1331251768"},"map_files_photo_id_array":[{"photo_id":"1331251779","filename":"file5"},{"photo_id":"1331251763","filename":"file2"},{"photo_id":"1331251773","filename":"file4"},{"photo_id":"1331251758","filename":"file1"},{"photo_id":"1331251753","filename":"file0"},{"photo_id":"1331251768","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331251763":["hashtag1","hashtag2"]},{"1331251768":["hashtag1","hashtag2"]},{"1331251753":["hashtag1","hashtag2"]},{"1331251779":["hashtag1","hashtag2"]},{"1331251773":["hashtag1","hashtag2"]},{"1331251758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331251763, 1331251768, 1331251753, 1331251779, 1331251773, 1331251758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.16069984436035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:18:22.182754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/20/image_25012025_05_20_02_430216_0002.jpg', '/home/pi/Desktop/images/25012025/05/20/image_25012025_05_20_02_430216_0003.jpg', '/home/pi/Desktop/images/25012025/05/21/image_25012025_05_21_03_084260_0000.jpg', '/home/pi/Desktop/images/25012025/05/21/image_25012025_05_21_03_084260_0001.jpg', '/home/pi/Desktop/images/25012025/05/21/image_25012025_05_21_03_084260_0002.jpg', '/home/pi/Desktop/images/25012025/05/21/image_25012025_05_21_03_084260_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/20/image_25012025_05_20_02_430216_0002.jpg
/home/pi/Desktop/images/25012025/05/20/image_25012025_05_20_02_430216_0003.jpg
/home/pi/Desktop/images/25012025/05/21/image_25012025_05_21_03_084260_0000.jpg
/home/pi/Desktop/images/25012025/05/21/image_25012025_05_21_03_084260_0001.jpg
/home/pi/Desktop/images/25012025/05/21/image_25012025_05_21_03_084260_0002.jpg
/home/pi/Desktop/images/25012025/05/21/image_25012025_05_21_03_084260_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331251825","1331251819","1331251813","1331251797","1331251788","1331251809"],"photo_ids_order":["1331251788","1331251797","1331251809","1331251813","1331251819","1331251825"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/232e9277111e4f5f21b279e895f061cb.jpg","text":"TemporaryFile(/tmp/multipartBody5340850090040581617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785978636,"filename":"image_25012025_05_21_03_084260_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5035a5edbe02c7fc7ceb7ebfd0aad0af.jpg","text":"TemporaryFile(/tmp/multipartBody4419295833269773963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785978636,"filename":"image_25012025_05_21_03_084260_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/73f9be1cb08818163eeb34202a0476c7.jpg","text":"TemporaryFile(/tmp/multipartBody6521551830332421217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785978636,"filename":"image_25012025_05_21_03_084260_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/971a59bdcd084f72c43651a300e6c739.jpg","text":"TemporaryFile(/tmp/multipartBody7354015818379655074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785978636,"filename":"image_25012025_05_20_02_430216_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f445937d4772f3609eb1805a7fad0a11.jpg","text":"TemporaryFile(/tmp/multipartBody5724031106218416030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785978636,"filename":"image_25012025_05_20_02_430216_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0f007e74e6b0fd40b70aa8d4256e45e8.jpg","text":"TemporaryFile(/tmp/multipartBody4357744910406402917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737785978636,"filename":"image_25012025_05_21_03_084260_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331251809","file1":"1331251797","file0":"1331251788","file4":"1331251819","file5":"1331251825","file3":"1331251813"},"map_files_photo_id_array":[{"photo_id":"1331251825","filename":"file5"},{"photo_id":"1331251809","filename":"file2"},{"photo_id":"1331251819","filename":"file4"},{"photo_id":"1331251797","filename":"file1"},{"photo_id":"1331251788","filename":"file0"},{"photo_id":"1331251813","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331251825":["hashtag1","hashtag2"]},{"1331251819":["hashtag1","hashtag2"]},{"1331251813":["hashtag1","hashtag2"]},{"1331251797":["hashtag1","hashtag2"]},{"1331251788":["hashtag1","hashtag2"]},{"1331251809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331251825, 1331251819, 1331251813, 1331251797, 1331251788, 1331251809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.787278175354004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:19:22.700626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/22/image_25012025_05_22_02_669335_0000.jpg', '/home/pi/Desktop/images/25012025/05/22/image_25012025_05_22_02_669335_0001.jpg', '/home/pi/Desktop/images/25012025/05/22/image_25012025_05_22_02_669335_0002.jpg', '/home/pi/Desktop/images/25012025/05/22/image_25012025_05_22_02_669335_0003.jpg', '/home/pi/Desktop/images/25012025/05/23/image_25012025_05_23_02_394966_0000.jpg', '/home/pi/Desktop/images/25012025/05/23/image_25012025_05_23_02_394966_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/22/image_25012025_05_22_02_669335_0000.jpg
/home/pi/Desktop/images/25012025/05/22/image_25012025_05_22_02_669335_0001.jpg
/home/pi/Desktop/images/25012025/05/22/image_25012025_05_22_02_669335_0002.jpg
/home/pi/Desktop/images/25012025/05/22/image_25012025_05_22_02_669335_0003.jpg
/home/pi/Desktop/images/25012025/05/23/image_25012025_05_23_02_394966_0000.jpg
/home/pi/Desktop/images/25012025/05/23/image_25012025_05_23_02_394966_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331251847","1331251855","1331251864","1331251858","1331251843","1331251851"],"photo_ids_order":["1331251843","1331251847","1331251851","1331251855","1331251858","1331251864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/915c29b6eceeadbf26499e4fefa04ba3.jpg","text":"TemporaryFile(/tmp/multipartBody9100722382812266893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786039504,"filename":"image_25012025_05_22_02_669335_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b3da8ed9f41abc954808d56655953f9a.jpg","text":"TemporaryFile(/tmp/multipartBody8657160366788972671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786039504,"filename":"image_25012025_05_22_02_669335_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9d7f5f380d79ee2ced61eb13261d8cad.jpg","text":"TemporaryFile(/tmp/multipartBody8582745698662700984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786039504,"filename":"image_25012025_05_23_02_394966_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6a69a7e2f7b3167ce569ae3e5cc930b2.jpg","text":"TemporaryFile(/tmp/multipartBody5704105995871674058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786039504,"filename":"image_25012025_05_23_02_394966_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0b63794798a3ef9a821c15ed391478e6.jpg","text":"TemporaryFile(/tmp/multipartBody2293642759301945083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786039504,"filename":"image_25012025_05_22_02_669335_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e676ae6c00c251940c15d204c6408d3d.jpg","text":"TemporaryFile(/tmp/multipartBody7123210487164845520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786039504,"filename":"image_25012025_05_22_02_669335_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331251851","file1":"1331251847","file0":"1331251843","file4":"1331251858","file5":"1331251864","file3":"1331251855"},"map_files_photo_id_array":[{"photo_id":"1331251864","filename":"file5"},{"photo_id":"1331251851","filename":"file2"},{"photo_id":"1331251858","filename":"file4"},{"photo_id":"1331251847","filename":"file1"},{"photo_id":"1331251843","filename":"file0"},{"photo_id":"1331251855","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331251847":["hashtag1","hashtag2"]},{"1331251855":["hashtag1","hashtag2"]},{"1331251864":["hashtag1","hashtag2"]},{"1331251858":["hashtag1","hashtag2"]},{"1331251843":["hashtag1","hashtag2"]},{"1331251851":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331251847, 1331251855, 1331251864, 1331251858, 1331251843, 1331251851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.7108039855957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:20:22.314447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/23/image_25012025_05_23_02_394966_0002.jpg', '/home/pi/Desktop/images/25012025/05/23/image_25012025_05_23_02_394966_0003.jpg', '/home/pi/Desktop/images/25012025/05/24/image_25012025_05_24_02_926193_0000.jpg', '/home/pi/Desktop/images/25012025/05/24/image_25012025_05_24_02_926193_0001.jpg', '/home/pi/Desktop/images/25012025/05/24/image_25012025_05_24_02_926193_0002.jpg', '/home/pi/Desktop/images/25012025/05/24/image_25012025_05_24_02_926193_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/23/image_25012025_05_23_02_394966_0002.jpg
/home/pi/Desktop/images/25012025/05/23/image_25012025_05_23_02_394966_0003.jpg
/home/pi/Desktop/images/25012025/05/24/image_25012025_05_24_02_926193_0000.jpg
/home/pi/Desktop/images/25012025/05/24/image_25012025_05_24_02_926193_0001.jpg
/home/pi/Desktop/images/25012025/05/24/image_25012025_05_24_02_926193_0002.jpg
/home/pi/Desktop/images/25012025/05/24/image_25012025_05_24_02_926193_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":["1331251897","1331251901","1331251890","1331251884","1331251893","1331251887"],"photo_ids_order":["1331251884","1331251887","1331251890","1331251893","1331251897","1331251901"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/71b5462e69ffdc208be822fe4eca968d.jpg","text":"TemporaryFile(/tmp/multipartBody8798193601186427095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786098724,"filename":"image_25012025_05_24_02_926193_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/68a8627224bcfe5ad0e1049f6a336d07.jpg","text":"TemporaryFile(/tmp/multipartBody4873000272235842616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786098724,"filename":"image_25012025_05_24_02_926193_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/14fe9643bde005657898ffbce6410532.jpg","text":"TemporaryFile(/tmp/multipartBody5673294613798681482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786098724,"filename":"image_25012025_05_24_02_926193_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/21a514362575b18864a51f75b347f4df.jpg","text":"TemporaryFile(/tmp/multipartBody251676141895523104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786098724,"filename":"image_25012025_05_23_02_394966_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/03449e65461c6b7eff680c44f8cbf548.jpg","text":"TemporaryFile(/tmp/multipartBody4908357821576076315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786098724,"filename":"image_25012025_05_24_02_926193_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/082f81dd5ca2fc755bb075a26887156a.jpg","text":"TemporaryFile(/tmp/multipartBody4204288053118935638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786098724,"filename":"image_25012025_05_23_02_394966_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331251890","file1":"1331251887","file0":"1331251884","file4":"1331251897","file5":"1331251901","file3":"1331251893"},"map_files_photo_id_array":[{"photo_id":"1331251901","filename":"file5"},{"photo_id":"1331251890","filename":"file2"},{"photo_id":"1331251897","filename":"file4"},{"photo_id":"1331251887","filename":"file1"},{"photo_id":"1331251884","filename":"file0"},{"photo_id":"1331251893","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331251897":["hashtag1","hashtag2"]},{"1331251901":["hashtag1","hashtag2"]},{"1331251890":["hashtag1","hashtag2"]},{"1331251884":["hashtag1","hashtag2"]},{"1331251893":["hashtag1","hashtag2"]},{"1331251887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331251897, 1331251901, 1331251890, 1331251884, 1331251893, 1331251887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.73485064506531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 07:22:02.764305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/25/image_25012025_05_25_02_442630_0000.jpg', '/home/pi/Desktop/images/25012025/05/25/image_25012025_05_25_02_442630_0001.jpg', '/home/pi/Desktop/images/25012025/05/25/image_25012025_05_25_02_442630_0002.jpg', '/home/pi/Desktop/images/25012025/05/25/image_25012025_05_25_02_442630_0003.jpg', '/home/pi/Desktop/images/25012025/05/26/image_25012025_05_26_03_018305_0000.jpg', '/home/pi/Desktop/images/25012025/05/26/image_25012025_05_26_03_018305_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/25/image_25012025_05_25_02_442630_0000.jpg
/home/pi/Desktop/images/25012025/05/25/image_25012025_05_25_02_442630_0001.jpg
/home/pi/Desktop/images/25012025/05/25/image_25012025_05_25_02_442630_0002.jpg
/home/pi/Desktop/images/25012025/05/25/image_25012025_05_25_02_442630_0003.jpg
/home/pi/Desktop/images/25012025/05/26/image_25012025_05_26_03_018305_0000.jpg
/home/pi/Desktop/images/25012025/05/26/image_25012025_05_26_03_018305_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331252014","1331252011","1331252008","1331252028","1331252001","1331251988"],"photo_ids_order":["1331251988","1331252001","1331252008","1331252011","1331252014","1331252028"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/228088c246cb24db390050442599a938.jpg","text":"TemporaryFile(/tmp/multipartBody878538893055223044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786198886,"filename":"image_25012025_05_26_03_018305_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8f0b4de12aec02b9cee4f10c6bf2b365.jpg","text":"TemporaryFile(/tmp/multipartBody8352733910320269884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786198886,"filename":"image_25012025_05_25_02_442630_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2442c4093914556149b016419d15ebad.jpg","text":"TemporaryFile(/tmp/multipartBody5026980163819932543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786198886,"filename":"image_25012025_05_25_02_442630_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0495ab73d9a2fe2c40ba500484ac74f7.jpg","text":"TemporaryFile(/tmp/multipartBody4023440628575496321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786198886,"filename":"image_25012025_05_26_03_018305_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/230c78d881f739459a00dde030f801e3.jpg","text":"TemporaryFile(/tmp/multipartBody7791895262539119104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786198886,"filename":"image_25012025_05_25_02_442630_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d8c0f19d8376562aa9c55207f15eaf26.jpg","text":"TemporaryFile(/tmp/multipartBody3835984077878950986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786198886,"filename":"image_25012025_05_25_02_442630_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331252008","file1":"1331252001","file0":"1331251988","file4":"1331252014","file5":"1331252028","file3":"1331252011"},"map_files_photo_id_array":[{"photo_id":"1331252028","filename":"file5"},{"photo_id":"1331252008","filename":"file2"},{"photo_id":"1331252014","filename":"file4"},{"photo_id":"1331252001","filename":"file1"},{"photo_id":"1331251988","filename":"file0"},{"photo_id":"1331252011","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331252014":["hashtag1","hashtag2"]},{"1331252011":["hashtag1","hashtag2"]},{"1331252008":["hashtag1","hashtag2"]},{"1331252028":["hashtag1","hashtag2"]},{"1331252001":["hashtag1","hashtag2"]},{"1331251988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331252014, 1331252011, 1331252008, 1331252028, 1331252001, 1331251988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.715476751327515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 07:23:02.416288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/26/image_25012025_05_26_03_018305_0002.jpg', '/home/pi/Desktop/images/25012025/05/26/image_25012025_05_26_03_018305_0003.jpg', '/home/pi/Desktop/images/25012025/05/27/image_25012025_05_27_02_727342_0000.jpg', '/home/pi/Desktop/images/25012025/05/27/image_25012025_05_27_02_727342_0001.jpg', '/home/pi/Desktop/images/25012025/05/27/image_25012025_05_27_02_727342_0002.jpg', '/home/pi/Desktop/images/25012025/05/27/image_25012025_05_27_02_727342_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/26/image_25012025_05_26_03_018305_0002.jpg
/home/pi/Desktop/images/25012025/05/26/image_25012025_05_26_03_018305_0003.jpg
/home/pi/Desktop/images/25012025/05/27/image_25012025_05_27_02_727342_0000.jpg
/home/pi/Desktop/images/25012025/05/27/image_25012025_05_27_02_727342_0001.jpg
/home/pi/Desktop/images/25012025/05/27/image_25012025_05_27_02_727342_0002.jpg
/home/pi/Desktop/images/25012025/05/27/image_25012025_05_27_02_727342_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331252051","1331252212","1331252044","1331252049","1331252109","1331252202"],"photo_ids_order":["1331252044","1331252049","1331252051","1331252109","1331252202","1331252212"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1c132b989eabb07942f8ba6c98a8bdb0.jpg","text":"TemporaryFile(/tmp/multipartBody6342928682412847479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786259441,"filename":"image_25012025_05_27_02_727342_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6797ec6efb9c6502270f8da1ed381889.jpg","text":"TemporaryFile(/tmp/multipartBody4202053865730809722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786259441,"filename":"image_25012025_05_27_02_727342_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ae1e19000c9255c477c304c8434901ef.jpg","text":"TemporaryFile(/tmp/multipartBody5850568374751421085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786259441,"filename":"image_25012025_05_26_03_018305_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6f003c9138a33934dd09c9dee5d6c130.jpg","text":"TemporaryFile(/tmp/multipartBody1639904398700954545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786259441,"filename":"image_25012025_05_26_03_018305_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6f29e320d88341e24fb1ac342c3b5519.jpg","text":"TemporaryFile(/tmp/multipartBody4203414802162306518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786259441,"filename":"image_25012025_05_27_02_727342_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d134bef56403efcb8b320cf7d2af1a98.jpg","text":"TemporaryFile(/tmp/multipartBody1788180162143244613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786259441,"filename":"image_25012025_05_27_02_727342_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331252051","file1":"1331252049","file0":"1331252044","file4":"1331252202","file5":"1331252212","file3":"1331252109"},"map_files_photo_id_array":[{"photo_id":"1331252212","filename":"file5"},{"photo_id":"1331252051","filename":"file2"},{"photo_id":"1331252202","filename":"file4"},{"photo_id":"1331252049","filename":"file1"},{"photo_id":"1331252044","filename":"file0"},{"photo_id":"1331252109","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331252051":["hashtag1","hashtag2"]},{"1331252212":["hashtag1","hashtag2"]},{"1331252044":["hashtag1","hashtag2"]},{"1331252049":["hashtag1","hashtag2"]},{"1331252109":["hashtag1","hashtag2"]},{"1331252202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331252051, 1331252212, 1331252044, 1331252049, 1331252109, 1331252202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.55424237251282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 07:24:02.821386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/28/image_25012025_05_28_02_245062_0000.jpg', '/home/pi/Desktop/images/25012025/05/28/image_25012025_05_28_02_245062_0001.jpg', '/home/pi/Desktop/images/25012025/05/28/image_25012025_05_28_02_245062_0002.jpg', '/home/pi/Desktop/images/25012025/05/28/image_25012025_05_28_02_245062_0003.jpg', '/home/pi/Desktop/images/25012025/05/29/image_25012025_05_29_02_800897_0000.jpg', '/home/pi/Desktop/images/25012025/05/29/image_25012025_05_29_02_800897_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/28/image_25012025_05_28_02_245062_0000.jpg
/home/pi/Desktop/images/25012025/05/28/image_25012025_05_28_02_245062_0001.jpg
/home/pi/Desktop/images/25012025/05/28/image_25012025_05_28_02_245062_0002.jpg
/home/pi/Desktop/images/25012025/05/28/image_25012025_05_28_02_245062_0003.jpg
/home/pi/Desktop/images/25012025/05/29/image_25012025_05_29_02_800897_0000.jpg
/home/pi/Desktop/images/25012025/05/29/image_25012025_05_29_02_800897_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: 16.65644073486328 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:24:22.312413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/28/image_25012025_05_28_02_245062_0000.jpg', '/home/pi/Desktop/images/25012025/05/28/image_25012025_05_28_02_245062_0001.jpg', '/home/pi/Desktop/images/25012025/05/28/image_25012025_05_28_02_245062_0002.jpg', '/home/pi/Desktop/images/25012025/05/28/image_25012025_05_28_02_245062_0003.jpg', '/home/pi/Desktop/images/25012025/05/29/image_25012025_05_29_02_800897_0000.jpg', '/home/pi/Desktop/images/25012025/05/29/image_25012025_05_29_02_800897_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/28/image_25012025_05_28_02_245062_0000.jpg
/home/pi/Desktop/images/25012025/05/28/image_25012025_05_28_02_245062_0001.jpg
/home/pi/Desktop/images/25012025/05/28/image_25012025_05_28_02_245062_0002.jpg
/home/pi/Desktop/images/25012025/05/28/image_25012025_05_28_02_245062_0003.jpg
/home/pi/Desktop/images/25012025/05/29/image_25012025_05_29_02_800897_0000.jpg
/home/pi/Desktop/images/25012025/05/29/image_25012025_05_29_02_800897_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":["1331252275","1331252284","1331252271","1331252280","1331252277","1331252297"],"photo_ids_order":["1331252271","1331252275","1331252277","1331252280","1331252284","1331252297"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a01df96b43d41432fd1a09db0402873a.jpg","text":"TemporaryFile(/tmp/multipartBody1516315319443102410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786339348,"filename":"image_25012025_05_28_02_245062_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/83b533efc9d48785c1454a7c0a4daa15.jpg","text":"TemporaryFile(/tmp/multipartBody9205279230048375312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786339348,"filename":"image_25012025_05_29_02_800897_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9dd403fac9acc04a6d3073945028b1e8.jpg","text":"TemporaryFile(/tmp/multipartBody5152083113600149472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786339348,"filename":"image_25012025_05_28_02_245062_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/176b097960fa43a07315597750cf7ca0.jpg","text":"TemporaryFile(/tmp/multipartBody7828779367515080360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786339348,"filename":"image_25012025_05_28_02_245062_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/27458c6619ec421766216a099ab4b06d.jpg","text":"TemporaryFile(/tmp/multipartBody6281596598102718207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786339348,"filename":"image_25012025_05_28_02_245062_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7e915ce9e65c5b3f83991b2da826f3cb.jpg","text":"TemporaryFile(/tmp/multipartBody1359987553651375206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786339348,"filename":"image_25012025_05_29_02_800897_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331252277","file1":"1331252275","file0":"1331252271","file4":"1331252284","file5":"1331252297","file3":"1331252280"},"map_files_photo_id_array":[{"photo_id":"1331252297","filename":"file5"},{"photo_id":"1331252277","filename":"file2"},{"photo_id":"1331252284","filename":"file4"},{"photo_id":"1331252275","filename":"file1"},{"photo_id":"1331252271","filename":"file0"},{"photo_id":"1331252280","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331252275":["hashtag1","hashtag2"]},{"1331252284":["hashtag1","hashtag2"]},{"1331252271":["hashtag1","hashtag2"]},{"1331252280":["hashtag1","hashtag2"]},{"1331252277":["hashtag1","hashtag2"]},{"1331252297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331252275, 1331252284, 1331252271, 1331252280, 1331252277, 1331252297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.55438494682312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 07:26:02.735123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/29/image_25012025_05_29_02_800897_0002.jpg', '/home/pi/Desktop/images/25012025/05/29/image_25012025_05_29_02_800897_0003.jpg', '/home/pi/Desktop/images/25012025/05/30/image_25012025_05_30_02_322649_0000.jpg', '/home/pi/Desktop/images/25012025/05/30/image_25012025_05_30_02_322649_0001.jpg', '/home/pi/Desktop/images/25012025/05/30/image_25012025_05_30_02_322649_0002.jpg', '/home/pi/Desktop/images/25012025/05/30/image_25012025_05_30_02_322649_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/29/image_25012025_05_29_02_800897_0002.jpg
/home/pi/Desktop/images/25012025/05/29/image_25012025_05_29_02_800897_0003.jpg
/home/pi/Desktop/images/25012025/05/30/image_25012025_05_30_02_322649_0000.jpg
/home/pi/Desktop/images/25012025/05/30/image_25012025_05_30_02_322649_0001.jpg
/home/pi/Desktop/images/25012025/05/30/image_25012025_05_30_02_322649_0002.jpg
/home/pi/Desktop/images/25012025/05/30/image_25012025_05_30_02_322649_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":["1331252606","1331252554","1331252557","1331252602","1331252604","1331252526"],"photo_ids_order":["1331252526","1331252554","1331252557","1331252602","1331252604","1331252606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ff43dae016b427cce65f10add9fad831.jpg","text":"TemporaryFile(/tmp/multipartBody1810956981357629160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786439103,"filename":"image_25012025_05_30_02_322649_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d47e5c6e8ded7ab68b3ec96fd01ac04f.jpg","text":"TemporaryFile(/tmp/multipartBody3080773399520841738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786439103,"filename":"image_25012025_05_29_02_800897_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/153b4238dd07c8dbfe5a230394af511d.jpg","text":"TemporaryFile(/tmp/multipartBody4837666045694666999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786439103,"filename":"image_25012025_05_30_02_322649_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a32f2825ff0809d8450bf7c5f6c452b8.jpg","text":"TemporaryFile(/tmp/multipartBody5756474535549981284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786439103,"filename":"image_25012025_05_30_02_322649_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c55d9ae9d81769dccefd358a264b21ca.jpg","text":"TemporaryFile(/tmp/multipartBody5342939200661833931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786439103,"filename":"image_25012025_05_30_02_322649_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d0aaca37632081dafe60f7e4cb0e9c8d.jpg","text":"TemporaryFile(/tmp/multipartBody911467474032598753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786439103,"filename":"image_25012025_05_29_02_800897_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331252557","file1":"1331252554","file0":"1331252526","file4":"1331252604","file5":"1331252606","file3":"1331252602"},"map_files_photo_id_array":[{"photo_id":"1331252606","filename":"file5"},{"photo_id":"1331252557","filename":"file2"},{"photo_id":"1331252604","filename":"file4"},{"photo_id":"1331252554","filename":"file1"},{"photo_id":"1331252526","filename":"file0"},{"photo_id":"1331252602","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331252606":["hashtag1","hashtag2"]},{"1331252554":["hashtag1","hashtag2"]},{"1331252557":["hashtag1","hashtag2"]},{"1331252602":["hashtag1","hashtag2"]},{"1331252604":["hashtag1","hashtag2"]},{"1331252526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331252606, 1331252554, 1331252557, 1331252602, 1331252604, 1331252526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.10557222366333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:27:21.964010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/31/image_25012025_05_31_02_838450_0000.jpg', '/home/pi/Desktop/images/25012025/05/31/image_25012025_05_31_02_838450_0001.jpg', '/home/pi/Desktop/images/25012025/05/31/image_25012025_05_31_02_838450_0002.jpg', '/home/pi/Desktop/images/25012025/05/31/image_25012025_05_31_02_838450_0003.jpg', '/home/pi/Desktop/images/25012025/05/32/image_25012025_05_32_02_326937_0000.jpg', '/home/pi/Desktop/images/25012025/05/32/image_25012025_05_32_02_326937_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/31/image_25012025_05_31_02_838450_0000.jpg
/home/pi/Desktop/images/25012025/05/31/image_25012025_05_31_02_838450_0001.jpg
/home/pi/Desktop/images/25012025/05/31/image_25012025_05_31_02_838450_0002.jpg
/home/pi/Desktop/images/25012025/05/31/image_25012025_05_31_02_838450_0003.jpg
/home/pi/Desktop/images/25012025/05/32/image_25012025_05_32_02_326937_0000.jpg
/home/pi/Desktop/images/25012025/05/32/image_25012025_05_32_02_326937_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331252900","1331252950","1331252836","1331252700","1331252762","1331252666"],"photo_ids_order":["1331252666","1331252700","1331252762","1331252836","1331252900","1331252950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/534762b2f76d9881944c4a08da38a276.jpg","text":"TemporaryFile(/tmp/multipartBody117901188172700610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786518298,"filename":"image_25012025_05_32_02_326937_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f495b3e35eb214cb9daa2b73a2c9f8ab.jpg","text":"TemporaryFile(/tmp/multipartBody7166929850069177973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786518298,"filename":"image_25012025_05_32_02_326937_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/962e6a53502ef93068020144fea63215.jpg","text":"TemporaryFile(/tmp/multipartBody9125525657400549208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786518298,"filename":"image_25012025_05_31_02_838450_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/893abef5c26152f228b5cd67e4c4fcb0.jpg","text":"TemporaryFile(/tmp/multipartBody6990018993643539435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786518298,"filename":"image_25012025_05_31_02_838450_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d02de36c5ac08b9783f2e69ddd906e0f.jpg","text":"TemporaryFile(/tmp/multipartBody397322984984783194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786518298,"filename":"image_25012025_05_31_02_838450_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1994648085a3f46004f2420c2b0f45b3.jpg","text":"TemporaryFile(/tmp/multipartBody6677448900008281805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786518298,"filename":"image_25012025_05_31_02_838450_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331252762","file1":"1331252700","file0":"1331252666","file4":"1331252900","file5":"1331252950","file3":"1331252836"},"map_files_photo_id_array":[{"photo_id":"1331252950","filename":"file5"},{"photo_id":"1331252762","filename":"file2"},{"photo_id":"1331252900","filename":"file4"},{"photo_id":"1331252700","filename":"file1"},{"photo_id":"1331252666","filename":"file0"},{"photo_id":"1331252836","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331252900":["hashtag1","hashtag2"]},{"1331252950":["hashtag1","hashtag2"]},{"1331252836":["hashtag1","hashtag2"]},{"1331252700":["hashtag1","hashtag2"]},{"1331252762":["hashtag1","hashtag2"]},{"1331252666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331252900, 1331252950, 1331252836, 1331252700, 1331252762, 1331252666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.079957008361816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:28:22.438864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/32/image_25012025_05_32_02_326937_0002.jpg', '/home/pi/Desktop/images/25012025/05/32/image_25012025_05_32_02_326937_0003.jpg', '/home/pi/Desktop/images/25012025/05/33/image_25012025_05_33_02_834591_0000.jpg', '/home/pi/Desktop/images/25012025/05/33/image_25012025_05_33_02_834591_0001.jpg', '/home/pi/Desktop/images/25012025/05/33/image_25012025_05_33_02_834591_0002.jpg', '/home/pi/Desktop/images/25012025/05/33/image_25012025_05_33_02_834591_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/32/image_25012025_05_32_02_326937_0002.jpg
/home/pi/Desktop/images/25012025/05/32/image_25012025_05_32_02_326937_0003.jpg
/home/pi/Desktop/images/25012025/05/33/image_25012025_05_33_02_834591_0000.jpg
/home/pi/Desktop/images/25012025/05/33/image_25012025_05_33_02_834591_0001.jpg
/home/pi/Desktop/images/25012025/05/33/image_25012025_05_33_02_834591_0002.jpg
/home/pi/Desktop/images/25012025/05/33/image_25012025_05_33_02_834591_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331253448","1331253508","1331253717","1331253683","1331253395","1331253575"],"photo_ids_order":["1331253395","1331253448","1331253508","1331253575","1331253683","1331253717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/93445bd4834427601dc80ff39d9f4c42.jpg","text":"TemporaryFile(/tmp/multipartBody7646739592470542251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786578599,"filename":"image_25012025_05_32_02_326937_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a0b30d7fe07fd9588879b6bd32a802d2.jpg","text":"TemporaryFile(/tmp/multipartBody6486125317035847088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786578599,"filename":"image_25012025_05_33_02_834591_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/59303ade4b6f5d4170c0ebf37e2d0d10.jpg","text":"TemporaryFile(/tmp/multipartBody8014752850879941297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786578599,"filename":"image_25012025_05_33_02_834591_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8565ec9da65569fa0426b55ca41775ca.jpg","text":"TemporaryFile(/tmp/multipartBody8584794193525323732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786578599,"filename":"image_25012025_05_33_02_834591_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/13655bc5c08f5b1c2d7dcff109b7f8f7.jpg","text":"TemporaryFile(/tmp/multipartBody7635212536843155970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786578599,"filename":"image_25012025_05_32_02_326937_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8e646de8ce0da0a436a9d87a230868b6.jpg","text":"TemporaryFile(/tmp/multipartBody7430545789841750059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786578599,"filename":"image_25012025_05_33_02_834591_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331253508","file1":"1331253448","file0":"1331253395","file4":"1331253683","file5":"1331253717","file3":"1331253575"},"map_files_photo_id_array":[{"photo_id":"1331253717","filename":"file5"},{"photo_id":"1331253508","filename":"file2"},{"photo_id":"1331253683","filename":"file4"},{"photo_id":"1331253448","filename":"file1"},{"photo_id":"1331253395","filename":"file0"},{"photo_id":"1331253575","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331253448":["hashtag1","hashtag2"]},{"1331253508":["hashtag1","hashtag2"]},{"1331253717":["hashtag1","hashtag2"]},{"1331253683":["hashtag1","hashtag2"]},{"1331253395":["hashtag1","hashtag2"]},{"1331253575":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331253448, 1331253508, 1331253717, 1331253683, 1331253395, 1331253575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.59160327911377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:29:21.895332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/34/image_25012025_05_34_02_346654_0000.jpg', '/home/pi/Desktop/images/25012025/05/34/image_25012025_05_34_02_346654_0001.jpg', '/home/pi/Desktop/images/25012025/05/34/image_25012025_05_34_02_346654_0002.jpg', '/home/pi/Desktop/images/25012025/05/34/image_25012025_05_34_02_346654_0003.jpg', '/home/pi/Desktop/images/25012025/05/35/image_25012025_05_35_02_836731_0000.jpg', '/home/pi/Desktop/images/25012025/05/35/image_25012025_05_35_02_836731_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/34/image_25012025_05_34_02_346654_0000.jpg
/home/pi/Desktop/images/25012025/05/34/image_25012025_05_34_02_346654_0001.jpg
/home/pi/Desktop/images/25012025/05/34/image_25012025_05_34_02_346654_0002.jpg
/home/pi/Desktop/images/25012025/05/34/image_25012025_05_34_02_346654_0003.jpg
/home/pi/Desktop/images/25012025/05/35/image_25012025_05_35_02_836731_0000.jpg
/home/pi/Desktop/images/25012025/05/35/image_25012025_05_35_02_836731_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331253885","1331253957","1331253936","1331253915","1331253903","1331253760"],"photo_ids_order":["1331253760","1331253885","1331253903","1331253915","1331253936","1331253957"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4ac9c948c1f10be305b5600bd1214a7e.jpg","text":"TemporaryFile(/tmp/multipartBody7529489926703638785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786638753,"filename":"image_25012025_05_34_02_346654_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3312ad6246a5919f3655cb43b0d9bcf3.jpg","text":"TemporaryFile(/tmp/multipartBody2402981181626748965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786638753,"filename":"image_25012025_05_35_02_836731_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bd56d6ed8520711aa0acbd0e4a7c55d7.jpg","text":"TemporaryFile(/tmp/multipartBody187307688828694062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786638753,"filename":"image_25012025_05_35_02_836731_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/85ac39ff5e42c82b41550577fe9577f1.jpg","text":"TemporaryFile(/tmp/multipartBody2907177823427561303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786638753,"filename":"image_25012025_05_34_02_346654_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/62ecb28c2f9c5cd835f1728898091224.jpg","text":"TemporaryFile(/tmp/multipartBody4584934216606771375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786638753,"filename":"image_25012025_05_34_02_346654_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/73977cda600237bd0283552025663ab0.jpg","text":"TemporaryFile(/tmp/multipartBody4694333682525057706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786638753,"filename":"image_25012025_05_34_02_346654_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331253903","file1":"1331253885","file0":"1331253760","file4":"1331253936","file5":"1331253957","file3":"1331253915"},"map_files_photo_id_array":[{"photo_id":"1331253957","filename":"file5"},{"photo_id":"1331253903","filename":"file2"},{"photo_id":"1331253936","filename":"file4"},{"photo_id":"1331253885","filename":"file1"},{"photo_id":"1331253760","filename":"file0"},{"photo_id":"1331253915","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331253885":["hashtag1","hashtag2"]},{"1331253957":["hashtag1","hashtag2"]},{"1331253936":["hashtag1","hashtag2"]},{"1331253915":["hashtag1","hashtag2"]},{"1331253903":["hashtag1","hashtag2"]},{"1331253760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331253885, 1331253957, 1331253936, 1331253915, 1331253903, 1331253760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.86635684967041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:30:22.394147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/35/image_25012025_05_35_02_836731_0002.jpg', '/home/pi/Desktop/images/25012025/05/35/image_25012025_05_35_02_836731_0003.jpg', '/home/pi/Desktop/images/25012025/05/36/image_25012025_05_36_02_370608_0000.jpg', '/home/pi/Desktop/images/25012025/05/36/image_25012025_05_36_02_370608_0001.jpg', '/home/pi/Desktop/images/25012025/05/36/image_25012025_05_36_02_370608_0002.jpg', '/home/pi/Desktop/images/25012025/05/36/image_25012025_05_36_02_370608_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/35/image_25012025_05_35_02_836731_0002.jpg
/home/pi/Desktop/images/25012025/05/35/image_25012025_05_35_02_836731_0003.jpg
/home/pi/Desktop/images/25012025/05/36/image_25012025_05_36_02_370608_0000.jpg
/home/pi/Desktop/images/25012025/05/36/image_25012025_05_36_02_370608_0001.jpg
/home/pi/Desktop/images/25012025/05/36/image_25012025_05_36_02_370608_0002.jpg
/home/pi/Desktop/images/25012025/05/36/image_25012025_05_36_02_370608_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331254086","1331254536","1331254224","1331254026","1331254382","1331254456"],"photo_ids_order":["1331254026","1331254086","1331254224","1331254382","1331254456","1331254536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c6ab43f540871cb7ffae468968409e6d.jpg","text":"TemporaryFile(/tmp/multipartBody1755249475975523916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786699126,"filename":"image_25012025_05_35_02_836731_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/047682f83f1c255d5b6f2d39185a0606.jpg","text":"TemporaryFile(/tmp/multipartBody5358387382463513195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786699126,"filename":"image_25012025_05_36_02_370608_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/db79e6f00b0596bc6c166e999ffcb503.jpg","text":"TemporaryFile(/tmp/multipartBody384443073354352976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786699126,"filename":"image_25012025_05_36_02_370608_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a1e42feab1381efcfe1a0d14816c7695.jpg","text":"TemporaryFile(/tmp/multipartBody4611951960680765220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786699126,"filename":"image_25012025_05_35_02_836731_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c1a78dc5d69ea98ac719eaa4c2f18aa6.jpg","text":"TemporaryFile(/tmp/multipartBody3074308678366358751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786699126,"filename":"image_25012025_05_36_02_370608_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0fdc4e36c6d2ddddc2a69d6530ce7810.jpg","text":"TemporaryFile(/tmp/multipartBody2394926167169389988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786699126,"filename":"image_25012025_05_36_02_370608_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331254224","file1":"1331254086","file0":"1331254026","file4":"1331254456","file5":"1331254536","file3":"1331254382"},"map_files_photo_id_array":[{"photo_id":"1331254536","filename":"file5"},{"photo_id":"1331254224","filename":"file2"},{"photo_id":"1331254456","filename":"file4"},{"photo_id":"1331254086","filename":"file1"},{"photo_id":"1331254026","filename":"file0"},{"photo_id":"1331254382","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331254086":["hashtag1","hashtag2"]},{"1331254536":["hashtag1","hashtag2"]},{"1331254224":["hashtag1","hashtag2"]},{"1331254026":["hashtag1","hashtag2"]},{"1331254382":["hashtag1","hashtag2"]},{"1331254456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331254086, 1331254536, 1331254224, 1331254026, 1331254382, 1331254456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.76457858085632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:31:21.875760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/37/image_25012025_05_37_02_932126_0000.jpg', '/home/pi/Desktop/images/25012025/05/37/image_25012025_05_37_02_932126_0001.jpg', '/home/pi/Desktop/images/25012025/05/37/image_25012025_05_37_02_932126_0002.jpg', '/home/pi/Desktop/images/25012025/05/37/image_25012025_05_37_02_932126_0003.jpg', '/home/pi/Desktop/images/25012025/05/38/image_25012025_05_38_02_373365_0000.jpg', '/home/pi/Desktop/images/25012025/05/38/image_25012025_05_38_02_373365_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/37/image_25012025_05_37_02_932126_0000.jpg
/home/pi/Desktop/images/25012025/05/37/image_25012025_05_37_02_932126_0001.jpg
/home/pi/Desktop/images/25012025/05/37/image_25012025_05_37_02_932126_0002.jpg
/home/pi/Desktop/images/25012025/05/37/image_25012025_05_37_02_932126_0003.jpg
/home/pi/Desktop/images/25012025/05/38/image_25012025_05_38_02_373365_0000.jpg
/home/pi/Desktop/images/25012025/05/38/image_25012025_05_38_02_373365_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331254896","1331254884","1331254892","1331254886","1331254889","1331254870"],"photo_ids_order":["1331254870","1331254884","1331254886","1331254889","1331254892","1331254896"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a099d4ac038e6d3154f42b74608a015a.jpg","text":"TemporaryFile(/tmp/multipartBody7242800066400722306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786758284,"filename":"image_25012025_05_38_02_373365_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/16844cde446cdd981bd9c1dbcd950c79.jpg","text":"TemporaryFile(/tmp/multipartBody2267201665862132284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786758284,"filename":"image_25012025_05_37_02_932126_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/48c6acac508341cbcc48598a20c53b77.jpg","text":"TemporaryFile(/tmp/multipartBody7880494516122423614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786758284,"filename":"image_25012025_05_38_02_373365_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/483d76a77b3c445b529d06785071af11.jpg","text":"TemporaryFile(/tmp/multipartBody2824686315021194552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786758284,"filename":"image_25012025_05_37_02_932126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0252595c3b077043bf6d22df5bff5aa0.jpg","text":"TemporaryFile(/tmp/multipartBody9063268163823425099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786758284,"filename":"image_25012025_05_37_02_932126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1702ef23ebe7881103c4d1ee3833c7e2.jpg","text":"TemporaryFile(/tmp/multipartBody8851082827605097351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786758284,"filename":"image_25012025_05_37_02_932126_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331254886","file1":"1331254884","file0":"1331254870","file4":"1331254892","file5":"1331254896","file3":"1331254889"},"map_files_photo_id_array":[{"photo_id":"1331254896","filename":"file5"},{"photo_id":"1331254886","filename":"file2"},{"photo_id":"1331254892","filename":"file4"},{"photo_id":"1331254884","filename":"file1"},{"photo_id":"1331254870","filename":"file0"},{"photo_id":"1331254889","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331254896":["hashtag1","hashtag2"]},{"1331254884":["hashtag1","hashtag2"]},{"1331254892":["hashtag1","hashtag2"]},{"1331254886":["hashtag1","hashtag2"]},{"1331254889":["hashtag1","hashtag2"]},{"1331254870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331254896, 1331254884, 1331254892, 1331254886, 1331254889, 1331254870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.92253088951111 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-25 07:33:02.565357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/38/image_25012025_05_38_02_373365_0002.jpg', '/home/pi/Desktop/images/25012025/05/38/image_25012025_05_38_02_373365_0003.jpg', '/home/pi/Desktop/images/25012025/05/39/image_25012025_05_39_02_896512_0000.jpg', '/home/pi/Desktop/images/25012025/05/39/image_25012025_05_39_02_896512_0001.jpg', '/home/pi/Desktop/images/25012025/05/39/image_25012025_05_39_02_896512_0002.jpg', '/home/pi/Desktop/images/25012025/05/39/image_25012025_05_39_02_896512_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/38/image_25012025_05_38_02_373365_0002.jpg
/home/pi/Desktop/images/25012025/05/38/image_25012025_05_38_02_373365_0003.jpg
/home/pi/Desktop/images/25012025/05/39/image_25012025_05_39_02_896512_0000.jpg
/home/pi/Desktop/images/25012025/05/39/image_25012025_05_39_02_896512_0001.jpg
/home/pi/Desktop/images/25012025/05/39/image_25012025_05_39_02_896512_0002.jpg
/home/pi/Desktop/images/25012025/05/39/image_25012025_05_39_02_896512_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331255148","1331255214","1331255159","1331255141","1331255161","1331255152"],"photo_ids_order":["1331255141","1331255148","1331255152","1331255159","1331255161","1331255214"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b2cf1ceb4aa48d26808ff2dc42f89842.jpg","text":"TemporaryFile(/tmp/multipartBody5700967015469870380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786858552,"filename":"image_25012025_05_38_02_373365_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/841413856b1401312b7d872ff1128674.jpg","text":"TemporaryFile(/tmp/multipartBody7328242745368234560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786858552,"filename":"image_25012025_05_39_02_896512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e8098531e246f44100707fc7bc7ef3c3.jpg","text":"TemporaryFile(/tmp/multipartBody6959419590445479979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786858552,"filename":"image_25012025_05_39_02_896512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/299aa07b126a3c74d0b59ee421024cb6.jpg","text":"TemporaryFile(/tmp/multipartBody456134709320885990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786858552,"filename":"image_25012025_05_38_02_373365_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6ae544d9bd66632e1123c12398340b09.jpg","text":"TemporaryFile(/tmp/multipartBody6304285278701923818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786858552,"filename":"image_25012025_05_39_02_896512_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/53c34e7b8cb1c08c0084e9bc142414fc.jpg","text":"TemporaryFile(/tmp/multipartBody7551766744127563930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786858552,"filename":"image_25012025_05_39_02_896512_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331255152","file1":"1331255148","file0":"1331255141","file4":"1331255161","file5":"1331255214","file3":"1331255159"},"map_files_photo_id_array":[{"photo_id":"1331255214","filename":"file5"},{"photo_id":"1331255152","filename":"file2"},{"photo_id":"1331255161","filename":"file4"},{"photo_id":"1331255148","filename":"file1"},{"photo_id":"1331255141","filename":"file0"},{"photo_id":"1331255159","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331255148":["hashtag1","hashtag2"]},{"1331255214":["hashtag1","hashtag2"]},{"1331255159":["hashtag1","hashtag2"]},{"1331255141":["hashtag1","hashtag2"]},{"1331255161":["hashtag1","hashtag2"]},{"1331255152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331255148, 1331255214, 1331255159, 1331255141, 1331255161, 1331255152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.71794390678406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 07:34:03.092408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/40/image_25012025_05_40_02_416269_0000.jpg', '/home/pi/Desktop/images/25012025/05/40/image_25012025_05_40_02_416269_0001.jpg', '/home/pi/Desktop/images/25012025/05/40/image_25012025_05_40_02_416269_0002.jpg', '/home/pi/Desktop/images/25012025/05/40/image_25012025_05_40_02_416269_0003.jpg', '/home/pi/Desktop/images/25012025/05/41/image_25012025_05_41_02_927111_0000.jpg', '/home/pi/Desktop/images/25012025/05/41/image_25012025_05_41_02_927111_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/40/image_25012025_05_40_02_416269_0000.jpg
/home/pi/Desktop/images/25012025/05/40/image_25012025_05_40_02_416269_0001.jpg
/home/pi/Desktop/images/25012025/05/40/image_25012025_05_40_02_416269_0002.jpg
/home/pi/Desktop/images/25012025/05/40/image_25012025_05_40_02_416269_0003.jpg
/home/pi/Desktop/images/25012025/05/41/image_25012025_05_41_02_927111_0000.jpg
/home/pi/Desktop/images/25012025/05/41/image_25012025_05_41_02_927111_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":["1331255585","1331255573","1331255582","1331255576","1331255579","1331255563"],"photo_ids_order":["1331255563","1331255573","1331255576","1331255579","1331255582","1331255585"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/df3078c9b37a25df643e43a578ef7704.jpg","text":"TemporaryFile(/tmp/multipartBody3830866071860906188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786919529,"filename":"image_25012025_05_41_02_927111_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eaa12f6f4c04843c65985e74ca4de06e.jpg","text":"TemporaryFile(/tmp/multipartBody7273471296299283216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786919529,"filename":"image_25012025_05_40_02_416269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6a42c3b0253fc9edaa20a0d5dd53f595.jpg","text":"TemporaryFile(/tmp/multipartBody8925709794932918696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786919529,"filename":"image_25012025_05_41_02_927111_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/796ce8fd847a1672d5473eb801da2223.jpg","text":"TemporaryFile(/tmp/multipartBody1141475875626984717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786919529,"filename":"image_25012025_05_40_02_416269_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/256c26391c7457263a37556090ea38ac.jpg","text":"TemporaryFile(/tmp/multipartBody8070076707983300392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786919529,"filename":"image_25012025_05_40_02_416269_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d6db73aabbfcf6f72d6cf1718a93158c.jpg","text":"TemporaryFile(/tmp/multipartBody3965782816023159298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786919529,"filename":"image_25012025_05_40_02_416269_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331255576","file1":"1331255573","file0":"1331255563","file4":"1331255582","file5":"1331255585","file3":"1331255579"},"map_files_photo_id_array":[{"photo_id":"1331255585","filename":"file5"},{"photo_id":"1331255576","filename":"file2"},{"photo_id":"1331255582","filename":"file4"},{"photo_id":"1331255573","filename":"file1"},{"photo_id":"1331255563","filename":"file0"},{"photo_id":"1331255579","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331255585":["hashtag1","hashtag2"]},{"1331255573":["hashtag1","hashtag2"]},{"1331255582":["hashtag1","hashtag2"]},{"1331255576":["hashtag1","hashtag2"]},{"1331255579":["hashtag1","hashtag2"]},{"1331255563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331255585, 1331255573, 1331255582, 1331255576, 1331255579, 1331255563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.88159990310669 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:35:22.076499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/41/image_25012025_05_41_02_927111_0002.jpg', '/home/pi/Desktop/images/25012025/05/41/image_25012025_05_41_02_927111_0003.jpg', '/home/pi/Desktop/images/25012025/05/42/image_25012025_05_42_02_428417_0000.jpg', '/home/pi/Desktop/images/25012025/05/42/image_25012025_05_42_02_428417_0001.jpg', '/home/pi/Desktop/images/25012025/05/42/image_25012025_05_42_02_428417_0002.jpg', '/home/pi/Desktop/images/25012025/05/42/image_25012025_05_42_02_428417_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/41/image_25012025_05_41_02_927111_0002.jpg
/home/pi/Desktop/images/25012025/05/41/image_25012025_05_41_02_927111_0003.jpg
/home/pi/Desktop/images/25012025/05/42/image_25012025_05_42_02_428417_0000.jpg
/home/pi/Desktop/images/25012025/05/42/image_25012025_05_42_02_428417_0001.jpg
/home/pi/Desktop/images/25012025/05/42/image_25012025_05_42_02_428417_0002.jpg
/home/pi/Desktop/images/25012025/05/42/image_25012025_05_42_02_428417_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331255616","1331255601","1331255619","1331255612","1331255605","1331255608"],"photo_ids_order":["1331255601","1331255605","1331255608","1331255612","1331255616","1331255619"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3efd8cdd51d4585efae1dcc8e2607d25.jpg","text":"TemporaryFile(/tmp/multipartBody8173227308015349914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786998550,"filename":"image_25012025_05_42_02_428417_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/de3b83fa9220907c9e323c48a523303e.jpg","text":"TemporaryFile(/tmp/multipartBody8926266688890567713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786998550,"filename":"image_25012025_05_41_02_927111_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/953f387f701660b350c15dbb6a8ae359.jpg","text":"TemporaryFile(/tmp/multipartBody2341692081498602587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786998550,"filename":"image_25012025_05_42_02_428417_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/49b9e79cfc152440f274738a7d1c5b16.jpg","text":"TemporaryFile(/tmp/multipartBody2492550447924610811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786998550,"filename":"image_25012025_05_42_02_428417_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d043d97c200ff6d9c9446c8039df69e7.jpg","text":"TemporaryFile(/tmp/multipartBody6979412205849015284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786998550,"filename":"image_25012025_05_41_02_927111_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e235cee5647fb09b5433299833a6190f.jpg","text":"TemporaryFile(/tmp/multipartBody8280925660732688060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737786998550,"filename":"image_25012025_05_42_02_428417_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331255608","file1":"1331255605","file0":"1331255601","file4":"1331255616","file5":"1331255619","file3":"1331255612"},"map_files_photo_id_array":[{"photo_id":"1331255619","filename":"file5"},{"photo_id":"1331255608","filename":"file2"},{"photo_id":"1331255616","filename":"file4"},{"photo_id":"1331255605","filename":"file1"},{"photo_id":"1331255601","filename":"file0"},{"photo_id":"1331255612","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331255616":["hashtag1","hashtag2"]},{"1331255601":["hashtag1","hashtag2"]},{"1331255619":["hashtag1","hashtag2"]},{"1331255612":["hashtag1","hashtag2"]},{"1331255605":["hashtag1","hashtag2"]},{"1331255608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331255616, 1331255601, 1331255619, 1331255612, 1331255605, 1331255608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.15210723876953 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:36:22.651236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/43/image_25012025_05_43_02_922270_0000.jpg', '/home/pi/Desktop/images/25012025/05/43/image_25012025_05_43_02_922270_0001.jpg', '/home/pi/Desktop/images/25012025/05/43/image_25012025_05_43_02_922270_0002.jpg', '/home/pi/Desktop/images/25012025/05/43/image_25012025_05_43_02_922270_0003.jpg', '/home/pi/Desktop/images/25012025/05/44/image_25012025_05_44_02_495034_0000.jpg', '/home/pi/Desktop/images/25012025/05/44/image_25012025_05_44_02_495034_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/43/image_25012025_05_43_02_922270_0000.jpg
/home/pi/Desktop/images/25012025/05/43/image_25012025_05_43_02_922270_0001.jpg
/home/pi/Desktop/images/25012025/05/43/image_25012025_05_43_02_922270_0002.jpg
/home/pi/Desktop/images/25012025/05/43/image_25012025_05_43_02_922270_0003.jpg
/home/pi/Desktop/images/25012025/05/44/image_25012025_05_44_02_495034_0000.jpg
/home/pi/Desktop/images/25012025/05/44/image_25012025_05_44_02_495034_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331255703","1331255867","1331255660","1331255855","1331255843","1331255824"],"photo_ids_order":["1331255660","1331255703","1331255824","1331255843","1331255855","1331255867"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e23ad98a07069651bf318ddb82be4766.jpg","text":"TemporaryFile(/tmp/multipartBody108240036949026502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787059262,"filename":"image_25012025_05_43_02_922270_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d7c0f33d589d473bce1c6a2472c773ce.jpg","text":"TemporaryFile(/tmp/multipartBody2869543410226078803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787059262,"filename":"image_25012025_05_44_02_495034_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/244c0d794a3e9d7d4329d932f153faab.jpg","text":"TemporaryFile(/tmp/multipartBody41213238742915814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787059262,"filename":"image_25012025_05_43_02_922270_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8bd5c8da2ada66761c94b50b6821c936.jpg","text":"TemporaryFile(/tmp/multipartBody5988954059914520508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787059262,"filename":"image_25012025_05_44_02_495034_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d19ad937094d9ed95992d7f48bef503d.jpg","text":"TemporaryFile(/tmp/multipartBody6199944359940905523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787059262,"filename":"image_25012025_05_43_02_922270_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/188c7b30c21fb8d24b90eaa1d6a1be1f.jpg","text":"TemporaryFile(/tmp/multipartBody8522517675576170078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787059262,"filename":"image_25012025_05_43_02_922270_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331255824","file1":"1331255703","file0":"1331255660","file4":"1331255855","file5":"1331255867","file3":"1331255843"},"map_files_photo_id_array":[{"photo_id":"1331255867","filename":"file5"},{"photo_id":"1331255824","filename":"file2"},{"photo_id":"1331255855","filename":"file4"},{"photo_id":"1331255703","filename":"file1"},{"photo_id":"1331255660","filename":"file0"},{"photo_id":"1331255843","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331255703":["hashtag1","hashtag2"]},{"1331255867":["hashtag1","hashtag2"]},{"1331255660":["hashtag1","hashtag2"]},{"1331255855":["hashtag1","hashtag2"]},{"1331255843":["hashtag1","hashtag2"]},{"1331255824":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331255703, 1331255867, 1331255660, 1331255855, 1331255843, 1331255824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.46328330039978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:37:22.063037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/44/image_25012025_05_44_02_495034_0002.jpg', '/home/pi/Desktop/images/25012025/05/44/image_25012025_05_44_02_495034_0003.jpg', '/home/pi/Desktop/images/25012025/05/45/image_25012025_05_45_03_025362_0000.jpg', '/home/pi/Desktop/images/25012025/05/45/image_25012025_05_45_03_025362_0001.jpg', '/home/pi/Desktop/images/25012025/05/45/image_25012025_05_45_03_025362_0002.jpg', '/home/pi/Desktop/images/25012025/05/45/image_25012025_05_45_03_025362_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/44/image_25012025_05_44_02_495034_0002.jpg
/home/pi/Desktop/images/25012025/05/44/image_25012025_05_44_02_495034_0003.jpg
/home/pi/Desktop/images/25012025/05/45/image_25012025_05_45_03_025362_0000.jpg
/home/pi/Desktop/images/25012025/05/45/image_25012025_05_45_03_025362_0001.jpg
/home/pi/Desktop/images/25012025/05/45/image_25012025_05_45_03_025362_0002.jpg
/home/pi/Desktop/images/25012025/05/45/image_25012025_05_45_03_025362_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":["1331255922","1331255925","1331255927","1331255930","1331255938","1331255920"],"photo_ids_order":["1331255920","1331255922","1331255925","1331255927","1331255930","1331255938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b1b686a7a94e473439aa7ee60b2f5ae5.jpg","text":"TemporaryFile(/tmp/multipartBody2514460042153871233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787118406,"filename":"image_25012025_05_44_02_495034_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a401a0ba6bf17de4aa88c2e09982a93a.jpg","text":"TemporaryFile(/tmp/multipartBody2772860411427118297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787118406,"filename":"image_25012025_05_45_03_025362_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6b61218d8febadf45ab6e7c4774b2171.jpg","text":"TemporaryFile(/tmp/multipartBody4196489504293474721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787118406,"filename":"image_25012025_05_45_03_025362_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/42b4f94f70da90a121ce5fc22fde3799.jpg","text":"TemporaryFile(/tmp/multipartBody8619791594993453715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787118406,"filename":"image_25012025_05_45_03_025362_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2aba88dd2754e2af33f9a3fa552d6f85.jpg","text":"TemporaryFile(/tmp/multipartBody6136055779331128313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787118406,"filename":"image_25012025_05_45_03_025362_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fb531f0fefce8dd589e8c2e77cb7efd3.jpg","text":"TemporaryFile(/tmp/multipartBody3156545344718040268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787118406,"filename":"image_25012025_05_44_02_495034_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331255925","file1":"1331255922","file0":"1331255920","file4":"1331255930","file5":"1331255938","file3":"1331255927"},"map_files_photo_id_array":[{"photo_id":"1331255938","filename":"file5"},{"photo_id":"1331255925","filename":"file2"},{"photo_id":"1331255930","filename":"file4"},{"photo_id":"1331255922","filename":"file1"},{"photo_id":"1331255920","filename":"file0"},{"photo_id":"1331255927","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331255922":["hashtag1","hashtag2"]},{"1331255925":["hashtag1","hashtag2"]},{"1331255927":["hashtag1","hashtag2"]},{"1331255930":["hashtag1","hashtag2"]},{"1331255938":["hashtag1","hashtag2"]},{"1331255920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331255922, 1331255925, 1331255927, 1331255930, 1331255938, 1331255920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.21165370941162 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 07:39:02.800855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/46/image_25012025_05_46_02_566427_0000.jpg', '/home/pi/Desktop/images/25012025/05/46/image_25012025_05_46_02_566427_0001.jpg', '/home/pi/Desktop/images/25012025/05/46/image_25012025_05_46_02_566427_0002.jpg', '/home/pi/Desktop/images/25012025/05/46/image_25012025_05_46_02_566427_0003.jpg', '/home/pi/Desktop/images/25012025/05/47/image_25012025_05_47_03_147858_0000.jpg', '/home/pi/Desktop/images/25012025/05/47/image_25012025_05_47_03_147858_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/46/image_25012025_05_46_02_566427_0000.jpg
/home/pi/Desktop/images/25012025/05/46/image_25012025_05_46_02_566427_0001.jpg
/home/pi/Desktop/images/25012025/05/46/image_25012025_05_46_02_566427_0002.jpg
/home/pi/Desktop/images/25012025/05/46/image_25012025_05_46_02_566427_0003.jpg
/home/pi/Desktop/images/25012025/05/47/image_25012025_05_47_03_147858_0000.jpg
/home/pi/Desktop/images/25012025/05/47/image_25012025_05_47_03_147858_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":["1331256009","1331256002","1331256011","1331256013","1331256007","1331256016"],"photo_ids_order":["1331256002","1331256007","1331256009","1331256011","1331256013","1331256016"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/caad4fc18da8c0a41e6086e6276b809f.jpg","text":"TemporaryFile(/tmp/multipartBody2545772892625624787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787219516,"filename":"image_25012025_05_46_02_566427_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/db628832ced4aee898612721a7e9f98c.jpg","text":"TemporaryFile(/tmp/multipartBody6185979120989217882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787219516,"filename":"image_25012025_05_46_02_566427_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/70db2c9613f01172dccf4f2d42dcdf13.jpg","text":"TemporaryFile(/tmp/multipartBody2406819052065483355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787219516,"filename":"image_25012025_05_46_02_566427_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/92efb44cf5f086de2f5235cb54d44065.jpg","text":"TemporaryFile(/tmp/multipartBody137825558918451882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787219516,"filename":"image_25012025_05_47_03_147858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d0481aa5366265bd6a97d5ecf343672f.jpg","text":"TemporaryFile(/tmp/multipartBody5104872876900324100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787219516,"filename":"image_25012025_05_46_02_566427_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c5c7a2ba357ade5d265c949a268e9878.jpg","text":"TemporaryFile(/tmp/multipartBody3187304815668699950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787219516,"filename":"image_25012025_05_47_03_147858_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331256009","file1":"1331256007","file0":"1331256002","file4":"1331256013","file5":"1331256016","file3":"1331256011"},"map_files_photo_id_array":[{"photo_id":"1331256016","filename":"file5"},{"photo_id":"1331256009","filename":"file2"},{"photo_id":"1331256013","filename":"file4"},{"photo_id":"1331256007","filename":"file1"},{"photo_id":"1331256002","filename":"file0"},{"photo_id":"1331256011","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331256009":["hashtag1","hashtag2"]},{"1331256002":["hashtag1","hashtag2"]},{"1331256011":["hashtag1","hashtag2"]},{"1331256013":["hashtag1","hashtag2"]},{"1331256007":["hashtag1","hashtag2"]},{"1331256016":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331256009, 1331256002, 1331256011, 1331256013, 1331256007, 1331256016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.1114456653595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:40:21.845099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/47/image_25012025_05_47_03_147858_0002.jpg', '/home/pi/Desktop/images/25012025/05/47/image_25012025_05_47_03_147858_0003.jpg', '/home/pi/Desktop/images/25012025/05/48/image_25012025_05_48_02_652151_0000.jpg', '/home/pi/Desktop/images/25012025/05/48/image_25012025_05_48_02_652151_0001.jpg', '/home/pi/Desktop/images/25012025/05/48/image_25012025_05_48_02_652151_0002.jpg', '/home/pi/Desktop/images/25012025/05/48/image_25012025_05_48_02_652151_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/47/image_25012025_05_47_03_147858_0002.jpg
/home/pi/Desktop/images/25012025/05/47/image_25012025_05_47_03_147858_0003.jpg
/home/pi/Desktop/images/25012025/05/48/image_25012025_05_48_02_652151_0000.jpg
/home/pi/Desktop/images/25012025/05/48/image_25012025_05_48_02_652151_0001.jpg
/home/pi/Desktop/images/25012025/05/48/image_25012025_05_48_02_652151_0002.jpg
/home/pi/Desktop/images/25012025/05/48/image_25012025_05_48_02_652151_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331256044","1331256038","1331256052","1331256040","1331256048","1331256042"],"photo_ids_order":["1331256038","1331256040","1331256042","1331256044","1331256048","1331256052"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6f6dca3e38e7ba66e8e4493dedefd5ad.jpg","text":"TemporaryFile(/tmp/multipartBody3729419452785638682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787298095,"filename":"image_25012025_05_48_02_652151_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e996fbd4523f73904a77b23d38b54d44.jpg","text":"TemporaryFile(/tmp/multipartBody3420316046424249048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787298095,"filename":"image_25012025_05_47_03_147858_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f5f73268c966ff1f8fcc399014afa543.jpg","text":"TemporaryFile(/tmp/multipartBody7558791977868520579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787298095,"filename":"image_25012025_05_48_02_652151_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bdb061b12f148c2f5f079543c069cb55.jpg","text":"TemporaryFile(/tmp/multipartBody3828809513685722499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787298095,"filename":"image_25012025_05_47_03_147858_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/982493cef54afaf9ef2e46af9e4e53b9.jpg","text":"TemporaryFile(/tmp/multipartBody4419533125897110078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787298095,"filename":"image_25012025_05_48_02_652151_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a548edf180b1b78f59f8052beb372abc.jpg","text":"TemporaryFile(/tmp/multipartBody8839751481972775598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787298095,"filename":"image_25012025_05_48_02_652151_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331256042","file1":"1331256040","file0":"1331256038","file4":"1331256048","file5":"1331256052","file3":"1331256044"},"map_files_photo_id_array":[{"photo_id":"1331256052","filename":"file5"},{"photo_id":"1331256042","filename":"file2"},{"photo_id":"1331256048","filename":"file4"},{"photo_id":"1331256040","filename":"file1"},{"photo_id":"1331256038","filename":"file0"},{"photo_id":"1331256044","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331256044":["hashtag1","hashtag2"]},{"1331256038":["hashtag1","hashtag2"]},{"1331256052":["hashtag1","hashtag2"]},{"1331256040":["hashtag1","hashtag2"]},{"1331256048":["hashtag1","hashtag2"]},{"1331256042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331256044, 1331256038, 1331256052, 1331256040, 1331256048, 1331256042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.495946645736694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:41:22.301310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/49/image_25012025_05_49_02_151234_0000.jpg', '/home/pi/Desktop/images/25012025/05/49/image_25012025_05_49_02_151234_0001.jpg', '/home/pi/Desktop/images/25012025/05/49/image_25012025_05_49_02_151234_0002.jpg', '/home/pi/Desktop/images/25012025/05/49/image_25012025_05_49_02_151234_0003.jpg', '/home/pi/Desktop/images/25012025/05/50/image_25012025_05_50_02_656025_0000.jpg', '/home/pi/Desktop/images/25012025/05/50/image_25012025_05_50_02_656025_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/49/image_25012025_05_49_02_151234_0000.jpg
/home/pi/Desktop/images/25012025/05/49/image_25012025_05_49_02_151234_0001.jpg
/home/pi/Desktop/images/25012025/05/49/image_25012025_05_49_02_151234_0002.jpg
/home/pi/Desktop/images/25012025/05/49/image_25012025_05_49_02_151234_0003.jpg
/home/pi/Desktop/images/25012025/05/50/image_25012025_05_50_02_656025_0000.jpg
/home/pi/Desktop/images/25012025/05/50/image_25012025_05_50_02_656025_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331256423","1331256338","1331256317","1331256524","1331256271","1331256255"],"photo_ids_order":["1331256255","1331256271","1331256317","1331256338","1331256423","1331256524"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/31e28985a211c7fd8783bad88335beb4.jpg","text":"TemporaryFile(/tmp/multipartBody1012326512725935098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787358078,"filename":"image_25012025_05_50_02_656025_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c2b4d26779068165f57987b1023a3238.jpg","text":"TemporaryFile(/tmp/multipartBody5450368641458060993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787358078,"filename":"image_25012025_05_49_02_151234_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5166d3607dda3a28dada03d8ecea5ccc.jpg","text":"TemporaryFile(/tmp/multipartBody8579677911798880084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787358078,"filename":"image_25012025_05_49_02_151234_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/db125b9b4dbf8d32d7c71991e9fbb164.jpg","text":"TemporaryFile(/tmp/multipartBody7407094760767423988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787358078,"filename":"image_25012025_05_50_02_656025_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b93b203961fa7073464fa3c8aff1a590.jpg","text":"TemporaryFile(/tmp/multipartBody1444931230986487027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787358078,"filename":"image_25012025_05_49_02_151234_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/30c1f39725ac3817874fbaef40fd9343.jpg","text":"TemporaryFile(/tmp/multipartBody430762320341995497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787358078,"filename":"image_25012025_05_49_02_151234_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331256317","file1":"1331256271","file0":"1331256255","file4":"1331256423","file5":"1331256524","file3":"1331256338"},"map_files_photo_id_array":[{"photo_id":"1331256524","filename":"file5"},{"photo_id":"1331256317","filename":"file2"},{"photo_id":"1331256423","filename":"file4"},{"photo_id":"1331256271","filename":"file1"},{"photo_id":"1331256255","filename":"file0"},{"photo_id":"1331256338","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331256423":["hashtag1","hashtag2"]},{"1331256338":["hashtag1","hashtag2"]},{"1331256317":["hashtag1","hashtag2"]},{"1331256524":["hashtag1","hashtag2"]},{"1331256271":["hashtag1","hashtag2"]},{"1331256255":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331256423, 1331256338, 1331256317, 1331256524, 1331256271, 1331256255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.415329933166504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:42:21.784004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/50/image_25012025_05_50_02_656025_0002.jpg', '/home/pi/Desktop/images/25012025/05/50/image_25012025_05_50_02_656025_0003.jpg', '/home/pi/Desktop/images/25012025/05/51/image_25012025_05_51_02_172794_0000.jpg', '/home/pi/Desktop/images/25012025/05/51/image_25012025_05_51_02_172794_0001.jpg', '/home/pi/Desktop/images/25012025/05/51/image_25012025_05_51_02_172794_0002.jpg', '/home/pi/Desktop/images/25012025/05/51/image_25012025_05_51_02_172794_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/50/image_25012025_05_50_02_656025_0002.jpg
/home/pi/Desktop/images/25012025/05/50/image_25012025_05_50_02_656025_0003.jpg
/home/pi/Desktop/images/25012025/05/51/image_25012025_05_51_02_172794_0000.jpg
/home/pi/Desktop/images/25012025/05/51/image_25012025_05_51_02_172794_0001.jpg
/home/pi/Desktop/images/25012025/05/51/image_25012025_05_51_02_172794_0002.jpg
/home/pi/Desktop/images/25012025/05/51/image_25012025_05_51_02_172794_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331256944","1331257109","1331256871","1331257219","1331257026","1331257233"],"photo_ids_order":["1331256871","1331256944","1331257026","1331257109","1331257219","1331257233"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e0128ffcc310849c0a9c121e1d236283.jpg","text":"TemporaryFile(/tmp/multipartBody420411374326377154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787418152,"filename":"image_25012025_05_50_02_656025_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f3ec67b7c750b9eb5103404a33109ef8.jpg","text":"TemporaryFile(/tmp/multipartBody7847952086908286834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787418152,"filename":"image_25012025_05_51_02_172794_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d44ffa0af54ceea836d52052642cc33c.jpg","text":"TemporaryFile(/tmp/multipartBody2993073478598486855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787418152,"filename":"image_25012025_05_50_02_656025_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fac711cb2faea42befbc6185f5c8f8dd.jpg","text":"TemporaryFile(/tmp/multipartBody8019473081651644505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787418152,"filename":"image_25012025_05_51_02_172794_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/21ff6437813fdafdaa42e98906512003.jpg","text":"TemporaryFile(/tmp/multipartBody677533172643433327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787418152,"filename":"image_25012025_05_51_02_172794_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/342b5c46f65f7e7f27d6fdc9eb01c769.jpg","text":"TemporaryFile(/tmp/multipartBody2185365823061914801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787418152,"filename":"image_25012025_05_51_02_172794_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331257026","file1":"1331256944","file0":"1331256871","file4":"1331257219","file5":"1331257233","file3":"1331257109"},"map_files_photo_id_array":[{"photo_id":"1331257233","filename":"file5"},{"photo_id":"1331257026","filename":"file2"},{"photo_id":"1331257219","filename":"file4"},{"photo_id":"1331256944","filename":"file1"},{"photo_id":"1331256871","filename":"file0"},{"photo_id":"1331257109","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331256944":["hashtag1","hashtag2"]},{"1331257109":["hashtag1","hashtag2"]},{"1331256871":["hashtag1","hashtag2"]},{"1331257219":["hashtag1","hashtag2"]},{"1331257026":["hashtag1","hashtag2"]},{"1331257233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331256944, 1331257109, 1331256871, 1331257219, 1331257026, 1331257233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.437477111816406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:43:22.299542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/52/image_25012025_05_52_02_705855_0000.jpg', '/home/pi/Desktop/images/25012025/05/52/image_25012025_05_52_02_705855_0001.jpg', '/home/pi/Desktop/images/25012025/05/52/image_25012025_05_52_02_705855_0002.jpg', '/home/pi/Desktop/images/25012025/05/52/image_25012025_05_52_02_705855_0003.jpg', '/home/pi/Desktop/images/25012025/05/53/image_25012025_05_53_02_238279_0000.jpg', '/home/pi/Desktop/images/25012025/05/53/image_25012025_05_53_02_238279_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/52/image_25012025_05_52_02_705855_0000.jpg
/home/pi/Desktop/images/25012025/05/52/image_25012025_05_52_02_705855_0001.jpg
/home/pi/Desktop/images/25012025/05/52/image_25012025_05_52_02_705855_0002.jpg
/home/pi/Desktop/images/25012025/05/52/image_25012025_05_52_02_705855_0003.jpg
/home/pi/Desktop/images/25012025/05/53/image_25012025_05_53_02_238279_0000.jpg
/home/pi/Desktop/images/25012025/05/53/image_25012025_05_53_02_238279_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":["1331257565","1331257538","1331257388","1331257601","1331257450","1331257509"],"photo_ids_order":["1331257388","1331257450","1331257509","1331257538","1331257565","1331257601"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/402645bbb687445a1ffc62075f094f34.jpg","text":"TemporaryFile(/tmp/multipartBody8853048539054853191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787478965,"filename":"image_25012025_05_53_02_238279_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/320141e53055c9cc5200e376871fc6d1.jpg","text":"TemporaryFile(/tmp/multipartBody7889307404484243818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787478965,"filename":"image_25012025_05_52_02_705855_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/72bf859ef8c55490a73872bc70bfe659.jpg","text":"TemporaryFile(/tmp/multipartBody6203543169284467189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787478965,"filename":"image_25012025_05_52_02_705855_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8ee907ff25f0d9e919e882b99279febc.jpg","text":"TemporaryFile(/tmp/multipartBody7094113000469512898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787478965,"filename":"image_25012025_05_53_02_238279_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3712946c93d8cec1fe1f58d69da909d9.jpg","text":"TemporaryFile(/tmp/multipartBody9081574843038539898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787478965,"filename":"image_25012025_05_52_02_705855_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/79dbc79542b27d298c1a089d2479026f.jpg","text":"TemporaryFile(/tmp/multipartBody7252834230279765536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787478965,"filename":"image_25012025_05_52_02_705855_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331257509","file1":"1331257450","file0":"1331257388","file4":"1331257565","file5":"1331257601","file3":"1331257538"},"map_files_photo_id_array":[{"photo_id":"1331257601","filename":"file5"},{"photo_id":"1331257509","filename":"file2"},{"photo_id":"1331257565","filename":"file4"},{"photo_id":"1331257450","filename":"file1"},{"photo_id":"1331257388","filename":"file0"},{"photo_id":"1331257538","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331257565":["hashtag1","hashtag2"]},{"1331257538":["hashtag1","hashtag2"]},{"1331257388":["hashtag1","hashtag2"]},{"1331257601":["hashtag1","hashtag2"]},{"1331257450":["hashtag1","hashtag2"]},{"1331257509":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331257565, 1331257538, 1331257388, 1331257601, 1331257450, 1331257509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.271992206573486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 07:45:02.975393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/53/image_25012025_05_53_02_238279_0002.jpg', '/home/pi/Desktop/images/25012025/05/53/image_25012025_05_53_02_238279_0003.jpg', '/home/pi/Desktop/images/25012025/05/54/image_25012025_05_54_02_762281_0000.jpg', '/home/pi/Desktop/images/25012025/05/54/image_25012025_05_54_02_762281_0001.jpg', '/home/pi/Desktop/images/25012025/05/54/image_25012025_05_54_02_762281_0002.jpg', '/home/pi/Desktop/images/25012025/05/54/image_25012025_05_54_02_762281_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/53/image_25012025_05_53_02_238279_0002.jpg
/home/pi/Desktop/images/25012025/05/53/image_25012025_05_53_02_238279_0003.jpg
/home/pi/Desktop/images/25012025/05/54/image_25012025_05_54_02_762281_0000.jpg
/home/pi/Desktop/images/25012025/05/54/image_25012025_05_54_02_762281_0001.jpg
/home/pi/Desktop/images/25012025/05/54/image_25012025_05_54_02_762281_0002.jpg
/home/pi/Desktop/images/25012025/05/54/image_25012025_05_54_02_762281_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331258204","1331258260","1331258208","1331258258","1331258186","1331258255"],"photo_ids_order":["1331258186","1331258204","1331258208","1331258255","1331258258","1331258260"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/62b6535cb97c7cedbf96e90efd4def32.jpg","text":"TemporaryFile(/tmp/multipartBody7452358966560489866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787579082,"filename":"image_25012025_05_53_02_238279_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9a25f50a4d3d3bae972be8b4869fd46c.jpg","text":"TemporaryFile(/tmp/multipartBody2490308218973719258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787579082,"filename":"image_25012025_05_54_02_762281_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9a9c2b7ed941e997a75fbe6199809616.jpg","text":"TemporaryFile(/tmp/multipartBody4638902723295251322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787579082,"filename":"image_25012025_05_54_02_762281_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ea33e3017efd016ecdf37051edc95047.jpg","text":"TemporaryFile(/tmp/multipartBody4045379914710519260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787579082,"filename":"image_25012025_05_54_02_762281_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8f18b07ad9865fcc4b6b121de2aaf1e2.jpg","text":"TemporaryFile(/tmp/multipartBody2713358707518103551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787579082,"filename":"image_25012025_05_53_02_238279_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c471e7df6644671706d6bb06c11d278c.jpg","text":"TemporaryFile(/tmp/multipartBody896811532102267633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787579082,"filename":"image_25012025_05_54_02_762281_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331258208","file1":"1331258204","file0":"1331258186","file4":"1331258258","file5":"1331258260","file3":"1331258255"},"map_files_photo_id_array":[{"photo_id":"1331258260","filename":"file5"},{"photo_id":"1331258208","filename":"file2"},{"photo_id":"1331258258","filename":"file4"},{"photo_id":"1331258204","filename":"file1"},{"photo_id":"1331258186","filename":"file0"},{"photo_id":"1331258255","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331258204":["hashtag1","hashtag2"]},{"1331258260":["hashtag1","hashtag2"]},{"1331258208":["hashtag1","hashtag2"]},{"1331258258":["hashtag1","hashtag2"]},{"1331258186":["hashtag1","hashtag2"]},{"1331258255":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331258204, 1331258260, 1331258208, 1331258258, 1331258186, 1331258255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.05405020713806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 07:46:02.449847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/55/image_25012025_05_55_02_288941_0000.jpg', '/home/pi/Desktop/images/25012025/05/55/image_25012025_05_55_02_288941_0001.jpg', '/home/pi/Desktop/images/25012025/05/55/image_25012025_05_55_02_288941_0002.jpg', '/home/pi/Desktop/images/25012025/05/55/image_25012025_05_55_02_288941_0003.jpg', '/home/pi/Desktop/images/25012025/05/56/image_25012025_05_56_02_810812_0000.jpg', '/home/pi/Desktop/images/25012025/05/56/image_25012025_05_56_02_810812_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/55/image_25012025_05_55_02_288941_0000.jpg
/home/pi/Desktop/images/25012025/05/55/image_25012025_05_55_02_288941_0001.jpg
/home/pi/Desktop/images/25012025/05/55/image_25012025_05_55_02_288941_0002.jpg
/home/pi/Desktop/images/25012025/05/55/image_25012025_05_55_02_288941_0003.jpg
/home/pi/Desktop/images/25012025/05/56/image_25012025_05_56_02_810812_0000.jpg
/home/pi/Desktop/images/25012025/05/56/image_25012025_05_56_02_810812_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.887181043624878 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:46:22.037315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/55/image_25012025_05_55_02_288941_0000.jpg', '/home/pi/Desktop/images/25012025/05/55/image_25012025_05_55_02_288941_0001.jpg', '/home/pi/Desktop/images/25012025/05/55/image_25012025_05_55_02_288941_0002.jpg', '/home/pi/Desktop/images/25012025/05/55/image_25012025_05_55_02_288941_0003.jpg', '/home/pi/Desktop/images/25012025/05/56/image_25012025_05_56_02_810812_0000.jpg', '/home/pi/Desktop/images/25012025/05/56/image_25012025_05_56_02_810812_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/55/image_25012025_05_55_02_288941_0000.jpg
/home/pi/Desktop/images/25012025/05/55/image_25012025_05_55_02_288941_0001.jpg
/home/pi/Desktop/images/25012025/05/55/image_25012025_05_55_02_288941_0002.jpg
/home/pi/Desktop/images/25012025/05/55/image_25012025_05_55_02_288941_0003.jpg
/home/pi/Desktop/images/25012025/05/56/image_25012025_05_56_02_810812_0000.jpg
/home/pi/Desktop/images/25012025/05/56/image_25012025_05_56_02_810812_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331258467","1331258461","1331258457","1331258547","1331258469","1331258465"],"photo_ids_order":["1331258457","1331258461","1331258465","1331258467","1331258469","1331258547"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b98a074a00dc526f8539c2adaeae711b.jpg","text":"TemporaryFile(/tmp/multipartBody1099249117169639354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787658268,"filename":"image_25012025_05_55_02_288941_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ef38c0d302eb6420eab0b83e05f10932.jpg","text":"TemporaryFile(/tmp/multipartBody7676458900583098578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787658268,"filename":"image_25012025_05_55_02_288941_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/63366fe9e3d06d324914010c9673c3af.jpg","text":"TemporaryFile(/tmp/multipartBody7576042643782627433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787658268,"filename":"image_25012025_05_55_02_288941_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/234c80d3280adc834ccff8b988eb9e43.jpg","text":"TemporaryFile(/tmp/multipartBody8464613443339930018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787658268,"filename":"image_25012025_05_56_02_810812_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a4e013df76291e3f755975d9ee7b5075.jpg","text":"TemporaryFile(/tmp/multipartBody1695866429131889435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787658268,"filename":"image_25012025_05_56_02_810812_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/91db8cbb24db2ff03f8d62fdab2b6d5c.jpg","text":"TemporaryFile(/tmp/multipartBody5329397538189326256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787658268,"filename":"image_25012025_05_55_02_288941_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331258465","file1":"1331258461","file0":"1331258457","file4":"1331258469","file5":"1331258547","file3":"1331258467"},"map_files_photo_id_array":[{"photo_id":"1331258547","filename":"file5"},{"photo_id":"1331258465","filename":"file2"},{"photo_id":"1331258469","filename":"file4"},{"photo_id":"1331258461","filename":"file1"},{"photo_id":"1331258457","filename":"file0"},{"photo_id":"1331258467","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331258467":["hashtag1","hashtag2"]},{"1331258461":["hashtag1","hashtag2"]},{"1331258457":["hashtag1","hashtag2"]},{"1331258547":["hashtag1","hashtag2"]},{"1331258469":["hashtag1","hashtag2"]},{"1331258465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331258467, 1331258461, 1331258457, 1331258547, 1331258469, 1331258465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.715012073516846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:47:22.525377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/56/image_25012025_05_56_02_810812_0002.jpg', '/home/pi/Desktop/images/25012025/05/56/image_25012025_05_56_02_810812_0003.jpg', '/home/pi/Desktop/images/25012025/05/57/image_25012025_05_57_02_300772_0000.jpg', '/home/pi/Desktop/images/25012025/05/57/image_25012025_05_57_02_300772_0001.jpg', '/home/pi/Desktop/images/25012025/05/57/image_25012025_05_57_02_300772_0002.jpg', '/home/pi/Desktop/images/25012025/05/57/image_25012025_05_57_02_300772_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/56/image_25012025_05_56_02_810812_0002.jpg
/home/pi/Desktop/images/25012025/05/56/image_25012025_05_56_02_810812_0003.jpg
/home/pi/Desktop/images/25012025/05/57/image_25012025_05_57_02_300772_0000.jpg
/home/pi/Desktop/images/25012025/05/57/image_25012025_05_57_02_300772_0001.jpg
/home/pi/Desktop/images/25012025/05/57/image_25012025_05_57_02_300772_0002.jpg
/home/pi/Desktop/images/25012025/05/57/image_25012025_05_57_02_300772_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331258807","1331258971","1331259092","1331259044","1331258888","1331258750"],"photo_ids_order":["1331258750","1331258807","1331258888","1331258971","1331259044","1331259092"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1c08cbf1d5015e1d5ea8a02ed1ffbd70.jpg","text":"TemporaryFile(/tmp/multipartBody5232740204989839471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787718413,"filename":"image_25012025_05_56_02_810812_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f09cbb2a3f58b2359e3f0982cdbcb0fc.jpg","text":"TemporaryFile(/tmp/multipartBody923683278144690782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787718413,"filename":"image_25012025_05_57_02_300772_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c0076f26115b8b63e22dca36a8800ac.jpg","text":"TemporaryFile(/tmp/multipartBody2808727080467505666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787718413,"filename":"image_25012025_05_57_02_300772_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2bb5fee89050cad6f91c86b9e403d487.jpg","text":"TemporaryFile(/tmp/multipartBody2323224731171496715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787718413,"filename":"image_25012025_05_57_02_300772_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1e2273323439f7ff6993e2b3d57d6aa3.jpg","text":"TemporaryFile(/tmp/multipartBody4906228110556003100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787718413,"filename":"image_25012025_05_57_02_300772_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1182eb4f1adb89ff77afe74f72d6fbfd.jpg","text":"TemporaryFile(/tmp/multipartBody3032774575661379746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787718413,"filename":"image_25012025_05_56_02_810812_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331258888","file1":"1331258807","file0":"1331258750","file4":"1331259044","file5":"1331259092","file3":"1331258971"},"map_files_photo_id_array":[{"photo_id":"1331259092","filename":"file5"},{"photo_id":"1331258888","filename":"file2"},{"photo_id":"1331259044","filename":"file4"},{"photo_id":"1331258807","filename":"file1"},{"photo_id":"1331258750","filename":"file0"},{"photo_id":"1331258971","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331258807":["hashtag1","hashtag2"]},{"1331258971":["hashtag1","hashtag2"]},{"1331259092":["hashtag1","hashtag2"]},{"1331259044":["hashtag1","hashtag2"]},{"1331258888":["hashtag1","hashtag2"]},{"1331258750":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331258807, 1331258971, 1331259092, 1331259044, 1331258888, 1331258750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.392340660095215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:48:22.064811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/58/image_25012025_05_58_02_782279_0000.jpg', '/home/pi/Desktop/images/25012025/05/58/image_25012025_05_58_02_782279_0001.jpg', '/home/pi/Desktop/images/25012025/05/58/image_25012025_05_58_02_782279_0002.jpg', '/home/pi/Desktop/images/25012025/05/58/image_25012025_05_58_02_782279_0003.jpg', '/home/pi/Desktop/images/25012025/05/59/image_25012025_05_59_02_270686_0000.jpg', '/home/pi/Desktop/images/25012025/05/59/image_25012025_05_59_02_270686_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/58/image_25012025_05_58_02_782279_0000.jpg
/home/pi/Desktop/images/25012025/05/58/image_25012025_05_58_02_782279_0001.jpg
/home/pi/Desktop/images/25012025/05/58/image_25012025_05_58_02_782279_0002.jpg
/home/pi/Desktop/images/25012025/05/58/image_25012025_05_58_02_782279_0003.jpg
/home/pi/Desktop/images/25012025/05/59/image_25012025_05_59_02_270686_0000.jpg
/home/pi/Desktop/images/25012025/05/59/image_25012025_05_59_02_270686_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331259229","1331259232","1331260015","1331259380","1331259155","1331259647"],"photo_ids_order":["1331259155","1331259229","1331259232","1331259380","1331259647","1331260015"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0213a876a13025d13dd87d73ce1f7817.jpg","text":"TemporaryFile(/tmp/multipartBody2206169219334833063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787778718,"filename":"image_25012025_05_58_02_782279_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0d153ba1928124bd2ccb2415a06a03b4.jpg","text":"TemporaryFile(/tmp/multipartBody1148813954510078485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787778718,"filename":"image_25012025_05_58_02_782279_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0089ffb41dde90afa4a0f19d2e0b39b0.jpg","text":"TemporaryFile(/tmp/multipartBody3714611289287757048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787778718,"filename":"image_25012025_05_59_02_270686_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c240e08764272bee32a1bc4b9107a233.jpg","text":"TemporaryFile(/tmp/multipartBody7052113475483352132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787778718,"filename":"image_25012025_05_58_02_782279_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b6a8a68ae1345ec0a4424ad75235c171.jpg","text":"TemporaryFile(/tmp/multipartBody2828432932460488414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787778718,"filename":"image_25012025_05_58_02_782279_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cb681a41e758de6d53ed505ac1769933.jpg","text":"TemporaryFile(/tmp/multipartBody268479195898419091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787778718,"filename":"image_25012025_05_59_02_270686_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331259232","file1":"1331259229","file0":"1331259155","file4":"1331259647","file5":"1331260015","file3":"1331259380"},"map_files_photo_id_array":[{"photo_id":"1331260015","filename":"file5"},{"photo_id":"1331259232","filename":"file2"},{"photo_id":"1331259647","filename":"file4"},{"photo_id":"1331259229","filename":"file1"},{"photo_id":"1331259155","filename":"file0"},{"photo_id":"1331259380","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331259229":["hashtag1","hashtag2"]},{"1331259232":["hashtag1","hashtag2"]},{"1331260015":["hashtag1","hashtag2"]},{"1331259380":["hashtag1","hashtag2"]},{"1331259155":["hashtag1","hashtag2"]},{"1331259647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331259229, 1331259232, 1331260015, 1331259380, 1331259155, 1331259647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.43054270744324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:49:22.614999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/05/59/image_25012025_05_59_02_270686_0002.jpg', '/home/pi/Desktop/images/25012025/05/59/image_25012025_05_59_02_270686_0003.jpg', '/home/pi/Desktop/images/25012025/06/00/image_25012025_06_00_02_425482_0000.jpg', '/home/pi/Desktop/images/25012025/06/00/image_25012025_06_00_02_425482_0001.jpg', '/home/pi/Desktop/images/25012025/06/00/image_25012025_06_00_02_425482_0002.jpg', '/home/pi/Desktop/images/25012025/06/00/image_25012025_06_00_02_425482_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/05/59/image_25012025_05_59_02_270686_0002.jpg
/home/pi/Desktop/images/25012025/05/59/image_25012025_05_59_02_270686_0003.jpg
/home/pi/Desktop/images/25012025/06/00/image_25012025_06_00_02_425482_0000.jpg
/home/pi/Desktop/images/25012025/06/00/image_25012025_06_00_02_425482_0001.jpg
/home/pi/Desktop/images/25012025/06/00/image_25012025_06_00_02_425482_0002.jpg
/home/pi/Desktop/images/25012025/06/00/image_25012025_06_00_02_425482_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331260396","1331260214","1331260218","1331260212","1331260221","1331260274"],"photo_ids_order":["1331260212","1331260214","1331260218","1331260221","1331260274","1331260396"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c1bd2f7b228167d15d4c7e1390e3a296.jpg","text":"TemporaryFile(/tmp/multipartBody3574906450583062648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787838817,"filename":"image_25012025_06_00_02_425482_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cb1ab09316455cff93913a2242a7b0ff.jpg","text":"TemporaryFile(/tmp/multipartBody2580299139692874387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787838817,"filename":"image_25012025_05_59_02_270686_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0b33d769cfa5c064e5b635ed2137492c.jpg","text":"TemporaryFile(/tmp/multipartBody8945639489390484185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787838817,"filename":"image_25012025_06_00_02_425482_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c263bce37da12dbdaff99fa1cd276d6b.jpg","text":"TemporaryFile(/tmp/multipartBody2665484693145913324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787838817,"filename":"image_25012025_05_59_02_270686_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a1a4850aebca374483b9f77dcbcb550d.jpg","text":"TemporaryFile(/tmp/multipartBody6498858091378615746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787838817,"filename":"image_25012025_06_00_02_425482_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a3d2f2eb358d4907d25e3f76b9c335c8.jpg","text":"TemporaryFile(/tmp/multipartBody1759249651600910890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787838817,"filename":"image_25012025_06_00_02_425482_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331260218","file1":"1331260214","file0":"1331260212","file4":"1331260274","file5":"1331260396","file3":"1331260221"},"map_files_photo_id_array":[{"photo_id":"1331260396","filename":"file5"},{"photo_id":"1331260218","filename":"file2"},{"photo_id":"1331260274","filename":"file4"},{"photo_id":"1331260214","filename":"file1"},{"photo_id":"1331260212","filename":"file0"},{"photo_id":"1331260221","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331260396":["hashtag1","hashtag2"]},{"1331260214":["hashtag1","hashtag2"]},{"1331260218":["hashtag1","hashtag2"]},{"1331260212":["hashtag1","hashtag2"]},{"1331260221":["hashtag1","hashtag2"]},{"1331260274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331260396, 1331260214, 1331260218, 1331260212, 1331260221, 1331260274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.03968620300293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:50:22.052490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/01/image_25012025_06_01_03_008177_0000.jpg', '/home/pi/Desktop/images/25012025/06/01/image_25012025_06_01_03_008177_0001.jpg', '/home/pi/Desktop/images/25012025/06/01/image_25012025_06_01_03_008177_0002.jpg', '/home/pi/Desktop/images/25012025/06/01/image_25012025_06_01_03_008177_0003.jpg', '/home/pi/Desktop/images/25012025/06/02/image_25012025_06_02_02_549630_0000.jpg', '/home/pi/Desktop/images/25012025/06/02/image_25012025_06_02_02_549630_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/01/image_25012025_06_01_03_008177_0000.jpg
/home/pi/Desktop/images/25012025/06/01/image_25012025_06_01_03_008177_0001.jpg
/home/pi/Desktop/images/25012025/06/01/image_25012025_06_01_03_008177_0002.jpg
/home/pi/Desktop/images/25012025/06/01/image_25012025_06_01_03_008177_0003.jpg
/home/pi/Desktop/images/25012025/06/02/image_25012025_06_02_02_549630_0000.jpg
/home/pi/Desktop/images/25012025/06/02/image_25012025_06_02_02_549630_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.515641689300537 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 07:51:03.404177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/01/image_25012025_06_01_03_008177_0000.jpg', '/home/pi/Desktop/images/25012025/06/01/image_25012025_06_01_03_008177_0001.jpg', '/home/pi/Desktop/images/25012025/06/01/image_25012025_06_01_03_008177_0002.jpg', '/home/pi/Desktop/images/25012025/06/01/image_25012025_06_01_03_008177_0003.jpg', '/home/pi/Desktop/images/25012025/06/02/image_25012025_06_02_02_549630_0000.jpg', '/home/pi/Desktop/images/25012025/06/02/image_25012025_06_02_02_549630_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/01/image_25012025_06_01_03_008177_0000.jpg
/home/pi/Desktop/images/25012025/06/01/image_25012025_06_01_03_008177_0001.jpg
/home/pi/Desktop/images/25012025/06/01/image_25012025_06_01_03_008177_0002.jpg
/home/pi/Desktop/images/25012025/06/01/image_25012025_06_01_03_008177_0003.jpg
/home/pi/Desktop/images/25012025/06/02/image_25012025_06_02_02_549630_0000.jpg
/home/pi/Desktop/images/25012025/06/02/image_25012025_06_02_02_549630_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":["1331260612","1331260896","1331260683","1331260785","1331260839","1331260806"],"photo_ids_order":["1331260612","1331260683","1331260785","1331260806","1331260839","1331260896"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/62537eba2fe3997aab2177f5c8968c6c.jpg","text":"TemporaryFile(/tmp/multipartBody1105543869323434646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787939375,"filename":"image_25012025_06_01_03_008177_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/92b365b85d23ddce4c154383e1946dc8.jpg","text":"TemporaryFile(/tmp/multipartBody3907896184150047218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787939375,"filename":"image_25012025_06_02_02_549630_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7fe1e616e70f17b69cdd2e642ab7caaf.jpg","text":"TemporaryFile(/tmp/multipartBody83032088376762955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787939375,"filename":"image_25012025_06_01_03_008177_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c26768fd05642d7da742aee07990a3ed.jpg","text":"TemporaryFile(/tmp/multipartBody3517941866293758759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787939375,"filename":"image_25012025_06_01_03_008177_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cb07ae21376c576bda8d1f357f46875d.jpg","text":"TemporaryFile(/tmp/multipartBody594943940851668783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787939375,"filename":"image_25012025_06_02_02_549630_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9818e1cb39f0514b7b2c751d1ab74790.jpg","text":"TemporaryFile(/tmp/multipartBody5213488062557351255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737787939375,"filename":"image_25012025_06_01_03_008177_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331260785","file1":"1331260683","file0":"1331260612","file4":"1331260839","file5":"1331260896","file3":"1331260806"},"map_files_photo_id_array":[{"photo_id":"1331260896","filename":"file5"},{"photo_id":"1331260785","filename":"file2"},{"photo_id":"1331260839","filename":"file4"},{"photo_id":"1331260683","filename":"file1"},{"photo_id":"1331260612","filename":"file0"},{"photo_id":"1331260806","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331260612":["hashtag1","hashtag2"]},{"1331260896":["hashtag1","hashtag2"]},{"1331260683":["hashtag1","hashtag2"]},{"1331260785":["hashtag1","hashtag2"]},{"1331260839":["hashtag1","hashtag2"]},{"1331260806":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331260612, 1331260896, 1331260683, 1331260785, 1331260839, 1331260806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.6214280128479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:52:22.318041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/02/image_25012025_06_02_02_549630_0002.jpg', '/home/pi/Desktop/images/25012025/06/02/image_25012025_06_02_02_549630_0003.jpg', '/home/pi/Desktop/images/25012025/06/03/image_25012025_06_03_03_052181_0000.jpg', '/home/pi/Desktop/images/25012025/06/03/image_25012025_06_03_03_052181_0001.jpg', '/home/pi/Desktop/images/25012025/06/03/image_25012025_06_03_03_052181_0002.jpg', '/home/pi/Desktop/images/25012025/06/03/image_25012025_06_03_03_052181_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/02/image_25012025_06_02_02_549630_0002.jpg
/home/pi/Desktop/images/25012025/06/02/image_25012025_06_02_02_549630_0003.jpg
/home/pi/Desktop/images/25012025/06/03/image_25012025_06_03_03_052181_0000.jpg
/home/pi/Desktop/images/25012025/06/03/image_25012025_06_03_03_052181_0001.jpg
/home/pi/Desktop/images/25012025/06/03/image_25012025_06_03_03_052181_0002.jpg
/home/pi/Desktop/images/25012025/06/03/image_25012025_06_03_03_052181_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331260999","1331261014","1331261008","1331261004","1331261015","1331261012"],"photo_ids_order":["1331260999","1331261004","1331261008","1331261012","1331261014","1331261015"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6576effdf97e29bbcf65cab824728432.jpg","text":"TemporaryFile(/tmp/multipartBody3222581593762432639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788019227,"filename":"image_25012025_06_02_02_549630_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e8691822e20549627bd3103123ac760b.jpg","text":"TemporaryFile(/tmp/multipartBody7919199971245420146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788019227,"filename":"image_25012025_06_03_03_052181_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cf82709452f5e58e449381599281b820.jpg","text":"TemporaryFile(/tmp/multipartBody8651491759138981517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788019227,"filename":"image_25012025_06_03_03_052181_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fa20ac42ae0f8f0f3085acf651735e51.jpg","text":"TemporaryFile(/tmp/multipartBody4071352849672629854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788019227,"filename":"image_25012025_06_02_02_549630_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8794402baef0a4ff453bf6599e503866.jpg","text":"TemporaryFile(/tmp/multipartBody1524190545241285290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788019227,"filename":"image_25012025_06_03_03_052181_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/92433eae45fa0b2312ef66662324be42.jpg","text":"TemporaryFile(/tmp/multipartBody4401564463327271605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788019227,"filename":"image_25012025_06_03_03_052181_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331261008","file1":"1331261004","file0":"1331260999","file4":"1331261014","file5":"1331261015","file3":"1331261012"},"map_files_photo_id_array":[{"photo_id":"1331261015","filename":"file5"},{"photo_id":"1331261008","filename":"file2"},{"photo_id":"1331261014","filename":"file4"},{"photo_id":"1331261004","filename":"file1"},{"photo_id":"1331260999","filename":"file0"},{"photo_id":"1331261012","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331260999":["hashtag1","hashtag2"]},{"1331261014":["hashtag1","hashtag2"]},{"1331261008":["hashtag1","hashtag2"]},{"1331261004":["hashtag1","hashtag2"]},{"1331261015":["hashtag1","hashtag2"]},{"1331261012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331260999, 1331261014, 1331261008, 1331261004, 1331261015, 1331261012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.169352769851685 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:53:21.959615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/04/image_25012025_06_04_02_549074_0000.jpg', '/home/pi/Desktop/images/25012025/06/04/image_25012025_06_04_02_549074_0001.jpg', '/home/pi/Desktop/images/25012025/06/04/image_25012025_06_04_02_549074_0002.jpg', '/home/pi/Desktop/images/25012025/06/04/image_25012025_06_04_02_549074_0003.jpg', '/home/pi/Desktop/images/25012025/06/05/image_25012025_06_05_03_057665_0000.jpg', '/home/pi/Desktop/images/25012025/06/05/image_25012025_06_05_03_057665_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/04/image_25012025_06_04_02_549074_0000.jpg
/home/pi/Desktop/images/25012025/06/04/image_25012025_06_04_02_549074_0001.jpg
/home/pi/Desktop/images/25012025/06/04/image_25012025_06_04_02_549074_0002.jpg
/home/pi/Desktop/images/25012025/06/04/image_25012025_06_04_02_549074_0003.jpg
/home/pi/Desktop/images/25012025/06/05/image_25012025_06_05_03_057665_0000.jpg
/home/pi/Desktop/images/25012025/06/05/image_25012025_06_05_03_057665_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331261029","1331261025","1331261033","1331261036","1331261021","1331261039"],"photo_ids_order":["1331261021","1331261025","1331261029","1331261033","1331261036","1331261039"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/959fe9e500bd6cd9ba8f11789139abf3.jpg","text":"TemporaryFile(/tmp/multipartBody9133022864377491595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788078442,"filename":"image_25012025_06_04_02_549074_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3900ea581b978b25f38759d320cdfaea.jpg","text":"TemporaryFile(/tmp/multipartBody2638296222580014582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788078442,"filename":"image_25012025_06_04_02_549074_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b866a8fe090ac03706c008613f402cbc.jpg","text":"TemporaryFile(/tmp/multipartBody9082864737988336405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788078442,"filename":"image_25012025_06_04_02_549074_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e51131e0bac82086c422f9a99dc2b755.jpg","text":"TemporaryFile(/tmp/multipartBody1589084374542396289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788078442,"filename":"image_25012025_06_05_03_057665_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/db651b7b7acbc9bb59222d50976d756f.jpg","text":"TemporaryFile(/tmp/multipartBody2847812578657624869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788078442,"filename":"image_25012025_06_04_02_549074_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cc6dbc5d464399d72cba464ff3f7085f.jpg","text":"TemporaryFile(/tmp/multipartBody5408756322594476537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788078442,"filename":"image_25012025_06_05_03_057665_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331261029","file1":"1331261025","file0":"1331261021","file4":"1331261036","file5":"1331261039","file3":"1331261033"},"map_files_photo_id_array":[{"photo_id":"1331261039","filename":"file5"},{"photo_id":"1331261029","filename":"file2"},{"photo_id":"1331261036","filename":"file4"},{"photo_id":"1331261025","filename":"file1"},{"photo_id":"1331261021","filename":"file0"},{"photo_id":"1331261033","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331261029":["hashtag1","hashtag2"]},{"1331261025":["hashtag1","hashtag2"]},{"1331261033":["hashtag1","hashtag2"]},{"1331261036":["hashtag1","hashtag2"]},{"1331261021":["hashtag1","hashtag2"]},{"1331261039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331261029, 1331261025, 1331261033, 1331261036, 1331261021, 1331261039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.34364414215088 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:54:22.400518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/05/image_25012025_06_05_03_057665_0002.jpg', '/home/pi/Desktop/images/25012025/06/05/image_25012025_06_05_03_057665_0003.jpg', '/home/pi/Desktop/images/25012025/06/06/image_25012025_06_06_02_595232_0000.jpg', '/home/pi/Desktop/images/25012025/06/06/image_25012025_06_06_02_595232_0001.jpg', '/home/pi/Desktop/images/25012025/06/06/image_25012025_06_06_02_595232_0002.jpg', '/home/pi/Desktop/images/25012025/06/06/image_25012025_06_06_02_595232_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/05/image_25012025_06_05_03_057665_0002.jpg
/home/pi/Desktop/images/25012025/06/05/image_25012025_06_05_03_057665_0003.jpg
/home/pi/Desktop/images/25012025/06/06/image_25012025_06_06_02_595232_0000.jpg
/home/pi/Desktop/images/25012025/06/06/image_25012025_06_06_02_595232_0001.jpg
/home/pi/Desktop/images/25012025/06/06/image_25012025_06_06_02_595232_0002.jpg
/home/pi/Desktop/images/25012025/06/06/image_25012025_06_06_02_595232_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331261086","1331261101","1331261090","1331261066","1331261095","1331261098"],"photo_ids_order":["1331261066","1331261086","1331261090","1331261095","1331261098","1331261101"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c2c10bf0f34b073b3135b06c48cbe334.jpg","text":"TemporaryFile(/tmp/multipartBody2886873359928532589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788138339,"filename":"image_25012025_06_05_03_057665_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/620759c650d483b3d3454259f466d720.jpg","text":"TemporaryFile(/tmp/multipartBody555584930582811908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788138339,"filename":"image_25012025_06_06_02_595232_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/52c5afeb130983897898b3f07df537f1.jpg","text":"TemporaryFile(/tmp/multipartBody905467128822727579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788138339,"filename":"image_25012025_06_06_02_595232_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dff26509b91b9d5d1670b6bdb94c7998.jpg","text":"TemporaryFile(/tmp/multipartBody3582241601564189952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788138339,"filename":"image_25012025_06_05_03_057665_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fef1cf6b90fcdbec6058febceb7d6a24.jpg","text":"TemporaryFile(/tmp/multipartBody3711551328499009537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788138339,"filename":"image_25012025_06_06_02_595232_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f73000e8e366f662f0031b264837af35.jpg","text":"TemporaryFile(/tmp/multipartBody7501672406001160289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788138339,"filename":"image_25012025_06_06_02_595232_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331261090","file1":"1331261086","file0":"1331261066","file4":"1331261098","file5":"1331261101","file3":"1331261095"},"map_files_photo_id_array":[{"photo_id":"1331261101","filename":"file5"},{"photo_id":"1331261090","filename":"file2"},{"photo_id":"1331261098","filename":"file4"},{"photo_id":"1331261086","filename":"file1"},{"photo_id":"1331261066","filename":"file0"},{"photo_id":"1331261095","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331261086":["hashtag1","hashtag2"]},{"1331261101":["hashtag1","hashtag2"]},{"1331261090":["hashtag1","hashtag2"]},{"1331261066":["hashtag1","hashtag2"]},{"1331261095":["hashtag1","hashtag2"]},{"1331261098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331261086, 1331261101, 1331261090, 1331261066, 1331261095, 1331261098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.7499635219574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:55:22.050042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/07/image_25012025_06_07_03_130601_0000.jpg', '/home/pi/Desktop/images/25012025/06/07/image_25012025_06_07_03_130601_0001.jpg', '/home/pi/Desktop/images/25012025/06/07/image_25012025_06_07_03_130601_0002.jpg', '/home/pi/Desktop/images/25012025/06/07/image_25012025_06_07_03_130601_0003.jpg', '/home/pi/Desktop/images/25012025/06/08/image_25012025_06_08_02_648968_0000.jpg', '/home/pi/Desktop/images/25012025/06/08/image_25012025_06_08_02_648968_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/07/image_25012025_06_07_03_130601_0000.jpg
/home/pi/Desktop/images/25012025/06/07/image_25012025_06_07_03_130601_0001.jpg
/home/pi/Desktop/images/25012025/06/07/image_25012025_06_07_03_130601_0002.jpg
/home/pi/Desktop/images/25012025/06/07/image_25012025_06_07_03_130601_0003.jpg
/home/pi/Desktop/images/25012025/06/08/image_25012025_06_08_02_648968_0000.jpg
/home/pi/Desktop/images/25012025/06/08/image_25012025_06_08_02_648968_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331261200","1331261286","1331261289","1331261262","1331261241","1331261208"],"photo_ids_order":["1331261200","1331261208","1331261241","1331261262","1331261286","1331261289"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/576035ddf943af03b7019db435440279.jpg","text":"TemporaryFile(/tmp/multipartBody7227473648019541883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788198350,"filename":"image_25012025_06_07_03_130601_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a3bc3abecd0311d5a850cd7341a55f5a.jpg","text":"TemporaryFile(/tmp/multipartBody9144534025551016738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788198350,"filename":"image_25012025_06_08_02_648968_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9040424470d578696b842b56a6546a5a.jpg","text":"TemporaryFile(/tmp/multipartBody5750280033110037134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788198350,"filename":"image_25012025_06_08_02_648968_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ce07fb5793532b4773a2dfd671c19382.jpg","text":"TemporaryFile(/tmp/multipartBody3524579638328662477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788198350,"filename":"image_25012025_06_07_03_130601_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f57cb39d8983f7a611793e0f9854f430.jpg","text":"TemporaryFile(/tmp/multipartBody208823597878895856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788198350,"filename":"image_25012025_06_07_03_130601_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a1cfc29527be846cd78f0eff3e30c57c.jpg","text":"TemporaryFile(/tmp/multipartBody472345907674739708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788198350,"filename":"image_25012025_06_07_03_130601_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331261241","file1":"1331261208","file0":"1331261200","file4":"1331261286","file5":"1331261289","file3":"1331261262"},"map_files_photo_id_array":[{"photo_id":"1331261289","filename":"file5"},{"photo_id":"1331261241","filename":"file2"},{"photo_id":"1331261286","filename":"file4"},{"photo_id":"1331261208","filename":"file1"},{"photo_id":"1331261200","filename":"file0"},{"photo_id":"1331261262","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331261200":["hashtag1","hashtag2"]},{"1331261286":["hashtag1","hashtag2"]},{"1331261289":["hashtag1","hashtag2"]},{"1331261262":["hashtag1","hashtag2"]},{"1331261241":["hashtag1","hashtag2"]},{"1331261208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331261200, 1331261286, 1331261289, 1331261262, 1331261241, 1331261208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.31104111671448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:56:22.550346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/08/image_25012025_06_08_02_648968_0002.jpg', '/home/pi/Desktop/images/25012025/06/08/image_25012025_06_08_02_648968_0003.jpg', '/home/pi/Desktop/images/25012025/06/09/image_25012025_06_09_02_184015_0000.jpg', '/home/pi/Desktop/images/25012025/06/09/image_25012025_06_09_02_184015_0001.jpg', '/home/pi/Desktop/images/25012025/06/09/image_25012025_06_09_02_184015_0002.jpg', '/home/pi/Desktop/images/25012025/06/09/image_25012025_06_09_02_184015_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/08/image_25012025_06_08_02_648968_0002.jpg
/home/pi/Desktop/images/25012025/06/08/image_25012025_06_08_02_648968_0003.jpg
/home/pi/Desktop/images/25012025/06/09/image_25012025_06_09_02_184015_0000.jpg
/home/pi/Desktop/images/25012025/06/09/image_25012025_06_09_02_184015_0001.jpg
/home/pi/Desktop/images/25012025/06/09/image_25012025_06_09_02_184015_0002.jpg
/home/pi/Desktop/images/25012025/06/09/image_25012025_06_09_02_184015_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331261344","1331261328","1331261313","1331261307","1331261333","1331261321"],"photo_ids_order":["1331261307","1331261313","1331261321","1331261328","1331261333","1331261344"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4005731309f6f1089e697d6411089796.jpg","text":"TemporaryFile(/tmp/multipartBody3067816583403679245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788258817,"filename":"image_25012025_06_09_02_184015_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fa21950601a2cedcc9530ae11f5d16e5.jpg","text":"TemporaryFile(/tmp/multipartBody3137615560272076675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788258817,"filename":"image_25012025_06_09_02_184015_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/40e265996924be5458713d214bc92b16.jpg","text":"TemporaryFile(/tmp/multipartBody7899540559501486290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788258817,"filename":"image_25012025_06_08_02_648968_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a3873f0c2305fab0e30e0bc5037f48cf.jpg","text":"TemporaryFile(/tmp/multipartBody7857528745377162203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788258817,"filename":"image_25012025_06_08_02_648968_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1e42ed8ff32105fe3af7b321e9fed07c.jpg","text":"TemporaryFile(/tmp/multipartBody1664105551608062354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788258817,"filename":"image_25012025_06_09_02_184015_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/773db4dac180426d4b3e159db7505854.jpg","text":"TemporaryFile(/tmp/multipartBody8896418366832711130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788258817,"filename":"image_25012025_06_09_02_184015_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331261321","file1":"1331261313","file0":"1331261307","file4":"1331261333","file5":"1331261344","file3":"1331261328"},"map_files_photo_id_array":[{"photo_id":"1331261344","filename":"file5"},{"photo_id":"1331261321","filename":"file2"},{"photo_id":"1331261333","filename":"file4"},{"photo_id":"1331261313","filename":"file1"},{"photo_id":"1331261307","filename":"file0"},{"photo_id":"1331261328","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331261344":["hashtag1","hashtag2"]},{"1331261328":["hashtag1","hashtag2"]},{"1331261313":["hashtag1","hashtag2"]},{"1331261307":["hashtag1","hashtag2"]},{"1331261333":["hashtag1","hashtag2"]},{"1331261321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331261344, 1331261328, 1331261313, 1331261307, 1331261333, 1331261321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.30053424835205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 07:57:22.027162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/10/image_25012025_06_10_02_784796_0000.jpg', '/home/pi/Desktop/images/25012025/06/10/image_25012025_06_10_02_784796_0001.jpg', '/home/pi/Desktop/images/25012025/06/10/image_25012025_06_10_02_784796_0002.jpg', '/home/pi/Desktop/images/25012025/06/10/image_25012025_06_10_02_784796_0003.jpg', '/home/pi/Desktop/images/25012025/06/11/image_25012025_06_11_02_293442_0000.jpg', '/home/pi/Desktop/images/25012025/06/11/image_25012025_06_11_02_293442_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/10/image_25012025_06_10_02_784796_0000.jpg
/home/pi/Desktop/images/25012025/06/10/image_25012025_06_10_02_784796_0001.jpg
/home/pi/Desktop/images/25012025/06/10/image_25012025_06_10_02_784796_0002.jpg
/home/pi/Desktop/images/25012025/06/10/image_25012025_06_10_02_784796_0003.jpg
/home/pi/Desktop/images/25012025/06/11/image_25012025_06_11_02_293442_0000.jpg
/home/pi/Desktop/images/25012025/06/11/image_25012025_06_11_02_293442_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-25 07:59:02.475781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 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-25 07:59:21.767031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/10/image_25012025_06_10_02_784796_0000.jpg', '/home/pi/Desktop/images/25012025/06/10/image_25012025_06_10_02_784796_0001.jpg', '/home/pi/Desktop/images/25012025/06/10/image_25012025_06_10_02_784796_0002.jpg', '/home/pi/Desktop/images/25012025/06/10/image_25012025_06_10_02_784796_0003.jpg', '/home/pi/Desktop/images/25012025/06/11/image_25012025_06_11_02_293442_0000.jpg', '/home/pi/Desktop/images/25012025/06/11/image_25012025_06_11_02_293442_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/10/image_25012025_06_10_02_784796_0000.jpg
/home/pi/Desktop/images/25012025/06/10/image_25012025_06_10_02_784796_0001.jpg
/home/pi/Desktop/images/25012025/06/10/image_25012025_06_10_02_784796_0002.jpg
/home/pi/Desktop/images/25012025/06/10/image_25012025_06_10_02_784796_0003.jpg
/home/pi/Desktop/images/25012025/06/11/image_25012025_06_11_02_293442_0000.jpg
/home/pi/Desktop/images/25012025/06/11/image_25012025_06_11_02_293442_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":["1331261787","1331261775","1331261783","1331261753","1331261779","1331261758"],"photo_ids_order":["1331261753","1331261758","1331261775","1331261779","1331261783","1331261787"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1a4fbf0839274fcd4ae0359d18c23fcf.jpg","text":"TemporaryFile(/tmp/multipartBody775672854385640923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788438236,"filename":"image_25012025_06_11_02_293442_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/77ef4fba3789eee148ae1ffc8a4e945f.jpg","text":"TemporaryFile(/tmp/multipartBody3355186416094670350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788438236,"filename":"image_25012025_06_10_02_784796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dad14db940291d7eba10f1161b8b4e79.jpg","text":"TemporaryFile(/tmp/multipartBody5306998229132525688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788438236,"filename":"image_25012025_06_11_02_293442_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5dfcc0157dcc59821b22a18403e82e6d.jpg","text":"TemporaryFile(/tmp/multipartBody2061992803799997531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788438236,"filename":"image_25012025_06_10_02_784796_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/24c3c2e51cc72ab79c90189639b43fb2.jpg","text":"TemporaryFile(/tmp/multipartBody4217224842065268552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788438236,"filename":"image_25012025_06_10_02_784796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a71f6a99fd0ed337179fbe223ed71725.jpg","text":"TemporaryFile(/tmp/multipartBody8814939141546261650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788438236,"filename":"image_25012025_06_10_02_784796_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331261775","file1":"1331261758","file0":"1331261753","file4":"1331261783","file5":"1331261787","file3":"1331261779"},"map_files_photo_id_array":[{"photo_id":"1331261787","filename":"file5"},{"photo_id":"1331261775","filename":"file2"},{"photo_id":"1331261783","filename":"file4"},{"photo_id":"1331261758","filename":"file1"},{"photo_id":"1331261753","filename":"file0"},{"photo_id":"1331261779","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331261787":["hashtag1","hashtag2"]},{"1331261775":["hashtag1","hashtag2"]},{"1331261783":["hashtag1","hashtag2"]},{"1331261753":["hashtag1","hashtag2"]},{"1331261779":["hashtag1","hashtag2"]},{"1331261758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331261787, 1331261775, 1331261783, 1331261753, 1331261779, 1331261758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.87762641906738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 08:01:02.502941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/11/image_25012025_06_11_02_293442_0002.jpg', '/home/pi/Desktop/images/25012025/06/11/image_25012025_06_11_02_293442_0003.jpg', '/home/pi/Desktop/images/25012025/06/12/image_25012025_06_12_02_778327_0000.jpg', '/home/pi/Desktop/images/25012025/06/12/image_25012025_06_12_02_778327_0001.jpg', '/home/pi/Desktop/images/25012025/06/12/image_25012025_06_12_02_778327_0002.jpg', '/home/pi/Desktop/images/25012025/06/12/image_25012025_06_12_02_778327_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/11/image_25012025_06_11_02_293442_0002.jpg
/home/pi/Desktop/images/25012025/06/11/image_25012025_06_11_02_293442_0003.jpg
/home/pi/Desktop/images/25012025/06/12/image_25012025_06_12_02_778327_0000.jpg
/home/pi/Desktop/images/25012025/06/12/image_25012025_06_12_02_778327_0001.jpg
/home/pi/Desktop/images/25012025/06/12/image_25012025_06_12_02_778327_0002.jpg
/home/pi/Desktop/images/25012025/06/12/image_25012025_06_12_02_778327_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331261985","1331261982","1331261999","1331261987","1331261992","1331261995"],"photo_ids_order":["1331261982","1331261985","1331261987","1331261992","1331261995","1331261999"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6f2a2d1e48be179ab90f1846744a08fc.jpg","text":"TemporaryFile(/tmp/multipartBody6950394436199992289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788539018,"filename":"image_25012025_06_11_02_293442_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a87eab611adc344f80b09aa908d0c853.jpg","text":"TemporaryFile(/tmp/multipartBody5099538866235133448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788539018,"filename":"image_25012025_06_11_02_293442_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/21b2e38c2510cee476e7a391fb8c8c70.jpg","text":"TemporaryFile(/tmp/multipartBody6863764412528212409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788539018,"filename":"image_25012025_06_12_02_778327_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5993763670c658f3c19385764c38bc86.jpg","text":"TemporaryFile(/tmp/multipartBody2131044950446454029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788539018,"filename":"image_25012025_06_12_02_778327_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/57489fa2c89d30bf1ede2a8815acf038.jpg","text":"TemporaryFile(/tmp/multipartBody6718782364780769688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788539018,"filename":"image_25012025_06_12_02_778327_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f781c41cc6979d9acc8f15e503227981.jpg","text":"TemporaryFile(/tmp/multipartBody5271665265290909890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788539018,"filename":"image_25012025_06_12_02_778327_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331261987","file1":"1331261985","file0":"1331261982","file4":"1331261995","file5":"1331261999","file3":"1331261992"},"map_files_photo_id_array":[{"photo_id":"1331261999","filename":"file5"},{"photo_id":"1331261987","filename":"file2"},{"photo_id":"1331261995","filename":"file4"},{"photo_id":"1331261985","filename":"file1"},{"photo_id":"1331261982","filename":"file0"},{"photo_id":"1331261992","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331261985":["hashtag1","hashtag2"]},{"1331261982":["hashtag1","hashtag2"]},{"1331261999":["hashtag1","hashtag2"]},{"1331261987":["hashtag1","hashtag2"]},{"1331261992":["hashtag1","hashtag2"]},{"1331261995":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331261985, 1331261982, 1331261999, 1331261987, 1331261992, 1331261995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.40696454048157 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 08:02:03.044612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/13/image_25012025_06_13_02_307024_0000.jpg', '/home/pi/Desktop/images/25012025/06/13/image_25012025_06_13_02_307024_0001.jpg', '/home/pi/Desktop/images/25012025/06/13/image_25012025_06_13_02_307024_0002.jpg', '/home/pi/Desktop/images/25012025/06/13/image_25012025_06_13_02_307024_0003.jpg', '/home/pi/Desktop/images/25012025/06/14/image_25012025_06_14_02_802190_0000.jpg', '/home/pi/Desktop/images/25012025/06/14/image_25012025_06_14_02_802190_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/13/image_25012025_06_13_02_307024_0000.jpg
/home/pi/Desktop/images/25012025/06/13/image_25012025_06_13_02_307024_0001.jpg
/home/pi/Desktop/images/25012025/06/13/image_25012025_06_13_02_307024_0002.jpg
/home/pi/Desktop/images/25012025/06/13/image_25012025_06_13_02_307024_0003.jpg
/home/pi/Desktop/images/25012025/06/14/image_25012025_06_14_02_802190_0000.jpg
/home/pi/Desktop/images/25012025/06/14/image_25012025_06_14_02_802190_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":["1331262033","1331262089","1331262065","1331262047","1331262041","1331262037"],"photo_ids_order":["1331262033","1331262037","1331262041","1331262047","1331262065","1331262089"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ed73bb67959c8e62aade43762c65b7a5.jpg","text":"TemporaryFile(/tmp/multipartBody8204193067012188588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788599923,"filename":"image_25012025_06_13_02_307024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2a426a1268bd510b47a369c4ebcf5b6d.jpg","text":"TemporaryFile(/tmp/multipartBody2366020757644015736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788599923,"filename":"image_25012025_06_14_02_802190_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d934adc63e3825f16d5178ea13961493.jpg","text":"TemporaryFile(/tmp/multipartBody6290299174998176615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788599923,"filename":"image_25012025_06_14_02_802190_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/587f1f0a7253bada527f52753204e11d.jpg","text":"TemporaryFile(/tmp/multipartBody6870594473875940271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788599923,"filename":"image_25012025_06_13_02_307024_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ae7dac19ad13c0f148b471baa79eb8d0.jpg","text":"TemporaryFile(/tmp/multipartBody5556208430477536727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788599923,"filename":"image_25012025_06_13_02_307024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/536852da58e265700fa9ea574f2a96a1.jpg","text":"TemporaryFile(/tmp/multipartBody114031726430756736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788599923,"filename":"image_25012025_06_13_02_307024_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331262041","file1":"1331262037","file0":"1331262033","file4":"1331262065","file5":"1331262089","file3":"1331262047"},"map_files_photo_id_array":[{"photo_id":"1331262089","filename":"file5"},{"photo_id":"1331262041","filename":"file2"},{"photo_id":"1331262065","filename":"file4"},{"photo_id":"1331262037","filename":"file1"},{"photo_id":"1331262033","filename":"file0"},{"photo_id":"1331262047","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331262033":["hashtag1","hashtag2"]},{"1331262089":["hashtag1","hashtag2"]},{"1331262065":["hashtag1","hashtag2"]},{"1331262047":["hashtag1","hashtag2"]},{"1331262041":["hashtag1","hashtag2"]},{"1331262037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331262033, 1331262089, 1331262065, 1331262047, 1331262041, 1331262037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.907854318618774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:03:22.134588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/14/image_25012025_06_14_02_802190_0002.jpg', '/home/pi/Desktop/images/25012025/06/14/image_25012025_06_14_02_802190_0003.jpg', '/home/pi/Desktop/images/25012025/06/15/image_25012025_06_15_02_425360_0000.jpg', '/home/pi/Desktop/images/25012025/06/15/image_25012025_06_15_02_425360_0001.jpg', '/home/pi/Desktop/images/25012025/06/15/image_25012025_06_15_02_425360_0002.jpg', '/home/pi/Desktop/images/25012025/06/15/image_25012025_06_15_02_425360_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/14/image_25012025_06_14_02_802190_0002.jpg
/home/pi/Desktop/images/25012025/06/14/image_25012025_06_14_02_802190_0003.jpg
/home/pi/Desktop/images/25012025/06/15/image_25012025_06_15_02_425360_0000.jpg
/home/pi/Desktop/images/25012025/06/15/image_25012025_06_15_02_425360_0001.jpg
/home/pi/Desktop/images/25012025/06/15/image_25012025_06_15_02_425360_0002.jpg
/home/pi/Desktop/images/25012025/06/15/image_25012025_06_15_02_425360_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331262127","1331262108","1331262113","1331262122","1331262124","1331262118"],"photo_ids_order":["1331262108","1331262113","1331262118","1331262122","1331262124","1331262127"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3fd0a9812a78b144e768b399570c710e.jpg","text":"TemporaryFile(/tmp/multipartBody1964442767532827504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788678459,"filename":"image_25012025_06_15_02_425360_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a12996b1f183b94632e26b332c43db8d.jpg","text":"TemporaryFile(/tmp/multipartBody3811718093375951077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788678459,"filename":"image_25012025_06_14_02_802190_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cde3effe2b6ce96fa5823f00daf684ee.jpg","text":"TemporaryFile(/tmp/multipartBody5763424671667145039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788678459,"filename":"image_25012025_06_14_02_802190_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aadadae93358a3dccc5101157afb4f7a.jpg","text":"TemporaryFile(/tmp/multipartBody1879002394715597060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788678459,"filename":"image_25012025_06_15_02_425360_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/09593a7c3ac9447168526a65d391c79e.jpg","text":"TemporaryFile(/tmp/multipartBody2241068925543853002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788678459,"filename":"image_25012025_06_15_02_425360_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/14124ca1d6ecdb80d0bd5f39dc673dc1.jpg","text":"TemporaryFile(/tmp/multipartBody7561819857842692254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788678459,"filename":"image_25012025_06_15_02_425360_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331262118","file1":"1331262113","file0":"1331262108","file4":"1331262124","file5":"1331262127","file3":"1331262122"},"map_files_photo_id_array":[{"photo_id":"1331262127","filename":"file5"},{"photo_id":"1331262118","filename":"file2"},{"photo_id":"1331262124","filename":"file4"},{"photo_id":"1331262113","filename":"file1"},{"photo_id":"1331262108","filename":"file0"},{"photo_id":"1331262122","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331262127":["hashtag1","hashtag2"]},{"1331262108":["hashtag1","hashtag2"]},{"1331262113":["hashtag1","hashtag2"]},{"1331262122":["hashtag1","hashtag2"]},{"1331262124":["hashtag1","hashtag2"]},{"1331262118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331262127, 1331262108, 1331262113, 1331262122, 1331262124, 1331262118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.369624376297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:04:22.664436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/16/image_25012025_06_16_02_955393_0000.jpg', '/home/pi/Desktop/images/25012025/06/16/image_25012025_06_16_02_955393_0001.jpg', '/home/pi/Desktop/images/25012025/06/16/image_25012025_06_16_02_955393_0002.jpg', '/home/pi/Desktop/images/25012025/06/16/image_25012025_06_16_02_955393_0003.jpg', '/home/pi/Desktop/images/25012025/06/17/image_25012025_06_17_02_626612_0000.jpg', '/home/pi/Desktop/images/25012025/06/17/image_25012025_06_17_02_626612_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/16/image_25012025_06_16_02_955393_0000.jpg
/home/pi/Desktop/images/25012025/06/16/image_25012025_06_16_02_955393_0001.jpg
/home/pi/Desktop/images/25012025/06/16/image_25012025_06_16_02_955393_0002.jpg
/home/pi/Desktop/images/25012025/06/16/image_25012025_06_16_02_955393_0003.jpg
/home/pi/Desktop/images/25012025/06/17/image_25012025_06_17_02_626612_0000.jpg
/home/pi/Desktop/images/25012025/06/17/image_25012025_06_17_02_626612_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331262159","1331262162","1331262170","1331262166","1331262154","1331262145"],"photo_ids_order":["1331262145","1331262154","1331262159","1331262162","1331262166","1331262170"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/54b2b5b5ebe358e1c2df686dd164f2f8.jpg","text":"TemporaryFile(/tmp/multipartBody4717122627144508175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788739046,"filename":"image_25012025_06_16_02_955393_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/937cd9053722cfcce98f883c6238bc29.jpg","text":"TemporaryFile(/tmp/multipartBody2712687584942046248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788739046,"filename":"image_25012025_06_16_02_955393_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/90e3171b8dd988c9eb33cba00b4bfa85.jpg","text":"TemporaryFile(/tmp/multipartBody7973923600505546416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788739046,"filename":"image_25012025_06_17_02_626612_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d99530895fb86292bbf0dfe1fdf32683.jpg","text":"TemporaryFile(/tmp/multipartBody2662487678423494264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788739046,"filename":"image_25012025_06_17_02_626612_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/357726a032b75a105426cf0a9c0d97dc.jpg","text":"TemporaryFile(/tmp/multipartBody8305539264826343842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788739046,"filename":"image_25012025_06_16_02_955393_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9db352c0465cd09b0ca95f82acbdd06b.jpg","text":"TemporaryFile(/tmp/multipartBody6798236940216880370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788739046,"filename":"image_25012025_06_16_02_955393_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331262159","file1":"1331262154","file0":"1331262145","file4":"1331262166","file5":"1331262170","file3":"1331262162"},"map_files_photo_id_array":[{"photo_id":"1331262170","filename":"file5"},{"photo_id":"1331262159","filename":"file2"},{"photo_id":"1331262166","filename":"file4"},{"photo_id":"1331262154","filename":"file1"},{"photo_id":"1331262145","filename":"file0"},{"photo_id":"1331262162","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331262159":["hashtag1","hashtag2"]},{"1331262162":["hashtag1","hashtag2"]},{"1331262170":["hashtag1","hashtag2"]},{"1331262166":["hashtag1","hashtag2"]},{"1331262154":["hashtag1","hashtag2"]},{"1331262145":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331262159, 1331262162, 1331262170, 1331262166, 1331262154, 1331262145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.178025245666504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:05:22.092034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/17/image_25012025_06_17_02_626612_0002.jpg', '/home/pi/Desktop/images/25012025/06/17/image_25012025_06_17_02_626612_0003.jpg', '/home/pi/Desktop/images/25012025/06/18/image_25012025_06_18_02_129270_0000.jpg', '/home/pi/Desktop/images/25012025/06/18/image_25012025_06_18_02_129270_0001.jpg', '/home/pi/Desktop/images/25012025/06/18/image_25012025_06_18_02_129270_0002.jpg', '/home/pi/Desktop/images/25012025/06/18/image_25012025_06_18_02_129270_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/17/image_25012025_06_17_02_626612_0002.jpg
/home/pi/Desktop/images/25012025/06/17/image_25012025_06_17_02_626612_0003.jpg
/home/pi/Desktop/images/25012025/06/18/image_25012025_06_18_02_129270_0000.jpg
/home/pi/Desktop/images/25012025/06/18/image_25012025_06_18_02_129270_0001.jpg
/home/pi/Desktop/images/25012025/06/18/image_25012025_06_18_02_129270_0002.jpg
/home/pi/Desktop/images/25012025/06/18/image_25012025_06_18_02_129270_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331262192","1331262246","1331262240","1331262204","1331262199","1331262244"],"photo_ids_order":["1331262192","1331262199","1331262204","1331262240","1331262244","1331262246"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a113d634afa0b4522e6a0750cad88ca8.jpg","text":"TemporaryFile(/tmp/multipartBody3442409872681992234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788798506,"filename":"image_25012025_06_17_02_626612_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9ef1d56288b04e7b68014097beacba2e.jpg","text":"TemporaryFile(/tmp/multipartBody7856957202047258383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788798506,"filename":"image_25012025_06_18_02_129270_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8e46c74bfee8e7cdbc1b29479e4d62de.jpg","text":"TemporaryFile(/tmp/multipartBody967274393186430257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788798506,"filename":"image_25012025_06_18_02_129270_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/342c5f39d35c771744e7016f7473eb29.jpg","text":"TemporaryFile(/tmp/multipartBody5520972742473441149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788798506,"filename":"image_25012025_06_18_02_129270_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e9d1a76fdc5faa2bc25484e27b3f117c.jpg","text":"TemporaryFile(/tmp/multipartBody422702289250266141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788798506,"filename":"image_25012025_06_17_02_626612_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/71c7e1c0159ecee8934501a093873977.jpg","text":"TemporaryFile(/tmp/multipartBody215839857590982135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788798506,"filename":"image_25012025_06_18_02_129270_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331262204","file1":"1331262199","file0":"1331262192","file4":"1331262244","file5":"1331262246","file3":"1331262240"},"map_files_photo_id_array":[{"photo_id":"1331262246","filename":"file5"},{"photo_id":"1331262204","filename":"file2"},{"photo_id":"1331262244","filename":"file4"},{"photo_id":"1331262199","filename":"file1"},{"photo_id":"1331262192","filename":"file0"},{"photo_id":"1331262240","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331262192":["hashtag1","hashtag2"]},{"1331262246":["hashtag1","hashtag2"]},{"1331262240":["hashtag1","hashtag2"]},{"1331262204":["hashtag1","hashtag2"]},{"1331262199":["hashtag1","hashtag2"]},{"1331262244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331262192, 1331262246, 1331262240, 1331262204, 1331262199, 1331262244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.61519980430603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:06:22.648052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/19/image_25012025_06_19_02_757430_0000.jpg', '/home/pi/Desktop/images/25012025/06/19/image_25012025_06_19_02_757430_0001.jpg', '/home/pi/Desktop/images/25012025/06/19/image_25012025_06_19_02_757430_0002.jpg', '/home/pi/Desktop/images/25012025/06/19/image_25012025_06_19_02_757430_0003.jpg', '/home/pi/Desktop/images/25012025/06/20/image_25012025_06_20_02_216513_0000.jpg', '/home/pi/Desktop/images/25012025/06/20/image_25012025_06_20_02_216513_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/19/image_25012025_06_19_02_757430_0000.jpg
/home/pi/Desktop/images/25012025/06/19/image_25012025_06_19_02_757430_0001.jpg
/home/pi/Desktop/images/25012025/06/19/image_25012025_06_19_02_757430_0002.jpg
/home/pi/Desktop/images/25012025/06/19/image_25012025_06_19_02_757430_0003.jpg
/home/pi/Desktop/images/25012025/06/20/image_25012025_06_20_02_216513_0000.jpg
/home/pi/Desktop/images/25012025/06/20/image_25012025_06_20_02_216513_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331262408","1331262461","1331262481","1331262466","1331262448","1331262433"],"photo_ids_order":["1331262408","1331262433","1331262448","1331262461","1331262466","1331262481"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/71087614611133dbac684889abfc1ce3.jpg","text":"TemporaryFile(/tmp/multipartBody4498781254376562209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788858364,"filename":"image_25012025_06_19_02_757430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d20f27f73088facd12851e599dadef41.jpg","text":"TemporaryFile(/tmp/multipartBody4698284313384755600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788858364,"filename":"image_25012025_06_19_02_757430_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f80e8d4180b9121c5df9828876cf5ced.jpg","text":"TemporaryFile(/tmp/multipartBody5813569975474965484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788858364,"filename":"image_25012025_06_20_02_216513_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/99be51a0a32984a07df4be1b5ac91ea3.jpg","text":"TemporaryFile(/tmp/multipartBody3219723029208759551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788858364,"filename":"image_25012025_06_20_02_216513_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bd2e99186643173e54244fec86ee7a7e.jpg","text":"TemporaryFile(/tmp/multipartBody8340710278804713880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788858364,"filename":"image_25012025_06_19_02_757430_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9f29b8d745960b02a6ff23d4d63c4b7a.jpg","text":"TemporaryFile(/tmp/multipartBody1034966949427865783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788858364,"filename":"image_25012025_06_19_02_757430_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331262448","file1":"1331262433","file0":"1331262408","file4":"1331262466","file5":"1331262481","file3":"1331262461"},"map_files_photo_id_array":[{"photo_id":"1331262481","filename":"file5"},{"photo_id":"1331262448","filename":"file2"},{"photo_id":"1331262466","filename":"file4"},{"photo_id":"1331262433","filename":"file1"},{"photo_id":"1331262408","filename":"file0"},{"photo_id":"1331262461","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331262408":["hashtag1","hashtag2"]},{"1331262461":["hashtag1","hashtag2"]},{"1331262481":["hashtag1","hashtag2"]},{"1331262466":["hashtag1","hashtag2"]},{"1331262448":["hashtag1","hashtag2"]},{"1331262433":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331262408, 1331262461, 1331262481, 1331262466, 1331262448, 1331262433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.45164465904236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:07:22.097336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/20/image_25012025_06_20_02_216513_0002.jpg', '/home/pi/Desktop/images/25012025/06/20/image_25012025_06_20_02_216513_0003.jpg', '/home/pi/Desktop/images/25012025/06/21/image_25012025_06_21_02_957608_0000.jpg', '/home/pi/Desktop/images/25012025/06/21/image_25012025_06_21_02_957608_0001.jpg', '/home/pi/Desktop/images/25012025/06/21/image_25012025_06_21_02_957608_0002.jpg', '/home/pi/Desktop/images/25012025/06/21/image_25012025_06_21_02_957608_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/20/image_25012025_06_20_02_216513_0002.jpg
/home/pi/Desktop/images/25012025/06/20/image_25012025_06_20_02_216513_0003.jpg
/home/pi/Desktop/images/25012025/06/21/image_25012025_06_21_02_957608_0000.jpg
/home/pi/Desktop/images/25012025/06/21/image_25012025_06_21_02_957608_0001.jpg
/home/pi/Desktop/images/25012025/06/21/image_25012025_06_21_02_957608_0002.jpg
/home/pi/Desktop/images/25012025/06/21/image_25012025_06_21_02_957608_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331262495","1331262504","1331262516","1331262500","1331262511","1331262508"],"photo_ids_order":["1331262495","1331262500","1331262504","1331262508","1331262511","1331262516"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/64391e61c6aab4827d7aed310fb44305.jpg","text":"TemporaryFile(/tmp/multipartBody216083062214462114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788918094,"filename":"image_25012025_06_20_02_216513_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/21a1215dbdd08e2dd2c8f22d8a3bf70e.jpg","text":"TemporaryFile(/tmp/multipartBody8036112320846936092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788918094,"filename":"image_25012025_06_21_02_957608_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f138cd030534fecf7fb9977e76f0cf98.jpg","text":"TemporaryFile(/tmp/multipartBody9072088244279373126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788918094,"filename":"image_25012025_06_21_02_957608_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/634b5747bab866d1c15b81bcedbdb489.jpg","text":"TemporaryFile(/tmp/multipartBody6466919807606594075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788918094,"filename":"image_25012025_06_20_02_216513_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d489714d96557288165c24e980cdeef8.jpg","text":"TemporaryFile(/tmp/multipartBody3087853986887835460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788918094,"filename":"image_25012025_06_21_02_957608_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c1498d0f5f983d3b60315b39071daac3.jpg","text":"TemporaryFile(/tmp/multipartBody6804188833695282749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788918094,"filename":"image_25012025_06_21_02_957608_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331262504","file1":"1331262500","file0":"1331262495","file4":"1331262511","file5":"1331262516","file3":"1331262508"},"map_files_photo_id_array":[{"photo_id":"1331262516","filename":"file5"},{"photo_id":"1331262504","filename":"file2"},{"photo_id":"1331262511","filename":"file4"},{"photo_id":"1331262500","filename":"file1"},{"photo_id":"1331262495","filename":"file0"},{"photo_id":"1331262508","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331262495":["hashtag1","hashtag2"]},{"1331262504":["hashtag1","hashtag2"]},{"1331262516":["hashtag1","hashtag2"]},{"1331262500":["hashtag1","hashtag2"]},{"1331262511":["hashtag1","hashtag2"]},{"1331262508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331262495, 1331262504, 1331262516, 1331262500, 1331262511, 1331262508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.2237708568573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:08:22.673546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/22/image_25012025_06_22_02_494736_0000.jpg', '/home/pi/Desktop/images/25012025/06/22/image_25012025_06_22_02_494736_0001.jpg', '/home/pi/Desktop/images/25012025/06/22/image_25012025_06_22_02_494736_0002.jpg', '/home/pi/Desktop/images/25012025/06/22/image_25012025_06_22_02_494736_0003.jpg', '/home/pi/Desktop/images/25012025/06/23/image_25012025_06_23_03_138758_0000.jpg', '/home/pi/Desktop/images/25012025/06/23/image_25012025_06_23_03_138758_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/22/image_25012025_06_22_02_494736_0000.jpg
/home/pi/Desktop/images/25012025/06/22/image_25012025_06_22_02_494736_0001.jpg
/home/pi/Desktop/images/25012025/06/22/image_25012025_06_22_02_494736_0002.jpg
/home/pi/Desktop/images/25012025/06/22/image_25012025_06_22_02_494736_0003.jpg
/home/pi/Desktop/images/25012025/06/23/image_25012025_06_23_03_138758_0000.jpg
/home/pi/Desktop/images/25012025/06/23/image_25012025_06_23_03_138758_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331263493","1331263212","1331262997","1331263581","1331262679","1331263584"],"photo_ids_order":["1331262679","1331262997","1331263212","1331263493","1331263581","1331263584"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a1aafe34760cc84d6e8b1724664c5d28.jpg","text":"TemporaryFile(/tmp/multipartBody6959097815138019476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788979115,"filename":"image_25012025_06_22_02_494736_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/37481e5d8f5c413881f0540fc42ef1f2.jpg","text":"TemporaryFile(/tmp/multipartBody815326284573894124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788979115,"filename":"image_25012025_06_22_02_494736_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0768383666045c4c47e9b25a273db1b1.jpg","text":"TemporaryFile(/tmp/multipartBody2277180898936797981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788979115,"filename":"image_25012025_06_22_02_494736_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/edf873a865e011798580a3a0ecee8e6c.jpg","text":"TemporaryFile(/tmp/multipartBody8767766469774628795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788979115,"filename":"image_25012025_06_23_03_138758_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/187da398a2aa8494ad7f4678b68f823a.jpg","text":"TemporaryFile(/tmp/multipartBody5357603052504084435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788979115,"filename":"image_25012025_06_22_02_494736_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/486153e54643473f5e3650043b70f133.jpg","text":"TemporaryFile(/tmp/multipartBody6154018626103949989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737788979115,"filename":"image_25012025_06_23_03_138758_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331263212","file1":"1331262997","file0":"1331262679","file4":"1331263581","file5":"1331263584","file3":"1331263493"},"map_files_photo_id_array":[{"photo_id":"1331263584","filename":"file5"},{"photo_id":"1331263212","filename":"file2"},{"photo_id":"1331263581","filename":"file4"},{"photo_id":"1331262997","filename":"file1"},{"photo_id":"1331262679","filename":"file0"},{"photo_id":"1331263493","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331263493":["hashtag1","hashtag2"]},{"1331263212":["hashtag1","hashtag2"]},{"1331262997":["hashtag1","hashtag2"]},{"1331263581":["hashtag1","hashtag2"]},{"1331262679":["hashtag1","hashtag2"]},{"1331263584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331263493, 1331263212, 1331262997, 1331263581, 1331262679, 1331263584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.48833656311035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:09:22.154961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/23/image_25012025_06_23_03_138758_0002.jpg', '/home/pi/Desktop/images/25012025/06/23/image_25012025_06_23_03_138758_0003.jpg', '/home/pi/Desktop/images/25012025/06/24/image_25012025_06_24_02_723351_0000.jpg', '/home/pi/Desktop/images/25012025/06/24/image_25012025_06_24_02_723351_0001.jpg', '/home/pi/Desktop/images/25012025/06/24/image_25012025_06_24_02_723351_0002.jpg', '/home/pi/Desktop/images/25012025/06/24/image_25012025_06_24_02_723351_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/23/image_25012025_06_23_03_138758_0002.jpg
/home/pi/Desktop/images/25012025/06/23/image_25012025_06_23_03_138758_0003.jpg
/home/pi/Desktop/images/25012025/06/24/image_25012025_06_24_02_723351_0000.jpg
/home/pi/Desktop/images/25012025/06/24/image_25012025_06_24_02_723351_0001.jpg
/home/pi/Desktop/images/25012025/06/24/image_25012025_06_24_02_723351_0002.jpg
/home/pi/Desktop/images/25012025/06/24/image_25012025_06_24_02_723351_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331264171","1331263598","1331263877","1331263778","1331263672","1331263603"],"photo_ids_order":["1331263598","1331263603","1331263672","1331263778","1331263877","1331264171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/235d70068e6138c09da3aa682cd7d8b2.jpg","text":"TemporaryFile(/tmp/multipartBody2466553490611582626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789038592,"filename":"image_25012025_06_24_02_723351_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4ea31ed9aaba56572d694d17f7f04f2f.jpg","text":"TemporaryFile(/tmp/multipartBody3366803610007830220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789038592,"filename":"image_25012025_06_23_03_138758_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ce912e0403209315d9356a5594cdd549.jpg","text":"TemporaryFile(/tmp/multipartBody161039063748176405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789038592,"filename":"image_25012025_06_24_02_723351_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/712562c8d6ff688451c7c91e87245105.jpg","text":"TemporaryFile(/tmp/multipartBody8793907316986208454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789038592,"filename":"image_25012025_06_24_02_723351_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9c1a89d668531d385e26f9241157547c.jpg","text":"TemporaryFile(/tmp/multipartBody8490352943483766744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789038592,"filename":"image_25012025_06_24_02_723351_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/36d9aa938093f984c65dce6469e45c25.jpg","text":"TemporaryFile(/tmp/multipartBody1720054878440334987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789038592,"filename":"image_25012025_06_23_03_138758_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331263672","file1":"1331263603","file0":"1331263598","file4":"1331263877","file5":"1331264171","file3":"1331263778"},"map_files_photo_id_array":[{"photo_id":"1331264171","filename":"file5"},{"photo_id":"1331263672","filename":"file2"},{"photo_id":"1331263877","filename":"file4"},{"photo_id":"1331263603","filename":"file1"},{"photo_id":"1331263598","filename":"file0"},{"photo_id":"1331263778","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331264171":["hashtag1","hashtag2"]},{"1331263598":["hashtag1","hashtag2"]},{"1331263877":["hashtag1","hashtag2"]},{"1331263778":["hashtag1","hashtag2"]},{"1331263672":["hashtag1","hashtag2"]},{"1331263603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331264171, 1331263598, 1331263877, 1331263778, 1331263672, 1331263603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.56967759132385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:10:22.602140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/25/image_25012025_06_25_02_255986_0000.jpg', '/home/pi/Desktop/images/25012025/06/25/image_25012025_06_25_02_255986_0001.jpg', '/home/pi/Desktop/images/25012025/06/25/image_25012025_06_25_02_255986_0002.jpg', '/home/pi/Desktop/images/25012025/06/25/image_25012025_06_25_02_255986_0003.jpg', '/home/pi/Desktop/images/25012025/06/26/image_25012025_06_26_02_781020_0000.jpg', '/home/pi/Desktop/images/25012025/06/26/image_25012025_06_26_02_781020_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/25/image_25012025_06_25_02_255986_0000.jpg
/home/pi/Desktop/images/25012025/06/25/image_25012025_06_25_02_255986_0001.jpg
/home/pi/Desktop/images/25012025/06/25/image_25012025_06_25_02_255986_0002.jpg
/home/pi/Desktop/images/25012025/06/25/image_25012025_06_25_02_255986_0003.jpg
/home/pi/Desktop/images/25012025/06/26/image_25012025_06_26_02_781020_0000.jpg
/home/pi/Desktop/images/25012025/06/26/image_25012025_06_26_02_781020_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: 16.22640895843506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 08:11:02.795400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/25/image_25012025_06_25_02_255986_0000.jpg', '/home/pi/Desktop/images/25012025/06/25/image_25012025_06_25_02_255986_0001.jpg', '/home/pi/Desktop/images/25012025/06/25/image_25012025_06_25_02_255986_0002.jpg', '/home/pi/Desktop/images/25012025/06/25/image_25012025_06_25_02_255986_0003.jpg', '/home/pi/Desktop/images/25012025/06/26/image_25012025_06_26_02_781020_0000.jpg', '/home/pi/Desktop/images/25012025/06/26/image_25012025_06_26_02_781020_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/25/image_25012025_06_25_02_255986_0000.jpg
/home/pi/Desktop/images/25012025/06/25/image_25012025_06_25_02_255986_0001.jpg
/home/pi/Desktop/images/25012025/06/25/image_25012025_06_25_02_255986_0002.jpg
/home/pi/Desktop/images/25012025/06/25/image_25012025_06_25_02_255986_0003.jpg
/home/pi/Desktop/images/25012025/06/26/image_25012025_06_26_02_781020_0000.jpg
/home/pi/Desktop/images/25012025/06/26/image_25012025_06_26_02_781020_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":["1331265137","1331264957","1331265113","1331265035","1331265118","1331265062"],"photo_ids_order":["1331264957","1331265035","1331265062","1331265113","1331265118","1331265137"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a6e693a7fb68002c859f5c020eff8d10.jpg","text":"TemporaryFile(/tmp/multipartBody1051455361597387318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789139464,"filename":"image_25012025_06_26_02_781020_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d2906ceb996468ea893aac08a8d2240f.jpg","text":"TemporaryFile(/tmp/multipartBody764348372957879736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789139464,"filename":"image_25012025_06_25_02_255986_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8be8345dba4146c2190f1dc270298e09.jpg","text":"TemporaryFile(/tmp/multipartBody987511799906347073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789139464,"filename":"image_25012025_06_25_02_255986_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bf65998004d7497dfe251575159122fb.jpg","text":"TemporaryFile(/tmp/multipartBody7559720818805547146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789139464,"filename":"image_25012025_06_25_02_255986_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c18f36229e9e73f9efb7f563f582b5d5.jpg","text":"TemporaryFile(/tmp/multipartBody5291550458948037391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789139464,"filename":"image_25012025_06_26_02_781020_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9517b2f8f1ee8a446792cae55a83731b.jpg","text":"TemporaryFile(/tmp/multipartBody2082317707479673905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789139464,"filename":"image_25012025_06_25_02_255986_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331265062","file1":"1331265035","file0":"1331264957","file4":"1331265118","file5":"1331265137","file3":"1331265113"},"map_files_photo_id_array":[{"photo_id":"1331265137","filename":"file5"},{"photo_id":"1331265062","filename":"file2"},{"photo_id":"1331265118","filename":"file4"},{"photo_id":"1331265035","filename":"file1"},{"photo_id":"1331264957","filename":"file0"},{"photo_id":"1331265113","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331265137":["hashtag1","hashtag2"]},{"1331264957":["hashtag1","hashtag2"]},{"1331265113":["hashtag1","hashtag2"]},{"1331265035":["hashtag1","hashtag2"]},{"1331265118":["hashtag1","hashtag2"]},{"1331265062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331265137, 1331264957, 1331265113, 1331265035, 1331265118, 1331265062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.751285552978516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:12:21.834347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/26/image_25012025_06_26_02_781020_0002.jpg', '/home/pi/Desktop/images/25012025/06/26/image_25012025_06_26_02_781020_0003.jpg', '/home/pi/Desktop/images/25012025/06/27/image_25012025_06_27_02_311014_0000.jpg', '/home/pi/Desktop/images/25012025/06/27/image_25012025_06_27_02_311014_0001.jpg', '/home/pi/Desktop/images/25012025/06/27/image_25012025_06_27_02_311014_0002.jpg', '/home/pi/Desktop/images/25012025/06/27/image_25012025_06_27_02_311014_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/26/image_25012025_06_26_02_781020_0002.jpg
/home/pi/Desktop/images/25012025/06/26/image_25012025_06_26_02_781020_0003.jpg
/home/pi/Desktop/images/25012025/06/27/image_25012025_06_27_02_311014_0000.jpg
/home/pi/Desktop/images/25012025/06/27/image_25012025_06_27_02_311014_0001.jpg
/home/pi/Desktop/images/25012025/06/27/image_25012025_06_27_02_311014_0002.jpg
/home/pi/Desktop/images/25012025/06/27/image_25012025_06_27_02_311014_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.31459879875183 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 08:13:03.054889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/26/image_25012025_06_26_02_781020_0002.jpg', '/home/pi/Desktop/images/25012025/06/26/image_25012025_06_26_02_781020_0003.jpg', '/home/pi/Desktop/images/25012025/06/27/image_25012025_06_27_02_311014_0000.jpg', '/home/pi/Desktop/images/25012025/06/27/image_25012025_06_27_02_311014_0001.jpg', '/home/pi/Desktop/images/25012025/06/27/image_25012025_06_27_02_311014_0002.jpg', '/home/pi/Desktop/images/25012025/06/27/image_25012025_06_27_02_311014_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/26/image_25012025_06_26_02_781020_0002.jpg
/home/pi/Desktop/images/25012025/06/26/image_25012025_06_26_02_781020_0003.jpg
/home/pi/Desktop/images/25012025/06/27/image_25012025_06_27_02_311014_0000.jpg
/home/pi/Desktop/images/25012025/06/27/image_25012025_06_27_02_311014_0001.jpg
/home/pi/Desktop/images/25012025/06/27/image_25012025_06_27_02_311014_0002.jpg
/home/pi/Desktop/images/25012025/06/27/image_25012025_06_27_02_311014_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":["1331265524","1331265532","1331265576","1331265543","1331265537","1331265528"],"photo_ids_order":["1331265524","1331265528","1331265532","1331265537","1331265543","1331265576"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c0d8bd0e7c8a0fa41dc7f15c51b07a36.jpg","text":"TemporaryFile(/tmp/multipartBody6495312114195312456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789259819,"filename":"image_25012025_06_26_02_781020_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d513eda4e08903d6fb6806250a2dd407.jpg","text":"TemporaryFile(/tmp/multipartBody6263783608892319875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789259819,"filename":"image_25012025_06_27_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/25/6b75ab09c3ddcfb2906f37730abf800b.jpg","text":"TemporaryFile(/tmp/multipartBody6779173774359106752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789259819,"filename":"image_25012025_06_27_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/25/88eacd3f0b06d58af20bb1d7ebedf8f3.jpg","text":"TemporaryFile(/tmp/multipartBody8272963367058600780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789259819,"filename":"image_25012025_06_27_02_311014_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aeba2abe243ed5638d6988e6b258eca7.jpg","text":"TemporaryFile(/tmp/multipartBody2688669442823838423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789259819,"filename":"image_25012025_06_27_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/25/09b17ff0011d82cffcc5527512e0d6b9.jpg","text":"TemporaryFile(/tmp/multipartBody4029525439043172447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789259819,"filename":"image_25012025_06_26_02_781020_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331265532","file1":"1331265528","file0":"1331265524","file4":"1331265543","file5":"1331265576","file3":"1331265537"},"map_files_photo_id_array":[{"photo_id":"1331265576","filename":"file5"},{"photo_id":"1331265532","filename":"file2"},{"photo_id":"1331265543","filename":"file4"},{"photo_id":"1331265528","filename":"file1"},{"photo_id":"1331265524","filename":"file0"},{"photo_id":"1331265537","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331265524":["hashtag1","hashtag2"]},{"1331265532":["hashtag1","hashtag2"]},{"1331265576":["hashtag1","hashtag2"]},{"1331265543":["hashtag1","hashtag2"]},{"1331265537":["hashtag1","hashtag2"]},{"1331265528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331265524, 1331265532, 1331265576, 1331265543, 1331265537, 1331265528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.37288451194763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:14:22.228103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/28/image_25012025_06_28_02_873735_0000.jpg', '/home/pi/Desktop/images/25012025/06/28/image_25012025_06_28_02_873735_0001.jpg', '/home/pi/Desktop/images/25012025/06/28/image_25012025_06_28_02_873735_0002.jpg', '/home/pi/Desktop/images/25012025/06/28/image_25012025_06_28_02_873735_0003.jpg', '/home/pi/Desktop/images/25012025/06/29/image_25012025_06_29_02_397622_0000.jpg', '/home/pi/Desktop/images/25012025/06/29/image_25012025_06_29_02_397622_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/28/image_25012025_06_28_02_873735_0000.jpg
/home/pi/Desktop/images/25012025/06/28/image_25012025_06_28_02_873735_0001.jpg
/home/pi/Desktop/images/25012025/06/28/image_25012025_06_28_02_873735_0002.jpg
/home/pi/Desktop/images/25012025/06/28/image_25012025_06_28_02_873735_0003.jpg
/home/pi/Desktop/images/25012025/06/29/image_25012025_06_29_02_397622_0000.jpg
/home/pi/Desktop/images/25012025/06/29/image_25012025_06_29_02_397622_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":["1331265806","1331265699","1331265690","1331265684","1331265695","1331265761"],"photo_ids_order":["1331265684","1331265690","1331265695","1331265699","1331265761","1331265806"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fccbcc7e2082f1f96e3d9a666e982648.jpg","text":"TemporaryFile(/tmp/multipartBody2651135788272590112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789339191,"filename":"image_25012025_06_29_02_397622_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/33bfeb90f06f073eb521bfdbc271b973.jpg","text":"TemporaryFile(/tmp/multipartBody4935307316767644725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789339191,"filename":"image_25012025_06_28_02_873735_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7fc3d0c15d0b36770f4f1d707cbcffd0.jpg","text":"TemporaryFile(/tmp/multipartBody2976217782809613257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789339191,"filename":"image_25012025_06_28_02_873735_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4a53d5c8e00a00ade5911f5a862bc532.jpg","text":"TemporaryFile(/tmp/multipartBody2924767616915203239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789339191,"filename":"image_25012025_06_28_02_873735_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/42a70053cf30ac8d2cdcb2bf00ac8765.jpg","text":"TemporaryFile(/tmp/multipartBody6071415461816751837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789339191,"filename":"image_25012025_06_28_02_873735_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/06b0aaf728c1f7a32859a44ab1be97e2.jpg","text":"TemporaryFile(/tmp/multipartBody8408159215800008108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789339191,"filename":"image_25012025_06_29_02_397622_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331265695","file1":"1331265690","file0":"1331265684","file4":"1331265761","file5":"1331265806","file3":"1331265699"},"map_files_photo_id_array":[{"photo_id":"1331265806","filename":"file5"},{"photo_id":"1331265695","filename":"file2"},{"photo_id":"1331265761","filename":"file4"},{"photo_id":"1331265690","filename":"file1"},{"photo_id":"1331265684","filename":"file0"},{"photo_id":"1331265699","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331265806":["hashtag1","hashtag2"]},{"1331265699":["hashtag1","hashtag2"]},{"1331265690":["hashtag1","hashtag2"]},{"1331265684":["hashtag1","hashtag2"]},{"1331265695":["hashtag1","hashtag2"]},{"1331265761":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331265806, 1331265699, 1331265690, 1331265684, 1331265695, 1331265761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.858365535736084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 08:16:02.656936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/29/image_25012025_06_29_02_397622_0002.jpg', '/home/pi/Desktop/images/25012025/06/29/image_25012025_06_29_02_397622_0003.jpg', '/home/pi/Desktop/images/25012025/06/30/image_25012025_06_30_02_900353_0000.jpg', '/home/pi/Desktop/images/25012025/06/30/image_25012025_06_30_02_900353_0001.jpg', '/home/pi/Desktop/images/25012025/06/30/image_25012025_06_30_02_900353_0002.jpg', '/home/pi/Desktop/images/25012025/06/30/image_25012025_06_30_02_900353_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/29/image_25012025_06_29_02_397622_0002.jpg
/home/pi/Desktop/images/25012025/06/29/image_25012025_06_29_02_397622_0003.jpg
/home/pi/Desktop/images/25012025/06/30/image_25012025_06_30_02_900353_0000.jpg
/home/pi/Desktop/images/25012025/06/30/image_25012025_06_30_02_900353_0001.jpg
/home/pi/Desktop/images/25012025/06/30/image_25012025_06_30_02_900353_0002.jpg
/home/pi/Desktop/images/25012025/06/30/image_25012025_06_30_02_900353_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":["1331266418","1331266411","1331266407","1331266424","1331266427","1331266355"],"photo_ids_order":["1331266355","1331266407","1331266411","1331266418","1331266424","1331266427"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bb1b07ca473ba735b927bcc333c66502.jpg","text":"TemporaryFile(/tmp/multipartBody440228888440747470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789439642,"filename":"image_25012025_06_30_02_900353_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aa03edfb1753d9a37fe0aa328b6e9eeb.jpg","text":"TemporaryFile(/tmp/multipartBody8070245004784076927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789439642,"filename":"image_25012025_06_30_02_900353_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d7c9f2e964809c01dc7934ea250e6480.jpg","text":"TemporaryFile(/tmp/multipartBody7456650854381576003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789439642,"filename":"image_25012025_06_29_02_397622_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4352cc242d3bf7b0e9f547e83973c477.jpg","text":"TemporaryFile(/tmp/multipartBody2159652718248284178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789439642,"filename":"image_25012025_06_30_02_900353_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ff0fd573bb3e23aee233248ae9073d85.jpg","text":"TemporaryFile(/tmp/multipartBody6261701299801160799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789439642,"filename":"image_25012025_06_30_02_900353_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d3888131309d5bb0cc28470d1ce78926.jpg","text":"TemporaryFile(/tmp/multipartBody6276175110096859473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789439642,"filename":"image_25012025_06_29_02_397622_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331266411","file1":"1331266407","file0":"1331266355","file4":"1331266424","file5":"1331266427","file3":"1331266418"},"map_files_photo_id_array":[{"photo_id":"1331266427","filename":"file5"},{"photo_id":"1331266411","filename":"file2"},{"photo_id":"1331266424","filename":"file4"},{"photo_id":"1331266407","filename":"file1"},{"photo_id":"1331266355","filename":"file0"},{"photo_id":"1331266418","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331266418":["hashtag1","hashtag2"]},{"1331266411":["hashtag1","hashtag2"]},{"1331266407":["hashtag1","hashtag2"]},{"1331266424":["hashtag1","hashtag2"]},{"1331266427":["hashtag1","hashtag2"]},{"1331266355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331266418, 1331266411, 1331266407, 1331266424, 1331266427, 1331266355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.862950801849365 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:17:21.789979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/31/image_25012025_06_31_02_410136_0000.jpg', '/home/pi/Desktop/images/25012025/06/31/image_25012025_06_31_02_410136_0001.jpg', '/home/pi/Desktop/images/25012025/06/31/image_25012025_06_31_02_410136_0002.jpg', '/home/pi/Desktop/images/25012025/06/31/image_25012025_06_31_02_410136_0003.jpg', '/home/pi/Desktop/images/25012025/06/32/image_25012025_06_32_02_952534_0000.jpg', '/home/pi/Desktop/images/25012025/06/32/image_25012025_06_32_02_952534_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/31/image_25012025_06_31_02_410136_0000.jpg
/home/pi/Desktop/images/25012025/06/31/image_25012025_06_31_02_410136_0001.jpg
/home/pi/Desktop/images/25012025/06/31/image_25012025_06_31_02_410136_0002.jpg
/home/pi/Desktop/images/25012025/06/31/image_25012025_06_31_02_410136_0003.jpg
/home/pi/Desktop/images/25012025/06/32/image_25012025_06_32_02_952534_0000.jpg
/home/pi/Desktop/images/25012025/06/32/image_25012025_06_32_02_952534_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331267023","1331266852","1331266915","1331266985","1331266868","1331267086"],"photo_ids_order":["1331266852","1331266868","1331266915","1331266985","1331267023","1331267086"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/818c1d1b843be1821131bf0c3c683dd0.jpg","text":"TemporaryFile(/tmp/multipartBody510343610416660756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789518672,"filename":"image_25012025_06_32_02_952534_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1a5288d5d0f11b6023d092cfc1959743.jpg","text":"TemporaryFile(/tmp/multipartBody2494289599468288271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789518672,"filename":"image_25012025_06_31_02_410136_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/de93ed102c0fbaf0bed5d4051401b172.jpg","text":"TemporaryFile(/tmp/multipartBody8008170187800564415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789518672,"filename":"image_25012025_06_31_02_410136_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d9cd95203e5b1324aac115a4ac3fedc9.jpg","text":"TemporaryFile(/tmp/multipartBody7793537747030449823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789518672,"filename":"image_25012025_06_31_02_410136_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/092d8045bf2eb49a5e6cc071060269b8.jpg","text":"TemporaryFile(/tmp/multipartBody125889671298075763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789518672,"filename":"image_25012025_06_31_02_410136_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/81361fcf9b2c01329b497ab2463cdb9c.jpg","text":"TemporaryFile(/tmp/multipartBody3103907505334152268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789518672,"filename":"image_25012025_06_32_02_952534_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331266915","file1":"1331266868","file0":"1331266852","file4":"1331267023","file5":"1331267086","file3":"1331266985"},"map_files_photo_id_array":[{"photo_id":"1331267086","filename":"file5"},{"photo_id":"1331266915","filename":"file2"},{"photo_id":"1331267023","filename":"file4"},{"photo_id":"1331266868","filename":"file1"},{"photo_id":"1331266852","filename":"file0"},{"photo_id":"1331266985","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331267023":["hashtag1","hashtag2"]},{"1331266852":["hashtag1","hashtag2"]},{"1331266915":["hashtag1","hashtag2"]},{"1331266985":["hashtag1","hashtag2"]},{"1331266868":["hashtag1","hashtag2"]},{"1331267086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331267023, 1331266852, 1331266915, 1331266985, 1331266868, 1331267086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.036051511764526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:18:22.330048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/32/image_25012025_06_32_02_952534_0002.jpg', '/home/pi/Desktop/images/25012025/06/32/image_25012025_06_32_02_952534_0003.jpg', '/home/pi/Desktop/images/25012025/06/33/image_25012025_06_33_02_607553_0000.jpg', '/home/pi/Desktop/images/25012025/06/33/image_25012025_06_33_02_607553_0001.jpg', '/home/pi/Desktop/images/25012025/06/33/image_25012025_06_33_02_607553_0002.jpg', '/home/pi/Desktop/images/25012025/06/33/image_25012025_06_33_02_607553_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/32/image_25012025_06_32_02_952534_0002.jpg
/home/pi/Desktop/images/25012025/06/32/image_25012025_06_32_02_952534_0003.jpg
/home/pi/Desktop/images/25012025/06/33/image_25012025_06_33_02_607553_0000.jpg
/home/pi/Desktop/images/25012025/06/33/image_25012025_06_33_02_607553_0001.jpg
/home/pi/Desktop/images/25012025/06/33/image_25012025_06_33_02_607553_0002.jpg
/home/pi/Desktop/images/25012025/06/33/image_25012025_06_33_02_607553_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.065253257751465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 08:19:02.464168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/32/image_25012025_06_32_02_952534_0002.jpg', '/home/pi/Desktop/images/25012025/06/32/image_25012025_06_32_02_952534_0003.jpg', '/home/pi/Desktop/images/25012025/06/33/image_25012025_06_33_02_607553_0000.jpg', '/home/pi/Desktop/images/25012025/06/33/image_25012025_06_33_02_607553_0001.jpg', '/home/pi/Desktop/images/25012025/06/33/image_25012025_06_33_02_607553_0002.jpg', '/home/pi/Desktop/images/25012025/06/33/image_25012025_06_33_02_607553_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/32/image_25012025_06_32_02_952534_0002.jpg
/home/pi/Desktop/images/25012025/06/32/image_25012025_06_32_02_952534_0003.jpg
/home/pi/Desktop/images/25012025/06/33/image_25012025_06_33_02_607553_0000.jpg
/home/pi/Desktop/images/25012025/06/33/image_25012025_06_33_02_607553_0001.jpg
/home/pi/Desktop/images/25012025/06/33/image_25012025_06_33_02_607553_0002.jpg
/home/pi/Desktop/images/25012025/06/33/image_25012025_06_33_02_607553_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331267917","1331267907","1331267963","1331267912","1331267872","1331267878"],"photo_ids_order":["1331267872","1331267878","1331267907","1331267912","1331267917","1331267963"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e385a548cc158371534d9c818e6c30dc.jpg","text":"TemporaryFile(/tmp/multipartBody4930245164539945023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789618979,"filename":"image_25012025_06_33_02_607553_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/790fe5170ab0cbdf12bdd7b10af60920.jpg","text":"TemporaryFile(/tmp/multipartBody7125205883809505492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789618979,"filename":"image_25012025_06_33_02_607553_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/967d7e47a276dfd7115486378aa599e9.jpg","text":"TemporaryFile(/tmp/multipartBody3507218992974572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789618979,"filename":"image_25012025_06_33_02_607553_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/00bd8abdbe78462bd422963924b5f769.jpg","text":"TemporaryFile(/tmp/multipartBody8118156191748866383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789618979,"filename":"image_25012025_06_33_02_607553_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eb787ae9f0fd12796e0775874f2bc8ae.jpg","text":"TemporaryFile(/tmp/multipartBody8821528384031888976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789618979,"filename":"image_25012025_06_32_02_952534_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8897132b3a7a807a4246d81d9e9d3705.jpg","text":"TemporaryFile(/tmp/multipartBody8451550520359587929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789618979,"filename":"image_25012025_06_32_02_952534_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331267907","file1":"1331267878","file0":"1331267872","file4":"1331267917","file5":"1331267963","file3":"1331267912"},"map_files_photo_id_array":[{"photo_id":"1331267963","filename":"file5"},{"photo_id":"1331267907","filename":"file2"},{"photo_id":"1331267917","filename":"file4"},{"photo_id":"1331267878","filename":"file1"},{"photo_id":"1331267872","filename":"file0"},{"photo_id":"1331267912","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331267917":["hashtag1","hashtag2"]},{"1331267907":["hashtag1","hashtag2"]},{"1331267963":["hashtag1","hashtag2"]},{"1331267912":["hashtag1","hashtag2"]},{"1331267872":["hashtag1","hashtag2"]},{"1331267878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331267917, 1331267907, 1331267963, 1331267912, 1331267872, 1331267878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.427796363830566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 08:20:02.811091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/34/image_25012025_06_34_02_122649_0000.jpg', '/home/pi/Desktop/images/25012025/06/34/image_25012025_06_34_02_122649_0001.jpg', '/home/pi/Desktop/images/25012025/06/34/image_25012025_06_34_02_122649_0002.jpg', '/home/pi/Desktop/images/25012025/06/34/image_25012025_06_34_02_122649_0003.jpg', '/home/pi/Desktop/images/25012025/06/35/image_25012025_06_35_02_744895_0000.jpg', '/home/pi/Desktop/images/25012025/06/35/image_25012025_06_35_02_744895_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/34/image_25012025_06_34_02_122649_0000.jpg
/home/pi/Desktop/images/25012025/06/34/image_25012025_06_34_02_122649_0001.jpg
/home/pi/Desktop/images/25012025/06/34/image_25012025_06_34_02_122649_0002.jpg
/home/pi/Desktop/images/25012025/06/34/image_25012025_06_34_02_122649_0003.jpg
/home/pi/Desktop/images/25012025/06/35/image_25012025_06_35_02_744895_0000.jpg
/home/pi/Desktop/images/25012025/06/35/image_25012025_06_35_02_744895_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.585214853286743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:20:22.478996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/34/image_25012025_06_34_02_122649_0000.jpg', '/home/pi/Desktop/images/25012025/06/34/image_25012025_06_34_02_122649_0001.jpg', '/home/pi/Desktop/images/25012025/06/34/image_25012025_06_34_02_122649_0002.jpg', '/home/pi/Desktop/images/25012025/06/34/image_25012025_06_34_02_122649_0003.jpg', '/home/pi/Desktop/images/25012025/06/35/image_25012025_06_35_02_744895_0000.jpg', '/home/pi/Desktop/images/25012025/06/35/image_25012025_06_35_02_744895_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/34/image_25012025_06_34_02_122649_0000.jpg
/home/pi/Desktop/images/25012025/06/34/image_25012025_06_34_02_122649_0001.jpg
/home/pi/Desktop/images/25012025/06/34/image_25012025_06_34_02_122649_0002.jpg
/home/pi/Desktop/images/25012025/06/34/image_25012025_06_34_02_122649_0003.jpg
/home/pi/Desktop/images/25012025/06/35/image_25012025_06_35_02_744895_0000.jpg
/home/pi/Desktop/images/25012025/06/35/image_25012025_06_35_02_744895_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331268371","1331268374","1331268376","1331268364","1331268367","1331268337"],"photo_ids_order":["1331268337","1331268364","1331268367","1331268371","1331268374","1331268376"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d38158ecf489ba0bbdf49208150c1517.jpg","text":"TemporaryFile(/tmp/multipartBody5501912542190800775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789698423,"filename":"image_25012025_06_34_02_122649_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6cfc5a7dd78961db2200b3ef1323622f.jpg","text":"TemporaryFile(/tmp/multipartBody3579674409684728850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789698423,"filename":"image_25012025_06_35_02_744895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4ad3d9391a95060a50e6ff7debd19501.jpg","text":"TemporaryFile(/tmp/multipartBody2065989082381808848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789698423,"filename":"image_25012025_06_35_02_744895_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/574d1b2169960654a7ec89de319526b4.jpg","text":"TemporaryFile(/tmp/multipartBody4781508025973968152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789698423,"filename":"image_25012025_06_34_02_122649_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/17c084ea3dc6b09b0016c868a4b64e86.jpg","text":"TemporaryFile(/tmp/multipartBody4671426476329946636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789698423,"filename":"image_25012025_06_34_02_122649_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/af01fbb8c3f03fc1bd077ecdefd6a932.jpg","text":"TemporaryFile(/tmp/multipartBody7088303825897739565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789698423,"filename":"image_25012025_06_34_02_122649_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331268367","file1":"1331268364","file0":"1331268337","file4":"1331268374","file5":"1331268376","file3":"1331268371"},"map_files_photo_id_array":[{"photo_id":"1331268376","filename":"file5"},{"photo_id":"1331268367","filename":"file2"},{"photo_id":"1331268374","filename":"file4"},{"photo_id":"1331268364","filename":"file1"},{"photo_id":"1331268337","filename":"file0"},{"photo_id":"1331268371","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331268371":["hashtag1","hashtag2"]},{"1331268374":["hashtag1","hashtag2"]},{"1331268376":["hashtag1","hashtag2"]},{"1331268364":["hashtag1","hashtag2"]},{"1331268367":["hashtag1","hashtag2"]},{"1331268337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331268371, 1331268374, 1331268376, 1331268364, 1331268367, 1331268337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.29470109939575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:21:22.114846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/35/image_25012025_06_35_02_744895_0002.jpg', '/home/pi/Desktop/images/25012025/06/35/image_25012025_06_35_02_744895_0003.jpg', '/home/pi/Desktop/images/25012025/06/36/image_25012025_06_36_02_255999_0000.jpg', '/home/pi/Desktop/images/25012025/06/36/image_25012025_06_36_02_255999_0001.jpg', '/home/pi/Desktop/images/25012025/06/36/image_25012025_06_36_02_255999_0002.jpg', '/home/pi/Desktop/images/25012025/06/36/image_25012025_06_36_02_255999_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/35/image_25012025_06_35_02_744895_0002.jpg
/home/pi/Desktop/images/25012025/06/35/image_25012025_06_35_02_744895_0003.jpg
/home/pi/Desktop/images/25012025/06/36/image_25012025_06_36_02_255999_0000.jpg
/home/pi/Desktop/images/25012025/06/36/image_25012025_06_36_02_255999_0001.jpg
/home/pi/Desktop/images/25012025/06/36/image_25012025_06_36_02_255999_0002.jpg
/home/pi/Desktop/images/25012025/06/36/image_25012025_06_36_02_255999_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331268403","1331268407","1331268442","1331268445","1331268439","1331268448"],"photo_ids_order":["1331268403","1331268407","1331268439","1331268442","1331268445","1331268448"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/895bc7acfe4204238b1a3095e32467c0.jpg","text":"TemporaryFile(/tmp/multipartBody6760775195148608275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789758192,"filename":"image_25012025_06_35_02_744895_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bdb9828fee81a3ec9a52587cfd75e98f.jpg","text":"TemporaryFile(/tmp/multipartBody6255345967400678417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789758192,"filename":"image_25012025_06_35_02_744895_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d81767eb6b961731ad2f165b624ec7e4.jpg","text":"TemporaryFile(/tmp/multipartBody7907785619755048025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789758192,"filename":"image_25012025_06_36_02_255999_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2a3c69accc3560798fb8e4080bd1e822.jpg","text":"TemporaryFile(/tmp/multipartBody427478541468928867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789758192,"filename":"image_25012025_06_36_02_255999_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/36bc022482ac3be497e16c035b621e8d.jpg","text":"TemporaryFile(/tmp/multipartBody1395089341428083227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789758192,"filename":"image_25012025_06_36_02_255999_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/85d91dc99f6d073355c6d087be56730d.jpg","text":"TemporaryFile(/tmp/multipartBody1348494528238268337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789758192,"filename":"image_25012025_06_36_02_255999_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331268439","file1":"1331268407","file0":"1331268403","file4":"1331268445","file5":"1331268448","file3":"1331268442"},"map_files_photo_id_array":[{"photo_id":"1331268448","filename":"file5"},{"photo_id":"1331268439","filename":"file2"},{"photo_id":"1331268445","filename":"file4"},{"photo_id":"1331268407","filename":"file1"},{"photo_id":"1331268403","filename":"file0"},{"photo_id":"1331268442","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331268403":["hashtag1","hashtag2"]},{"1331268407":["hashtag1","hashtag2"]},{"1331268442":["hashtag1","hashtag2"]},{"1331268445":["hashtag1","hashtag2"]},{"1331268439":["hashtag1","hashtag2"]},{"1331268448":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331268403, 1331268407, 1331268442, 1331268445, 1331268439, 1331268448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.501596212387085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:22:22.568075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/37/image_25012025_06_37_02_889562_0000.jpg', '/home/pi/Desktop/images/25012025/06/37/image_25012025_06_37_02_889562_0001.jpg', '/home/pi/Desktop/images/25012025/06/37/image_25012025_06_37_02_889562_0002.jpg', '/home/pi/Desktop/images/25012025/06/37/image_25012025_06_37_02_889562_0003.jpg', '/home/pi/Desktop/images/25012025/06/38/image_25012025_06_38_02_528582_0000.jpg', '/home/pi/Desktop/images/25012025/06/38/image_25012025_06_38_02_528582_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/37/image_25012025_06_37_02_889562_0000.jpg
/home/pi/Desktop/images/25012025/06/37/image_25012025_06_37_02_889562_0001.jpg
/home/pi/Desktop/images/25012025/06/37/image_25012025_06_37_02_889562_0002.jpg
/home/pi/Desktop/images/25012025/06/37/image_25012025_06_37_02_889562_0003.jpg
/home/pi/Desktop/images/25012025/06/38/image_25012025_06_38_02_528582_0000.jpg
/home/pi/Desktop/images/25012025/06/38/image_25012025_06_38_02_528582_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":["1331268502","1331268486","1331268493","1331268481","1331268490","1331268498"],"photo_ids_order":["1331268481","1331268486","1331268490","1331268493","1331268498","1331268502"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6ff69faadab00bd657598a4ee4185ca0.jpg","text":"TemporaryFile(/tmp/multipartBody8849500772107822537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789818835,"filename":"image_25012025_06_38_02_528582_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/058de4fccb45c1fad1e2dafe4c0a2cd1.jpg","text":"TemporaryFile(/tmp/multipartBody4923868311851328385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789818835,"filename":"image_25012025_06_37_02_889562_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/264cedd2d007bb827dfd2d2b3b541990.jpg","text":"TemporaryFile(/tmp/multipartBody1039888239124200708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789818835,"filename":"image_25012025_06_37_02_889562_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/36ce4c0fb9a13831021f075ca8542be4.jpg","text":"TemporaryFile(/tmp/multipartBody8916337170447381518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789818835,"filename":"image_25012025_06_37_02_889562_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/62c9d7bf7512e2194bfdda73e5cf172f.jpg","text":"TemporaryFile(/tmp/multipartBody4595037942002805857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789818835,"filename":"image_25012025_06_37_02_889562_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7bc1e6d0966297a35ae076ed0fec0947.jpg","text":"TemporaryFile(/tmp/multipartBody2748242052263262570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789818835,"filename":"image_25012025_06_38_02_528582_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331268490","file1":"1331268486","file0":"1331268481","file4":"1331268498","file5":"1331268502","file3":"1331268493"},"map_files_photo_id_array":[{"photo_id":"1331268502","filename":"file5"},{"photo_id":"1331268490","filename":"file2"},{"photo_id":"1331268498","filename":"file4"},{"photo_id":"1331268486","filename":"file1"},{"photo_id":"1331268481","filename":"file0"},{"photo_id":"1331268493","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331268502":["hashtag1","hashtag2"]},{"1331268486":["hashtag1","hashtag2"]},{"1331268493":["hashtag1","hashtag2"]},{"1331268481":["hashtag1","hashtag2"]},{"1331268490":["hashtag1","hashtag2"]},{"1331268498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331268502, 1331268486, 1331268493, 1331268481, 1331268490, 1331268498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.93142628669739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 08:24:02.920146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/38/image_25012025_06_38_02_528582_0002.jpg', '/home/pi/Desktop/images/25012025/06/38/image_25012025_06_38_02_528582_0003.jpg', '/home/pi/Desktop/images/25012025/06/39/image_25012025_06_39_03_113030_0000.jpg', '/home/pi/Desktop/images/25012025/06/39/image_25012025_06_39_03_113030_0001.jpg', '/home/pi/Desktop/images/25012025/06/39/image_25012025_06_39_03_113030_0002.jpg', '/home/pi/Desktop/images/25012025/06/39/image_25012025_06_39_03_113030_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/38/image_25012025_06_38_02_528582_0002.jpg
/home/pi/Desktop/images/25012025/06/38/image_25012025_06_38_02_528582_0003.jpg
/home/pi/Desktop/images/25012025/06/39/image_25012025_06_39_03_113030_0000.jpg
/home/pi/Desktop/images/25012025/06/39/image_25012025_06_39_03_113030_0001.jpg
/home/pi/Desktop/images/25012025/06/39/image_25012025_06_39_03_113030_0002.jpg
/home/pi/Desktop/images/25012025/06/39/image_25012025_06_39_03_113030_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331268654","1331268609","1331268590","1331268584","1331268574","1331268649"],"photo_ids_order":["1331268574","1331268584","1331268590","1331268609","1331268649","1331268654"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f938a33c22230217da1d1f044c97fddb.jpg","text":"TemporaryFile(/tmp/multipartBody5802751119678011746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789919064,"filename":"image_25012025_06_39_03_113030_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/63cae376d5eff48e3fb0b5fc41e5f743.jpg","text":"TemporaryFile(/tmp/multipartBody2975048654635947871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789919064,"filename":"image_25012025_06_39_03_113030_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5634c04c179b82c5a8b0c9ccc24344ca.jpg","text":"TemporaryFile(/tmp/multipartBody7281416339225654774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789919064,"filename":"image_25012025_06_39_03_113030_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/de938cde0fc9273b24f18b7bf045196b.jpg","text":"TemporaryFile(/tmp/multipartBody1944022317978585432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789919064,"filename":"image_25012025_06_38_02_528582_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/487337458ff78d05f7795562914fe7c4.jpg","text":"TemporaryFile(/tmp/multipartBody95752075314978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789919064,"filename":"image_25012025_06_38_02_528582_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d2c211aaa288a5d282151dd44ac50bde.jpg","text":"TemporaryFile(/tmp/multipartBody2228045966744288522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789919064,"filename":"image_25012025_06_39_03_113030_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331268590","file1":"1331268584","file0":"1331268574","file4":"1331268649","file5":"1331268654","file3":"1331268609"},"map_files_photo_id_array":[{"photo_id":"1331268654","filename":"file5"},{"photo_id":"1331268590","filename":"file2"},{"photo_id":"1331268649","filename":"file4"},{"photo_id":"1331268584","filename":"file1"},{"photo_id":"1331268574","filename":"file0"},{"photo_id":"1331268609","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331268654":["hashtag1","hashtag2"]},{"1331268609":["hashtag1","hashtag2"]},{"1331268590":["hashtag1","hashtag2"]},{"1331268584":["hashtag1","hashtag2"]},{"1331268574":["hashtag1","hashtag2"]},{"1331268649":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331268654, 1331268609, 1331268590, 1331268584, 1331268574, 1331268649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.994096517562866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 08:25:02.782866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/40/image_25012025_06_40_02_663021_0000.jpg', '/home/pi/Desktop/images/25012025/06/40/image_25012025_06_40_02_663021_0001.jpg', '/home/pi/Desktop/images/25012025/06/40/image_25012025_06_40_02_663021_0002.jpg', '/home/pi/Desktop/images/25012025/06/40/image_25012025_06_40_02_663021_0003.jpg', '/home/pi/Desktop/images/25012025/06/41/image_25012025_06_41_02_156242_0000.jpg', '/home/pi/Desktop/images/25012025/06/41/image_25012025_06_41_02_156242_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/40/image_25012025_06_40_02_663021_0000.jpg
/home/pi/Desktop/images/25012025/06/40/image_25012025_06_40_02_663021_0001.jpg
/home/pi/Desktop/images/25012025/06/40/image_25012025_06_40_02_663021_0002.jpg
/home/pi/Desktop/images/25012025/06/40/image_25012025_06_40_02_663021_0003.jpg
/home/pi/Desktop/images/25012025/06/41/image_25012025_06_41_02_156242_0000.jpg
/home/pi/Desktop/images/25012025/06/41/image_25012025_06_41_02_156242_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.976086854934692 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:25:22.191287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/40/image_25012025_06_40_02_663021_0000.jpg', '/home/pi/Desktop/images/25012025/06/40/image_25012025_06_40_02_663021_0001.jpg', '/home/pi/Desktop/images/25012025/06/40/image_25012025_06_40_02_663021_0002.jpg', '/home/pi/Desktop/images/25012025/06/40/image_25012025_06_40_02_663021_0003.jpg', '/home/pi/Desktop/images/25012025/06/41/image_25012025_06_41_02_156242_0000.jpg', '/home/pi/Desktop/images/25012025/06/41/image_25012025_06_41_02_156242_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/40/image_25012025_06_40_02_663021_0000.jpg
/home/pi/Desktop/images/25012025/06/40/image_25012025_06_40_02_663021_0001.jpg
/home/pi/Desktop/images/25012025/06/40/image_25012025_06_40_02_663021_0002.jpg
/home/pi/Desktop/images/25012025/06/40/image_25012025_06_40_02_663021_0003.jpg
/home/pi/Desktop/images/25012025/06/41/image_25012025_06_41_02_156242_0000.jpg
/home/pi/Desktop/images/25012025/06/41/image_25012025_06_41_02_156242_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331268699","1331268690","1331268693","1331268695","1331268683","1331268697"],"photo_ids_order":["1331268683","1331268690","1331268693","1331268695","1331268697","1331268699"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f22808f15b2004cd537272f01a3b7caa.jpg","text":"TemporaryFile(/tmp/multipartBody1799468478893288492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789998478,"filename":"image_25012025_06_41_02_156242_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/001061043e20ea158ac3be84ccc884e1.jpg","text":"TemporaryFile(/tmp/multipartBody3211942626449456884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789998478,"filename":"image_25012025_06_40_02_663021_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/174a64a2df3e25cc77ac229f01fe8ff9.jpg","text":"TemporaryFile(/tmp/multipartBody7322358380845317040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789998478,"filename":"image_25012025_06_40_02_663021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f31b8023649b95c69f852369d7923297.jpg","text":"TemporaryFile(/tmp/multipartBody327573376222935753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789998478,"filename":"image_25012025_06_40_02_663021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/05caa6e2a90136db135e6946d715fb6e.jpg","text":"TemporaryFile(/tmp/multipartBody2997899160102359770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789998478,"filename":"image_25012025_06_40_02_663021_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fb489110f88527210c55bca71ac9928c.jpg","text":"TemporaryFile(/tmp/multipartBody2691999559277869083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737789998478,"filename":"image_25012025_06_41_02_156242_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331268693","file1":"1331268690","file0":"1331268683","file4":"1331268697","file5":"1331268699","file3":"1331268695"},"map_files_photo_id_array":[{"photo_id":"1331268699","filename":"file5"},{"photo_id":"1331268693","filename":"file2"},{"photo_id":"1331268697","filename":"file4"},{"photo_id":"1331268690","filename":"file1"},{"photo_id":"1331268683","filename":"file0"},{"photo_id":"1331268695","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331268699":["hashtag1","hashtag2"]},{"1331268690":["hashtag1","hashtag2"]},{"1331268693":["hashtag1","hashtag2"]},{"1331268695":["hashtag1","hashtag2"]},{"1331268683":["hashtag1","hashtag2"]},{"1331268697":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331268699, 1331268690, 1331268693, 1331268695, 1331268683, 1331268697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.391093015670776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:26:22.749060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/41/image_25012025_06_41_02_156242_0002.jpg', '/home/pi/Desktop/images/25012025/06/41/image_25012025_06_41_02_156242_0003.jpg', '/home/pi/Desktop/images/25012025/06/42/image_25012025_06_42_02_644720_0000.jpg', '/home/pi/Desktop/images/25012025/06/42/image_25012025_06_42_02_644720_0001.jpg', '/home/pi/Desktop/images/25012025/06/42/image_25012025_06_42_02_644720_0002.jpg', '/home/pi/Desktop/images/25012025/06/42/image_25012025_06_42_02_644720_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/41/image_25012025_06_41_02_156242_0002.jpg
/home/pi/Desktop/images/25012025/06/41/image_25012025_06_41_02_156242_0003.jpg
/home/pi/Desktop/images/25012025/06/42/image_25012025_06_42_02_644720_0000.jpg
/home/pi/Desktop/images/25012025/06/42/image_25012025_06_42_02_644720_0001.jpg
/home/pi/Desktop/images/25012025/06/42/image_25012025_06_42_02_644720_0002.jpg
/home/pi/Desktop/images/25012025/06/42/image_25012025_06_42_02_644720_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":["1331268957","1331269035","1331269028","1331269096","1331268943","1331268993"],"photo_ids_order":["1331268943","1331268957","1331268993","1331269028","1331269035","1331269096"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/739f3c98486cb2afac7c31f7ff1dcc37.jpg","text":"TemporaryFile(/tmp/multipartBody7763452368441481833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790059628,"filename":"image_25012025_06_41_02_156242_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f99e8956e81ff6dd14b1cb11f45451d8.jpg","text":"TemporaryFile(/tmp/multipartBody4776563451723789609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790059628,"filename":"image_25012025_06_42_02_644720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/491c59a56e0d1b51c899bb1b5591381f.jpg","text":"TemporaryFile(/tmp/multipartBody7888436896025406342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790059628,"filename":"image_25012025_06_42_02_644720_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/07f2a0ae3e7849fc20ed42aaabf89323.jpg","text":"TemporaryFile(/tmp/multipartBody3436938771708341250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790059628,"filename":"image_25012025_06_42_02_644720_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cff6c3c5424b7f83f133e238c9d85b42.jpg","text":"TemporaryFile(/tmp/multipartBody8201944763425682247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790059628,"filename":"image_25012025_06_41_02_156242_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/783416ddd823c70bff83302e760efc32.jpg","text":"TemporaryFile(/tmp/multipartBody5331057159900108000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790059628,"filename":"image_25012025_06_42_02_644720_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331268993","file1":"1331268957","file0":"1331268943","file4":"1331269035","file5":"1331269096","file3":"1331269028"},"map_files_photo_id_array":[{"photo_id":"1331269096","filename":"file5"},{"photo_id":"1331268993","filename":"file2"},{"photo_id":"1331269035","filename":"file4"},{"photo_id":"1331268957","filename":"file1"},{"photo_id":"1331268943","filename":"file0"},{"photo_id":"1331269028","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331268957":["hashtag1","hashtag2"]},{"1331269035":["hashtag1","hashtag2"]},{"1331269028":["hashtag1","hashtag2"]},{"1331269096":["hashtag1","hashtag2"]},{"1331268943":["hashtag1","hashtag2"]},{"1331268993":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331268957, 1331269035, 1331269028, 1331269096, 1331268943, 1331268993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.36931133270264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 08:28:02.215305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/43/image_25012025_06_43_02_176022_0000.jpg', '/home/pi/Desktop/images/25012025/06/43/image_25012025_06_43_02_176022_0001.jpg', '/home/pi/Desktop/images/25012025/06/43/image_25012025_06_43_02_176022_0002.jpg', '/home/pi/Desktop/images/25012025/06/43/image_25012025_06_43_02_176022_0003.jpg', '/home/pi/Desktop/images/25012025/06/44/image_25012025_06_44_02_705238_0000.jpg', '/home/pi/Desktop/images/25012025/06/44/image_25012025_06_44_02_705238_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/43/image_25012025_06_43_02_176022_0000.jpg
/home/pi/Desktop/images/25012025/06/43/image_25012025_06_43_02_176022_0001.jpg
/home/pi/Desktop/images/25012025/06/43/image_25012025_06_43_02_176022_0002.jpg
/home/pi/Desktop/images/25012025/06/43/image_25012025_06_43_02_176022_0003.jpg
/home/pi/Desktop/images/25012025/06/44/image_25012025_06_44_02_705238_0000.jpg
/home/pi/Desktop/images/25012025/06/44/image_25012025_06_44_02_705238_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":["1331269713","1331270138","1331269780","1331269945","1331269896","1331270035"],"photo_ids_order":["1331269713","1331269780","1331269896","1331269945","1331270035","1331270138"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f2afa3d92779b28347f3c447504987b1.jpg","text":"TemporaryFile(/tmp/multipartBody5161135703144849653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790159397,"filename":"image_25012025_06_43_02_176022_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1a84d761131b0de7cd2cf16715318a4f.jpg","text":"TemporaryFile(/tmp/multipartBody8573619768310475378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790159397,"filename":"image_25012025_06_44_02_705238_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a60e20cb83592d0a40c530925a8b3fae.jpg","text":"TemporaryFile(/tmp/multipartBody1395574156546750729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790159397,"filename":"image_25012025_06_43_02_176022_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e395cc030598d8e0386220d0e274af19.jpg","text":"TemporaryFile(/tmp/multipartBody8973958705203049059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790159397,"filename":"image_25012025_06_43_02_176022_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b8843f0744c5cce7400d907627d80893.jpg","text":"TemporaryFile(/tmp/multipartBody2320874724585701574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790159397,"filename":"image_25012025_06_43_02_176022_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/56ce8634b875a3d74b22181bb5ab0ed1.jpg","text":"TemporaryFile(/tmp/multipartBody3191559562926489499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790159397,"filename":"image_25012025_06_44_02_705238_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331269896","file1":"1331269780","file0":"1331269713","file4":"1331270035","file5":"1331270138","file3":"1331269945"},"map_files_photo_id_array":[{"photo_id":"1331270138","filename":"file5"},{"photo_id":"1331269896","filename":"file2"},{"photo_id":"1331270035","filename":"file4"},{"photo_id":"1331269780","filename":"file1"},{"photo_id":"1331269713","filename":"file0"},{"photo_id":"1331269945","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331269713":["hashtag1","hashtag2"]},{"1331270138":["hashtag1","hashtag2"]},{"1331269780":["hashtag1","hashtag2"]},{"1331269945":["hashtag1","hashtag2"]},{"1331269896":["hashtag1","hashtag2"]},{"1331270035":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331269713, 1331270138, 1331269780, 1331269945, 1331269896, 1331270035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.59460020065308 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:29:22.291967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/44/image_25012025_06_44_02_705238_0002.jpg', '/home/pi/Desktop/images/25012025/06/44/image_25012025_06_44_02_705238_0003.jpg', '/home/pi/Desktop/images/25012025/06/45/image_25012025_06_45_02_227694_0000.jpg', '/home/pi/Desktop/images/25012025/06/45/image_25012025_06_45_02_227694_0001.jpg', '/home/pi/Desktop/images/25012025/06/45/image_25012025_06_45_02_227694_0002.jpg', '/home/pi/Desktop/images/25012025/06/45/image_25012025_06_45_02_227694_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/44/image_25012025_06_44_02_705238_0002.jpg
/home/pi/Desktop/images/25012025/06/44/image_25012025_06_44_02_705238_0003.jpg
/home/pi/Desktop/images/25012025/06/45/image_25012025_06_45_02_227694_0000.jpg
/home/pi/Desktop/images/25012025/06/45/image_25012025_06_45_02_227694_0001.jpg
/home/pi/Desktop/images/25012025/06/45/image_25012025_06_45_02_227694_0002.jpg
/home/pi/Desktop/images/25012025/06/45/image_25012025_06_45_02_227694_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331270538","1331270534","1331270531","1331270525","1331270528","1331270521"],"photo_ids_order":["1331270521","1331270525","1331270528","1331270531","1331270534","1331270538"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5380512f3426034bca1acc8f2e378ca4.jpg","text":"TemporaryFile(/tmp/multipartBody3132444307994058329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790238368,"filename":"image_25012025_06_45_02_227694_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/47c546c0b884ac3921ffa906fbfb74cd.jpg","text":"TemporaryFile(/tmp/multipartBody7654734633630192922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790238368,"filename":"image_25012025_06_45_02_227694_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/07580e66b23d74bbacdd6c819457cc53.jpg","text":"TemporaryFile(/tmp/multipartBody1422788904695909448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790238368,"filename":"image_25012025_06_45_02_227694_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0dfb6504146c74f546d85b64bd97fbc0.jpg","text":"TemporaryFile(/tmp/multipartBody4300135972069229441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790238368,"filename":"image_25012025_06_44_02_705238_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2df6d3cd2800eb8dc529801f3442ade1.jpg","text":"TemporaryFile(/tmp/multipartBody4570116685946056284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790238368,"filename":"image_25012025_06_45_02_227694_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6245c562c4e2ba46b487ea9f2fcb1a35.jpg","text":"TemporaryFile(/tmp/multipartBody4268540184502181548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790238368,"filename":"image_25012025_06_44_02_705238_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331270528","file1":"1331270525","file0":"1331270521","file4":"1331270534","file5":"1331270538","file3":"1331270531"},"map_files_photo_id_array":[{"photo_id":"1331270538","filename":"file5"},{"photo_id":"1331270528","filename":"file2"},{"photo_id":"1331270534","filename":"file4"},{"photo_id":"1331270525","filename":"file1"},{"photo_id":"1331270521","filename":"file0"},{"photo_id":"1331270531","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331270538":["hashtag1","hashtag2"]},{"1331270534":["hashtag1","hashtag2"]},{"1331270531":["hashtag1","hashtag2"]},{"1331270525":["hashtag1","hashtag2"]},{"1331270528":["hashtag1","hashtag2"]},{"1331270521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331270538, 1331270534, 1331270531, 1331270525, 1331270528, 1331270521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.72520136833191 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:30:21.803816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/46/image_25012025_06_46_02_716435_0000.jpg', '/home/pi/Desktop/images/25012025/06/46/image_25012025_06_46_02_716435_0001.jpg', '/home/pi/Desktop/images/25012025/06/46/image_25012025_06_46_02_716435_0002.jpg', '/home/pi/Desktop/images/25012025/06/46/image_25012025_06_46_02_716435_0003.jpg', '/home/pi/Desktop/images/25012025/06/47/image_25012025_06_47_02_358974_0000.jpg', '/home/pi/Desktop/images/25012025/06/47/image_25012025_06_47_02_358974_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/46/image_25012025_06_46_02_716435_0000.jpg
/home/pi/Desktop/images/25012025/06/46/image_25012025_06_46_02_716435_0001.jpg
/home/pi/Desktop/images/25012025/06/46/image_25012025_06_46_02_716435_0002.jpg
/home/pi/Desktop/images/25012025/06/46/image_25012025_06_46_02_716435_0003.jpg
/home/pi/Desktop/images/25012025/06/47/image_25012025_06_47_02_358974_0000.jpg
/home/pi/Desktop/images/25012025/06/47/image_25012025_06_47_02_358974_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":["1331271000","1331270622","1331270699","1331270552","1331270797","1331270895"],"photo_ids_order":["1331270552","1331270622","1331270699","1331270797","1331270895","1331271000"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/193b3043c5c3971b3c933dd958f538d9.jpg","text":"TemporaryFile(/tmp/multipartBody1494120429827683181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790298842,"filename":"image_25012025_06_47_02_358974_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/da519575ea625c62b6a0007af0f907d8.jpg","text":"TemporaryFile(/tmp/multipartBody7634805389856909618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790298842,"filename":"image_25012025_06_46_02_716435_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1eb749fb4a43c4f994525d653adb12cb.jpg","text":"TemporaryFile(/tmp/multipartBody8426142705106516249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790298842,"filename":"image_25012025_06_46_02_716435_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1f23bece179a9645c3800c8f3d7db058.jpg","text":"TemporaryFile(/tmp/multipartBody1634649318036195381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790298842,"filename":"image_25012025_06_46_02_716435_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/56ae62462b473227b2cfcc6e06cb483b.jpg","text":"TemporaryFile(/tmp/multipartBody2898300500665605374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790298842,"filename":"image_25012025_06_46_02_716435_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3d4357718b168758439c9c23d6298929.jpg","text":"TemporaryFile(/tmp/multipartBody5335197994270843339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790298842,"filename":"image_25012025_06_47_02_358974_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331270699","file1":"1331270622","file0":"1331270552","file4":"1331270895","file5":"1331271000","file3":"1331270797"},"map_files_photo_id_array":[{"photo_id":"1331271000","filename":"file5"},{"photo_id":"1331270699","filename":"file2"},{"photo_id":"1331270895","filename":"file4"},{"photo_id":"1331270622","filename":"file1"},{"photo_id":"1331270552","filename":"file0"},{"photo_id":"1331270797","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331271000":["hashtag1","hashtag2"]},{"1331270622":["hashtag1","hashtag2"]},{"1331270699":["hashtag1","hashtag2"]},{"1331270552":["hashtag1","hashtag2"]},{"1331270797":["hashtag1","hashtag2"]},{"1331270895":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331271000, 1331270622, 1331270699, 1331270552, 1331270797, 1331270895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.944961071014404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 08:32:03.170327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/47/image_25012025_06_47_02_358974_0002.jpg', '/home/pi/Desktop/images/25012025/06/47/image_25012025_06_47_02_358974_0003.jpg', '/home/pi/Desktop/images/25012025/06/48/image_25012025_06_48_02_895761_0000.jpg', '/home/pi/Desktop/images/25012025/06/48/image_25012025_06_48_02_895761_0001.jpg', '/home/pi/Desktop/images/25012025/06/48/image_25012025_06_48_02_895761_0002.jpg', '/home/pi/Desktop/images/25012025/06/48/image_25012025_06_48_02_895761_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/47/image_25012025_06_47_02_358974_0002.jpg
/home/pi/Desktop/images/25012025/06/47/image_25012025_06_47_02_358974_0003.jpg
/home/pi/Desktop/images/25012025/06/48/image_25012025_06_48_02_895761_0000.jpg
/home/pi/Desktop/images/25012025/06/48/image_25012025_06_48_02_895761_0001.jpg
/home/pi/Desktop/images/25012025/06/48/image_25012025_06_48_02_895761_0002.jpg
/home/pi/Desktop/images/25012025/06/48/image_25012025_06_48_02_895761_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":["1331271351","1331271380","1331271356","1331271373","1331271322","1331271342"],"photo_ids_order":["1331271322","1331271342","1331271351","1331271356","1331271373","1331271380"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c3f1fda22bc0c661f37fcefd70e8bb2f.jpg","text":"TemporaryFile(/tmp/multipartBody5472358130158406745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790400037,"filename":"image_25012025_06_48_02_895761_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/86c84725de0d7a1d637daeff6e1b6150.jpg","text":"TemporaryFile(/tmp/multipartBody5642540651334209338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790400037,"filename":"image_25012025_06_48_02_895761_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/54faf20d996b283c69c2de8f9be94656.jpg","text":"TemporaryFile(/tmp/multipartBody5751604786232396725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790400037,"filename":"image_25012025_06_48_02_895761_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ab93cb2ae6e08b89f1769ebcf970ca36.jpg","text":"TemporaryFile(/tmp/multipartBody4019917301871981743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790400037,"filename":"image_25012025_06_48_02_895761_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b0b98e60c6c5d7c6fc2f3ede868071cb.jpg","text":"TemporaryFile(/tmp/multipartBody1629288262310610253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790400037,"filename":"image_25012025_06_47_02_358974_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4cf7a0fad6f10fcebbc0ce66fd4f9a0d.jpg","text":"TemporaryFile(/tmp/multipartBody53688990648372973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790400037,"filename":"image_25012025_06_47_02_358974_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331271351","file1":"1331271342","file0":"1331271322","file4":"1331271373","file5":"1331271380","file3":"1331271356"},"map_files_photo_id_array":[{"photo_id":"1331271380","filename":"file5"},{"photo_id":"1331271351","filename":"file2"},{"photo_id":"1331271373","filename":"file4"},{"photo_id":"1331271342","filename":"file1"},{"photo_id":"1331271322","filename":"file0"},{"photo_id":"1331271356","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331271351":["hashtag1","hashtag2"]},{"1331271380":["hashtag1","hashtag2"]},{"1331271356":["hashtag1","hashtag2"]},{"1331271373":["hashtag1","hashtag2"]},{"1331271322":["hashtag1","hashtag2"]},{"1331271342":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331271351, 1331271380, 1331271356, 1331271373, 1331271322, 1331271342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.77902007102966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:33:22.232779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/49/image_25012025_06_49_02_571568_0000.jpg', '/home/pi/Desktop/images/25012025/06/49/image_25012025_06_49_02_571568_0001.jpg', '/home/pi/Desktop/images/25012025/06/49/image_25012025_06_49_02_571568_0002.jpg', '/home/pi/Desktop/images/25012025/06/49/image_25012025_06_49_02_571568_0003.jpg', '/home/pi/Desktop/images/25012025/06/50/image_25012025_06_50_03_077380_0000.jpg', '/home/pi/Desktop/images/25012025/06/50/image_25012025_06_50_03_077380_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/49/image_25012025_06_49_02_571568_0000.jpg
/home/pi/Desktop/images/25012025/06/49/image_25012025_06_49_02_571568_0001.jpg
/home/pi/Desktop/images/25012025/06/49/image_25012025_06_49_02_571568_0002.jpg
/home/pi/Desktop/images/25012025/06/49/image_25012025_06_49_02_571568_0003.jpg
/home/pi/Desktop/images/25012025/06/50/image_25012025_06_50_03_077380_0000.jpg
/home/pi/Desktop/images/25012025/06/50/image_25012025_06_50_03_077380_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331271723","1331271705","1331271698","1331271749","1331271736","1331271732"],"photo_ids_order":["1331271698","1331271705","1331271723","1331271732","1331271736","1331271749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/21b70f310c77820621a0a3ea34f09e35.jpg","text":"TemporaryFile(/tmp/multipartBody5607549455560169163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790479055,"filename":"image_25012025_06_49_02_571568_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/068119921cf9ae1ae37c54f1e03c4e16.jpg","text":"TemporaryFile(/tmp/multipartBody1027858003242633789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790479055,"filename":"image_25012025_06_49_02_571568_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5da7f7be5acc228a8676f1cca9019185.jpg","text":"TemporaryFile(/tmp/multipartBody8076353033443837468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790479055,"filename":"image_25012025_06_49_02_571568_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/08dd0480fbc0f561235c5a6b4718b026.jpg","text":"TemporaryFile(/tmp/multipartBody6848806605555419349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790479055,"filename":"image_25012025_06_50_03_077380_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6e07615f2fbf3db21966c90bf6137bc8.jpg","text":"TemporaryFile(/tmp/multipartBody114970166548172286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790479055,"filename":"image_25012025_06_50_03_077380_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2850c5fb8436b135470f16f468cbc566.jpg","text":"TemporaryFile(/tmp/multipartBody3543113689019512535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790479055,"filename":"image_25012025_06_49_02_571568_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331271723","file1":"1331271705","file0":"1331271698","file4":"1331271736","file5":"1331271749","file3":"1331271732"},"map_files_photo_id_array":[{"photo_id":"1331271749","filename":"file5"},{"photo_id":"1331271723","filename":"file2"},{"photo_id":"1331271736","filename":"file4"},{"photo_id":"1331271705","filename":"file1"},{"photo_id":"1331271698","filename":"file0"},{"photo_id":"1331271732","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331271723":["hashtag1","hashtag2"]},{"1331271705":["hashtag1","hashtag2"]},{"1331271698":["hashtag1","hashtag2"]},{"1331271749":["hashtag1","hashtag2"]},{"1331271736":["hashtag1","hashtag2"]},{"1331271732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331271723, 1331271705, 1331271698, 1331271749, 1331271736, 1331271732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.342878103256226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:34:22.725972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/50/image_25012025_06_50_03_077380_0002.jpg', '/home/pi/Desktop/images/25012025/06/50/image_25012025_06_50_03_077380_0003.jpg', '/home/pi/Desktop/images/25012025/06/51/image_25012025_06_51_02_588583_0000.jpg', '/home/pi/Desktop/images/25012025/06/51/image_25012025_06_51_02_588583_0001.jpg', '/home/pi/Desktop/images/25012025/06/51/image_25012025_06_51_02_588583_0002.jpg', '/home/pi/Desktop/images/25012025/06/51/image_25012025_06_51_02_588583_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/50/image_25012025_06_50_03_077380_0002.jpg
/home/pi/Desktop/images/25012025/06/50/image_25012025_06_50_03_077380_0003.jpg
/home/pi/Desktop/images/25012025/06/51/image_25012025_06_51_02_588583_0000.jpg
/home/pi/Desktop/images/25012025/06/51/image_25012025_06_51_02_588583_0001.jpg
/home/pi/Desktop/images/25012025/06/51/image_25012025_06_51_02_588583_0002.jpg
/home/pi/Desktop/images/25012025/06/51/image_25012025_06_51_02_588583_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":["1331272052","1331271806","1331271799","1331271826","1331271942","1331271792"],"photo_ids_order":["1331271792","1331271799","1331271806","1331271826","1331271942","1331272052"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d479b44481339a31f7716ba43844b8a4.jpg","text":"TemporaryFile(/tmp/multipartBody8801068250932774467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790539602,"filename":"image_25012025_06_51_02_588583_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3384e13e9f2f94773945fbe551d57ed9.jpg","text":"TemporaryFile(/tmp/multipartBody6321286494759769630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790539602,"filename":"image_25012025_06_51_02_588583_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c98eb57ff88b8d07ba04b0fc31cb9f17.jpg","text":"TemporaryFile(/tmp/multipartBody8795566595565815705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790539602,"filename":"image_25012025_06_50_03_077380_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b61f70b389bcefe83acba412a5fb667a.jpg","text":"TemporaryFile(/tmp/multipartBody6521288180525228905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790539602,"filename":"image_25012025_06_51_02_588583_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e615328c8e3be8ee52f67f6051504d40.jpg","text":"TemporaryFile(/tmp/multipartBody7016053915654484025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790539602,"filename":"image_25012025_06_51_02_588583_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/afcb5a256870dd6ac5989cba186b198b.jpg","text":"TemporaryFile(/tmp/multipartBody4065180307346204844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790539602,"filename":"image_25012025_06_50_03_077380_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331271806","file1":"1331271799","file0":"1331271792","file4":"1331271942","file5":"1331272052","file3":"1331271826"},"map_files_photo_id_array":[{"photo_id":"1331272052","filename":"file5"},{"photo_id":"1331271806","filename":"file2"},{"photo_id":"1331271942","filename":"file4"},{"photo_id":"1331271799","filename":"file1"},{"photo_id":"1331271792","filename":"file0"},{"photo_id":"1331271826","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331272052":["hashtag1","hashtag2"]},{"1331271806":["hashtag1","hashtag2"]},{"1331271799":["hashtag1","hashtag2"]},{"1331271826":["hashtag1","hashtag2"]},{"1331271942":["hashtag1","hashtag2"]},{"1331271792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331272052, 1331271806, 1331271799, 1331271826, 1331271942, 1331271792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.66589879989624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 08:36:02.319405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/52/image_25012025_06_52_03_090778_0000.jpg', '/home/pi/Desktop/images/25012025/06/52/image_25012025_06_52_03_090778_0001.jpg', '/home/pi/Desktop/images/25012025/06/52/image_25012025_06_52_03_090778_0002.jpg', '/home/pi/Desktop/images/25012025/06/52/image_25012025_06_52_03_090778_0003.jpg', '/home/pi/Desktop/images/25012025/06/53/image_25012025_06_53_02_624039_0000.jpg', '/home/pi/Desktop/images/25012025/06/53/image_25012025_06_53_02_624039_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/52/image_25012025_06_52_03_090778_0000.jpg
/home/pi/Desktop/images/25012025/06/52/image_25012025_06_52_03_090778_0001.jpg
/home/pi/Desktop/images/25012025/06/52/image_25012025_06_52_03_090778_0002.jpg
/home/pi/Desktop/images/25012025/06/52/image_25012025_06_52_03_090778_0003.jpg
/home/pi/Desktop/images/25012025/06/53/image_25012025_06_53_02_624039_0000.jpg
/home/pi/Desktop/images/25012025/06/53/image_25012025_06_53_02_624039_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":["1331273015","1331272739","1331272882","1331272777","1331272744","1331272997"],"photo_ids_order":["1331272739","1331272744","1331272777","1331272882","1331272997","1331273015"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d062c5f9ba13ded5f1abd7d3e3bbaa8f.jpg","text":"TemporaryFile(/tmp/multipartBody8902443859843581469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790639011,"filename":"image_25012025_06_53_02_624039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e48e3f809bb4725a04887fad2ff1478c.jpg","text":"TemporaryFile(/tmp/multipartBody7445722776547107503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790639011,"filename":"image_25012025_06_52_03_090778_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2cbb66f6e2e3de84ee2db22cb7e16621.jpg","text":"TemporaryFile(/tmp/multipartBody6899664750082354676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790639011,"filename":"image_25012025_06_52_03_090778_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ac0deea5ed97087989871588fd9e6d15.jpg","text":"TemporaryFile(/tmp/multipartBody7095936037235754487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790639011,"filename":"image_25012025_06_52_03_090778_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4523c9d1ed63d37084e884c967042206.jpg","text":"TemporaryFile(/tmp/multipartBody159397695154923926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790639011,"filename":"image_25012025_06_52_03_090778_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/72bd0b5f68b7b20a5b63dace6ce08cfd.jpg","text":"TemporaryFile(/tmp/multipartBody8822328723958280187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790639011,"filename":"image_25012025_06_53_02_624039_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331272777","file1":"1331272744","file0":"1331272739","file4":"1331272997","file5":"1331273015","file3":"1331272882"},"map_files_photo_id_array":[{"photo_id":"1331273015","filename":"file5"},{"photo_id":"1331272777","filename":"file2"},{"photo_id":"1331272997","filename":"file4"},{"photo_id":"1331272744","filename":"file1"},{"photo_id":"1331272739","filename":"file0"},{"photo_id":"1331272882","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331273015":["hashtag1","hashtag2"]},{"1331272739":["hashtag1","hashtag2"]},{"1331272882":["hashtag1","hashtag2"]},{"1331272777":["hashtag1","hashtag2"]},{"1331272744":["hashtag1","hashtag2"]},{"1331272997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331273015, 1331272739, 1331272882, 1331272777, 1331272744, 1331272997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.5605297088623 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:37:22.331112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/53/image_25012025_06_53_02_624039_0002.jpg', '/home/pi/Desktop/images/25012025/06/53/image_25012025_06_53_02_624039_0003.jpg', '/home/pi/Desktop/images/25012025/06/54/image_25012025_06_54_02_158998_0000.jpg', '/home/pi/Desktop/images/25012025/06/54/image_25012025_06_54_02_158998_0001.jpg', '/home/pi/Desktop/images/25012025/06/54/image_25012025_06_54_02_158998_0002.jpg', '/home/pi/Desktop/images/25012025/06/54/image_25012025_06_54_02_158998_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/53/image_25012025_06_53_02_624039_0002.jpg
/home/pi/Desktop/images/25012025/06/53/image_25012025_06_53_02_624039_0003.jpg
/home/pi/Desktop/images/25012025/06/54/image_25012025_06_54_02_158998_0000.jpg
/home/pi/Desktop/images/25012025/06/54/image_25012025_06_54_02_158998_0001.jpg
/home/pi/Desktop/images/25012025/06/54/image_25012025_06_54_02_158998_0002.jpg
/home/pi/Desktop/images/25012025/06/54/image_25012025_06_54_02_158998_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":["1331273259","1331273094","1331273088","1331273139","1331273183","1331273099"],"photo_ids_order":["1331273088","1331273094","1331273099","1331273139","1331273183","1331273259"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4a698a06aa6aa5c65a258a1357f9b773.jpg","text":"TemporaryFile(/tmp/multipartBody4391892915685813205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790718778,"filename":"image_25012025_06_54_02_158998_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4ac45da68f05ee4102467cad6268436a.jpg","text":"TemporaryFile(/tmp/multipartBody4041769051733998731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790718778,"filename":"image_25012025_06_53_02_624039_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0e46930d388063f71850c4342e62ea11.jpg","text":"TemporaryFile(/tmp/multipartBody979308407512998254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790718778,"filename":"image_25012025_06_53_02_624039_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ee3f623c149fc270591370cd9ebd985d.jpg","text":"TemporaryFile(/tmp/multipartBody2074362527661664660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790718778,"filename":"image_25012025_06_54_02_158998_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6fa581bfa69e49925c6118cf020b22e7.jpg","text":"TemporaryFile(/tmp/multipartBody3996593652227871473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790718778,"filename":"image_25012025_06_54_02_158998_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e78275bf66679d2afd0a5c4ee07475c8.jpg","text":"TemporaryFile(/tmp/multipartBody7537752014206708583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790718778,"filename":"image_25012025_06_54_02_158998_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331273099","file1":"1331273094","file0":"1331273088","file4":"1331273183","file5":"1331273259","file3":"1331273139"},"map_files_photo_id_array":[{"photo_id":"1331273259","filename":"file5"},{"photo_id":"1331273099","filename":"file2"},{"photo_id":"1331273183","filename":"file4"},{"photo_id":"1331273094","filename":"file1"},{"photo_id":"1331273088","filename":"file0"},{"photo_id":"1331273139","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331273259":["hashtag1","hashtag2"]},{"1331273094":["hashtag1","hashtag2"]},{"1331273088":["hashtag1","hashtag2"]},{"1331273139":["hashtag1","hashtag2"]},{"1331273183":["hashtag1","hashtag2"]},{"1331273099":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331273259, 1331273094, 1331273088, 1331273139, 1331273183, 1331273099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.92178559303284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 08:39:03.000840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/55/image_25012025_06_55_02_651072_0000.jpg', '/home/pi/Desktop/images/25012025/06/55/image_25012025_06_55_02_651072_0001.jpg', '/home/pi/Desktop/images/25012025/06/55/image_25012025_06_55_02_651072_0002.jpg', '/home/pi/Desktop/images/25012025/06/55/image_25012025_06_55_02_651072_0003.jpg', '/home/pi/Desktop/images/25012025/06/56/image_25012025_06_56_02_199388_0000.jpg', '/home/pi/Desktop/images/25012025/06/56/image_25012025_06_56_02_199388_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/55/image_25012025_06_55_02_651072_0000.jpg
/home/pi/Desktop/images/25012025/06/55/image_25012025_06_55_02_651072_0001.jpg
/home/pi/Desktop/images/25012025/06/55/image_25012025_06_55_02_651072_0002.jpg
/home/pi/Desktop/images/25012025/06/55/image_25012025_06_55_02_651072_0003.jpg
/home/pi/Desktop/images/25012025/06/56/image_25012025_06_56_02_199388_0000.jpg
/home/pi/Desktop/images/25012025/06/56/image_25012025_06_56_02_199388_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":["1331273708","1331273723","1331273782","1331273716","1331273617","1331273652"],"photo_ids_order":["1331273617","1331273652","1331273708","1331273716","1331273723","1331273782"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/38a26fafbdd192507c71beaf2af906d7.jpg","text":"TemporaryFile(/tmp/multipartBody6869492454507372734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790819501,"filename":"image_25012025_06_55_02_651072_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/87800802bba0258e9072f02709689e20.jpg","text":"TemporaryFile(/tmp/multipartBody5848743248326469581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790819501,"filename":"image_25012025_06_56_02_199388_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/93e65df6f0976b5335bbd948e8c05f00.jpg","text":"TemporaryFile(/tmp/multipartBody2867951268715863996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790819501,"filename":"image_25012025_06_56_02_199388_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d741688a41debe4561f005a0a0d51b19.jpg","text":"TemporaryFile(/tmp/multipartBody7463968376408627878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790819501,"filename":"image_25012025_06_55_02_651072_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c3898fd421553bdd2001a5cbac2db6cd.jpg","text":"TemporaryFile(/tmp/multipartBody3228752945871070712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790819501,"filename":"image_25012025_06_55_02_651072_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8252989b42e45bbdc5cb2e5d02dac551.jpg","text":"TemporaryFile(/tmp/multipartBody7957379776748491465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790819501,"filename":"image_25012025_06_55_02_651072_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331273708","file1":"1331273652","file0":"1331273617","file4":"1331273723","file5":"1331273782","file3":"1331273716"},"map_files_photo_id_array":[{"photo_id":"1331273782","filename":"file5"},{"photo_id":"1331273708","filename":"file2"},{"photo_id":"1331273723","filename":"file4"},{"photo_id":"1331273652","filename":"file1"},{"photo_id":"1331273617","filename":"file0"},{"photo_id":"1331273716","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331273708":["hashtag1","hashtag2"]},{"1331273723":["hashtag1","hashtag2"]},{"1331273782":["hashtag1","hashtag2"]},{"1331273716":["hashtag1","hashtag2"]},{"1331273617":["hashtag1","hashtag2"]},{"1331273652":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331273708, 1331273723, 1331273782, 1331273716, 1331273617, 1331273652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.07519197463989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:40:22.111970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/56/image_25012025_06_56_02_199388_0002.jpg', '/home/pi/Desktop/images/25012025/06/56/image_25012025_06_56_02_199388_0003.jpg', '/home/pi/Desktop/images/25012025/06/57/image_25012025_06_57_02_933949_0000.jpg', '/home/pi/Desktop/images/25012025/06/57/image_25012025_06_57_02_933949_0001.jpg', '/home/pi/Desktop/images/25012025/06/57/image_25012025_06_57_02_933949_0002.jpg', '/home/pi/Desktop/images/25012025/06/57/image_25012025_06_57_02_933949_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/56/image_25012025_06_56_02_199388_0002.jpg
/home/pi/Desktop/images/25012025/06/56/image_25012025_06_56_02_199388_0003.jpg
/home/pi/Desktop/images/25012025/06/57/image_25012025_06_57_02_933949_0000.jpg
/home/pi/Desktop/images/25012025/06/57/image_25012025_06_57_02_933949_0001.jpg
/home/pi/Desktop/images/25012025/06/57/image_25012025_06_57_02_933949_0002.jpg
/home/pi/Desktop/images/25012025/06/57/image_25012025_06_57_02_933949_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.441770315170288 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 08:41:03.231013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/56/image_25012025_06_56_02_199388_0002.jpg', '/home/pi/Desktop/images/25012025/06/56/image_25012025_06_56_02_199388_0003.jpg', '/home/pi/Desktop/images/25012025/06/57/image_25012025_06_57_02_933949_0000.jpg', '/home/pi/Desktop/images/25012025/06/57/image_25012025_06_57_02_933949_0001.jpg', '/home/pi/Desktop/images/25012025/06/57/image_25012025_06_57_02_933949_0002.jpg', '/home/pi/Desktop/images/25012025/06/57/image_25012025_06_57_02_933949_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/56/image_25012025_06_56_02_199388_0002.jpg
/home/pi/Desktop/images/25012025/06/56/image_25012025_06_56_02_199388_0003.jpg
/home/pi/Desktop/images/25012025/06/57/image_25012025_06_57_02_933949_0000.jpg
/home/pi/Desktop/images/25012025/06/57/image_25012025_06_57_02_933949_0001.jpg
/home/pi/Desktop/images/25012025/06/57/image_25012025_06_57_02_933949_0002.jpg
/home/pi/Desktop/images/25012025/06/57/image_25012025_06_57_02_933949_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":["1331273903","1331273941","1331273878","1331273946","1331273913","1331273894"],"photo_ids_order":["1331273878","1331273894","1331273903","1331273913","1331273941","1331273946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5750cc00eb1428313c1d24182dbafd25.jpg","text":"TemporaryFile(/tmp/multipartBody1679452895365966033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790940105,"filename":"image_25012025_06_57_02_933949_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/75d4a43056cad431ff7c58e1dc0baf06.jpg","text":"TemporaryFile(/tmp/multipartBody2916034270416915858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790940105,"filename":"image_25012025_06_57_02_933949_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/929a3ac5193735932766df7219ae34a0.jpg","text":"TemporaryFile(/tmp/multipartBody5667345579487474235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790940105,"filename":"image_25012025_06_56_02_199388_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c8701daefed25a03d122d1acf50f56ef.jpg","text":"TemporaryFile(/tmp/multipartBody3201118899225048878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790940105,"filename":"image_25012025_06_57_02_933949_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/288d187a80eb79563974b5488ef3a189.jpg","text":"TemporaryFile(/tmp/multipartBody4065468641864958210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790940105,"filename":"image_25012025_06_57_02_933949_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0bbeaba3c47d25129b0d44820f16f5e1.jpg","text":"TemporaryFile(/tmp/multipartBody8072481892898144284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737790940105,"filename":"image_25012025_06_56_02_199388_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331273903","file1":"1331273894","file0":"1331273878","file4":"1331273941","file5":"1331273946","file3":"1331273913"},"map_files_photo_id_array":[{"photo_id":"1331273946","filename":"file5"},{"photo_id":"1331273903","filename":"file2"},{"photo_id":"1331273941","filename":"file4"},{"photo_id":"1331273894","filename":"file1"},{"photo_id":"1331273878","filename":"file0"},{"photo_id":"1331273913","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331273903":["hashtag1","hashtag2"]},{"1331273941":["hashtag1","hashtag2"]},{"1331273878":["hashtag1","hashtag2"]},{"1331273946":["hashtag1","hashtag2"]},{"1331273913":["hashtag1","hashtag2"]},{"1331273894":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331273903, 1331273941, 1331273878, 1331273946, 1331273913, 1331273894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.65865588188171 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:42:22.332630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/58/image_25012025_06_58_02_496677_0000.jpg', '/home/pi/Desktop/images/25012025/06/58/image_25012025_06_58_02_496677_0001.jpg', '/home/pi/Desktop/images/25012025/06/58/image_25012025_06_58_02_496677_0002.jpg', '/home/pi/Desktop/images/25012025/06/58/image_25012025_06_58_02_496677_0003.jpg', '/home/pi/Desktop/images/25012025/06/59/image_25012025_06_59_03_007293_0000.jpg', '/home/pi/Desktop/images/25012025/06/59/image_25012025_06_59_03_007293_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/58/image_25012025_06_58_02_496677_0000.jpg
/home/pi/Desktop/images/25012025/06/58/image_25012025_06_58_02_496677_0001.jpg
/home/pi/Desktop/images/25012025/06/58/image_25012025_06_58_02_496677_0002.jpg
/home/pi/Desktop/images/25012025/06/58/image_25012025_06_58_02_496677_0003.jpg
/home/pi/Desktop/images/25012025/06/59/image_25012025_06_59_03_007293_0000.jpg
/home/pi/Desktop/images/25012025/06/59/image_25012025_06_59_03_007293_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":["1331274002","1331273998","1331273994","1331273982","1331274033","1331274008"],"photo_ids_order":["1331273982","1331273994","1331273998","1331274002","1331274008","1331274033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/89dffd9ce40d39efb6d4de694a73a9c8.jpg","text":"TemporaryFile(/tmp/multipartBody3891585092627012279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791018996,"filename":"image_25012025_06_58_02_496677_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/deeb60d97dc3555f3d79ab7f478bcbe9.jpg","text":"TemporaryFile(/tmp/multipartBody4473479296487853364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791018996,"filename":"image_25012025_06_58_02_496677_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b1b42a864bf403dd5739c0427f0635d0.jpg","text":"TemporaryFile(/tmp/multipartBody1666725864853029842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791018996,"filename":"image_25012025_06_58_02_496677_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0815adca41d0274e04bba929624bba67.jpg","text":"TemporaryFile(/tmp/multipartBody7868017269804777592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791018996,"filename":"image_25012025_06_58_02_496677_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/64bb8d2994c5bccecaa7f552f2abc7d1.jpg","text":"TemporaryFile(/tmp/multipartBody8874710796258261210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791018996,"filename":"image_25012025_06_59_03_007293_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cfca414dfa2db79acb99d818ace03e57.jpg","text":"TemporaryFile(/tmp/multipartBody5278900402783451978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791018996,"filename":"image_25012025_06_59_03_007293_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331273998","file1":"1331273994","file0":"1331273982","file4":"1331274008","file5":"1331274033","file3":"1331274002"},"map_files_photo_id_array":[{"photo_id":"1331274033","filename":"file5"},{"photo_id":"1331273998","filename":"file2"},{"photo_id":"1331274008","filename":"file4"},{"photo_id":"1331273994","filename":"file1"},{"photo_id":"1331273982","filename":"file0"},{"photo_id":"1331274002","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331274002":["hashtag1","hashtag2"]},{"1331273998":["hashtag1","hashtag2"]},{"1331273994":["hashtag1","hashtag2"]},{"1331273982":["hashtag1","hashtag2"]},{"1331274033":["hashtag1","hashtag2"]},{"1331274008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331274002, 1331273998, 1331273994, 1331273982, 1331274033, 1331274008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.287168741226196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 08:44:02.837173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/06/59/image_25012025_06_59_03_007293_0002.jpg', '/home/pi/Desktop/images/25012025/06/59/image_25012025_06_59_03_007293_0003.jpg', '/home/pi/Desktop/images/25012025/07/00/image_25012025_07_00_02_127059_0000.jpg', '/home/pi/Desktop/images/25012025/07/00/image_25012025_07_00_02_127059_0001.jpg', '/home/pi/Desktop/images/25012025/07/00/image_25012025_07_00_02_127059_0002.jpg', '/home/pi/Desktop/images/25012025/07/00/image_25012025_07_00_02_127059_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/06/59/image_25012025_06_59_03_007293_0002.jpg
/home/pi/Desktop/images/25012025/06/59/image_25012025_06_59_03_007293_0003.jpg
/home/pi/Desktop/images/25012025/07/00/image_25012025_07_00_02_127059_0000.jpg
/home/pi/Desktop/images/25012025/07/00/image_25012025_07_00_02_127059_0001.jpg
/home/pi/Desktop/images/25012025/07/00/image_25012025_07_00_02_127059_0002.jpg
/home/pi/Desktop/images/25012025/07/00/image_25012025_07_00_02_127059_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":["1331274253","1331274238","1331274243","1331274222","1331274248","1331274196"],"photo_ids_order":["1331274196","1331274222","1331274238","1331274243","1331274248","1331274253"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f8f52e20cf810fe1af218d113c097131.jpg","text":"TemporaryFile(/tmp/multipartBody3810429357002939578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791119685,"filename":"image_25012025_07_00_02_127059_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c0136c45f8e4a1e68ce80450472c5cda.jpg","text":"TemporaryFile(/tmp/multipartBody9204393409585763754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791119685,"filename":"image_25012025_07_00_02_127059_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3aa32d32b64fda8071f69b5b356daa44.jpg","text":"TemporaryFile(/tmp/multipartBody6919910139825996525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791119685,"filename":"image_25012025_07_00_02_127059_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/41ddec0596056352335495c169712f6a.jpg","text":"TemporaryFile(/tmp/multipartBody8928635190530027830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791119685,"filename":"image_25012025_06_59_03_007293_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ac1d2030437ffcbeb8a76448c896a2c7.jpg","text":"TemporaryFile(/tmp/multipartBody3497470650898816514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791119685,"filename":"image_25012025_07_00_02_127059_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/65063d43cddca54d25a8f9f0dfaf0145.jpg","text":"TemporaryFile(/tmp/multipartBody5048959040662616381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791119685,"filename":"image_25012025_06_59_03_007293_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331274238","file1":"1331274222","file0":"1331274196","file4":"1331274248","file5":"1331274253","file3":"1331274243"},"map_files_photo_id_array":[{"photo_id":"1331274253","filename":"file5"},{"photo_id":"1331274238","filename":"file2"},{"photo_id":"1331274248","filename":"file4"},{"photo_id":"1331274222","filename":"file1"},{"photo_id":"1331274196","filename":"file0"},{"photo_id":"1331274243","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331274253":["hashtag1","hashtag2"]},{"1331274238":["hashtag1","hashtag2"]},{"1331274243":["hashtag1","hashtag2"]},{"1331274222":["hashtag1","hashtag2"]},{"1331274248":["hashtag1","hashtag2"]},{"1331274196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331274253, 1331274238, 1331274243, 1331274222, 1331274248, 1331274196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.19899559020996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:45:21.941795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/01/image_25012025_07_01_02_780101_0000.jpg', '/home/pi/Desktop/images/25012025/07/01/image_25012025_07_01_02_780101_0001.jpg', '/home/pi/Desktop/images/25012025/07/01/image_25012025_07_01_02_780101_0002.jpg', '/home/pi/Desktop/images/25012025/07/01/image_25012025_07_01_02_780101_0003.jpg', '/home/pi/Desktop/images/25012025/07/02/image_25012025_07_02_02_288322_0000.jpg', '/home/pi/Desktop/images/25012025/07/02/image_25012025_07_02_02_288322_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/01/image_25012025_07_01_02_780101_0000.jpg
/home/pi/Desktop/images/25012025/07/01/image_25012025_07_01_02_780101_0001.jpg
/home/pi/Desktop/images/25012025/07/01/image_25012025_07_01_02_780101_0002.jpg
/home/pi/Desktop/images/25012025/07/01/image_25012025_07_01_02_780101_0003.jpg
/home/pi/Desktop/images/25012025/07/02/image_25012025_07_02_02_288322_0000.jpg
/home/pi/Desktop/images/25012025/07/02/image_25012025_07_02_02_288322_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":["1331274292","1331274288","1331274296","1331274309","1331274299","1331274305"],"photo_ids_order":["1331274288","1331274292","1331274296","1331274299","1331274305","1331274309"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/23187262fd9a2787059e72aa6fa3d768.jpg","text":"TemporaryFile(/tmp/multipartBody479164197255039319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791198861,"filename":"image_25012025_07_01_02_780101_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a1d054d4eeb031f2c0122c7665a4c28b.jpg","text":"TemporaryFile(/tmp/multipartBody8798090942239402904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791198861,"filename":"image_25012025_07_01_02_780101_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9ec37ea9f9dfe2b4ddc8f1390f076a38.jpg","text":"TemporaryFile(/tmp/multipartBody5446961030422078788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791198861,"filename":"image_25012025_07_01_02_780101_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fc98359ef5267f1d92dd81d0ee6d8575.jpg","text":"TemporaryFile(/tmp/multipartBody4646836653484690358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791198861,"filename":"image_25012025_07_02_02_288322_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e0a8b55e04277644f62b6382e3e881f9.jpg","text":"TemporaryFile(/tmp/multipartBody6453743266376003066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791198861,"filename":"image_25012025_07_01_02_780101_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bb57d09f3c34e8e8703e2ff147f6060f.jpg","text":"TemporaryFile(/tmp/multipartBody4099098280867638257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791198861,"filename":"image_25012025_07_02_02_288322_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331274296","file1":"1331274292","file0":"1331274288","file4":"1331274305","file5":"1331274309","file3":"1331274299"},"map_files_photo_id_array":[{"photo_id":"1331274309","filename":"file5"},{"photo_id":"1331274296","filename":"file2"},{"photo_id":"1331274305","filename":"file4"},{"photo_id":"1331274292","filename":"file1"},{"photo_id":"1331274288","filename":"file0"},{"photo_id":"1331274299","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331274292":["hashtag1","hashtag2"]},{"1331274288":["hashtag1","hashtag2"]},{"1331274296":["hashtag1","hashtag2"]},{"1331274309":["hashtag1","hashtag2"]},{"1331274299":["hashtag1","hashtag2"]},{"1331274305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331274292, 1331274288, 1331274296, 1331274309, 1331274299, 1331274305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.01035737991333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 08:47:02.543370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/02/image_25012025_07_02_02_288322_0002.jpg', '/home/pi/Desktop/images/25012025/07/02/image_25012025_07_02_02_288322_0003.jpg', '/home/pi/Desktop/images/25012025/07/03/image_25012025_07_03_02_930100_0000.jpg', '/home/pi/Desktop/images/25012025/07/03/image_25012025_07_03_02_930100_0001.jpg', '/home/pi/Desktop/images/25012025/07/03/image_25012025_07_03_02_930100_0002.jpg', '/home/pi/Desktop/images/25012025/07/03/image_25012025_07_03_02_930100_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/02/image_25012025_07_02_02_288322_0002.jpg
/home/pi/Desktop/images/25012025/07/02/image_25012025_07_02_02_288322_0003.jpg
/home/pi/Desktop/images/25012025/07/03/image_25012025_07_03_02_930100_0000.jpg
/home/pi/Desktop/images/25012025/07/03/image_25012025_07_03_02_930100_0001.jpg
/home/pi/Desktop/images/25012025/07/03/image_25012025_07_03_02_930100_0002.jpg
/home/pi/Desktop/images/25012025/07/03/image_25012025_07_03_02_930100_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":["1331275300","1331274922","1331274840","1331275399","1331275180","1331275069"],"photo_ids_order":["1331274840","1331274922","1331275069","1331275180","1331275300","1331275399"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6c3d06feba759964ece5aed1a12c3e01.jpg","text":"TemporaryFile(/tmp/multipartBody3900456187543146956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791299692,"filename":"image_25012025_07_03_02_930100_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/082fc8d0bac7a8ed0c111eb904ae5e30.jpg","text":"TemporaryFile(/tmp/multipartBody4245412347045388450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791299692,"filename":"image_25012025_07_02_02_288322_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9b04da367774d01e4e21e9ec6fbca3bc.jpg","text":"TemporaryFile(/tmp/multipartBody7749180006175850608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791299692,"filename":"image_25012025_07_02_02_288322_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/59ca811464f3c81297e29361f95d9ac3.jpg","text":"TemporaryFile(/tmp/multipartBody3921296251172057723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791299692,"filename":"image_25012025_07_03_02_930100_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/14534770b303cb5f387dfae565209388.jpg","text":"TemporaryFile(/tmp/multipartBody4505059923568265479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791299692,"filename":"image_25012025_07_03_02_930100_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2e1eab4850d0831c868bdc50a47ef32c.jpg","text":"TemporaryFile(/tmp/multipartBody2562479532450271615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791299692,"filename":"image_25012025_07_03_02_930100_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331275069","file1":"1331274922","file0":"1331274840","file4":"1331275300","file5":"1331275399","file3":"1331275180"},"map_files_photo_id_array":[{"photo_id":"1331275399","filename":"file5"},{"photo_id":"1331275069","filename":"file2"},{"photo_id":"1331275300","filename":"file4"},{"photo_id":"1331274922","filename":"file1"},{"photo_id":"1331274840","filename":"file0"},{"photo_id":"1331275180","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331275300":["hashtag1","hashtag2"]},{"1331274922":["hashtag1","hashtag2"]},{"1331274840":["hashtag1","hashtag2"]},{"1331275399":["hashtag1","hashtag2"]},{"1331275180":["hashtag1","hashtag2"]},{"1331275069":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331275300, 1331274922, 1331274840, 1331275399, 1331275180, 1331275069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.045602798461914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:48:22.574494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/04/image_25012025_07_04_02_484682_0000.jpg', '/home/pi/Desktop/images/25012025/07/04/image_25012025_07_04_02_484682_0001.jpg', '/home/pi/Desktop/images/25012025/07/04/image_25012025_07_04_02_484682_0002.jpg', '/home/pi/Desktop/images/25012025/07/04/image_25012025_07_04_02_484682_0003.jpg', '/home/pi/Desktop/images/25012025/07/05/image_25012025_07_05_03_002534_0000.jpg', '/home/pi/Desktop/images/25012025/07/05/image_25012025_07_05_03_002534_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/04/image_25012025_07_04_02_484682_0000.jpg
/home/pi/Desktop/images/25012025/07/04/image_25012025_07_04_02_484682_0001.jpg
/home/pi/Desktop/images/25012025/07/04/image_25012025_07_04_02_484682_0002.jpg
/home/pi/Desktop/images/25012025/07/04/image_25012025_07_04_02_484682_0003.jpg
/home/pi/Desktop/images/25012025/07/05/image_25012025_07_05_03_002534_0000.jpg
/home/pi/Desktop/images/25012025/07/05/image_25012025_07_05_03_002534_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331275971","1331276019","1331275982","1331276254","1331276280","1331276128"],"photo_ids_order":["1331275971","1331275982","1331276019","1331276128","1331276254","1331276280"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/97647e90939e6d4e0beaf31ad7ed7e75.jpg","text":"TemporaryFile(/tmp/multipartBody3787523452360537719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791378672,"filename":"image_25012025_07_04_02_484682_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a6fb9e13aa158cec1e33605892872661.jpg","text":"TemporaryFile(/tmp/multipartBody7370339383694274474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791378672,"filename":"image_25012025_07_04_02_484682_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/af7db6486558026e2ebfd88344ffed0d.jpg","text":"TemporaryFile(/tmp/multipartBody8008941628703466629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791378672,"filename":"image_25012025_07_04_02_484682_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3960b931628804c301d34fa05915e90d.jpg","text":"TemporaryFile(/tmp/multipartBody7902843273392135196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791378672,"filename":"image_25012025_07_05_03_002534_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/beec3d9a0421b331faf51c7b60f5d637.jpg","text":"TemporaryFile(/tmp/multipartBody8298513976445712512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791378672,"filename":"image_25012025_07_05_03_002534_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ed06c5accdaadae5f0cf2f4c5a0f4ebf.jpg","text":"TemporaryFile(/tmp/multipartBody6666877113409626484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791378672,"filename":"image_25012025_07_04_02_484682_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331276019","file1":"1331275982","file0":"1331275971","file4":"1331276254","file5":"1331276280","file3":"1331276128"},"map_files_photo_id_array":[{"photo_id":"1331276280","filename":"file5"},{"photo_id":"1331276019","filename":"file2"},{"photo_id":"1331276254","filename":"file4"},{"photo_id":"1331275982","filename":"file1"},{"photo_id":"1331275971","filename":"file0"},{"photo_id":"1331276128","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331275971":["hashtag1","hashtag2"]},{"1331276019":["hashtag1","hashtag2"]},{"1331275982":["hashtag1","hashtag2"]},{"1331276254":["hashtag1","hashtag2"]},{"1331276280":["hashtag1","hashtag2"]},{"1331276128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331275971, 1331276019, 1331275982, 1331276254, 1331276280, 1331276128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.416253089904785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:49:22.064993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/05/image_25012025_07_05_03_002534_0002.jpg', '/home/pi/Desktop/images/25012025/07/05/image_25012025_07_05_03_002534_0003.jpg', '/home/pi/Desktop/images/25012025/07/06/image_25012025_07_06_02_545037_0000.jpg', '/home/pi/Desktop/images/25012025/07/06/image_25012025_07_06_02_545037_0001.jpg', '/home/pi/Desktop/images/25012025/07/06/image_25012025_07_06_02_545037_0002.jpg', '/home/pi/Desktop/images/25012025/07/06/image_25012025_07_06_02_545037_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/05/image_25012025_07_05_03_002534_0002.jpg
/home/pi/Desktop/images/25012025/07/05/image_25012025_07_05_03_002534_0003.jpg
/home/pi/Desktop/images/25012025/07/06/image_25012025_07_06_02_545037_0000.jpg
/home/pi/Desktop/images/25012025/07/06/image_25012025_07_06_02_545037_0001.jpg
/home/pi/Desktop/images/25012025/07/06/image_25012025_07_06_02_545037_0002.jpg
/home/pi/Desktop/images/25012025/07/06/image_25012025_07_06_02_545037_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":["1331277266","1331276901","1331276693","1331276759","1331277253","1331277198"],"photo_ids_order":["1331276693","1331276759","1331276901","1331277198","1331277253","1331277266"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c1b9e02ea4b912955d6da792067e7b97.jpg","text":"TemporaryFile(/tmp/multipartBody130912007475543146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791438719,"filename":"image_25012025_07_06_02_545037_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/750eeb610344e1411794439bb12020fa.jpg","text":"TemporaryFile(/tmp/multipartBody5804192674245915699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791438719,"filename":"image_25012025_07_06_02_545037_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f464812f1f78b9e58aa4ac3bc67996b1.jpg","text":"TemporaryFile(/tmp/multipartBody5946497288687272026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791438719,"filename":"image_25012025_07_05_03_002534_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/92e764eb9fbbff1930a2cbec141bb377.jpg","text":"TemporaryFile(/tmp/multipartBody137237415406060234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791438719,"filename":"image_25012025_07_05_03_002534_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d81818ed960172d2f8b43487b01a1be0.jpg","text":"TemporaryFile(/tmp/multipartBody8810238646458311487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791438719,"filename":"image_25012025_07_06_02_545037_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6af83183244ab4eb0a2acd86041d3c8a.jpg","text":"TemporaryFile(/tmp/multipartBody486504023113963190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791438719,"filename":"image_25012025_07_06_02_545037_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331276901","file1":"1331276759","file0":"1331276693","file4":"1331277253","file5":"1331277266","file3":"1331277198"},"map_files_photo_id_array":[{"photo_id":"1331277266","filename":"file5"},{"photo_id":"1331276901","filename":"file2"},{"photo_id":"1331277253","filename":"file4"},{"photo_id":"1331276759","filename":"file1"},{"photo_id":"1331276693","filename":"file0"},{"photo_id":"1331277198","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331277266":["hashtag1","hashtag2"]},{"1331276901":["hashtag1","hashtag2"]},{"1331276693":["hashtag1","hashtag2"]},{"1331276759":["hashtag1","hashtag2"]},{"1331277253":["hashtag1","hashtag2"]},{"1331277198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331277266, 1331276901, 1331276693, 1331276759, 1331277253, 1331277198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 74.02051639556885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 08:51:02.700109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/07/image_25012025_07_07_03_024573_0000.jpg', '/home/pi/Desktop/images/25012025/07/07/image_25012025_07_07_03_024573_0001.jpg', '/home/pi/Desktop/images/25012025/07/07/image_25012025_07_07_03_024573_0002.jpg', '/home/pi/Desktop/images/25012025/07/07/image_25012025_07_07_03_024573_0003.jpg', '/home/pi/Desktop/images/25012025/07/08/image_25012025_07_08_02_553439_0000.jpg', '/home/pi/Desktop/images/25012025/07/08/image_25012025_07_08_02_553439_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/07/image_25012025_07_07_03_024573_0000.jpg
/home/pi/Desktop/images/25012025/07/07/image_25012025_07_07_03_024573_0001.jpg
/home/pi/Desktop/images/25012025/07/07/image_25012025_07_07_03_024573_0002.jpg
/home/pi/Desktop/images/25012025/07/07/image_25012025_07_07_03_024573_0003.jpg
/home/pi/Desktop/images/25012025/07/08/image_25012025_07_08_02_553439_0000.jpg
/home/pi/Desktop/images/25012025/07/08/image_25012025_07_08_02_553439_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":["1331277909","1331277903","1331277566","1331277818","1331277862","1331277858"],"photo_ids_order":["1331277566","1331277818","1331277858","1331277862","1331277903","1331277909"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ff1434dbcecab1716b4e13a17243cb2f.jpg","text":"TemporaryFile(/tmp/multipartBody8979361009180468918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791539618,"filename":"image_25012025_07_08_02_553439_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/16c786a9d23cd0ef0fd124030f92f2a9.jpg","text":"TemporaryFile(/tmp/multipartBody3184910188883570039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791539618,"filename":"image_25012025_07_08_02_553439_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3538bc226d8a66e48e1e9bd17f5443d8.jpg","text":"TemporaryFile(/tmp/multipartBody4320174690747434593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791539618,"filename":"image_25012025_07_07_03_024573_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a64a401113df9eab659d90a0ff294838.jpg","text":"TemporaryFile(/tmp/multipartBody2296232405641107230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791539618,"filename":"image_25012025_07_07_03_024573_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/20cefd570f89ebf88a0d305fed322608.jpg","text":"TemporaryFile(/tmp/multipartBody1802983806323176497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791539618,"filename":"image_25012025_07_07_03_024573_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/96b3ea28fe22d52faf9e95062ecc0bf3.jpg","text":"TemporaryFile(/tmp/multipartBody7686539681031331043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791539618,"filename":"image_25012025_07_07_03_024573_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331277858","file1":"1331277818","file0":"1331277566","file4":"1331277903","file5":"1331277909","file3":"1331277862"},"map_files_photo_id_array":[{"photo_id":"1331277909","filename":"file5"},{"photo_id":"1331277858","filename":"file2"},{"photo_id":"1331277903","filename":"file4"},{"photo_id":"1331277818","filename":"file1"},{"photo_id":"1331277566","filename":"file0"},{"photo_id":"1331277862","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331277909":["hashtag1","hashtag2"]},{"1331277903":["hashtag1","hashtag2"]},{"1331277566":["hashtag1","hashtag2"]},{"1331277818":["hashtag1","hashtag2"]},{"1331277862":["hashtag1","hashtag2"]},{"1331277858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331277909, 1331277903, 1331277566, 1331277818, 1331277862, 1331277858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.52087903022766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 08:53:02.577827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/08/image_25012025_07_08_02_553439_0002.jpg', '/home/pi/Desktop/images/25012025/07/08/image_25012025_07_08_02_553439_0003.jpg', '/home/pi/Desktop/images/25012025/07/09/image_25012025_07_09_03_089512_0000.jpg', '/home/pi/Desktop/images/25012025/07/09/image_25012025_07_09_03_089512_0001.jpg', '/home/pi/Desktop/images/25012025/07/09/image_25012025_07_09_03_089512_0002.jpg', '/home/pi/Desktop/images/25012025/07/09/image_25012025_07_09_03_089512_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/08/image_25012025_07_08_02_553439_0002.jpg
/home/pi/Desktop/images/25012025/07/08/image_25012025_07_08_02_553439_0003.jpg
/home/pi/Desktop/images/25012025/07/09/image_25012025_07_09_03_089512_0000.jpg
/home/pi/Desktop/images/25012025/07/09/image_25012025_07_09_03_089512_0001.jpg
/home/pi/Desktop/images/25012025/07/09/image_25012025_07_09_03_089512_0002.jpg
/home/pi/Desktop/images/25012025/07/09/image_25012025_07_09_03_089512_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":["1331278127","1331278136","1331278093","1331278087","1331278132","1331278117"],"photo_ids_order":["1331278087","1331278093","1331278117","1331278127","1331278132","1331278136"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5a1ec0f3e109376e4549cc6d321f85a5.jpg","text":"TemporaryFile(/tmp/multipartBody1662882200264943594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791659621,"filename":"image_25012025_07_09_03_089512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1b831e21d0958bfc7efc596f684e394e.jpg","text":"TemporaryFile(/tmp/multipartBody8099857270747054222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791659621,"filename":"image_25012025_07_09_03_089512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/354da632af68d14c13e31d31ba17b268.jpg","text":"TemporaryFile(/tmp/multipartBody2499107603611036510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791659621,"filename":"image_25012025_07_08_02_553439_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/702edd240e71b2151c4cdac2e60bf606.jpg","text":"TemporaryFile(/tmp/multipartBody3438465771784034989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791659621,"filename":"image_25012025_07_08_02_553439_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/223843e1e20fa9a8928a28baedae2e45.jpg","text":"TemporaryFile(/tmp/multipartBody5685919854925015791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791659621,"filename":"image_25012025_07_09_03_089512_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5a8e244dcc16abaa6b40fa04310efa41.jpg","text":"TemporaryFile(/tmp/multipartBody2698508598702818484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791659621,"filename":"image_25012025_07_09_03_089512_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331278117","file1":"1331278093","file0":"1331278087","file4":"1331278132","file5":"1331278136","file3":"1331278127"},"map_files_photo_id_array":[{"photo_id":"1331278136","filename":"file5"},{"photo_id":"1331278117","filename":"file2"},{"photo_id":"1331278132","filename":"file4"},{"photo_id":"1331278093","filename":"file1"},{"photo_id":"1331278087","filename":"file0"},{"photo_id":"1331278127","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331278127":["hashtag1","hashtag2"]},{"1331278136":["hashtag1","hashtag2"]},{"1331278093":["hashtag1","hashtag2"]},{"1331278087":["hashtag1","hashtag2"]},{"1331278132":["hashtag1","hashtag2"]},{"1331278117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331278127, 1331278136, 1331278093, 1331278087, 1331278132, 1331278117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.8784122467041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:54:21.751224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/10/image_25012025_07_10_02_562580_0000.jpg', '/home/pi/Desktop/images/25012025/07/10/image_25012025_07_10_02_562580_0001.jpg', '/home/pi/Desktop/images/25012025/07/10/image_25012025_07_10_02_562580_0002.jpg', '/home/pi/Desktop/images/25012025/07/10/image_25012025_07_10_02_562580_0003.jpg', '/home/pi/Desktop/images/25012025/07/11/image_25012025_07_11_03_058312_0000.jpg', '/home/pi/Desktop/images/25012025/07/11/image_25012025_07_11_03_058312_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/10/image_25012025_07_10_02_562580_0000.jpg
/home/pi/Desktop/images/25012025/07/10/image_25012025_07_10_02_562580_0001.jpg
/home/pi/Desktop/images/25012025/07/10/image_25012025_07_10_02_562580_0002.jpg
/home/pi/Desktop/images/25012025/07/10/image_25012025_07_10_02_562580_0003.jpg
/home/pi/Desktop/images/25012025/07/11/image_25012025_07_11_03_058312_0000.jpg
/home/pi/Desktop/images/25012025/07/11/image_25012025_07_11_03_058312_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.596020460128784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 08:55:02.966738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/10/image_25012025_07_10_02_562580_0000.jpg', '/home/pi/Desktop/images/25012025/07/10/image_25012025_07_10_02_562580_0001.jpg', '/home/pi/Desktop/images/25012025/07/10/image_25012025_07_10_02_562580_0002.jpg', '/home/pi/Desktop/images/25012025/07/10/image_25012025_07_10_02_562580_0003.jpg', '/home/pi/Desktop/images/25012025/07/11/image_25012025_07_11_03_058312_0000.jpg', '/home/pi/Desktop/images/25012025/07/11/image_25012025_07_11_03_058312_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/10/image_25012025_07_10_02_562580_0000.jpg
/home/pi/Desktop/images/25012025/07/10/image_25012025_07_10_02_562580_0001.jpg
/home/pi/Desktop/images/25012025/07/10/image_25012025_07_10_02_562580_0002.jpg
/home/pi/Desktop/images/25012025/07/10/image_25012025_07_10_02_562580_0003.jpg
/home/pi/Desktop/images/25012025/07/11/image_25012025_07_11_03_058312_0000.jpg
/home/pi/Desktop/images/25012025/07/11/image_25012025_07_11_03_058312_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":["1331278241","1331278252","1331278249","1331278245","1331278233","1331278227"],"photo_ids_order":["1331278227","1331278233","1331278241","1331278245","1331278249","1331278252"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c898d7e9a332f972788efd11837c0223.jpg","text":"TemporaryFile(/tmp/multipartBody1666586212072179891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791779006,"filename":"image_25012025_07_10_02_562580_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a03227304bd91ae61cc4146f7e97bea1.jpg","text":"TemporaryFile(/tmp/multipartBody7866004451899828559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791779006,"filename":"image_25012025_07_11_03_058312_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/20fdf8a57b0d7e54b1ec91b1a9b3c330.jpg","text":"TemporaryFile(/tmp/multipartBody8257774902936121842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791779006,"filename":"image_25012025_07_11_03_058312_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cbd8bbf6825813beb93e18068b7fe4d2.jpg","text":"TemporaryFile(/tmp/multipartBody7631006176092810419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791779006,"filename":"image_25012025_07_10_02_562580_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c17240111328e9053f2b277ec6d86eaf.jpg","text":"TemporaryFile(/tmp/multipartBody2092394896897784251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791779006,"filename":"image_25012025_07_10_02_562580_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/42d99c35afdf416b2fdf22a996d15858.jpg","text":"TemporaryFile(/tmp/multipartBody2339266515966555728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791779006,"filename":"image_25012025_07_10_02_562580_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331278241","file1":"1331278233","file0":"1331278227","file4":"1331278249","file5":"1331278252","file3":"1331278245"},"map_files_photo_id_array":[{"photo_id":"1331278252","filename":"file5"},{"photo_id":"1331278241","filename":"file2"},{"photo_id":"1331278249","filename":"file4"},{"photo_id":"1331278233","filename":"file1"},{"photo_id":"1331278227","filename":"file0"},{"photo_id":"1331278245","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331278241":["hashtag1","hashtag2"]},{"1331278252":["hashtag1","hashtag2"]},{"1331278249":["hashtag1","hashtag2"]},{"1331278245":["hashtag1","hashtag2"]},{"1331278233":["hashtag1","hashtag2"]},{"1331278227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331278241, 1331278252, 1331278249, 1331278245, 1331278233, 1331278227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.20964312553406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 08:56:21.848090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/11/image_25012025_07_11_03_058312_0002.jpg', '/home/pi/Desktop/images/25012025/07/11/image_25012025_07_11_03_058312_0003.jpg', '/home/pi/Desktop/images/25012025/07/12/image_25012025_07_12_02_675752_0000.jpg', '/home/pi/Desktop/images/25012025/07/12/image_25012025_07_12_02_675752_0001.jpg', '/home/pi/Desktop/images/25012025/07/12/image_25012025_07_12_02_675752_0002.jpg', '/home/pi/Desktop/images/25012025/07/12/image_25012025_07_12_02_675752_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/11/image_25012025_07_11_03_058312_0002.jpg
/home/pi/Desktop/images/25012025/07/11/image_25012025_07_11_03_058312_0003.jpg
/home/pi/Desktop/images/25012025/07/12/image_25012025_07_12_02_675752_0000.jpg
/home/pi/Desktop/images/25012025/07/12/image_25012025_07_12_02_675752_0001.jpg
/home/pi/Desktop/images/25012025/07/12/image_25012025_07_12_02_675752_0002.jpg
/home/pi/Desktop/images/25012025/07/12/image_25012025_07_12_02_675752_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":["1331278271","1331278315","1331278330","1331278281","1331278326","1331278302"],"photo_ids_order":["1331278271","1331278281","1331278302","1331278315","1331278326","1331278330"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/066dcd32a2ed3c2cb331274504e27a20.jpg","text":"TemporaryFile(/tmp/multipartBody5281579517488601131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791858777,"filename":"image_25012025_07_11_03_058312_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/586aebb84eba93574da37bf4322cf967.jpg","text":"TemporaryFile(/tmp/multipartBody3512432625800308830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791858777,"filename":"image_25012025_07_12_02_675752_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6aeefb61cf18925b202b76ac87bc3fb7.jpg","text":"TemporaryFile(/tmp/multipartBody7951969821667678387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791858777,"filename":"image_25012025_07_12_02_675752_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/552923138c93532274816a38f3c66f26.jpg","text":"TemporaryFile(/tmp/multipartBody3167957319963240664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791858777,"filename":"image_25012025_07_11_03_058312_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2f97665b23a1ca7e6b93b33e9893e1a0.jpg","text":"TemporaryFile(/tmp/multipartBody2715825702589058968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791858777,"filename":"image_25012025_07_12_02_675752_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8ce301b9ddfb6d4067b743500e5dfbcc.jpg","text":"TemporaryFile(/tmp/multipartBody5426779006636591529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737791858777,"filename":"image_25012025_07_12_02_675752_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331278302","file1":"1331278281","file0":"1331278271","file4":"1331278326","file5":"1331278330","file3":"1331278315"},"map_files_photo_id_array":[{"photo_id":"1331278330","filename":"file5"},{"photo_id":"1331278302","filename":"file2"},{"photo_id":"1331278326","filename":"file4"},{"photo_id":"1331278281","filename":"file1"},{"photo_id":"1331278271","filename":"file0"},{"photo_id":"1331278315","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331278271":["hashtag1","hashtag2"]},{"1331278315":["hashtag1","hashtag2"]},{"1331278330":["hashtag1","hashtag2"]},{"1331278281":["hashtag1","hashtag2"]},{"1331278326":["hashtag1","hashtag2"]},{"1331278302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331278271, 1331278315, 1331278330, 1331278281, 1331278326, 1331278302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.44739174842834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 08:59:02.838603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/13/image_25012025_07_13_02_192585_0000.jpg', '/home/pi/Desktop/images/25012025/07/13/image_25012025_07_13_02_192585_0001.jpg', '/home/pi/Desktop/images/25012025/07/13/image_25012025_07_13_02_192585_0002.jpg', '/home/pi/Desktop/images/25012025/07/13/image_25012025_07_13_02_192585_0003.jpg', '/home/pi/Desktop/images/25012025/07/14/image_25012025_07_14_02_725836_0000.jpg', '/home/pi/Desktop/images/25012025/07/14/image_25012025_07_14_02_725836_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/13/image_25012025_07_13_02_192585_0000.jpg
/home/pi/Desktop/images/25012025/07/13/image_25012025_07_13_02_192585_0001.jpg
/home/pi/Desktop/images/25012025/07/13/image_25012025_07_13_02_192585_0002.jpg
/home/pi/Desktop/images/25012025/07/13/image_25012025_07_13_02_192585_0003.jpg
/home/pi/Desktop/images/25012025/07/14/image_25012025_07_14_02_725836_0000.jpg
/home/pi/Desktop/images/25012025/07/14/image_25012025_07_14_02_725836_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":["1331278661","1331278757","1331278709","1331278795","1331278629","1331278809"],"photo_ids_order":["1331278629","1331278661","1331278709","1331278757","1331278795","1331278809"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b4587d906d56eb17ed17df3cb529b498.jpg","text":"TemporaryFile(/tmp/multipartBody8245427968662053341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792019727,"filename":"image_25012025_07_13_02_192585_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4a74b0a94ae1bcf3e4f680329889d3e2.jpg","text":"TemporaryFile(/tmp/multipartBody614313592322116143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792019727,"filename":"image_25012025_07_13_02_192585_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/16064b6dbae3ec0cf6845339ad0f8624.jpg","text":"TemporaryFile(/tmp/multipartBody4615087953976561287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792019727,"filename":"image_25012025_07_13_02_192585_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f1081a15e2d1cd6207266203cff88536.jpg","text":"TemporaryFile(/tmp/multipartBody2939879166284439017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792019727,"filename":"image_25012025_07_14_02_725836_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/48441981ed519d772cfc750d02e31739.jpg","text":"TemporaryFile(/tmp/multipartBody8604691651309334325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792019727,"filename":"image_25012025_07_13_02_192585_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/55acc4c220c65cab28033bc4861c3c1e.jpg","text":"TemporaryFile(/tmp/multipartBody4758259199721958812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792019727,"filename":"image_25012025_07_14_02_725836_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331278709","file1":"1331278661","file0":"1331278629","file4":"1331278795","file5":"1331278809","file3":"1331278757"},"map_files_photo_id_array":[{"photo_id":"1331278809","filename":"file5"},{"photo_id":"1331278709","filename":"file2"},{"photo_id":"1331278795","filename":"file4"},{"photo_id":"1331278661","filename":"file1"},{"photo_id":"1331278629","filename":"file0"},{"photo_id":"1331278757","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331278661":["hashtag1","hashtag2"]},{"1331278757":["hashtag1","hashtag2"]},{"1331278709":["hashtag1","hashtag2"]},{"1331278795":["hashtag1","hashtag2"]},{"1331278629":["hashtag1","hashtag2"]},{"1331278809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331278661, 1331278757, 1331278709, 1331278795, 1331278629, 1331278809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 79.24655508995056 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-25 09:01:02.904805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/14/image_25012025_07_14_02_725836_0002.jpg', '/home/pi/Desktop/images/25012025/07/14/image_25012025_07_14_02_725836_0003.jpg', '/home/pi/Desktop/images/25012025/07/15/image_25012025_07_15_02_253838_0000.jpg', '/home/pi/Desktop/images/25012025/07/15/image_25012025_07_15_02_253838_0001.jpg', '/home/pi/Desktop/images/25012025/07/15/image_25012025_07_15_02_253838_0002.jpg', '/home/pi/Desktop/images/25012025/07/15/image_25012025_07_15_02_253838_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/14/image_25012025_07_14_02_725836_0002.jpg
/home/pi/Desktop/images/25012025/07/14/image_25012025_07_14_02_725836_0003.jpg
/home/pi/Desktop/images/25012025/07/15/image_25012025_07_15_02_253838_0000.jpg
/home/pi/Desktop/images/25012025/07/15/image_25012025_07_15_02_253838_0001.jpg
/home/pi/Desktop/images/25012025/07/15/image_25012025_07_15_02_253838_0002.jpg
/home/pi/Desktop/images/25012025/07/15/image_25012025_07_15_02_253838_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":["1331279426","1331279149","1331279181","1331279163","1331279291","1331279141"],"photo_ids_order":["1331279141","1331279149","1331279163","1331279181","1331279291","1331279426"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e0504bc58cf1f5e11beac7b861a85ace.jpg","text":"TemporaryFile(/tmp/multipartBody5572370591979861717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792139631,"filename":"image_25012025_07_15_02_253838_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e426264fbfb662e6eaea88b67edd0853.jpg","text":"TemporaryFile(/tmp/multipartBody7494253269246967868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792139631,"filename":"image_25012025_07_14_02_725836_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/21e2d2f232dbc567d0beab8e8410b13b.jpg","text":"TemporaryFile(/tmp/multipartBody5950395147374475550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792139631,"filename":"image_25012025_07_15_02_253838_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ac94e4d02874feb9e8608ce0ccb74734.jpg","text":"TemporaryFile(/tmp/multipartBody5119448187586210520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792139631,"filename":"image_25012025_07_15_02_253838_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/27a2f097d9f80da2e322bab8a9b6751c.jpg","text":"TemporaryFile(/tmp/multipartBody4054385177167176010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792139631,"filename":"image_25012025_07_15_02_253838_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6e2204ca404682f29d9a64511451db8f.jpg","text":"TemporaryFile(/tmp/multipartBody8210387630507303630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792139631,"filename":"image_25012025_07_14_02_725836_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331279163","file1":"1331279149","file0":"1331279141","file4":"1331279291","file5":"1331279426","file3":"1331279181"},"map_files_photo_id_array":[{"photo_id":"1331279426","filename":"file5"},{"photo_id":"1331279163","filename":"file2"},{"photo_id":"1331279291","filename":"file4"},{"photo_id":"1331279149","filename":"file1"},{"photo_id":"1331279141","filename":"file0"},{"photo_id":"1331279181","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331279426":["hashtag1","hashtag2"]},{"1331279149":["hashtag1","hashtag2"]},{"1331279181":["hashtag1","hashtag2"]},{"1331279163":["hashtag1","hashtag2"]},{"1331279291":["hashtag1","hashtag2"]},{"1331279141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331279426, 1331279149, 1331279181, 1331279163, 1331279291, 1331279141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.99314522743225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:03:03.099104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/16/image_25012025_07_16_02_857973_0000.jpg', '/home/pi/Desktop/images/25012025/07/16/image_25012025_07_16_02_857973_0001.jpg', '/home/pi/Desktop/images/25012025/07/16/image_25012025_07_16_02_857973_0002.jpg', '/home/pi/Desktop/images/25012025/07/16/image_25012025_07_16_02_857973_0003.jpg', '/home/pi/Desktop/images/25012025/07/17/image_25012025_07_17_02_421051_0000.jpg', '/home/pi/Desktop/images/25012025/07/17/image_25012025_07_17_02_421051_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/16/image_25012025_07_16_02_857973_0000.jpg
/home/pi/Desktop/images/25012025/07/16/image_25012025_07_16_02_857973_0001.jpg
/home/pi/Desktop/images/25012025/07/16/image_25012025_07_16_02_857973_0002.jpg
/home/pi/Desktop/images/25012025/07/16/image_25012025_07_16_02_857973_0003.jpg
/home/pi/Desktop/images/25012025/07/17/image_25012025_07_17_02_421051_0000.jpg
/home/pi/Desktop/images/25012025/07/17/image_25012025_07_17_02_421051_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":["1331280632","1331280428","1331280172","1331280534","1331280281","1331279957"],"photo_ids_order":["1331279957","1331280172","1331280281","1331280428","1331280534","1331280632"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a8026acee478e08408dac2958ae19cd5.jpg","text":"TemporaryFile(/tmp/multipartBody456456040534420133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792259907,"filename":"image_25012025_07_17_02_421051_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0196fe03858dc9b32244b8232b91117c.jpg","text":"TemporaryFile(/tmp/multipartBody400143690915842365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792259907,"filename":"image_25012025_07_16_02_857973_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cd4e85a5c53a9aee8960f54267a5ebd3.jpg","text":"TemporaryFile(/tmp/multipartBody9155332999938693313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792259907,"filename":"image_25012025_07_16_02_857973_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/603f873873a310e49e73a812ce2b8343.jpg","text":"TemporaryFile(/tmp/multipartBody1249095344760793151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792259907,"filename":"image_25012025_07_17_02_421051_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e39cbeb761cb80863ef057c05a307771.jpg","text":"TemporaryFile(/tmp/multipartBody1597820787792888611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792259907,"filename":"image_25012025_07_16_02_857973_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8891389024fbc43c960908e18c4dd477.jpg","text":"TemporaryFile(/tmp/multipartBody1121090007025145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792259907,"filename":"image_25012025_07_16_02_857973_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331280281","file1":"1331280172","file0":"1331279957","file4":"1331280534","file5":"1331280632","file3":"1331280428"},"map_files_photo_id_array":[{"photo_id":"1331280632","filename":"file5"},{"photo_id":"1331280281","filename":"file2"},{"photo_id":"1331280534","filename":"file4"},{"photo_id":"1331280172","filename":"file1"},{"photo_id":"1331279957","filename":"file0"},{"photo_id":"1331280428","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331280632":["hashtag1","hashtag2"]},{"1331280428":["hashtag1","hashtag2"]},{"1331280172":["hashtag1","hashtag2"]},{"1331280534":["hashtag1","hashtag2"]},{"1331280281":["hashtag1","hashtag2"]},{"1331279957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331280632, 1331280428, 1331280172, 1331280534, 1331280281, 1331279957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.79629921913147 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:04:22.238248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/17/image_25012025_07_17_02_421051_0002.jpg', '/home/pi/Desktop/images/25012025/07/17/image_25012025_07_17_02_421051_0003.jpg', '/home/pi/Desktop/images/25012025/07/18/image_25012025_07_18_02_901050_0000.jpg', '/home/pi/Desktop/images/25012025/07/18/image_25012025_07_18_02_901050_0001.jpg', '/home/pi/Desktop/images/25012025/07/18/image_25012025_07_18_02_901050_0002.jpg', '/home/pi/Desktop/images/25012025/07/18/image_25012025_07_18_02_901050_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/17/image_25012025_07_17_02_421051_0002.jpg
/home/pi/Desktop/images/25012025/07/17/image_25012025_07_17_02_421051_0003.jpg
/home/pi/Desktop/images/25012025/07/18/image_25012025_07_18_02_901050_0000.jpg
/home/pi/Desktop/images/25012025/07/18/image_25012025_07_18_02_901050_0001.jpg
/home/pi/Desktop/images/25012025/07/18/image_25012025_07_18_02_901050_0002.jpg
/home/pi/Desktop/images/25012025/07/18/image_25012025_07_18_02_901050_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":["1331280880","1331281005","1331280771","1331281256","1331281091","1331280767"],"photo_ids_order":["1331280767","1331280771","1331280880","1331281005","1331281091","1331281256"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b9944a91b51c3655b948911de42d43c6.jpg","text":"TemporaryFile(/tmp/multipartBody8173073487655965512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792338281,"filename":"image_25012025_07_18_02_901050_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/525229b1ab24d37af22d2ab9b87021e4.jpg","text":"TemporaryFile(/tmp/multipartBody6647897056763580235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792338281,"filename":"image_25012025_07_18_02_901050_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ba1abe80be0ff02583eec3fc0dec4393.jpg","text":"TemporaryFile(/tmp/multipartBody1998895167281246001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792338281,"filename":"image_25012025_07_17_02_421051_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1fe2135041cf8569ae90c5817fde19e8.jpg","text":"TemporaryFile(/tmp/multipartBody8029401877478248126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792338281,"filename":"image_25012025_07_18_02_901050_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7b9ba38076e44fb883ddf3b7ba522346.jpg","text":"TemporaryFile(/tmp/multipartBody2956055234973505316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792338281,"filename":"image_25012025_07_18_02_901050_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/07f8cb6300110cf8532da10eb5f25ab6.jpg","text":"TemporaryFile(/tmp/multipartBody3732343195636931803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792338281,"filename":"image_25012025_07_17_02_421051_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331280880","file1":"1331280771","file0":"1331280767","file4":"1331281091","file5":"1331281256","file3":"1331281005"},"map_files_photo_id_array":[{"photo_id":"1331281256","filename":"file5"},{"photo_id":"1331280880","filename":"file2"},{"photo_id":"1331281091","filename":"file4"},{"photo_id":"1331280771","filename":"file1"},{"photo_id":"1331280767","filename":"file0"},{"photo_id":"1331281005","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331280880":["hashtag1","hashtag2"]},{"1331281005":["hashtag1","hashtag2"]},{"1331280771":["hashtag1","hashtag2"]},{"1331281256":["hashtag1","hashtag2"]},{"1331281091":["hashtag1","hashtag2"]},{"1331280767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331280880, 1331281005, 1331280771, 1331281256, 1331281091, 1331280767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.08805346488953 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:06:02.482236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/19/image_25012025_07_19_02_570867_0000.jpg', '/home/pi/Desktop/images/25012025/07/19/image_25012025_07_19_02_570867_0001.jpg', '/home/pi/Desktop/images/25012025/07/19/image_25012025_07_19_02_570867_0002.jpg', '/home/pi/Desktop/images/25012025/07/19/image_25012025_07_19_02_570867_0003.jpg', '/home/pi/Desktop/images/25012025/07/20/image_25012025_07_20_03_063800_0000.jpg', '/home/pi/Desktop/images/25012025/07/20/image_25012025_07_20_03_063800_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/19/image_25012025_07_19_02_570867_0000.jpg
/home/pi/Desktop/images/25012025/07/19/image_25012025_07_19_02_570867_0001.jpg
/home/pi/Desktop/images/25012025/07/19/image_25012025_07_19_02_570867_0002.jpg
/home/pi/Desktop/images/25012025/07/19/image_25012025_07_19_02_570867_0003.jpg
/home/pi/Desktop/images/25012025/07/20/image_25012025_07_20_03_063800_0000.jpg
/home/pi/Desktop/images/25012025/07/20/image_25012025_07_20_03_063800_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: 16.56205105781555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:06:22.180274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/19/image_25012025_07_19_02_570867_0000.jpg', '/home/pi/Desktop/images/25012025/07/19/image_25012025_07_19_02_570867_0001.jpg', '/home/pi/Desktop/images/25012025/07/19/image_25012025_07_19_02_570867_0002.jpg', '/home/pi/Desktop/images/25012025/07/19/image_25012025_07_19_02_570867_0003.jpg', '/home/pi/Desktop/images/25012025/07/20/image_25012025_07_20_03_063800_0000.jpg', '/home/pi/Desktop/images/25012025/07/20/image_25012025_07_20_03_063800_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/19/image_25012025_07_19_02_570867_0000.jpg
/home/pi/Desktop/images/25012025/07/19/image_25012025_07_19_02_570867_0001.jpg
/home/pi/Desktop/images/25012025/07/19/image_25012025_07_19_02_570867_0002.jpg
/home/pi/Desktop/images/25012025/07/19/image_25012025_07_19_02_570867_0003.jpg
/home/pi/Desktop/images/25012025/07/20/image_25012025_07_20_03_063800_0000.jpg
/home/pi/Desktop/images/25012025/07/20/image_25012025_07_20_03_063800_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":["1331281810","1331282040","1331281560","1331282144","1331281667","1331281949"],"photo_ids_order":["1331281560","1331281667","1331281810","1331281949","1331282040","1331282144"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d3bf0357c54ffbb4827c7d9ee447ed84.jpg","text":"TemporaryFile(/tmp/multipartBody2025919162691284683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792459093,"filename":"image_25012025_07_19_02_570867_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a6423b97fd3676833bfbafca76f691be.jpg","text":"TemporaryFile(/tmp/multipartBody1896213510476226838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792459093,"filename":"image_25012025_07_20_03_063800_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/69e6576d2e6d6d035d04b39f4fed91c6.jpg","text":"TemporaryFile(/tmp/multipartBody2000682394867547466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792459093,"filename":"image_25012025_07_19_02_570867_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9b58771f6875291ccb4d806787085058.jpg","text":"TemporaryFile(/tmp/multipartBody3087890541524824868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792459093,"filename":"image_25012025_07_20_03_063800_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/11da09d28ca39863cf5bf5c1a1e05b12.jpg","text":"TemporaryFile(/tmp/multipartBody4821759841630641255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792459093,"filename":"image_25012025_07_19_02_570867_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/409f14e589eb7c2c60fd0be9750389b4.jpg","text":"TemporaryFile(/tmp/multipartBody885967123185244718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792459093,"filename":"image_25012025_07_19_02_570867_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331281810","file1":"1331281667","file0":"1331281560","file4":"1331282040","file5":"1331282144","file3":"1331281949"},"map_files_photo_id_array":[{"photo_id":"1331282144","filename":"file5"},{"photo_id":"1331281810","filename":"file2"},{"photo_id":"1331282040","filename":"file4"},{"photo_id":"1331281667","filename":"file1"},{"photo_id":"1331281560","filename":"file0"},{"photo_id":"1331281949","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331281810":["hashtag1","hashtag2"]},{"1331282040":["hashtag1","hashtag2"]},{"1331281560":["hashtag1","hashtag2"]},{"1331282144":["hashtag1","hashtag2"]},{"1331281667":["hashtag1","hashtag2"]},{"1331281949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331281810, 1331282040, 1331281560, 1331282144, 1331281667, 1331281949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.34119987487793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:08:02.574000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/20/image_25012025_07_20_03_063800_0002.jpg', '/home/pi/Desktop/images/25012025/07/20/image_25012025_07_20_03_063800_0003.jpg', '/home/pi/Desktop/images/25012025/07/21/image_25012025_07_21_02_551094_0000.jpg', '/home/pi/Desktop/images/25012025/07/21/image_25012025_07_21_02_551094_0001.jpg', '/home/pi/Desktop/images/25012025/07/21/image_25012025_07_21_02_551094_0002.jpg', '/home/pi/Desktop/images/25012025/07/21/image_25012025_07_21_02_551094_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/20/image_25012025_07_20_03_063800_0002.jpg
/home/pi/Desktop/images/25012025/07/20/image_25012025_07_20_03_063800_0003.jpg
/home/pi/Desktop/images/25012025/07/21/image_25012025_07_21_02_551094_0000.jpg
/home/pi/Desktop/images/25012025/07/21/image_25012025_07_21_02_551094_0001.jpg
/home/pi/Desktop/images/25012025/07/21/image_25012025_07_21_02_551094_0002.jpg
/home/pi/Desktop/images/25012025/07/21/image_25012025_07_21_02_551094_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331283090","1331282988","1331283165","1331282908","1331282850","1331283011"],"photo_ids_order":["1331282850","1331282908","1331282988","1331283011","1331283090","1331283165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/af1f732d0ac4388228cab377bc3aa1f3.jpg","text":"TemporaryFile(/tmp/multipartBody2242585065674146442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792559399,"filename":"image_25012025_07_21_02_551094_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c48ac8de0a4a569ced50ea37c9c4121b.jpg","text":"TemporaryFile(/tmp/multipartBody3745340950721760922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792559399,"filename":"image_25012025_07_21_02_551094_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2caceff4ef85fded34fec4bfeafdfe13.jpg","text":"TemporaryFile(/tmp/multipartBody9137439326276392694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792559399,"filename":"image_25012025_07_21_02_551094_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/09a24bbe97000f36b74ba4911cbf7123.jpg","text":"TemporaryFile(/tmp/multipartBody7396668699484345652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792559399,"filename":"image_25012025_07_20_03_063800_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/29392a9812dae772288f67ea5c9749de.jpg","text":"TemporaryFile(/tmp/multipartBody21660291154041869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792559399,"filename":"image_25012025_07_20_03_063800_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c62ea4ca6f4e7b593951190dd5c8aef2.jpg","text":"TemporaryFile(/tmp/multipartBody8244594786746116494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792559399,"filename":"image_25012025_07_21_02_551094_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331282988","file1":"1331282908","file0":"1331282850","file4":"1331283090","file5":"1331283165","file3":"1331283011"},"map_files_photo_id_array":[{"photo_id":"1331283165","filename":"file5"},{"photo_id":"1331282988","filename":"file2"},{"photo_id":"1331283090","filename":"file4"},{"photo_id":"1331282908","filename":"file1"},{"photo_id":"1331282850","filename":"file0"},{"photo_id":"1331283011","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331283090":["hashtag1","hashtag2"]},{"1331282988":["hashtag1","hashtag2"]},{"1331283165":["hashtag1","hashtag2"]},{"1331282908":["hashtag1","hashtag2"]},{"1331282850":["hashtag1","hashtag2"]},{"1331283011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331283090, 1331282988, 1331283165, 1331282908, 1331282850, 1331283011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.689791202545166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:09:03.190827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/22/image_25012025_07_22_03_102770_0000.jpg', '/home/pi/Desktop/images/25012025/07/22/image_25012025_07_22_03_102770_0001.jpg', '/home/pi/Desktop/images/25012025/07/22/image_25012025_07_22_03_102770_0002.jpg', '/home/pi/Desktop/images/25012025/07/22/image_25012025_07_22_03_102770_0003.jpg', '/home/pi/Desktop/images/25012025/07/23/image_25012025_07_23_02_618862_0000.jpg', '/home/pi/Desktop/images/25012025/07/23/image_25012025_07_23_02_618862_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/22/image_25012025_07_22_03_102770_0000.jpg
/home/pi/Desktop/images/25012025/07/22/image_25012025_07_22_03_102770_0001.jpg
/home/pi/Desktop/images/25012025/07/22/image_25012025_07_22_03_102770_0002.jpg
/home/pi/Desktop/images/25012025/07/22/image_25012025_07_22_03_102770_0003.jpg
/home/pi/Desktop/images/25012025/07/23/image_25012025_07_23_02_618862_0000.jpg
/home/pi/Desktop/images/25012025/07/23/image_25012025_07_23_02_618862_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":["1331283604","1331283594","1331283498","1331283333","1331283598","1331283289"],"photo_ids_order":["1331283289","1331283333","1331283498","1331283594","1331283598","1331283604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d3667331ebc5c8b365fc3ff797fff58b.jpg","text":"TemporaryFile(/tmp/multipartBody3444297292987589332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792618698,"filename":"image_25012025_07_23_02_618862_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dcced6eb03d2c0d10c66378d2ec354e8.jpg","text":"TemporaryFile(/tmp/multipartBody4361458726854214269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792618698,"filename":"image_25012025_07_22_03_102770_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ca504c1861fcf666761f529fc02851fb.jpg","text":"TemporaryFile(/tmp/multipartBody8833139736768219405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792618698,"filename":"image_25012025_07_22_03_102770_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4c024ef7443a99f0f960968577387385.jpg","text":"TemporaryFile(/tmp/multipartBody1098415897187012921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792618698,"filename":"image_25012025_07_22_03_102770_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d9ca6e79b6a373f707bf6a3f09dde1b8.jpg","text":"TemporaryFile(/tmp/multipartBody6685566932149938415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792618698,"filename":"image_25012025_07_23_02_618862_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/05a59e17d01252efee6d6b2b876c9337.jpg","text":"TemporaryFile(/tmp/multipartBody4573065236710867810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792618698,"filename":"image_25012025_07_22_03_102770_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331283498","file1":"1331283333","file0":"1331283289","file4":"1331283598","file5":"1331283604","file3":"1331283594"},"map_files_photo_id_array":[{"photo_id":"1331283604","filename":"file5"},{"photo_id":"1331283498","filename":"file2"},{"photo_id":"1331283598","filename":"file4"},{"photo_id":"1331283333","filename":"file1"},{"photo_id":"1331283289","filename":"file0"},{"photo_id":"1331283594","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331283604":["hashtag1","hashtag2"]},{"1331283594":["hashtag1","hashtag2"]},{"1331283498":["hashtag1","hashtag2"]},{"1331283333":["hashtag1","hashtag2"]},{"1331283598":["hashtag1","hashtag2"]},{"1331283289":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331283604, 1331283594, 1331283498, 1331283333, 1331283598, 1331283289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.76909613609314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:10:22.335748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/23/image_25012025_07_23_02_618862_0002.jpg', '/home/pi/Desktop/images/25012025/07/23/image_25012025_07_23_02_618862_0003.jpg', '/home/pi/Desktop/images/25012025/07/24/image_25012025_07_24_02_229949_0000.jpg', '/home/pi/Desktop/images/25012025/07/24/image_25012025_07_24_02_229949_0001.jpg', '/home/pi/Desktop/images/25012025/07/24/image_25012025_07_24_02_229949_0002.jpg', '/home/pi/Desktop/images/25012025/07/24/image_25012025_07_24_02_229949_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/23/image_25012025_07_23_02_618862_0002.jpg
/home/pi/Desktop/images/25012025/07/23/image_25012025_07_23_02_618862_0003.jpg
/home/pi/Desktop/images/25012025/07/24/image_25012025_07_24_02_229949_0000.jpg
/home/pi/Desktop/images/25012025/07/24/image_25012025_07_24_02_229949_0001.jpg
/home/pi/Desktop/images/25012025/07/24/image_25012025_07_24_02_229949_0002.jpg
/home/pi/Desktop/images/25012025/07/24/image_25012025_07_24_02_229949_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.362783908843994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:11:02.488421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/23/image_25012025_07_23_02_618862_0002.jpg', '/home/pi/Desktop/images/25012025/07/23/image_25012025_07_23_02_618862_0003.jpg', '/home/pi/Desktop/images/25012025/07/24/image_25012025_07_24_02_229949_0000.jpg', '/home/pi/Desktop/images/25012025/07/24/image_25012025_07_24_02_229949_0001.jpg', '/home/pi/Desktop/images/25012025/07/24/image_25012025_07_24_02_229949_0002.jpg', '/home/pi/Desktop/images/25012025/07/24/image_25012025_07_24_02_229949_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/23/image_25012025_07_23_02_618862_0002.jpg
/home/pi/Desktop/images/25012025/07/23/image_25012025_07_23_02_618862_0003.jpg
/home/pi/Desktop/images/25012025/07/24/image_25012025_07_24_02_229949_0000.jpg
/home/pi/Desktop/images/25012025/07/24/image_25012025_07_24_02_229949_0001.jpg
/home/pi/Desktop/images/25012025/07/24/image_25012025_07_24_02_229949_0002.jpg
/home/pi/Desktop/images/25012025/07/24/image_25012025_07_24_02_229949_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":["1331283904","1331284002","1331284109","1331283973","1331283898","1331283949"],"photo_ids_order":["1331283898","1331283904","1331283949","1331283973","1331284002","1331284109"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/71bde3db8dc87ecd0208c8547e73deec.jpg","text":"TemporaryFile(/tmp/multipartBody4364693745746361399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792738323,"filename":"image_25012025_07_23_02_618862_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d1f3e25b6d3dc5859a97e18763e0da01.jpg","text":"TemporaryFile(/tmp/multipartBody8334393929748263235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792738323,"filename":"image_25012025_07_24_02_229949_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0fef6689e4eae65d592d0db316165f52.jpg","text":"TemporaryFile(/tmp/multipartBody8157396442470701379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792738323,"filename":"image_25012025_07_24_02_229949_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a3cab533580a9c2512abf77828a2bbfb.jpg","text":"TemporaryFile(/tmp/multipartBody354941107667417508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792738323,"filename":"image_25012025_07_24_02_229949_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6ae7bc53d2d11d03eadef49db8c690f4.jpg","text":"TemporaryFile(/tmp/multipartBody5744248357814223888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792738323,"filename":"image_25012025_07_23_02_618862_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/48f384ace90916e5960bc42931fcde5d.jpg","text":"TemporaryFile(/tmp/multipartBody5310185978154081041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792738323,"filename":"image_25012025_07_24_02_229949_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331283949","file1":"1331283904","file0":"1331283898","file4":"1331284002","file5":"1331284109","file3":"1331283973"},"map_files_photo_id_array":[{"photo_id":"1331284109","filename":"file5"},{"photo_id":"1331283949","filename":"file2"},{"photo_id":"1331284002","filename":"file4"},{"photo_id":"1331283904","filename":"file1"},{"photo_id":"1331283898","filename":"file0"},{"photo_id":"1331283973","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331283904":["hashtag1","hashtag2"]},{"1331284002":["hashtag1","hashtag2"]},{"1331284109":["hashtag1","hashtag2"]},{"1331283973":["hashtag1","hashtag2"]},{"1331283898":["hashtag1","hashtag2"]},{"1331283949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331283904, 1331284002, 1331284109, 1331283973, 1331283898, 1331283949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.046276569366455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:12:22.462937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/25/image_25012025_07_25_02_692908_0000.jpg', '/home/pi/Desktop/images/25012025/07/25/image_25012025_07_25_02_692908_0001.jpg', '/home/pi/Desktop/images/25012025/07/25/image_25012025_07_25_02_692908_0002.jpg', '/home/pi/Desktop/images/25012025/07/25/image_25012025_07_25_02_692908_0003.jpg', '/home/pi/Desktop/images/25012025/07/26/image_25012025_07_26_02_194954_0000.jpg', '/home/pi/Desktop/images/25012025/07/26/image_25012025_07_26_02_194954_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/25/image_25012025_07_25_02_692908_0000.jpg
/home/pi/Desktop/images/25012025/07/25/image_25012025_07_25_02_692908_0001.jpg
/home/pi/Desktop/images/25012025/07/25/image_25012025_07_25_02_692908_0002.jpg
/home/pi/Desktop/images/25012025/07/25/image_25012025_07_25_02_692908_0003.jpg
/home/pi/Desktop/images/25012025/07/26/image_25012025_07_26_02_194954_0000.jpg
/home/pi/Desktop/images/25012025/07/26/image_25012025_07_26_02_194954_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331284442","1331284550","1331284546","1331284447","1331284555","1331284540"],"photo_ids_order":["1331284442","1331284447","1331284540","1331284546","1331284550","1331284555"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/842d69eab275d0c91893adb049b9c8ac.jpg","text":"TemporaryFile(/tmp/multipartBody966049762420588708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792817960,"filename":"image_25012025_07_25_02_692908_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8b92a550dcc69235cfa2370675f7e356.jpg","text":"TemporaryFile(/tmp/multipartBody7698627818793786612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792817960,"filename":"image_25012025_07_26_02_194954_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3306ecbc14244b3a2b81345908dfa015.jpg","text":"TemporaryFile(/tmp/multipartBody8922099304290648664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792817960,"filename":"image_25012025_07_25_02_692908_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e5c0eeecc8b036a1208294aeb2b5bfe0.jpg","text":"TemporaryFile(/tmp/multipartBody7053196547270724875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792817960,"filename":"image_25012025_07_25_02_692908_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3814f3322b377732036d63b39849f82c.jpg","text":"TemporaryFile(/tmp/multipartBody5477084857764398108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792817960,"filename":"image_25012025_07_26_02_194954_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b547e59b01c1d9a2183795bc7e133f3b.jpg","text":"TemporaryFile(/tmp/multipartBody992641873885479581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792817960,"filename":"image_25012025_07_25_02_692908_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331284540","file1":"1331284447","file0":"1331284442","file4":"1331284550","file5":"1331284555","file3":"1331284546"},"map_files_photo_id_array":[{"photo_id":"1331284555","filename":"file5"},{"photo_id":"1331284540","filename":"file2"},{"photo_id":"1331284550","filename":"file4"},{"photo_id":"1331284447","filename":"file1"},{"photo_id":"1331284442","filename":"file0"},{"photo_id":"1331284546","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331284442":["hashtag1","hashtag2"]},{"1331284550":["hashtag1","hashtag2"]},{"1331284546":["hashtag1","hashtag2"]},{"1331284447":["hashtag1","hashtag2"]},{"1331284555":["hashtag1","hashtag2"]},{"1331284540":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331284442, 1331284550, 1331284546, 1331284447, 1331284555, 1331284540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.33698892593384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:13:21.910079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/26/image_25012025_07_26_02_194954_0002.jpg', '/home/pi/Desktop/images/25012025/07/26/image_25012025_07_26_02_194954_0003.jpg', '/home/pi/Desktop/images/25012025/07/27/image_25012025_07_27_02_802920_0000.jpg', '/home/pi/Desktop/images/25012025/07/27/image_25012025_07_27_02_802920_0001.jpg', '/home/pi/Desktop/images/25012025/07/27/image_25012025_07_27_02_802920_0002.jpg', '/home/pi/Desktop/images/25012025/07/27/image_25012025_07_27_02_802920_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/26/image_25012025_07_26_02_194954_0002.jpg
/home/pi/Desktop/images/25012025/07/26/image_25012025_07_26_02_194954_0003.jpg
/home/pi/Desktop/images/25012025/07/27/image_25012025_07_27_02_802920_0000.jpg
/home/pi/Desktop/images/25012025/07/27/image_25012025_07_27_02_802920_0001.jpg
/home/pi/Desktop/images/25012025/07/27/image_25012025_07_27_02_802920_0002.jpg
/home/pi/Desktop/images/25012025/07/27/image_25012025_07_27_02_802920_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":["1331284629","1331284643","1331284631","1331284619","1331284624","1331284636"],"photo_ids_order":["1331284619","1331284624","1331284629","1331284631","1331284636","1331284643"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7134b274eb8914eebee72abbcbc09348.jpg","text":"TemporaryFile(/tmp/multipartBody2943694944578548318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792878028,"filename":"image_25012025_07_27_02_802920_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/889a588101ba5359bf23720ba7359506.jpg","text":"TemporaryFile(/tmp/multipartBody3627663450276087887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792878028,"filename":"image_25012025_07_27_02_802920_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3c943df7053b824dd0690794b4d7c2b6.jpg","text":"TemporaryFile(/tmp/multipartBody5170939105872012795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792878028,"filename":"image_25012025_07_27_02_802920_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ec7a587cb3078ca15f663be5822131ce.jpg","text":"TemporaryFile(/tmp/multipartBody8950937816891538959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792878028,"filename":"image_25012025_07_26_02_194954_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a95a94267b3f122784e571f72e987b92.jpg","text":"TemporaryFile(/tmp/multipartBody5388353773152345279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792878028,"filename":"image_25012025_07_26_02_194954_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/48b90b410f3208977eccdb5827460880.jpg","text":"TemporaryFile(/tmp/multipartBody517753931671505279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792878028,"filename":"image_25012025_07_27_02_802920_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331284629","file1":"1331284624","file0":"1331284619","file4":"1331284636","file5":"1331284643","file3":"1331284631"},"map_files_photo_id_array":[{"photo_id":"1331284643","filename":"file5"},{"photo_id":"1331284629","filename":"file2"},{"photo_id":"1331284636","filename":"file4"},{"photo_id":"1331284624","filename":"file1"},{"photo_id":"1331284619","filename":"file0"},{"photo_id":"1331284631","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331284629":["hashtag1","hashtag2"]},{"1331284643":["hashtag1","hashtag2"]},{"1331284631":["hashtag1","hashtag2"]},{"1331284619":["hashtag1","hashtag2"]},{"1331284624":["hashtag1","hashtag2"]},{"1331284636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331284629, 1331284643, 1331284631, 1331284619, 1331284624, 1331284636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.806448459625244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:15:02.547451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/28/image_25012025_07_28_02_304015_0000.jpg', '/home/pi/Desktop/images/25012025/07/28/image_25012025_07_28_02_304015_0001.jpg', '/home/pi/Desktop/images/25012025/07/28/image_25012025_07_28_02_304015_0002.jpg', '/home/pi/Desktop/images/25012025/07/28/image_25012025_07_28_02_304015_0003.jpg', '/home/pi/Desktop/images/25012025/07/29/image_25012025_07_29_02_740009_0000.jpg', '/home/pi/Desktop/images/25012025/07/29/image_25012025_07_29_02_740009_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/28/image_25012025_07_28_02_304015_0000.jpg
/home/pi/Desktop/images/25012025/07/28/image_25012025_07_28_02_304015_0001.jpg
/home/pi/Desktop/images/25012025/07/28/image_25012025_07_28_02_304015_0002.jpg
/home/pi/Desktop/images/25012025/07/28/image_25012025_07_28_02_304015_0003.jpg
/home/pi/Desktop/images/25012025/07/29/image_25012025_07_29_02_740009_0000.jpg
/home/pi/Desktop/images/25012025/07/29/image_25012025_07_29_02_740009_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331284821","1331284704","1331284694","1331284774","1331284699","1331284689"],"photo_ids_order":["1331284689","1331284694","1331284699","1331284704","1331284774","1331284821"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1fcb176d038a243578ad10a5a53a4bc1.jpg","text":"TemporaryFile(/tmp/multipartBody4022580034432593803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792978727,"filename":"image_25012025_07_29_02_740009_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6be886fdd8c5bc1c02a2881c0785ff68.jpg","text":"TemporaryFile(/tmp/multipartBody4291064491690130233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792978727,"filename":"image_25012025_07_28_02_304015_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0523beaa67df0611d3f148750f1a662a.jpg","text":"TemporaryFile(/tmp/multipartBody1588652907472627207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792978727,"filename":"image_25012025_07_28_02_304015_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0b22bb9f15715a211e25499f9de07b04.jpg","text":"TemporaryFile(/tmp/multipartBody41117558538240354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792978727,"filename":"image_25012025_07_29_02_740009_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3ca8d27b7cb1d22c7fcc082a6780069b.jpg","text":"TemporaryFile(/tmp/multipartBody137373044436006219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792978727,"filename":"image_25012025_07_28_02_304015_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/20c1aed509913448cc0760d81e907611.jpg","text":"TemporaryFile(/tmp/multipartBody4861426059602536481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737792978727,"filename":"image_25012025_07_28_02_304015_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331284699","file1":"1331284694","file0":"1331284689","file4":"1331284774","file5":"1331284821","file3":"1331284704"},"map_files_photo_id_array":[{"photo_id":"1331284821","filename":"file5"},{"photo_id":"1331284699","filename":"file2"},{"photo_id":"1331284774","filename":"file4"},{"photo_id":"1331284694","filename":"file1"},{"photo_id":"1331284689","filename":"file0"},{"photo_id":"1331284704","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331284821":["hashtag1","hashtag2"]},{"1331284704":["hashtag1","hashtag2"]},{"1331284694":["hashtag1","hashtag2"]},{"1331284774":["hashtag1","hashtag2"]},{"1331284699":["hashtag1","hashtag2"]},{"1331284689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331284821, 1331284704, 1331284694, 1331284774, 1331284699, 1331284689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.52210068702698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:16:03.111926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/29/image_25012025_07_29_02_740009_0002.jpg', '/home/pi/Desktop/images/25012025/07/29/image_25012025_07_29_02_740009_0003.jpg', '/home/pi/Desktop/images/25012025/07/30/image_25012025_07_30_02_266079_0000.jpg', '/home/pi/Desktop/images/25012025/07/30/image_25012025_07_30_02_266079_0001.jpg', '/home/pi/Desktop/images/25012025/07/30/image_25012025_07_30_02_266079_0002.jpg', '/home/pi/Desktop/images/25012025/07/30/image_25012025_07_30_02_266079_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/29/image_25012025_07_29_02_740009_0002.jpg
/home/pi/Desktop/images/25012025/07/29/image_25012025_07_29_02_740009_0003.jpg
/home/pi/Desktop/images/25012025/07/30/image_25012025_07_30_02_266079_0000.jpg
/home/pi/Desktop/images/25012025/07/30/image_25012025_07_30_02_266079_0001.jpg
/home/pi/Desktop/images/25012025/07/30/image_25012025_07_30_02_266079_0002.jpg
/home/pi/Desktop/images/25012025/07/30/image_25012025_07_30_02_266079_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":["1331284932","1331284926","1331284920","1331284937","1331284910","1331284916"],"photo_ids_order":["1331284910","1331284916","1331284920","1331284926","1331284932","1331284937"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c10037fc8f8bc7c952fd9e41310a936.jpg","text":"TemporaryFile(/tmp/multipartBody6749144501467434625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793039780,"filename":"image_25012025_07_30_02_266079_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d23ff4237b550225302b90bfdaa1c76e.jpg","text":"TemporaryFile(/tmp/multipartBody1661708393682015413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793039780,"filename":"image_25012025_07_30_02_266079_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4fb07531686b87f6d6f889f37d31a546.jpg","text":"TemporaryFile(/tmp/multipartBody2475174063687880182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793039780,"filename":"image_25012025_07_30_02_266079_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/95c62ee8b74362bc5d7457cbb01cf816.jpg","text":"TemporaryFile(/tmp/multipartBody4396775733357756678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793039780,"filename":"image_25012025_07_30_02_266079_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bc4d9d7fc008cbcf2c29b5631388a804.jpg","text":"TemporaryFile(/tmp/multipartBody3368662500061690143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793039780,"filename":"image_25012025_07_29_02_740009_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/03384dff6540aa1ca3969beb235a5e86.jpg","text":"TemporaryFile(/tmp/multipartBody4645525317062186724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793039780,"filename":"image_25012025_07_29_02_740009_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331284920","file1":"1331284916","file0":"1331284910","file4":"1331284932","file5":"1331284937","file3":"1331284926"},"map_files_photo_id_array":[{"photo_id":"1331284937","filename":"file5"},{"photo_id":"1331284920","filename":"file2"},{"photo_id":"1331284932","filename":"file4"},{"photo_id":"1331284916","filename":"file1"},{"photo_id":"1331284910","filename":"file0"},{"photo_id":"1331284926","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331284932":["hashtag1","hashtag2"]},{"1331284926":["hashtag1","hashtag2"]},{"1331284920":["hashtag1","hashtag2"]},{"1331284937":["hashtag1","hashtag2"]},{"1331284910":["hashtag1","hashtag2"]},{"1331284916":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331284932, 1331284926, 1331284920, 1331284937, 1331284910, 1331284916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.86896872520447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:17:22.130532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/31/image_25012025_07_31_02_740145_0000.jpg', '/home/pi/Desktop/images/25012025/07/31/image_25012025_07_31_02_740145_0001.jpg', '/home/pi/Desktop/images/25012025/07/31/image_25012025_07_31_02_740145_0002.jpg', '/home/pi/Desktop/images/25012025/07/31/image_25012025_07_31_02_740145_0003.jpg', '/home/pi/Desktop/images/25012025/07/32/image_25012025_07_32_02_248464_0000.jpg', '/home/pi/Desktop/images/25012025/07/32/image_25012025_07_32_02_248464_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/31/image_25012025_07_31_02_740145_0000.jpg
/home/pi/Desktop/images/25012025/07/31/image_25012025_07_31_02_740145_0001.jpg
/home/pi/Desktop/images/25012025/07/31/image_25012025_07_31_02_740145_0002.jpg
/home/pi/Desktop/images/25012025/07/31/image_25012025_07_31_02_740145_0003.jpg
/home/pi/Desktop/images/25012025/07/32/image_25012025_07_32_02_248464_0000.jpg
/home/pi/Desktop/images/25012025/07/32/image_25012025_07_32_02_248464_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331284968","1331284973","1331284976","1331284984","1331284963","1331284980"],"photo_ids_order":["1331284963","1331284968","1331284973","1331284976","1331284980","1331284984"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/391bf0c484dab7f3c1b37c10cf280616.jpg","text":"TemporaryFile(/tmp/multipartBody5451855890340883919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793118766,"filename":"image_25012025_07_31_02_740145_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ebef31713e9da592ec58ea55f67a190a.jpg","text":"TemporaryFile(/tmp/multipartBody2703431003919208550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793118766,"filename":"image_25012025_07_31_02_740145_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fb556dab3393548885e473c5d85ad0b6.jpg","text":"TemporaryFile(/tmp/multipartBody5725787468981573368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793118766,"filename":"image_25012025_07_31_02_740145_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4b8f25d0f0bd84873cd933241cf5385e.jpg","text":"TemporaryFile(/tmp/multipartBody1866062465936244627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793118766,"filename":"image_25012025_07_32_02_248464_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/62fb0bf4b708ae360b3e017f7e76168a.jpg","text":"TemporaryFile(/tmp/multipartBody2995789020328308154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793118766,"filename":"image_25012025_07_31_02_740145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9a6c39f3616587f606a7a21310453361.jpg","text":"TemporaryFile(/tmp/multipartBody9070079434372863942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793118766,"filename":"image_25012025_07_32_02_248464_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331284973","file1":"1331284968","file0":"1331284963","file4":"1331284980","file5":"1331284984","file3":"1331284976"},"map_files_photo_id_array":[{"photo_id":"1331284984","filename":"file5"},{"photo_id":"1331284973","filename":"file2"},{"photo_id":"1331284980","filename":"file4"},{"photo_id":"1331284968","filename":"file1"},{"photo_id":"1331284963","filename":"file0"},{"photo_id":"1331284976","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331284968":["hashtag1","hashtag2"]},{"1331284973":["hashtag1","hashtag2"]},{"1331284976":["hashtag1","hashtag2"]},{"1331284984":["hashtag1","hashtag2"]},{"1331284963":["hashtag1","hashtag2"]},{"1331284980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331284968, 1331284973, 1331284976, 1331284984, 1331284963, 1331284980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.802550315856934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:18:22.672460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/32/image_25012025_07_32_02_248464_0002.jpg', '/home/pi/Desktop/images/25012025/07/32/image_25012025_07_32_02_248464_0003.jpg', '/home/pi/Desktop/images/25012025/07/33/image_25012025_07_33_02_746801_0000.jpg', '/home/pi/Desktop/images/25012025/07/33/image_25012025_07_33_02_746801_0001.jpg', '/home/pi/Desktop/images/25012025/07/33/image_25012025_07_33_02_746801_0002.jpg', '/home/pi/Desktop/images/25012025/07/33/image_25012025_07_33_02_746801_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/32/image_25012025_07_32_02_248464_0002.jpg
/home/pi/Desktop/images/25012025/07/32/image_25012025_07_32_02_248464_0003.jpg
/home/pi/Desktop/images/25012025/07/33/image_25012025_07_33_02_746801_0000.jpg
/home/pi/Desktop/images/25012025/07/33/image_25012025_07_33_02_746801_0001.jpg
/home/pi/Desktop/images/25012025/07/33/image_25012025_07_33_02_746801_0002.jpg
/home/pi/Desktop/images/25012025/07/33/image_25012025_07_33_02_746801_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331285004","1331285018","1331285015","1331285023","1331285008","1331285013"],"photo_ids_order":["1331285004","1331285008","1331285013","1331285015","1331285018","1331285023"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b93ee08658e8afca39c2d0e2e058beba.jpg","text":"TemporaryFile(/tmp/multipartBody3211061246884336623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793178871,"filename":"image_25012025_07_32_02_248464_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a5088248219fcf12097fb0f9340cea08.jpg","text":"TemporaryFile(/tmp/multipartBody5995598994597658916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793178871,"filename":"image_25012025_07_33_02_746801_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/536121eaa1372cb4c9ccf269ff82a9f5.jpg","text":"TemporaryFile(/tmp/multipartBody1156412953635772432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793178871,"filename":"image_25012025_07_33_02_746801_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a42018da08f004536b8523e3b8cc0cbd.jpg","text":"TemporaryFile(/tmp/multipartBody6046749495074785028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793178871,"filename":"image_25012025_07_33_02_746801_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/90e5b1ca2af05096797c6a6a3047f0b3.jpg","text":"TemporaryFile(/tmp/multipartBody1823444499522780536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793178871,"filename":"image_25012025_07_32_02_248464_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9958b79a91e434489bb6920fc8f79e2b.jpg","text":"TemporaryFile(/tmp/multipartBody927530003559106612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793178871,"filename":"image_25012025_07_33_02_746801_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331285013","file1":"1331285008","file0":"1331285004","file4":"1331285018","file5":"1331285023","file3":"1331285015"},"map_files_photo_id_array":[{"photo_id":"1331285023","filename":"file5"},{"photo_id":"1331285013","filename":"file2"},{"photo_id":"1331285018","filename":"file4"},{"photo_id":"1331285008","filename":"file1"},{"photo_id":"1331285004","filename":"file0"},{"photo_id":"1331285015","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331285004":["hashtag1","hashtag2"]},{"1331285018":["hashtag1","hashtag2"]},{"1331285015":["hashtag1","hashtag2"]},{"1331285023":["hashtag1","hashtag2"]},{"1331285008":["hashtag1","hashtag2"]},{"1331285013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331285004, 1331285018, 1331285015, 1331285023, 1331285008, 1331285013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.00573968887329 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:19:22.214789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/34/image_25012025_07_34_02_257307_0000.jpg', '/home/pi/Desktop/images/25012025/07/34/image_25012025_07_34_02_257307_0001.jpg', '/home/pi/Desktop/images/25012025/07/34/image_25012025_07_34_02_257307_0002.jpg', '/home/pi/Desktop/images/25012025/07/34/image_25012025_07_34_02_257307_0003.jpg', '/home/pi/Desktop/images/25012025/07/35/image_25012025_07_35_02_972131_0000.jpg', '/home/pi/Desktop/images/25012025/07/35/image_25012025_07_35_02_972131_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/34/image_25012025_07_34_02_257307_0000.jpg
/home/pi/Desktop/images/25012025/07/34/image_25012025_07_34_02_257307_0001.jpg
/home/pi/Desktop/images/25012025/07/34/image_25012025_07_34_02_257307_0002.jpg
/home/pi/Desktop/images/25012025/07/34/image_25012025_07_34_02_257307_0003.jpg
/home/pi/Desktop/images/25012025/07/35/image_25012025_07_35_02_972131_0000.jpg
/home/pi/Desktop/images/25012025/07/35/image_25012025_07_35_02_972131_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331285084","1331285066","1331285048","1331285077","1331285080","1331285056"],"photo_ids_order":["1331285048","1331285056","1331285066","1331285077","1331285080","1331285084"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/60e119908c7b134621f54ba778e3d8c9.jpg","text":"TemporaryFile(/tmp/multipartBody4887170824299086494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793238843,"filename":"image_25012025_07_35_02_972131_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a3e44bfa520e6356e690f45e89eea9f5.jpg","text":"TemporaryFile(/tmp/multipartBody3063388519505523300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793238843,"filename":"image_25012025_07_34_02_257307_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1512a5a49419ec808360b6f15900c99b.jpg","text":"TemporaryFile(/tmp/multipartBody5946957081747239385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793238843,"filename":"image_25012025_07_34_02_257307_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8a142af1469a284f0b32be64f9dc45f2.jpg","text":"TemporaryFile(/tmp/multipartBody7972990771922295633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793238843,"filename":"image_25012025_07_34_02_257307_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a82450c049320c3bc46f98562feef750.jpg","text":"TemporaryFile(/tmp/multipartBody4886529318846437841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793238843,"filename":"image_25012025_07_35_02_972131_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6f32a224f8efa0dd6c8ed808e8101733.jpg","text":"TemporaryFile(/tmp/multipartBody4750446595402568715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793238843,"filename":"image_25012025_07_34_02_257307_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331285066","file1":"1331285056","file0":"1331285048","file4":"1331285080","file5":"1331285084","file3":"1331285077"},"map_files_photo_id_array":[{"photo_id":"1331285084","filename":"file5"},{"photo_id":"1331285066","filename":"file2"},{"photo_id":"1331285080","filename":"file4"},{"photo_id":"1331285056","filename":"file1"},{"photo_id":"1331285048","filename":"file0"},{"photo_id":"1331285077","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331285084":["hashtag1","hashtag2"]},{"1331285066":["hashtag1","hashtag2"]},{"1331285048":["hashtag1","hashtag2"]},{"1331285077":["hashtag1","hashtag2"]},{"1331285080":["hashtag1","hashtag2"]},{"1331285056":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331285084, 1331285066, 1331285048, 1331285077, 1331285080, 1331285056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.138609647750854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:20:22.745639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/35/image_25012025_07_35_02_972131_0002.jpg', '/home/pi/Desktop/images/25012025/07/35/image_25012025_07_35_02_972131_0003.jpg', '/home/pi/Desktop/images/25012025/07/36/image_25012025_07_36_02_484119_0000.jpg', '/home/pi/Desktop/images/25012025/07/36/image_25012025_07_36_02_484119_0001.jpg', '/home/pi/Desktop/images/25012025/07/36/image_25012025_07_36_02_484119_0002.jpg', '/home/pi/Desktop/images/25012025/07/36/image_25012025_07_36_02_484119_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/35/image_25012025_07_35_02_972131_0002.jpg
/home/pi/Desktop/images/25012025/07/35/image_25012025_07_35_02_972131_0003.jpg
/home/pi/Desktop/images/25012025/07/36/image_25012025_07_36_02_484119_0000.jpg
/home/pi/Desktop/images/25012025/07/36/image_25012025_07_36_02_484119_0001.jpg
/home/pi/Desktop/images/25012025/07/36/image_25012025_07_36_02_484119_0002.jpg
/home/pi/Desktop/images/25012025/07/36/image_25012025_07_36_02_484119_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331285171","1331285180","1331285176","1331285160","1331285166","1331285154"],"photo_ids_order":["1331285154","1331285160","1331285166","1331285171","1331285176","1331285180"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5a4c97370ffae5aabed92ecc0fd72cd5.jpg","text":"TemporaryFile(/tmp/multipartBody2473957491642631642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793299374,"filename":"image_25012025_07_36_02_484119_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ecbf4fef95fbf196966f176d16f2b625.jpg","text":"TemporaryFile(/tmp/multipartBody9007224447406442846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793299374,"filename":"image_25012025_07_36_02_484119_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cab47e55921511557e657dfeebdc993c.jpg","text":"TemporaryFile(/tmp/multipartBody8325797968169367862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793299374,"filename":"image_25012025_07_36_02_484119_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/24f07e055a6ed860179a1701c49872b1.jpg","text":"TemporaryFile(/tmp/multipartBody1150526053207356044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793299374,"filename":"image_25012025_07_35_02_972131_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fe26aff5b61ac8d45c87b4881f01f9aa.jpg","text":"TemporaryFile(/tmp/multipartBody8974639555047261517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793299374,"filename":"image_25012025_07_36_02_484119_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4997f06e3af85bc54e9f8d2c211a11d4.jpg","text":"TemporaryFile(/tmp/multipartBody3416520513960263857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793299374,"filename":"image_25012025_07_35_02_972131_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331285166","file1":"1331285160","file0":"1331285154","file4":"1331285176","file5":"1331285180","file3":"1331285171"},"map_files_photo_id_array":[{"photo_id":"1331285180","filename":"file5"},{"photo_id":"1331285166","filename":"file2"},{"photo_id":"1331285176","filename":"file4"},{"photo_id":"1331285160","filename":"file1"},{"photo_id":"1331285154","filename":"file0"},{"photo_id":"1331285171","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331285171":["hashtag1","hashtag2"]},{"1331285180":["hashtag1","hashtag2"]},{"1331285176":["hashtag1","hashtag2"]},{"1331285160":["hashtag1","hashtag2"]},{"1331285166":["hashtag1","hashtag2"]},{"1331285154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331285171, 1331285180, 1331285176, 1331285160, 1331285166, 1331285154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.853636741638184 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-25 09:22:03.209660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/37/image_25012025_07_37_03_005798_0000.jpg', '/home/pi/Desktop/images/25012025/07/37/image_25012025_07_37_03_005798_0001.jpg', '/home/pi/Desktop/images/25012025/07/37/image_25012025_07_37_03_005798_0002.jpg', '/home/pi/Desktop/images/25012025/07/37/image_25012025_07_37_03_005798_0003.jpg', '/home/pi/Desktop/images/25012025/07/38/image_25012025_07_38_02_471624_0000.jpg', '/home/pi/Desktop/images/25012025/07/38/image_25012025_07_38_02_471624_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/37/image_25012025_07_37_03_005798_0000.jpg
/home/pi/Desktop/images/25012025/07/37/image_25012025_07_37_03_005798_0001.jpg
/home/pi/Desktop/images/25012025/07/37/image_25012025_07_37_03_005798_0002.jpg
/home/pi/Desktop/images/25012025/07/37/image_25012025_07_37_03_005798_0003.jpg
/home/pi/Desktop/images/25012025/07/38/image_25012025_07_38_02_471624_0000.jpg
/home/pi/Desktop/images/25012025/07/38/image_25012025_07_38_02_471624_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":["1331285703","1331285855","1331285542","1331285608","1331285778","1331285928"],"photo_ids_order":["1331285542","1331285608","1331285703","1331285778","1331285855","1331285928"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/adb2103af8a431c62d11ed7656f381f8.jpg","text":"TemporaryFile(/tmp/multipartBody671235353773685370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793400279,"filename":"image_25012025_07_37_03_005798_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8843bc2860152514f1ff2743f9de687f.jpg","text":"TemporaryFile(/tmp/multipartBody819020443993139656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793400279,"filename":"image_25012025_07_38_02_471624_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a9f40745bdab90eb407b39fe76ea1ced.jpg","text":"TemporaryFile(/tmp/multipartBody3350687716882244111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793400279,"filename":"image_25012025_07_37_03_005798_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b21a56b1c87a7350e3b18b802f290bda.jpg","text":"TemporaryFile(/tmp/multipartBody7514730915810435780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793400279,"filename":"image_25012025_07_37_03_005798_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2d14bc9add81fd1d1e92d5f2a0e1debc.jpg","text":"TemporaryFile(/tmp/multipartBody5911724654367153725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793400279,"filename":"image_25012025_07_37_03_005798_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d6e369f1c894c44c5f9b8c28e2b0e869.jpg","text":"TemporaryFile(/tmp/multipartBody976930952828021224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793400279,"filename":"image_25012025_07_38_02_471624_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331285703","file1":"1331285608","file0":"1331285542","file4":"1331285855","file5":"1331285928","file3":"1331285778"},"map_files_photo_id_array":[{"photo_id":"1331285928","filename":"file5"},{"photo_id":"1331285703","filename":"file2"},{"photo_id":"1331285855","filename":"file4"},{"photo_id":"1331285608","filename":"file1"},{"photo_id":"1331285542","filename":"file0"},{"photo_id":"1331285778","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331285703":["hashtag1","hashtag2"]},{"1331285855":["hashtag1","hashtag2"]},{"1331285542":["hashtag1","hashtag2"]},{"1331285608":["hashtag1","hashtag2"]},{"1331285778":["hashtag1","hashtag2"]},{"1331285928":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331285703, 1331285855, 1331285542, 1331285608, 1331285778, 1331285928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 76.87187504768372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:23:22.281524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/38/image_25012025_07_38_02_471624_0002.jpg', '/home/pi/Desktop/images/25012025/07/38/image_25012025_07_38_02_471624_0003.jpg', '/home/pi/Desktop/images/25012025/07/39/image_25012025_07_39_02_999632_0000.jpg', '/home/pi/Desktop/images/25012025/07/39/image_25012025_07_39_02_999632_0001.jpg', '/home/pi/Desktop/images/25012025/07/39/image_25012025_07_39_02_999632_0002.jpg', '/home/pi/Desktop/images/25012025/07/39/image_25012025_07_39_02_999632_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/38/image_25012025_07_38_02_471624_0002.jpg
/home/pi/Desktop/images/25012025/07/38/image_25012025_07_38_02_471624_0003.jpg
/home/pi/Desktop/images/25012025/07/39/image_25012025_07_39_02_999632_0000.jpg
/home/pi/Desktop/images/25012025/07/39/image_25012025_07_39_02_999632_0001.jpg
/home/pi/Desktop/images/25012025/07/39/image_25012025_07_39_02_999632_0002.jpg
/home/pi/Desktop/images/25012025/07/39/image_25012025_07_39_02_999632_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":["1331286578","1331286935","1331286696","1331286432","1331287085","1331286501"],"photo_ids_order":["1331286432","1331286501","1331286578","1331286696","1331286935","1331287085"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8f937f5c0209ea34d8ffba3cffd6f607.jpg","text":"TemporaryFile(/tmp/multipartBody7424438106033120063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793479106,"filename":"image_25012025_07_39_02_999632_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2c1a4a3a4c12a17904091d16117927a2.jpg","text":"TemporaryFile(/tmp/multipartBody1344678832996800516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793479106,"filename":"image_25012025_07_39_02_999632_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/651ee059f97ffd2a4be5cbeea4d10af3.jpg","text":"TemporaryFile(/tmp/multipartBody1016093725285958984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793479106,"filename":"image_25012025_07_39_02_999632_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d3a658caf9f95e2a6f2db2f1e1ba3570.jpg","text":"TemporaryFile(/tmp/multipartBody5241255134942079821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793479106,"filename":"image_25012025_07_38_02_471624_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/57501a12b8a8395e595d349a4ada5aad.jpg","text":"TemporaryFile(/tmp/multipartBody4508203430129300047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793479106,"filename":"image_25012025_07_39_02_999632_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/402af0366480dc82e2fa1066251b89a1.jpg","text":"TemporaryFile(/tmp/multipartBody3462636912369445789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793479106,"filename":"image_25012025_07_38_02_471624_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331286578","file1":"1331286501","file0":"1331286432","file4":"1331286935","file5":"1331287085","file3":"1331286696"},"map_files_photo_id_array":[{"photo_id":"1331287085","filename":"file5"},{"photo_id":"1331286578","filename":"file2"},{"photo_id":"1331286935","filename":"file4"},{"photo_id":"1331286501","filename":"file1"},{"photo_id":"1331286432","filename":"file0"},{"photo_id":"1331286696","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331286578":["hashtag1","hashtag2"]},{"1331286935":["hashtag1","hashtag2"]},{"1331286696":["hashtag1","hashtag2"]},{"1331286432":["hashtag1","hashtag2"]},{"1331287085":["hashtag1","hashtag2"]},{"1331286501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331286578, 1331286935, 1331286696, 1331286432, 1331287085, 1331286501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.531859397888184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:25:02.789656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/40/image_25012025_07_40_02_554196_0000.jpg', '/home/pi/Desktop/images/25012025/07/40/image_25012025_07_40_02_554196_0001.jpg', '/home/pi/Desktop/images/25012025/07/40/image_25012025_07_40_02_554196_0002.jpg', '/home/pi/Desktop/images/25012025/07/40/image_25012025_07_40_02_554196_0003.jpg', '/home/pi/Desktop/images/25012025/07/41/image_25012025_07_41_02_180639_0000.jpg', '/home/pi/Desktop/images/25012025/07/41/image_25012025_07_41_02_180639_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/40/image_25012025_07_40_02_554196_0000.jpg
/home/pi/Desktop/images/25012025/07/40/image_25012025_07_40_02_554196_0001.jpg
/home/pi/Desktop/images/25012025/07/40/image_25012025_07_40_02_554196_0002.jpg
/home/pi/Desktop/images/25012025/07/40/image_25012025_07_40_02_554196_0003.jpg
/home/pi/Desktop/images/25012025/07/41/image_25012025_07_41_02_180639_0000.jpg
/home/pi/Desktop/images/25012025/07/41/image_25012025_07_41_02_180639_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331287231","1331287185","1331287239","1331287190","1331287175","1331287244"],"photo_ids_order":["1331287175","1331287185","1331287190","1331287231","1331287239","1331287244"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dcc4bb19bdf52353dcd6834c41617c26.jpg","text":"TemporaryFile(/tmp/multipartBody2717720022444460654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793579412,"filename":"image_25012025_07_40_02_554196_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c1be0e2b1b15ecf9b44a7617c252534.jpg","text":"TemporaryFile(/tmp/multipartBody2929781941305119362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793579412,"filename":"image_25012025_07_40_02_554196_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c5a7abd4950c70200187c98b0fd65cb9.jpg","text":"TemporaryFile(/tmp/multipartBody7761582933798554494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793579412,"filename":"image_25012025_07_41_02_180639_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/17a3cab56acae7788ab5153b10b3649d.jpg","text":"TemporaryFile(/tmp/multipartBody9048126108651297060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793579412,"filename":"image_25012025_07_40_02_554196_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/de783e0c478983d018c0060541118a90.jpg","text":"TemporaryFile(/tmp/multipartBody7753819540377007935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793579412,"filename":"image_25012025_07_40_02_554196_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2e113f725960b0bc347b210e2b9048bc.jpg","text":"TemporaryFile(/tmp/multipartBody1213274214231641082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793579412,"filename":"image_25012025_07_41_02_180639_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331287190","file1":"1331287185","file0":"1331287175","file4":"1331287239","file5":"1331287244","file3":"1331287231"},"map_files_photo_id_array":[{"photo_id":"1331287244","filename":"file5"},{"photo_id":"1331287190","filename":"file2"},{"photo_id":"1331287239","filename":"file4"},{"photo_id":"1331287185","filename":"file1"},{"photo_id":"1331287175","filename":"file0"},{"photo_id":"1331287231","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331287231":["hashtag1","hashtag2"]},{"1331287185":["hashtag1","hashtag2"]},{"1331287239":["hashtag1","hashtag2"]},{"1331287190":["hashtag1","hashtag2"]},{"1331287175":["hashtag1","hashtag2"]},{"1331287244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331287231, 1331287185, 1331287239, 1331287190, 1331287175, 1331287244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.27441453933716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:26:02.186787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/41/image_25012025_07_41_02_180639_0002.jpg', '/home/pi/Desktop/images/25012025/07/41/image_25012025_07_41_02_180639_0003.jpg', '/home/pi/Desktop/images/25012025/07/42/image_25012025_07_42_02_677543_0000.jpg', '/home/pi/Desktop/images/25012025/07/42/image_25012025_07_42_02_677543_0001.jpg', '/home/pi/Desktop/images/25012025/07/42/image_25012025_07_42_02_677543_0002.jpg', '/home/pi/Desktop/images/25012025/07/42/image_25012025_07_42_02_677543_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/41/image_25012025_07_41_02_180639_0002.jpg
/home/pi/Desktop/images/25012025/07/41/image_25012025_07_41_02_180639_0003.jpg
/home/pi/Desktop/images/25012025/07/42/image_25012025_07_42_02_677543_0000.jpg
/home/pi/Desktop/images/25012025/07/42/image_25012025_07_42_02_677543_0001.jpg
/home/pi/Desktop/images/25012025/07/42/image_25012025_07_42_02_677543_0002.jpg
/home/pi/Desktop/images/25012025/07/42/image_25012025_07_42_02_677543_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":["1331288081","1331287803","1331288018","1331287559","1331287871","1331287730"],"photo_ids_order":["1331287559","1331287730","1331287803","1331287871","1331288018","1331288081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1ead93e7f6378277d0245d6e21cbfdfa.jpg","text":"TemporaryFile(/tmp/multipartBody888339393124874622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793639609,"filename":"image_25012025_07_42_02_677543_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/601269a297b4546cef2b082ca16f406a.jpg","text":"TemporaryFile(/tmp/multipartBody488709596872847224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793639609,"filename":"image_25012025_07_42_02_677543_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4cb2213370939895162f20de226d341a.jpg","text":"TemporaryFile(/tmp/multipartBody4689861594541697052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793639609,"filename":"image_25012025_07_42_02_677543_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8fad2c2abaac276d5287807c1d03fe87.jpg","text":"TemporaryFile(/tmp/multipartBody6413311977817548951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793639609,"filename":"image_25012025_07_41_02_180639_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c10cc1cbf75f2eeb7b6772900ae2519.jpg","text":"TemporaryFile(/tmp/multipartBody8785859641080578716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793639609,"filename":"image_25012025_07_42_02_677543_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2471383461a851f68912985ddc5cf0b2.jpg","text":"TemporaryFile(/tmp/multipartBody4186825585186330869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793639609,"filename":"image_25012025_07_41_02_180639_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331287803","file1":"1331287730","file0":"1331287559","file4":"1331288018","file5":"1331288081","file3":"1331287871"},"map_files_photo_id_array":[{"photo_id":"1331288081","filename":"file5"},{"photo_id":"1331287803","filename":"file2"},{"photo_id":"1331288018","filename":"file4"},{"photo_id":"1331287730","filename":"file1"},{"photo_id":"1331287559","filename":"file0"},{"photo_id":"1331287871","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331288081":["hashtag1","hashtag2"]},{"1331287803":["hashtag1","hashtag2"]},{"1331288018":["hashtag1","hashtag2"]},{"1331287559":["hashtag1","hashtag2"]},{"1331287871":["hashtag1","hashtag2"]},{"1331287730":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331288081, 1331287803, 1331288018, 1331287559, 1331287871, 1331287730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.818655252456665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:27:22.284241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/43/image_25012025_07_43_02_209853_0000.jpg', '/home/pi/Desktop/images/25012025/07/43/image_25012025_07_43_02_209853_0001.jpg', '/home/pi/Desktop/images/25012025/07/43/image_25012025_07_43_02_209853_0002.jpg', '/home/pi/Desktop/images/25012025/07/43/image_25012025_07_43_02_209853_0003.jpg', '/home/pi/Desktop/images/25012025/07/44/image_25012025_07_44_02_704856_0000.jpg', '/home/pi/Desktop/images/25012025/07/44/image_25012025_07_44_02_704856_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/43/image_25012025_07_43_02_209853_0000.jpg
/home/pi/Desktop/images/25012025/07/43/image_25012025_07_43_02_209853_0001.jpg
/home/pi/Desktop/images/25012025/07/43/image_25012025_07_43_02_209853_0002.jpg
/home/pi/Desktop/images/25012025/07/43/image_25012025_07_43_02_209853_0003.jpg
/home/pi/Desktop/images/25012025/07/44/image_25012025_07_44_02_704856_0000.jpg
/home/pi/Desktop/images/25012025/07/44/image_25012025_07_44_02_704856_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331288350","1331288361","1331288355","1331288358","1331288363","1331288366"],"photo_ids_order":["1331288350","1331288355","1331288358","1331288361","1331288363","1331288366"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1d138ebfcc4903a7b1a1a601f3c33b24.jpg","text":"TemporaryFile(/tmp/multipartBody908784431458567342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793719420,"filename":"image_25012025_07_43_02_209853_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ac4934dc5cef2387c154946edd83d16b.jpg","text":"TemporaryFile(/tmp/multipartBody4879436605518057971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793719420,"filename":"image_25012025_07_43_02_209853_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5832e2ae6e12b3e36084f24a6d86a111.jpg","text":"TemporaryFile(/tmp/multipartBody7524611775519239785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793719420,"filename":"image_25012025_07_43_02_209853_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/91461e1eab0b54eb4181d2e546b60fe9.jpg","text":"TemporaryFile(/tmp/multipartBody4557689197415765447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793719420,"filename":"image_25012025_07_43_02_209853_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f5fba23719d6f7f4932f97173b07ebc2.jpg","text":"TemporaryFile(/tmp/multipartBody6651887331688446749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793719420,"filename":"image_25012025_07_44_02_704856_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/70a0dc139d8bfb90a8ec0db38326d04a.jpg","text":"TemporaryFile(/tmp/multipartBody8021515370917892515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793719420,"filename":"image_25012025_07_44_02_704856_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331288358","file1":"1331288355","file0":"1331288350","file4":"1331288363","file5":"1331288366","file3":"1331288361"},"map_files_photo_id_array":[{"photo_id":"1331288366","filename":"file5"},{"photo_id":"1331288358","filename":"file2"},{"photo_id":"1331288363","filename":"file4"},{"photo_id":"1331288355","filename":"file1"},{"photo_id":"1331288350","filename":"file0"},{"photo_id":"1331288361","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331288350":["hashtag1","hashtag2"]},{"1331288361":["hashtag1","hashtag2"]},{"1331288355":["hashtag1","hashtag2"]},{"1331288358":["hashtag1","hashtag2"]},{"1331288363":["hashtag1","hashtag2"]},{"1331288366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331288350, 1331288361, 1331288355, 1331288358, 1331288363, 1331288366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.87635517120361 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:28:22.774961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/44/image_25012025_07_44_02_704856_0002.jpg', '/home/pi/Desktop/images/25012025/07/44/image_25012025_07_44_02_704856_0003.jpg', '/home/pi/Desktop/images/25012025/07/45/image_25012025_07_45_02_250023_0000.jpg', '/home/pi/Desktop/images/25012025/07/45/image_25012025_07_45_02_250023_0001.jpg', '/home/pi/Desktop/images/25012025/07/45/image_25012025_07_45_02_250023_0002.jpg', '/home/pi/Desktop/images/25012025/07/45/image_25012025_07_45_02_250023_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/44/image_25012025_07_44_02_704856_0002.jpg
/home/pi/Desktop/images/25012025/07/44/image_25012025_07_44_02_704856_0003.jpg
/home/pi/Desktop/images/25012025/07/45/image_25012025_07_45_02_250023_0000.jpg
/home/pi/Desktop/images/25012025/07/45/image_25012025_07_45_02_250023_0001.jpg
/home/pi/Desktop/images/25012025/07/45/image_25012025_07_45_02_250023_0002.jpg
/home/pi/Desktop/images/25012025/07/45/image_25012025_07_45_02_250023_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.75093412399292 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:29:03.053278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/44/image_25012025_07_44_02_704856_0002.jpg', '/home/pi/Desktop/images/25012025/07/44/image_25012025_07_44_02_704856_0003.jpg', '/home/pi/Desktop/images/25012025/07/45/image_25012025_07_45_02_250023_0000.jpg', '/home/pi/Desktop/images/25012025/07/45/image_25012025_07_45_02_250023_0001.jpg', '/home/pi/Desktop/images/25012025/07/45/image_25012025_07_45_02_250023_0002.jpg', '/home/pi/Desktop/images/25012025/07/45/image_25012025_07_45_02_250023_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/44/image_25012025_07_44_02_704856_0002.jpg
/home/pi/Desktop/images/25012025/07/44/image_25012025_07_44_02_704856_0003.jpg
/home/pi/Desktop/images/25012025/07/45/image_25012025_07_45_02_250023_0000.jpg
/home/pi/Desktop/images/25012025/07/45/image_25012025_07_45_02_250023_0001.jpg
/home/pi/Desktop/images/25012025/07/45/image_25012025_07_45_02_250023_0002.jpg
/home/pi/Desktop/images/25012025/07/45/image_25012025_07_45_02_250023_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331288446","1331288430","1331288418","1331288450","1331288402","1331288455"],"photo_ids_order":["1331288402","1331288418","1331288430","1331288446","1331288450","1331288455"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f920b01b2e08e7d28683d075d38a184c.jpg","text":"TemporaryFile(/tmp/multipartBody3988563617220534754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793820218,"filename":"image_25012025_07_45_02_250023_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/07ca4b338e62fb4953c806ae73dcafff.jpg","text":"TemporaryFile(/tmp/multipartBody8177821302534361821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793820218,"filename":"image_25012025_07_45_02_250023_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d0ab530cd6b01622f95e494136ca17e7.jpg","text":"TemporaryFile(/tmp/multipartBody2534602268140907367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793820218,"filename":"image_25012025_07_44_02_704856_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e5ba3d4b0c8b05f945d473b46ac69248.jpg","text":"TemporaryFile(/tmp/multipartBody4402306366787676156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793820218,"filename":"image_25012025_07_45_02_250023_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f755ae163f1196386aabc1360659df9d.jpg","text":"TemporaryFile(/tmp/multipartBody2438742652045199217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793820218,"filename":"image_25012025_07_44_02_704856_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/877d60183b6263419e0c1346b02ab647.jpg","text":"TemporaryFile(/tmp/multipartBody6958558806246314171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793820218,"filename":"image_25012025_07_45_02_250023_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331288430","file1":"1331288418","file0":"1331288402","file4":"1331288450","file5":"1331288455","file3":"1331288446"},"map_files_photo_id_array":[{"photo_id":"1331288455","filename":"file5"},{"photo_id":"1331288430","filename":"file2"},{"photo_id":"1331288450","filename":"file4"},{"photo_id":"1331288418","filename":"file1"},{"photo_id":"1331288402","filename":"file0"},{"photo_id":"1331288446","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331288446":["hashtag1","hashtag2"]},{"1331288430":["hashtag1","hashtag2"]},{"1331288418":["hashtag1","hashtag2"]},{"1331288450":["hashtag1","hashtag2"]},{"1331288402":["hashtag1","hashtag2"]},{"1331288455":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331288446, 1331288430, 1331288418, 1331288450, 1331288402, 1331288455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.29701209068298 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-25 09:30:21.909272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/46/image_25012025_07_46_02_812957_0000.jpg', '/home/pi/Desktop/images/25012025/07/46/image_25012025_07_46_02_812957_0001.jpg', '/home/pi/Desktop/images/25012025/07/46/image_25012025_07_46_02_812957_0002.jpg', '/home/pi/Desktop/images/25012025/07/46/image_25012025_07_46_02_812957_0003.jpg', '/home/pi/Desktop/images/25012025/07/47/image_25012025_07_47_02_400795_0000.jpg', '/home/pi/Desktop/images/25012025/07/47/image_25012025_07_47_02_400795_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/46/image_25012025_07_46_02_812957_0000.jpg
/home/pi/Desktop/images/25012025/07/46/image_25012025_07_46_02_812957_0001.jpg
/home/pi/Desktop/images/25012025/07/46/image_25012025_07_46_02_812957_0002.jpg
/home/pi/Desktop/images/25012025/07/46/image_25012025_07_46_02_812957_0003.jpg
/home/pi/Desktop/images/25012025/07/47/image_25012025_07_47_02_400795_0000.jpg
/home/pi/Desktop/images/25012025/07/47/image_25012025_07_47_02_400795_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331288620","1331288496","1331288484","1331288493","1331288566","1331288488"],"photo_ids_order":["1331288484","1331288488","1331288493","1331288496","1331288566","1331288620"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dc4f61f5bc2a5a0a0c2c734e252028b4.jpg","text":"TemporaryFile(/tmp/multipartBody4005586828202887718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793898743,"filename":"image_25012025_07_47_02_400795_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e4b0342b8116656bd62f804f0a31cffb.jpg","text":"TemporaryFile(/tmp/multipartBody2915825138986519082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793898743,"filename":"image_25012025_07_46_02_812957_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bb562c3206d8231b165210093a1c09a3.jpg","text":"TemporaryFile(/tmp/multipartBody8098045177003734730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793898743,"filename":"image_25012025_07_46_02_812957_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8c41deef3bae32121fd3b70c2fda1b3c.jpg","text":"TemporaryFile(/tmp/multipartBody4959284706847456296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793898743,"filename":"image_25012025_07_46_02_812957_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/16fa5cc99e63993d677b6988ac1be3d2.jpg","text":"TemporaryFile(/tmp/multipartBody3576805948781169179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793898743,"filename":"image_25012025_07_47_02_400795_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a1ac339c9ca9dc1868f49b28b8b06ea7.jpg","text":"TemporaryFile(/tmp/multipartBody5932441667506432777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793898743,"filename":"image_25012025_07_46_02_812957_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331288493","file1":"1331288488","file0":"1331288484","file4":"1331288566","file5":"1331288620","file3":"1331288496"},"map_files_photo_id_array":[{"photo_id":"1331288620","filename":"file5"},{"photo_id":"1331288493","filename":"file2"},{"photo_id":"1331288566","filename":"file4"},{"photo_id":"1331288488","filename":"file1"},{"photo_id":"1331288484","filename":"file0"},{"photo_id":"1331288496","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331288620":["hashtag1","hashtag2"]},{"1331288496":["hashtag1","hashtag2"]},{"1331288484":["hashtag1","hashtag2"]},{"1331288493":["hashtag1","hashtag2"]},{"1331288566":["hashtag1","hashtag2"]},{"1331288488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331288620, 1331288496, 1331288484, 1331288493, 1331288566, 1331288488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.404624223709106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:31:22.415997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/47/image_25012025_07_47_02_400795_0002.jpg', '/home/pi/Desktop/images/25012025/07/47/image_25012025_07_47_02_400795_0003.jpg', '/home/pi/Desktop/images/25012025/07/48/image_25012025_07_48_02_957828_0000.jpg', '/home/pi/Desktop/images/25012025/07/48/image_25012025_07_48_02_957828_0001.jpg', '/home/pi/Desktop/images/25012025/07/48/image_25012025_07_48_02_957828_0002.jpg', '/home/pi/Desktop/images/25012025/07/48/image_25012025_07_48_02_957828_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/47/image_25012025_07_47_02_400795_0002.jpg
/home/pi/Desktop/images/25012025/07/47/image_25012025_07_47_02_400795_0003.jpg
/home/pi/Desktop/images/25012025/07/48/image_25012025_07_48_02_957828_0000.jpg
/home/pi/Desktop/images/25012025/07/48/image_25012025_07_48_02_957828_0001.jpg
/home/pi/Desktop/images/25012025/07/48/image_25012025_07_48_02_957828_0002.jpg
/home/pi/Desktop/images/25012025/07/48/image_25012025_07_48_02_957828_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":["1331288707","1331288676","1331288664","1331288657","1331288750","1331288746"],"photo_ids_order":["1331288657","1331288664","1331288676","1331288707","1331288746","1331288750"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4c27e8fba10cfa5fa41e2b7cc48a47ee.jpg","text":"TemporaryFile(/tmp/multipartBody1475826438515839978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793959533,"filename":"image_25012025_07_48_02_957828_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2a20cbb76b9838e4c10dd2de7d47c4de.jpg","text":"TemporaryFile(/tmp/multipartBody7648844384801528828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793959533,"filename":"image_25012025_07_48_02_957828_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eb6beea29a172e219e2ece8927b8ab39.jpg","text":"TemporaryFile(/tmp/multipartBody4616086951069364003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793959533,"filename":"image_25012025_07_47_02_400795_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1429282cba61e80a0f5e9aaf604b84dc.jpg","text":"TemporaryFile(/tmp/multipartBody1005626840275442093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793959533,"filename":"image_25012025_07_47_02_400795_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5bc45d104a4a4f0e44b1a782acb6cef4.jpg","text":"TemporaryFile(/tmp/multipartBody8276437896063376334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793959533,"filename":"image_25012025_07_48_02_957828_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0d18f908459b46281b5f336bccaa856b.jpg","text":"TemporaryFile(/tmp/multipartBody8292591356526759741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737793959533,"filename":"image_25012025_07_48_02_957828_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331288676","file1":"1331288664","file0":"1331288657","file4":"1331288746","file5":"1331288750","file3":"1331288707"},"map_files_photo_id_array":[{"photo_id":"1331288750","filename":"file5"},{"photo_id":"1331288676","filename":"file2"},{"photo_id":"1331288746","filename":"file4"},{"photo_id":"1331288664","filename":"file1"},{"photo_id":"1331288657","filename":"file0"},{"photo_id":"1331288707","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331288707":["hashtag1","hashtag2"]},{"1331288676":["hashtag1","hashtag2"]},{"1331288664":["hashtag1","hashtag2"]},{"1331288657":["hashtag1","hashtag2"]},{"1331288750":["hashtag1","hashtag2"]},{"1331288746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331288707, 1331288676, 1331288664, 1331288657, 1331288750, 1331288746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.969075441360474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:33:03.161603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/49/image_25012025_07_49_02_474064_0000.jpg', '/home/pi/Desktop/images/25012025/07/49/image_25012025_07_49_02_474064_0001.jpg', '/home/pi/Desktop/images/25012025/07/49/image_25012025_07_49_02_474064_0002.jpg', '/home/pi/Desktop/images/25012025/07/49/image_25012025_07_49_02_474064_0003.jpg', '/home/pi/Desktop/images/25012025/07/50/image_25012025_07_50_02_970695_0000.jpg', '/home/pi/Desktop/images/25012025/07/50/image_25012025_07_50_02_970695_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/49/image_25012025_07_49_02_474064_0000.jpg
/home/pi/Desktop/images/25012025/07/49/image_25012025_07_49_02_474064_0001.jpg
/home/pi/Desktop/images/25012025/07/49/image_25012025_07_49_02_474064_0002.jpg
/home/pi/Desktop/images/25012025/07/49/image_25012025_07_49_02_474064_0003.jpg
/home/pi/Desktop/images/25012025/07/50/image_25012025_07_50_02_970695_0000.jpg
/home/pi/Desktop/images/25012025/07/50/image_25012025_07_50_02_970695_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331289366","1331289338","1331289397","1331289335","1331289401","1331289393"],"photo_ids_order":["1331289335","1331289338","1331289366","1331289393","1331289397","1331289401"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1ff0735dd0a699d8f3222350ecffb342.jpg","text":"TemporaryFile(/tmp/multipartBody5392411709302662783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794060731,"filename":"image_25012025_07_49_02_474064_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f8571c30f28b49438859a0bfefd0def0.jpg","text":"TemporaryFile(/tmp/multipartBody5595325851815167272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794060731,"filename":"image_25012025_07_49_02_474064_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f82936f66b00e0d7b0b5090cbef4eca0.jpg","text":"TemporaryFile(/tmp/multipartBody5458951970542115209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794060731,"filename":"image_25012025_07_50_02_970695_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e4b70599ecef16a4e807cfa9f0cb96f9.jpg","text":"TemporaryFile(/tmp/multipartBody3492943759249701917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794060731,"filename":"image_25012025_07_49_02_474064_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2155a2c2fdb9d5b430ed95b2a42dfd39.jpg","text":"TemporaryFile(/tmp/multipartBody6652171943252076833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794060731,"filename":"image_25012025_07_50_02_970695_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f0ac1fbc53480464d73e162709bf9caf.jpg","text":"TemporaryFile(/tmp/multipartBody1490423465997857917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794060731,"filename":"image_25012025_07_49_02_474064_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331289366","file1":"1331289338","file0":"1331289335","file4":"1331289397","file5":"1331289401","file3":"1331289393"},"map_files_photo_id_array":[{"photo_id":"1331289401","filename":"file5"},{"photo_id":"1331289366","filename":"file2"},{"photo_id":"1331289397","filename":"file4"},{"photo_id":"1331289338","filename":"file1"},{"photo_id":"1331289335","filename":"file0"},{"photo_id":"1331289393","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331289366":["hashtag1","hashtag2"]},{"1331289338":["hashtag1","hashtag2"]},{"1331289397":["hashtag1","hashtag2"]},{"1331289335":["hashtag1","hashtag2"]},{"1331289401":["hashtag1","hashtag2"]},{"1331289393":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331289366, 1331289338, 1331289397, 1331289335, 1331289401, 1331289393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.328606367111206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:34:02.464199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/50/image_25012025_07_50_02_970695_0002.jpg', '/home/pi/Desktop/images/25012025/07/50/image_25012025_07_50_02_970695_0003.jpg', '/home/pi/Desktop/images/25012025/07/51/image_25012025_07_51_02_563574_0000.jpg', '/home/pi/Desktop/images/25012025/07/51/image_25012025_07_51_02_563574_0001.jpg', '/home/pi/Desktop/images/25012025/07/51/image_25012025_07_51_02_563574_0002.jpg', '/home/pi/Desktop/images/25012025/07/51/image_25012025_07_51_02_563574_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/50/image_25012025_07_50_02_970695_0002.jpg
/home/pi/Desktop/images/25012025/07/50/image_25012025_07_50_02_970695_0003.jpg
/home/pi/Desktop/images/25012025/07/51/image_25012025_07_51_02_563574_0000.jpg
/home/pi/Desktop/images/25012025/07/51/image_25012025_07_51_02_563574_0001.jpg
/home/pi/Desktop/images/25012025/07/51/image_25012025_07_51_02_563574_0002.jpg
/home/pi/Desktop/images/25012025/07/51/image_25012025_07_51_02_563574_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":["1331289537","1331289534","1331289530","1331289544","1331289547","1331289541"],"photo_ids_order":["1331289530","1331289534","1331289537","1331289541","1331289544","1331289547"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9c2bef52c4dd88eb8d6b19a8136a5db7.jpg","text":"TemporaryFile(/tmp/multipartBody4526219927658712846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794119616,"filename":"image_25012025_07_51_02_563574_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/18cf14841078957a505cd022748829dd.jpg","text":"TemporaryFile(/tmp/multipartBody3713843734786623395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794119616,"filename":"image_25012025_07_50_02_970695_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f3403a88eb2d99f171b674266688aae4.jpg","text":"TemporaryFile(/tmp/multipartBody2232096946240899172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794119616,"filename":"image_25012025_07_50_02_970695_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/416bc1a0d98b76ebba784a22470a6945.jpg","text":"TemporaryFile(/tmp/multipartBody3334431188561370771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794119616,"filename":"image_25012025_07_51_02_563574_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/97f043820b80ee1b5e2d9e891b637f2b.jpg","text":"TemporaryFile(/tmp/multipartBody99342508121609342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794119616,"filename":"image_25012025_07_51_02_563574_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/da2774f4b1a05da01886fdc30a8aebbe.jpg","text":"TemporaryFile(/tmp/multipartBody4770116427266751287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794119616,"filename":"image_25012025_07_51_02_563574_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331289537","file1":"1331289534","file0":"1331289530","file4":"1331289544","file5":"1331289547","file3":"1331289541"},"map_files_photo_id_array":[{"photo_id":"1331289547","filename":"file5"},{"photo_id":"1331289537","filename":"file2"},{"photo_id":"1331289544","filename":"file4"},{"photo_id":"1331289534","filename":"file1"},{"photo_id":"1331289530","filename":"file0"},{"photo_id":"1331289541","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331289537":["hashtag1","hashtag2"]},{"1331289534":["hashtag1","hashtag2"]},{"1331289530":["hashtag1","hashtag2"]},{"1331289544":["hashtag1","hashtag2"]},{"1331289547":["hashtag1","hashtag2"]},{"1331289541":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331289537, 1331289534, 1331289530, 1331289544, 1331289547, 1331289541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.23089027404785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:35:22.681106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/52/image_25012025_07_52_03_122663_0000.jpg', '/home/pi/Desktop/images/25012025/07/52/image_25012025_07_52_03_122663_0001.jpg', '/home/pi/Desktop/images/25012025/07/52/image_25012025_07_52_03_122663_0002.jpg', '/home/pi/Desktop/images/25012025/07/52/image_25012025_07_52_03_122663_0003.jpg', '/home/pi/Desktop/images/25012025/07/53/image_25012025_07_53_02_776430_0000.jpg', '/home/pi/Desktop/images/25012025/07/53/image_25012025_07_53_02_776430_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/52/image_25012025_07_52_03_122663_0000.jpg
/home/pi/Desktop/images/25012025/07/52/image_25012025_07_52_03_122663_0001.jpg
/home/pi/Desktop/images/25012025/07/52/image_25012025_07_52_03_122663_0002.jpg
/home/pi/Desktop/images/25012025/07/52/image_25012025_07_52_03_122663_0003.jpg
/home/pi/Desktop/images/25012025/07/53/image_25012025_07_53_02_776430_0000.jpg
/home/pi/Desktop/images/25012025/07/53/image_25012025_07_53_02_776430_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331289578","1331289581","1331289575","1331289676","1331289730","1331289727"],"photo_ids_order":["1331289575","1331289578","1331289581","1331289676","1331289727","1331289730"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bd1a43db905f239d736562a0b5c8a314.jpg","text":"TemporaryFile(/tmp/multipartBody4454596435910807055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794199465,"filename":"image_25012025_07_52_03_122663_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/87ccdc17b4ab3996761e4a29a310053a.jpg","text":"TemporaryFile(/tmp/multipartBody5797816762248658228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794199465,"filename":"image_25012025_07_52_03_122663_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fafa4f8528a1fb771eff2d818c2ee645.jpg","text":"TemporaryFile(/tmp/multipartBody1277882201665088267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794199465,"filename":"image_25012025_07_52_03_122663_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b95d886b98be559732ba69bd8563536c.jpg","text":"TemporaryFile(/tmp/multipartBody789376198700294144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794199465,"filename":"image_25012025_07_52_03_122663_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2c4cc188ddf4712f678603a0c1bc368d.jpg","text":"TemporaryFile(/tmp/multipartBody7173078998241107940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794199465,"filename":"image_25012025_07_53_02_776430_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/86e0a260139bdeaa8de444061b4960e8.jpg","text":"TemporaryFile(/tmp/multipartBody2593701284652791375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794199465,"filename":"image_25012025_07_53_02_776430_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331289581","file1":"1331289578","file0":"1331289575","file4":"1331289727","file5":"1331289730","file3":"1331289676"},"map_files_photo_id_array":[{"photo_id":"1331289730","filename":"file5"},{"photo_id":"1331289581","filename":"file2"},{"photo_id":"1331289727","filename":"file4"},{"photo_id":"1331289578","filename":"file1"},{"photo_id":"1331289575","filename":"file0"},{"photo_id":"1331289676","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331289578":["hashtag1","hashtag2"]},{"1331289581":["hashtag1","hashtag2"]},{"1331289575":["hashtag1","hashtag2"]},{"1331289676":["hashtag1","hashtag2"]},{"1331289730":["hashtag1","hashtag2"]},{"1331289727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331289578, 1331289581, 1331289575, 1331289676, 1331289730, 1331289727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.09834694862366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:36:22.105620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/53/image_25012025_07_53_02_776430_0002.jpg', '/home/pi/Desktop/images/25012025/07/53/image_25012025_07_53_02_776430_0003.jpg', '/home/pi/Desktop/images/25012025/07/54/image_25012025_07_54_02_293675_0000.jpg', '/home/pi/Desktop/images/25012025/07/54/image_25012025_07_54_02_293675_0001.jpg', '/home/pi/Desktop/images/25012025/07/54/image_25012025_07_54_02_293675_0002.jpg', '/home/pi/Desktop/images/25012025/07/54/image_25012025_07_54_02_293675_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/53/image_25012025_07_53_02_776430_0002.jpg
/home/pi/Desktop/images/25012025/07/53/image_25012025_07_53_02_776430_0003.jpg
/home/pi/Desktop/images/25012025/07/54/image_25012025_07_54_02_293675_0000.jpg
/home/pi/Desktop/images/25012025/07/54/image_25012025_07_54_02_293675_0001.jpg
/home/pi/Desktop/images/25012025/07/54/image_25012025_07_54_02_293675_0002.jpg
/home/pi/Desktop/images/25012025/07/54/image_25012025_07_54_02_293675_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331289921","1331289924","1331289918","1331289914","1331289922","1331289934"],"photo_ids_order":["1331289914","1331289918","1331289921","1331289922","1331289924","1331289934"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ec8fe36b0fa09afebfebbf9b327c07f3.jpg","text":"TemporaryFile(/tmp/multipartBody7053739611888251234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794258627,"filename":"image_25012025_07_54_02_293675_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6bc0fd3c619ed43dd3c0d355d79e04e4.jpg","text":"TemporaryFile(/tmp/multipartBody6760195519404023904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794258627,"filename":"image_25012025_07_54_02_293675_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1f1279b7cc9b592f78d4821d5e9efe81.jpg","text":"TemporaryFile(/tmp/multipartBody3587169260011272182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794258627,"filename":"image_25012025_07_53_02_776430_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dbeb37abaa5c82d764ba396a3e38d71c.jpg","text":"TemporaryFile(/tmp/multipartBody7350608410527856244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794258627,"filename":"image_25012025_07_53_02_776430_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/85f041aef87e484e40fa83573581491c.jpg","text":"TemporaryFile(/tmp/multipartBody5446492037258974461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794258627,"filename":"image_25012025_07_54_02_293675_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a1df4a514eeb9ddb1190ed9f2db917f8.jpg","text":"TemporaryFile(/tmp/multipartBody3105919859896048426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794258627,"filename":"image_25012025_07_54_02_293675_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331289921","file1":"1331289918","file0":"1331289914","file4":"1331289924","file5":"1331289934","file3":"1331289922"},"map_files_photo_id_array":[{"photo_id":"1331289934","filename":"file5"},{"photo_id":"1331289921","filename":"file2"},{"photo_id":"1331289924","filename":"file4"},{"photo_id":"1331289918","filename":"file1"},{"photo_id":"1331289914","filename":"file0"},{"photo_id":"1331289922","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331289921":["hashtag1","hashtag2"]},{"1331289924":["hashtag1","hashtag2"]},{"1331289918":["hashtag1","hashtag2"]},{"1331289914":["hashtag1","hashtag2"]},{"1331289922":["hashtag1","hashtag2"]},{"1331289934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331289921, 1331289924, 1331289918, 1331289914, 1331289922, 1331289934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.94333529472351 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:37:22.623522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/55/image_25012025_07_55_02_901221_0000.jpg', '/home/pi/Desktop/images/25012025/07/55/image_25012025_07_55_02_901221_0001.jpg', '/home/pi/Desktop/images/25012025/07/55/image_25012025_07_55_02_901221_0002.jpg', '/home/pi/Desktop/images/25012025/07/55/image_25012025_07_55_02_901221_0003.jpg', '/home/pi/Desktop/images/25012025/07/56/image_25012025_07_56_02_388387_0000.jpg', '/home/pi/Desktop/images/25012025/07/56/image_25012025_07_56_02_388387_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/55/image_25012025_07_55_02_901221_0000.jpg
/home/pi/Desktop/images/25012025/07/55/image_25012025_07_55_02_901221_0001.jpg
/home/pi/Desktop/images/25012025/07/55/image_25012025_07_55_02_901221_0002.jpg
/home/pi/Desktop/images/25012025/07/55/image_25012025_07_55_02_901221_0003.jpg
/home/pi/Desktop/images/25012025/07/56/image_25012025_07_56_02_388387_0000.jpg
/home/pi/Desktop/images/25012025/07/56/image_25012025_07_56_02_388387_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331290321","1331290797","1331290794","1331290565","1331290700","1331290789"],"photo_ids_order":["1331290321","1331290565","1331290700","1331290789","1331290794","1331290797"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/de380ab7dddb7e1f6a868257b63e88c5.jpg","text":"TemporaryFile(/tmp/multipartBody8773418974598534397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794320057,"filename":"image_25012025_07_55_02_901221_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/472d3278bab86e1b375cb83f49e6d4e8.jpg","text":"TemporaryFile(/tmp/multipartBody6218280800335323708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794320057,"filename":"image_25012025_07_56_02_388387_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1095eb337fb4532f978a61cca7c5febe.jpg","text":"TemporaryFile(/tmp/multipartBody6051668581909972572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794320057,"filename":"image_25012025_07_56_02_388387_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7f6832936220eba19f3fa10d8eb0fe1f.jpg","text":"TemporaryFile(/tmp/multipartBody2915340821914768538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794320057,"filename":"image_25012025_07_55_02_901221_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9f1328b3d200f9496bdad700a34ba3e0.jpg","text":"TemporaryFile(/tmp/multipartBody2644823665080843042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794320057,"filename":"image_25012025_07_55_02_901221_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/60b14cebde1e2273d8070c34fca53885.jpg","text":"TemporaryFile(/tmp/multipartBody6756698875083449984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794320057,"filename":"image_25012025_07_55_02_901221_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331290700","file1":"1331290565","file0":"1331290321","file4":"1331290794","file5":"1331290797","file3":"1331290789"},"map_files_photo_id_array":[{"photo_id":"1331290797","filename":"file5"},{"photo_id":"1331290700","filename":"file2"},{"photo_id":"1331290794","filename":"file4"},{"photo_id":"1331290565","filename":"file1"},{"photo_id":"1331290321","filename":"file0"},{"photo_id":"1331290789","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331290321":["hashtag1","hashtag2"]},{"1331290797":["hashtag1","hashtag2"]},{"1331290794":["hashtag1","hashtag2"]},{"1331290565":["hashtag1","hashtag2"]},{"1331290700":["hashtag1","hashtag2"]},{"1331290789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331290321, 1331290797, 1331290794, 1331290565, 1331290700, 1331290789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.36706304550171 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:38:22.163705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/56/image_25012025_07_56_02_388387_0002.jpg', '/home/pi/Desktop/images/25012025/07/56/image_25012025_07_56_02_388387_0003.jpg', '/home/pi/Desktop/images/25012025/07/57/image_25012025_07_57_02_946041_0000.jpg', '/home/pi/Desktop/images/25012025/07/57/image_25012025_07_57_02_946041_0001.jpg', '/home/pi/Desktop/images/25012025/07/57/image_25012025_07_57_02_946041_0002.jpg', '/home/pi/Desktop/images/25012025/07/57/image_25012025_07_57_02_946041_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/56/image_25012025_07_56_02_388387_0002.jpg
/home/pi/Desktop/images/25012025/07/56/image_25012025_07_56_02_388387_0003.jpg
/home/pi/Desktop/images/25012025/07/57/image_25012025_07_57_02_946041_0000.jpg
/home/pi/Desktop/images/25012025/07/57/image_25012025_07_57_02_946041_0001.jpg
/home/pi/Desktop/images/25012025/07/57/image_25012025_07_57_02_946041_0002.jpg
/home/pi/Desktop/images/25012025/07/57/image_25012025_07_57_02_946041_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331290851","1331290860","1331290854","1331290844","1331290847","1331290840"],"photo_ids_order":["1331290840","1331290844","1331290847","1331290851","1331290854","1331290860"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c9873db6d2f691893f71d9a4434afc64.jpg","text":"TemporaryFile(/tmp/multipartBody640798125401809775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794379322,"filename":"image_25012025_07_57_02_946041_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/93493712b89a5be1f297c99dd61ef976.jpg","text":"TemporaryFile(/tmp/multipartBody7889570932333191239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794379322,"filename":"image_25012025_07_57_02_946041_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/21a0ba4ec506d7af39898e00fb617ccf.jpg","text":"TemporaryFile(/tmp/multipartBody7085909378133157466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794379322,"filename":"image_25012025_07_57_02_946041_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/84bacd53773a790f67fafe8900b2d2d1.jpg","text":"TemporaryFile(/tmp/multipartBody3307787795449501454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794379322,"filename":"image_25012025_07_56_02_388387_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0941f60806a93ad378219dabc97f1a9b.jpg","text":"TemporaryFile(/tmp/multipartBody7623555491000941522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794379322,"filename":"image_25012025_07_57_02_946041_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/31bf1c840111f1c2f0e5402bd37ab1ca.jpg","text":"TemporaryFile(/tmp/multipartBody156021595241858531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794379322,"filename":"image_25012025_07_56_02_388387_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331290847","file1":"1331290844","file0":"1331290840","file4":"1331290854","file5":"1331290860","file3":"1331290851"},"map_files_photo_id_array":[{"photo_id":"1331290860","filename":"file5"},{"photo_id":"1331290847","filename":"file2"},{"photo_id":"1331290854","filename":"file4"},{"photo_id":"1331290844","filename":"file1"},{"photo_id":"1331290840","filename":"file0"},{"photo_id":"1331290851","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331290851":["hashtag1","hashtag2"]},{"1331290860":["hashtag1","hashtag2"]},{"1331290854":["hashtag1","hashtag2"]},{"1331290844":["hashtag1","hashtag2"]},{"1331290847":["hashtag1","hashtag2"]},{"1331290840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331290851, 1331290860, 1331290854, 1331290844, 1331290847, 1331290840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.52906012535095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:39:22.675094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/58/image_25012025_07_58_02_483372_0000.jpg', '/home/pi/Desktop/images/25012025/07/58/image_25012025_07_58_02_483372_0001.jpg', '/home/pi/Desktop/images/25012025/07/58/image_25012025_07_58_02_483372_0002.jpg', '/home/pi/Desktop/images/25012025/07/58/image_25012025_07_58_02_483372_0003.jpg', '/home/pi/Desktop/images/25012025/07/59/image_25012025_07_59_03_067563_0000.jpg', '/home/pi/Desktop/images/25012025/07/59/image_25012025_07_59_03_067563_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/58/image_25012025_07_58_02_483372_0000.jpg
/home/pi/Desktop/images/25012025/07/58/image_25012025_07_58_02_483372_0001.jpg
/home/pi/Desktop/images/25012025/07/58/image_25012025_07_58_02_483372_0002.jpg
/home/pi/Desktop/images/25012025/07/58/image_25012025_07_58_02_483372_0003.jpg
/home/pi/Desktop/images/25012025/07/59/image_25012025_07_59_03_067563_0000.jpg
/home/pi/Desktop/images/25012025/07/59/image_25012025_07_59_03_067563_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331291358","1331291330","1331291362","1331291356","1331291326","1331291314"],"photo_ids_order":["1331291314","1331291326","1331291330","1331291356","1331291358","1331291362"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/09921a5f524b099535c9a679f07b09e9.jpg","text":"TemporaryFile(/tmp/multipartBody3356826784093691085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794439725,"filename":"image_25012025_07_59_03_067563_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f5d2bf40dace68b3d32a6817212f0c9c.jpg","text":"TemporaryFile(/tmp/multipartBody6872769474852626470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794439725,"filename":"image_25012025_07_58_02_483372_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/929cd2817f2a416d11c51c13e0995fe1.jpg","text":"TemporaryFile(/tmp/multipartBody1870706218629706404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794439725,"filename":"image_25012025_07_59_03_067563_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/986690fff4c02d51e3a0613ad58b5b3a.jpg","text":"TemporaryFile(/tmp/multipartBody1603988655168563175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794439725,"filename":"image_25012025_07_58_02_483372_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/565306173f8981f22c4f175e08f1e051.jpg","text":"TemporaryFile(/tmp/multipartBody1518715031418992631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794439725,"filename":"image_25012025_07_58_02_483372_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2d1b3f4c00af47436736a9c02e76eb8f.jpg","text":"TemporaryFile(/tmp/multipartBody2255828454138711965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794439725,"filename":"image_25012025_07_58_02_483372_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331291330","file1":"1331291326","file0":"1331291314","file4":"1331291358","file5":"1331291362","file3":"1331291356"},"map_files_photo_id_array":[{"photo_id":"1331291362","filename":"file5"},{"photo_id":"1331291330","filename":"file2"},{"photo_id":"1331291358","filename":"file4"},{"photo_id":"1331291326","filename":"file1"},{"photo_id":"1331291314","filename":"file0"},{"photo_id":"1331291356","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331291358":["hashtag1","hashtag2"]},{"1331291330":["hashtag1","hashtag2"]},{"1331291362":["hashtag1","hashtag2"]},{"1331291356":["hashtag1","hashtag2"]},{"1331291326":["hashtag1","hashtag2"]},{"1331291314":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331291358, 1331291330, 1331291362, 1331291356, 1331291326, 1331291314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.3462495803833 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:40:22.327274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/07/59/image_25012025_07_59_03_067563_0002.jpg', '/home/pi/Desktop/images/25012025/07/59/image_25012025_07_59_03_067563_0003.jpg', '/home/pi/Desktop/images/25012025/08/00/image_25012025_08_00_02_171845_0000.jpg', '/home/pi/Desktop/images/25012025/08/00/image_25012025_08_00_02_171845_0001.jpg', '/home/pi/Desktop/images/25012025/08/00/image_25012025_08_00_02_171845_0002.jpg', '/home/pi/Desktop/images/25012025/08/00/image_25012025_08_00_02_171845_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/07/59/image_25012025_07_59_03_067563_0002.jpg
/home/pi/Desktop/images/25012025/07/59/image_25012025_07_59_03_067563_0003.jpg
/home/pi/Desktop/images/25012025/08/00/image_25012025_08_00_02_171845_0000.jpg
/home/pi/Desktop/images/25012025/08/00/image_25012025_08_00_02_171845_0001.jpg
/home/pi/Desktop/images/25012025/08/00/image_25012025_08_00_02_171845_0002.jpg
/home/pi/Desktop/images/25012025/08/00/image_25012025_08_00_02_171845_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":["1331291598","1331291547","1331291562","1331291601","1331291384","1331291458"],"photo_ids_order":["1331291384","1331291458","1331291547","1331291562","1331291598","1331291601"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c05e954c86a1ce26050b92fde1c0ca59.jpg","text":"TemporaryFile(/tmp/multipartBody8569951544041679871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794499372,"filename":"image_25012025_08_00_02_171845_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0a7e9fe048e40691089b61e620a36429.jpg","text":"TemporaryFile(/tmp/multipartBody7161479655993336978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794499372,"filename":"image_25012025_08_00_02_171845_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/918263f4330ef576ce17312679e4a1b8.jpg","text":"TemporaryFile(/tmp/multipartBody3362007415550775525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794499372,"filename":"image_25012025_08_00_02_171845_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/28dde7a3e1652bc995290e81b0a2e47a.jpg","text":"TemporaryFile(/tmp/multipartBody3402820173796481947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794499372,"filename":"image_25012025_08_00_02_171845_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0115186d2582ea203d46786d43a3468f.jpg","text":"TemporaryFile(/tmp/multipartBody7686786002862094822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794499372,"filename":"image_25012025_07_59_03_067563_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d7cf5017a2dd6d2089fe9b65c497d8f2.jpg","text":"TemporaryFile(/tmp/multipartBody462908470701704671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794499372,"filename":"image_25012025_07_59_03_067563_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331291547","file1":"1331291458","file0":"1331291384","file4":"1331291598","file5":"1331291601","file3":"1331291562"},"map_files_photo_id_array":[{"photo_id":"1331291601","filename":"file5"},{"photo_id":"1331291547","filename":"file2"},{"photo_id":"1331291598","filename":"file4"},{"photo_id":"1331291458","filename":"file1"},{"photo_id":"1331291384","filename":"file0"},{"photo_id":"1331291562","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331291598":["hashtag1","hashtag2"]},{"1331291547":["hashtag1","hashtag2"]},{"1331291562":["hashtag1","hashtag2"]},{"1331291601":["hashtag1","hashtag2"]},{"1331291384":["hashtag1","hashtag2"]},{"1331291458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331291598, 1331291547, 1331291562, 1331291601, 1331291384, 1331291458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.03122663497925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:42:02.808477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/01/image_25012025_08_01_02_766424_0000.jpg', '/home/pi/Desktop/images/25012025/08/01/image_25012025_08_01_02_766424_0001.jpg', '/home/pi/Desktop/images/25012025/08/01/image_25012025_08_01_02_766424_0002.jpg', '/home/pi/Desktop/images/25012025/08/01/image_25012025_08_01_02_766424_0003.jpg', '/home/pi/Desktop/images/25012025/08/02/image_25012025_08_02_02_282214_0000.jpg', '/home/pi/Desktop/images/25012025/08/02/image_25012025_08_02_02_282214_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/01/image_25012025_08_01_02_766424_0000.jpg
/home/pi/Desktop/images/25012025/08/01/image_25012025_08_01_02_766424_0001.jpg
/home/pi/Desktop/images/25012025/08/01/image_25012025_08_01_02_766424_0002.jpg
/home/pi/Desktop/images/25012025/08/01/image_25012025_08_01_02_766424_0003.jpg
/home/pi/Desktop/images/25012025/08/02/image_25012025_08_02_02_282214_0000.jpg
/home/pi/Desktop/images/25012025/08/02/image_25012025_08_02_02_282214_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: 16.273606061935425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:42:22.323879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/01/image_25012025_08_01_02_766424_0000.jpg', '/home/pi/Desktop/images/25012025/08/01/image_25012025_08_01_02_766424_0001.jpg', '/home/pi/Desktop/images/25012025/08/01/image_25012025_08_01_02_766424_0002.jpg', '/home/pi/Desktop/images/25012025/08/01/image_25012025_08_01_02_766424_0003.jpg', '/home/pi/Desktop/images/25012025/08/02/image_25012025_08_02_02_282214_0000.jpg', '/home/pi/Desktop/images/25012025/08/02/image_25012025_08_02_02_282214_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/01/image_25012025_08_01_02_766424_0000.jpg
/home/pi/Desktop/images/25012025/08/01/image_25012025_08_01_02_766424_0001.jpg
/home/pi/Desktop/images/25012025/08/01/image_25012025_08_01_02_766424_0002.jpg
/home/pi/Desktop/images/25012025/08/01/image_25012025_08_01_02_766424_0003.jpg
/home/pi/Desktop/images/25012025/08/02/image_25012025_08_02_02_282214_0000.jpg
/home/pi/Desktop/images/25012025/08/02/image_25012025_08_02_02_282214_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":["1331291724","1331291721","1331291718","1331291714","1331291708","1331291728"],"photo_ids_order":["1331291708","1331291714","1331291718","1331291721","1331291724","1331291728"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/da11950e5c14120c793490a2be4f203f.jpg","text":"TemporaryFile(/tmp/multipartBody6742148616890095169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794618956,"filename":"image_25012025_08_02_02_282214_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6721fadcd27c5767bd46e58f2559ba58.jpg","text":"TemporaryFile(/tmp/multipartBody8162890508974638577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794618956,"filename":"image_25012025_08_01_02_766424_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/467874e8e1497b81d2e69c9a55a016f1.jpg","text":"TemporaryFile(/tmp/multipartBody5711007025703523091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794618956,"filename":"image_25012025_08_01_02_766424_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/695a6168b927accd1cd92c9a82683e72.jpg","text":"TemporaryFile(/tmp/multipartBody7487001832782330506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794618956,"filename":"image_25012025_08_01_02_766424_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e405848927955d92379653c8da040f98.jpg","text":"TemporaryFile(/tmp/multipartBody8970918251278121307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794618956,"filename":"image_25012025_08_01_02_766424_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/012a6b07b0633177d75a0f3421a171ec.jpg","text":"TemporaryFile(/tmp/multipartBody6664455704437989978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794618956,"filename":"image_25012025_08_02_02_282214_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331291718","file1":"1331291714","file0":"1331291708","file4":"1331291724","file5":"1331291728","file3":"1331291721"},"map_files_photo_id_array":[{"photo_id":"1331291728","filename":"file5"},{"photo_id":"1331291718","filename":"file2"},{"photo_id":"1331291724","filename":"file4"},{"photo_id":"1331291714","filename":"file1"},{"photo_id":"1331291708","filename":"file0"},{"photo_id":"1331291721","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331291724":["hashtag1","hashtag2"]},{"1331291721":["hashtag1","hashtag2"]},{"1331291718":["hashtag1","hashtag2"]},{"1331291714":["hashtag1","hashtag2"]},{"1331291708":["hashtag1","hashtag2"]},{"1331291728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331291724, 1331291721, 1331291718, 1331291714, 1331291708, 1331291728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.30325698852539 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:44:02.872852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/02/image_25012025_08_02_02_282214_0002.jpg', '/home/pi/Desktop/images/25012025/08/02/image_25012025_08_02_02_282214_0003.jpg', '/home/pi/Desktop/images/25012025/08/03/image_25012025_08_03_02_998910_0000.jpg', '/home/pi/Desktop/images/25012025/08/03/image_25012025_08_03_02_998910_0001.jpg', '/home/pi/Desktop/images/25012025/08/03/image_25012025_08_03_02_998910_0002.jpg', '/home/pi/Desktop/images/25012025/08/03/image_25012025_08_03_02_998910_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/02/image_25012025_08_02_02_282214_0002.jpg
/home/pi/Desktop/images/25012025/08/02/image_25012025_08_02_02_282214_0003.jpg
/home/pi/Desktop/images/25012025/08/03/image_25012025_08_03_02_998910_0000.jpg
/home/pi/Desktop/images/25012025/08/03/image_25012025_08_03_02_998910_0001.jpg
/home/pi/Desktop/images/25012025/08/03/image_25012025_08_03_02_998910_0002.jpg
/home/pi/Desktop/images/25012025/08/03/image_25012025_08_03_02_998910_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331292150","1331291931","1331291956","1331291947","1331292072","1331291923"],"photo_ids_order":["1331291923","1331291931","1331291947","1331291956","1331292072","1331292150"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5fa84bb27b46bb234d241189acee41af.jpg","text":"TemporaryFile(/tmp/multipartBody9208687076544032589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794720005,"filename":"image_25012025_08_03_02_998910_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0fec2bd30584bc0e09bbaa5c0033cd95.jpg","text":"TemporaryFile(/tmp/multipartBody415665005231214279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794720005,"filename":"image_25012025_08_02_02_282214_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ccfe606ee0d3c74753153b177947a3bf.jpg","text":"TemporaryFile(/tmp/multipartBody537889439658480431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794720005,"filename":"image_25012025_08_03_02_998910_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/98272656d0a039c7a178fc110d7964e4.jpg","text":"TemporaryFile(/tmp/multipartBody6215611328040334260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794720005,"filename":"image_25012025_08_03_02_998910_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aab9648fb5d91604744171c2130c632f.jpg","text":"TemporaryFile(/tmp/multipartBody2103226397852508686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794720005,"filename":"image_25012025_08_03_02_998910_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/abbcfff94efaf376c2ed50116d640577.jpg","text":"TemporaryFile(/tmp/multipartBody4831960646486445924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794720005,"filename":"image_25012025_08_02_02_282214_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331291947","file1":"1331291931","file0":"1331291923","file4":"1331292072","file5":"1331292150","file3":"1331291956"},"map_files_photo_id_array":[{"photo_id":"1331292150","filename":"file5"},{"photo_id":"1331291947","filename":"file2"},{"photo_id":"1331292072","filename":"file4"},{"photo_id":"1331291931","filename":"file1"},{"photo_id":"1331291923","filename":"file0"},{"photo_id":"1331291956","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331292150":["hashtag1","hashtag2"]},{"1331291931":["hashtag1","hashtag2"]},{"1331291956":["hashtag1","hashtag2"]},{"1331291947":["hashtag1","hashtag2"]},{"1331292072":["hashtag1","hashtag2"]},{"1331291923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331292150, 1331291931, 1331291956, 1331291947, 1331292072, 1331291923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.27625060081482 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:45:02.609872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/04/image_25012025_08_04_02_516312_0000.jpg', '/home/pi/Desktop/images/25012025/08/04/image_25012025_08_04_02_516312_0001.jpg', '/home/pi/Desktop/images/25012025/08/04/image_25012025_08_04_02_516312_0002.jpg', '/home/pi/Desktop/images/25012025/08/04/image_25012025_08_04_02_516312_0003.jpg', '/home/pi/Desktop/images/25012025/08/05/image_25012025_08_05_03_017793_0000.jpg', '/home/pi/Desktop/images/25012025/08/05/image_25012025_08_05_03_017793_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/04/image_25012025_08_04_02_516312_0000.jpg
/home/pi/Desktop/images/25012025/08/04/image_25012025_08_04_02_516312_0001.jpg
/home/pi/Desktop/images/25012025/08/04/image_25012025_08_04_02_516312_0002.jpg
/home/pi/Desktop/images/25012025/08/04/image_25012025_08_04_02_516312_0003.jpg
/home/pi/Desktop/images/25012025/08/05/image_25012025_08_05_03_017793_0000.jpg
/home/pi/Desktop/images/25012025/08/05/image_25012025_08_05_03_017793_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331292258","1331292278","1331292265","1331292307","1331292273","1331292267"],"photo_ids_order":["1331292258","1331292265","1331292267","1331292273","1331292278","1331292307"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cc1affe6736444c6c9009d4172125273.jpg","text":"TemporaryFile(/tmp/multipartBody7400578092543829551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794779484,"filename":"image_25012025_08_04_02_516312_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ad84751103bdabc847dbf89a914528df.jpg","text":"TemporaryFile(/tmp/multipartBody3212844091225782006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794779484,"filename":"image_25012025_08_05_03_017793_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b59740d6de0f3917daf4a901bc1dda6d.jpg","text":"TemporaryFile(/tmp/multipartBody5254038995490881787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794779484,"filename":"image_25012025_08_04_02_516312_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bf45094a8c1f52dae8778ac2aa7e7d43.jpg","text":"TemporaryFile(/tmp/multipartBody6769139253993158717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794779484,"filename":"image_25012025_08_05_03_017793_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/de821d832755e05dd5608bc5b3713657.jpg","text":"TemporaryFile(/tmp/multipartBody7771935898745880150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794779484,"filename":"image_25012025_08_04_02_516312_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c78e005d90055ccedd2cfb2e2aef1cda.jpg","text":"TemporaryFile(/tmp/multipartBody4770076184772042378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794779484,"filename":"image_25012025_08_04_02_516312_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331292267","file1":"1331292265","file0":"1331292258","file4":"1331292278","file5":"1331292307","file3":"1331292273"},"map_files_photo_id_array":[{"photo_id":"1331292307","filename":"file5"},{"photo_id":"1331292267","filename":"file2"},{"photo_id":"1331292278","filename":"file4"},{"photo_id":"1331292265","filename":"file1"},{"photo_id":"1331292258","filename":"file0"},{"photo_id":"1331292273","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331292258":["hashtag1","hashtag2"]},{"1331292278":["hashtag1","hashtag2"]},{"1331292265":["hashtag1","hashtag2"]},{"1331292307":["hashtag1","hashtag2"]},{"1331292273":["hashtag1","hashtag2"]},{"1331292267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331292258, 1331292278, 1331292265, 1331292307, 1331292273, 1331292267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.2280113697052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:46:02.861918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/05/image_25012025_08_05_03_017793_0002.jpg', '/home/pi/Desktop/images/25012025/08/05/image_25012025_08_05_03_017793_0003.jpg', '/home/pi/Desktop/images/25012025/08/06/image_25012025_08_06_02_480434_0000.jpg', '/home/pi/Desktop/images/25012025/08/06/image_25012025_08_06_02_480434_0001.jpg', '/home/pi/Desktop/images/25012025/08/06/image_25012025_08_06_02_480434_0002.jpg', '/home/pi/Desktop/images/25012025/08/06/image_25012025_08_06_02_480434_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/05/image_25012025_08_05_03_017793_0002.jpg
/home/pi/Desktop/images/25012025/08/05/image_25012025_08_05_03_017793_0003.jpg
/home/pi/Desktop/images/25012025/08/06/image_25012025_08_06_02_480434_0000.jpg
/home/pi/Desktop/images/25012025/08/06/image_25012025_08_06_02_480434_0001.jpg
/home/pi/Desktop/images/25012025/08/06/image_25012025_08_06_02_480434_0002.jpg
/home/pi/Desktop/images/25012025/08/06/image_25012025_08_06_02_480434_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331292341","1331292338","1331292337","1331292346","1331292357","1331292351"],"photo_ids_order":["1331292337","1331292338","1331292341","1331292346","1331292351","1331292357"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/049fc5bda973510fa5976f86ee3441ce.jpg","text":"TemporaryFile(/tmp/multipartBody1622596145226795075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794839585,"filename":"image_25012025_08_06_02_480434_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a41a71239a8700ae3a0c37da273fe058.jpg","text":"TemporaryFile(/tmp/multipartBody103158404145823978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794839585,"filename":"image_25012025_08_05_03_017793_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3ebd7d55f4af6c7c6fe6caf632460d77.jpg","text":"TemporaryFile(/tmp/multipartBody5707521058831519689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794839585,"filename":"image_25012025_08_05_03_017793_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5041447923d3ea87476eb1d3e7b9f4e2.jpg","text":"TemporaryFile(/tmp/multipartBody1097257366518229674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794839585,"filename":"image_25012025_08_06_02_480434_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aaa6a4b5fae9be16214c00885591e499.jpg","text":"TemporaryFile(/tmp/multipartBody7585282464391457931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794839585,"filename":"image_25012025_08_06_02_480434_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/45e88d2e0c61c4fabc2546f9b9517737.jpg","text":"TemporaryFile(/tmp/multipartBody8128261263260006199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794839585,"filename":"image_25012025_08_06_02_480434_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331292341","file1":"1331292338","file0":"1331292337","file4":"1331292351","file5":"1331292357","file3":"1331292346"},"map_files_photo_id_array":[{"photo_id":"1331292357","filename":"file5"},{"photo_id":"1331292341","filename":"file2"},{"photo_id":"1331292351","filename":"file4"},{"photo_id":"1331292338","filename":"file1"},{"photo_id":"1331292337","filename":"file0"},{"photo_id":"1331292346","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331292341":["hashtag1","hashtag2"]},{"1331292338":["hashtag1","hashtag2"]},{"1331292337":["hashtag1","hashtag2"]},{"1331292346":["hashtag1","hashtag2"]},{"1331292357":["hashtag1","hashtag2"]},{"1331292351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331292341, 1331292338, 1331292337, 1331292346, 1331292357, 1331292351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.95477104187012 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:47:02.747894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/07/image_25012025_08_07_02_964740_0000.jpg', '/home/pi/Desktop/images/25012025/08/07/image_25012025_08_07_02_964740_0001.jpg', '/home/pi/Desktop/images/25012025/08/07/image_25012025_08_07_02_964740_0002.jpg', '/home/pi/Desktop/images/25012025/08/07/image_25012025_08_07_02_964740_0003.jpg', '/home/pi/Desktop/images/25012025/08/08/image_25012025_08_08_02_510386_0000.jpg', '/home/pi/Desktop/images/25012025/08/08/image_25012025_08_08_02_510386_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/07/image_25012025_08_07_02_964740_0000.jpg
/home/pi/Desktop/images/25012025/08/07/image_25012025_08_07_02_964740_0001.jpg
/home/pi/Desktop/images/25012025/08/07/image_25012025_08_07_02_964740_0002.jpg
/home/pi/Desktop/images/25012025/08/07/image_25012025_08_07_02_964740_0003.jpg
/home/pi/Desktop/images/25012025/08/08/image_25012025_08_08_02_510386_0000.jpg
/home/pi/Desktop/images/25012025/08/08/image_25012025_08_08_02_510386_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331292423","1331292417","1331292434","1331292428","1331292412","1331292438"],"photo_ids_order":["1331292412","1331292417","1331292423","1331292428","1331292434","1331292438"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a3959ca1bed6dfef7b7144543c7ad57d.jpg","text":"TemporaryFile(/tmp/multipartBody9026018762262059129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794899702,"filename":"image_25012025_08_07_02_964740_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/668f9f07fb001a749c5d9650a9e12b16.jpg","text":"TemporaryFile(/tmp/multipartBody1662549049418182583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794899702,"filename":"image_25012025_08_07_02_964740_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f179c92377e33371369dabdc5dfaf838.jpg","text":"TemporaryFile(/tmp/multipartBody7386179949914471771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794899702,"filename":"image_25012025_08_08_02_510386_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7630a4f088aa2d6caae9d02e3ebf6892.jpg","text":"TemporaryFile(/tmp/multipartBody7237870871708110964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794899702,"filename":"image_25012025_08_07_02_964740_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/acbcd026f1f23adb7b7333bfc7c91976.jpg","text":"TemporaryFile(/tmp/multipartBody763213231782346278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794899702,"filename":"image_25012025_08_07_02_964740_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d07e23f6a6281cf95c622a17d46b0585.jpg","text":"TemporaryFile(/tmp/multipartBody1136539428982015728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794899702,"filename":"image_25012025_08_08_02_510386_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331292423","file1":"1331292417","file0":"1331292412","file4":"1331292434","file5":"1331292438","file3":"1331292428"},"map_files_photo_id_array":[{"photo_id":"1331292438","filename":"file5"},{"photo_id":"1331292423","filename":"file2"},{"photo_id":"1331292434","filename":"file4"},{"photo_id":"1331292417","filename":"file1"},{"photo_id":"1331292412","filename":"file0"},{"photo_id":"1331292428","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331292423":["hashtag1","hashtag2"]},{"1331292417":["hashtag1","hashtag2"]},{"1331292434":["hashtag1","hashtag2"]},{"1331292428":["hashtag1","hashtag2"]},{"1331292412":["hashtag1","hashtag2"]},{"1331292438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331292423, 1331292417, 1331292434, 1331292428, 1331292412, 1331292438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.03888487815857 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:48:02.203731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/08/image_25012025_08_08_02_510386_0002.jpg', '/home/pi/Desktop/images/25012025/08/08/image_25012025_08_08_02_510386_0003.jpg', '/home/pi/Desktop/images/25012025/08/09/image_25012025_08_09_03_011691_0000.jpg', '/home/pi/Desktop/images/25012025/08/09/image_25012025_08_09_03_011691_0001.jpg', '/home/pi/Desktop/images/25012025/08/09/image_25012025_08_09_03_011691_0002.jpg', '/home/pi/Desktop/images/25012025/08/09/image_25012025_08_09_03_011691_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/08/image_25012025_08_08_02_510386_0002.jpg
/home/pi/Desktop/images/25012025/08/08/image_25012025_08_08_02_510386_0003.jpg
/home/pi/Desktop/images/25012025/08/09/image_25012025_08_09_03_011691_0000.jpg
/home/pi/Desktop/images/25012025/08/09/image_25012025_08_09_03_011691_0001.jpg
/home/pi/Desktop/images/25012025/08/09/image_25012025_08_09_03_011691_0002.jpg
/home/pi/Desktop/images/25012025/08/09/image_25012025_08_09_03_011691_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331292473","1331292455","1331292451","1331292469","1331292460","1331292465"],"photo_ids_order":["1331292451","1331292455","1331292460","1331292465","1331292469","1331292473"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/07ef0980dc691885904f38d293ec65b8.jpg","text":"TemporaryFile(/tmp/multipartBody2467681641611369271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794959713,"filename":"image_25012025_08_09_03_011691_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d387abb546a627b958d71a52e32edfb2.jpg","text":"TemporaryFile(/tmp/multipartBody5694897356267807899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794959713,"filename":"image_25012025_08_08_02_510386_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/55603701ecece377dda170f367eeabd8.jpg","text":"TemporaryFile(/tmp/multipartBody4059405320558908935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794959713,"filename":"image_25012025_08_08_02_510386_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4d9c6e55364b8dcae08bf828f82be70b.jpg","text":"TemporaryFile(/tmp/multipartBody6532857521122619390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794959713,"filename":"image_25012025_08_09_03_011691_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c54c10fb3e8491b6d6eba6729b455d6.jpg","text":"TemporaryFile(/tmp/multipartBody6284450478975855705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794959713,"filename":"image_25012025_08_09_03_011691_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f585bdfb34d3f53ea77d19f025a6edfb.jpg","text":"TemporaryFile(/tmp/multipartBody8330658358546561581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737794959713,"filename":"image_25012025_08_09_03_011691_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331292460","file1":"1331292455","file0":"1331292451","file4":"1331292469","file5":"1331292473","file3":"1331292465"},"map_files_photo_id_array":[{"photo_id":"1331292473","filename":"file5"},{"photo_id":"1331292460","filename":"file2"},{"photo_id":"1331292469","filename":"file4"},{"photo_id":"1331292455","filename":"file1"},{"photo_id":"1331292451","filename":"file0"},{"photo_id":"1331292465","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331292473":["hashtag1","hashtag2"]},{"1331292455":["hashtag1","hashtag2"]},{"1331292451":["hashtag1","hashtag2"]},{"1331292469":["hashtag1","hashtag2"]},{"1331292460":["hashtag1","hashtag2"]},{"1331292465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331292473, 1331292455, 1331292451, 1331292469, 1331292460, 1331292465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.58244514465332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:49:02.911150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/10/image_25012025_08_10_02_509977_0000.jpg', '/home/pi/Desktop/images/25012025/08/10/image_25012025_08_10_02_509977_0001.jpg', '/home/pi/Desktop/images/25012025/08/10/image_25012025_08_10_02_509977_0002.jpg', '/home/pi/Desktop/images/25012025/08/10/image_25012025_08_10_02_509977_0003.jpg', '/home/pi/Desktop/images/25012025/08/11/image_25012025_08_11_03_031818_0000.jpg', '/home/pi/Desktop/images/25012025/08/11/image_25012025_08_11_03_031818_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/10/image_25012025_08_10_02_509977_0000.jpg
/home/pi/Desktop/images/25012025/08/10/image_25012025_08_10_02_509977_0001.jpg
/home/pi/Desktop/images/25012025/08/10/image_25012025_08_10_02_509977_0002.jpg
/home/pi/Desktop/images/25012025/08/10/image_25012025_08_10_02_509977_0003.jpg
/home/pi/Desktop/images/25012025/08/11/image_25012025_08_11_03_031818_0000.jpg
/home/pi/Desktop/images/25012025/08/11/image_25012025_08_11_03_031818_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331293181","1331293256","1331293211","1331293339","1331293267","1331293252"],"photo_ids_order":["1331293181","1331293211","1331293252","1331293256","1331293267","1331293339"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d5b0b02a3f8ea560c001151738c8a424.jpg","text":"TemporaryFile(/tmp/multipartBody6851819075353873515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795020315,"filename":"image_25012025_08_10_02_509977_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2fa15acfc431f4d6d7a98b43ea059193.jpg","text":"TemporaryFile(/tmp/multipartBody8802297534738072887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795020315,"filename":"image_25012025_08_10_02_509977_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ae7c0e21795c323e507f8ff59fcb0e96.jpg","text":"TemporaryFile(/tmp/multipartBody8085741181509670040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795020315,"filename":"image_25012025_08_10_02_509977_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ce1f8c4fbeda6fa666056f85ad8b21d0.jpg","text":"TemporaryFile(/tmp/multipartBody1898236171433545440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795020315,"filename":"image_25012025_08_11_03_031818_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/000e1f4f2dd5ef99c760d98eab0b0cf4.jpg","text":"TemporaryFile(/tmp/multipartBody6576379861998973472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795020315,"filename":"image_25012025_08_11_03_031818_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3c37f4f1a2c427723fd4706603b94491.jpg","text":"TemporaryFile(/tmp/multipartBody1511058999024581459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795020315,"filename":"image_25012025_08_10_02_509977_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331293252","file1":"1331293211","file0":"1331293181","file4":"1331293267","file5":"1331293339","file3":"1331293256"},"map_files_photo_id_array":[{"photo_id":"1331293339","filename":"file5"},{"photo_id":"1331293252","filename":"file2"},{"photo_id":"1331293267","filename":"file4"},{"photo_id":"1331293211","filename":"file1"},{"photo_id":"1331293181","filename":"file0"},{"photo_id":"1331293256","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331293181":["hashtag1","hashtag2"]},{"1331293256":["hashtag1","hashtag2"]},{"1331293211":["hashtag1","hashtag2"]},{"1331293339":["hashtag1","hashtag2"]},{"1331293267":["hashtag1","hashtag2"]},{"1331293252":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331293181, 1331293256, 1331293211, 1331293339, 1331293267, 1331293252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.75934720039368 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:50:02.446246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/11/image_25012025_08_11_03_031818_0002.jpg', '/home/pi/Desktop/images/25012025/08/11/image_25012025_08_11_03_031818_0003.jpg', '/home/pi/Desktop/images/25012025/08/12/image_25012025_08_12_02_558124_0000.jpg', '/home/pi/Desktop/images/25012025/08/12/image_25012025_08_12_02_558124_0001.jpg', '/home/pi/Desktop/images/25012025/08/12/image_25012025_08_12_02_558124_0002.jpg', '/home/pi/Desktop/images/25012025/08/12/image_25012025_08_12_02_558124_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/11/image_25012025_08_11_03_031818_0002.jpg
/home/pi/Desktop/images/25012025/08/11/image_25012025_08_11_03_031818_0003.jpg
/home/pi/Desktop/images/25012025/08/12/image_25012025_08_12_02_558124_0000.jpg
/home/pi/Desktop/images/25012025/08/12/image_25012025_08_12_02_558124_0001.jpg
/home/pi/Desktop/images/25012025/08/12/image_25012025_08_12_02_558124_0002.jpg
/home/pi/Desktop/images/25012025/08/12/image_25012025_08_12_02_558124_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.75544023513794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:50:21.919258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/11/image_25012025_08_11_03_031818_0002.jpg', '/home/pi/Desktop/images/25012025/08/11/image_25012025_08_11_03_031818_0003.jpg', '/home/pi/Desktop/images/25012025/08/12/image_25012025_08_12_02_558124_0000.jpg', '/home/pi/Desktop/images/25012025/08/12/image_25012025_08_12_02_558124_0001.jpg', '/home/pi/Desktop/images/25012025/08/12/image_25012025_08_12_02_558124_0002.jpg', '/home/pi/Desktop/images/25012025/08/12/image_25012025_08_12_02_558124_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/11/image_25012025_08_11_03_031818_0002.jpg
/home/pi/Desktop/images/25012025/08/11/image_25012025_08_11_03_031818_0003.jpg
/home/pi/Desktop/images/25012025/08/12/image_25012025_08_12_02_558124_0000.jpg
/home/pi/Desktop/images/25012025/08/12/image_25012025_08_12_02_558124_0001.jpg
/home/pi/Desktop/images/25012025/08/12/image_25012025_08_12_02_558124_0002.jpg
/home/pi/Desktop/images/25012025/08/12/image_25012025_08_12_02_558124_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":["1331294698","1331294725","1331294586","1331294565","1331294736","1331294741"],"photo_ids_order":["1331294565","1331294586","1331294698","1331294725","1331294736","1331294741"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/78adca3ad78aae2809bb383b96a0e9c9.jpg","text":"TemporaryFile(/tmp/multipartBody2669005139772314134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795099063,"filename":"image_25012025_08_12_02_558124_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1b87a20f2911d5f36dd9f51c5876369b.jpg","text":"TemporaryFile(/tmp/multipartBody6158573950970413167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795099063,"filename":"image_25012025_08_12_02_558124_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/44923a773062b8b1912212023c869fab.jpg","text":"TemporaryFile(/tmp/multipartBody8699863794307943786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795099063,"filename":"image_25012025_08_11_03_031818_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a139c89cc56489eed3b0153e6cf21a36.jpg","text":"TemporaryFile(/tmp/multipartBody2270450549686774936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795099063,"filename":"image_25012025_08_11_03_031818_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/391cdb167a96009671a1de5178f837a0.jpg","text":"TemporaryFile(/tmp/multipartBody7308575550290754144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795099063,"filename":"image_25012025_08_12_02_558124_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fd83dd6512f949a0d013033b1d364875.jpg","text":"TemporaryFile(/tmp/multipartBody3210133432792967923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795099063,"filename":"image_25012025_08_12_02_558124_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331294698","file1":"1331294586","file0":"1331294565","file4":"1331294736","file5":"1331294741","file3":"1331294725"},"map_files_photo_id_array":[{"photo_id":"1331294741","filename":"file5"},{"photo_id":"1331294698","filename":"file2"},{"photo_id":"1331294736","filename":"file4"},{"photo_id":"1331294586","filename":"file1"},{"photo_id":"1331294565","filename":"file0"},{"photo_id":"1331294725","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331294698":["hashtag1","hashtag2"]},{"1331294725":["hashtag1","hashtag2"]},{"1331294586":["hashtag1","hashtag2"]},{"1331294565":["hashtag1","hashtag2"]},{"1331294736":["hashtag1","hashtag2"]},{"1331294741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331294698, 1331294725, 1331294586, 1331294565, 1331294736, 1331294741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.881481647491455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:52:02.325430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/13/image_25012025_08_13_02_268853_0000.jpg', '/home/pi/Desktop/images/25012025/08/13/image_25012025_08_13_02_268853_0001.jpg', '/home/pi/Desktop/images/25012025/08/13/image_25012025_08_13_02_268853_0002.jpg', '/home/pi/Desktop/images/25012025/08/13/image_25012025_08_13_02_268853_0003.jpg', '/home/pi/Desktop/images/25012025/08/14/image_25012025_08_14_02_813434_0000.jpg', '/home/pi/Desktop/images/25012025/08/14/image_25012025_08_14_02_813434_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/13/image_25012025_08_13_02_268853_0000.jpg
/home/pi/Desktop/images/25012025/08/13/image_25012025_08_13_02_268853_0001.jpg
/home/pi/Desktop/images/25012025/08/13/image_25012025_08_13_02_268853_0002.jpg
/home/pi/Desktop/images/25012025/08/13/image_25012025_08_13_02_268853_0003.jpg
/home/pi/Desktop/images/25012025/08/14/image_25012025_08_14_02_813434_0000.jpg
/home/pi/Desktop/images/25012025/08/14/image_25012025_08_14_02_813434_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331295364","1331295346","1331295127","1331295112","1331295234","1331295122"],"photo_ids_order":["1331295112","1331295122","1331295127","1331295234","1331295346","1331295364"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/df0d4caf0c18feea4e757cf54d851591.jpg","text":"TemporaryFile(/tmp/multipartBody9183702074744507215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795199448,"filename":"image_25012025_08_14_02_813434_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b96c459196226372411c46f86adde48e.jpg","text":"TemporaryFile(/tmp/multipartBody4718495707185174886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795199448,"filename":"image_25012025_08_14_02_813434_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dac74d56f931349162d76bb5b5aa7008.jpg","text":"TemporaryFile(/tmp/multipartBody1358780227283350689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795199448,"filename":"image_25012025_08_13_02_268853_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c8c533db74e857f69f52e3babfc4d774.jpg","text":"TemporaryFile(/tmp/multipartBody8389338105032268303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795199448,"filename":"image_25012025_08_13_02_268853_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b23a57543844ec72687b1d80b9c21507.jpg","text":"TemporaryFile(/tmp/multipartBody1296584220190602573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795199448,"filename":"image_25012025_08_13_02_268853_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a3bd9e165fdbf423a9ab69ef700403c3.jpg","text":"TemporaryFile(/tmp/multipartBody710598523304523102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795199448,"filename":"image_25012025_08_13_02_268853_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331295127","file1":"1331295122","file0":"1331295112","file4":"1331295346","file5":"1331295364","file3":"1331295234"},"map_files_photo_id_array":[{"photo_id":"1331295364","filename":"file5"},{"photo_id":"1331295127","filename":"file2"},{"photo_id":"1331295346","filename":"file4"},{"photo_id":"1331295122","filename":"file1"},{"photo_id":"1331295112","filename":"file0"},{"photo_id":"1331295234","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331295364":["hashtag1","hashtag2"]},{"1331295346":["hashtag1","hashtag2"]},{"1331295127":["hashtag1","hashtag2"]},{"1331295112":["hashtag1","hashtag2"]},{"1331295234":["hashtag1","hashtag2"]},{"1331295122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331295364, 1331295346, 1331295127, 1331295112, 1331295234, 1331295122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.40356183052063 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:53:03.000567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/14/image_25012025_08_14_02_813434_0002.jpg', '/home/pi/Desktop/images/25012025/08/14/image_25012025_08_14_02_813434_0003.jpg', '/home/pi/Desktop/images/25012025/08/15/image_25012025_08_15_02_542436_0000.jpg', '/home/pi/Desktop/images/25012025/08/15/image_25012025_08_15_02_542436_0001.jpg', '/home/pi/Desktop/images/25012025/08/15/image_25012025_08_15_02_542436_0002.jpg', '/home/pi/Desktop/images/25012025/08/15/image_25012025_08_15_02_542436_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/14/image_25012025_08_14_02_813434_0002.jpg
/home/pi/Desktop/images/25012025/08/14/image_25012025_08_14_02_813434_0003.jpg
/home/pi/Desktop/images/25012025/08/15/image_25012025_08_15_02_542436_0000.jpg
/home/pi/Desktop/images/25012025/08/15/image_25012025_08_15_02_542436_0001.jpg
/home/pi/Desktop/images/25012025/08/15/image_25012025_08_15_02_542436_0002.jpg
/home/pi/Desktop/images/25012025/08/15/image_25012025_08_15_02_542436_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.559402227401733 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:53:22.330595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/14/image_25012025_08_14_02_813434_0002.jpg', '/home/pi/Desktop/images/25012025/08/14/image_25012025_08_14_02_813434_0003.jpg', '/home/pi/Desktop/images/25012025/08/15/image_25012025_08_15_02_542436_0000.jpg', '/home/pi/Desktop/images/25012025/08/15/image_25012025_08_15_02_542436_0001.jpg', '/home/pi/Desktop/images/25012025/08/15/image_25012025_08_15_02_542436_0002.jpg', '/home/pi/Desktop/images/25012025/08/15/image_25012025_08_15_02_542436_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/14/image_25012025_08_14_02_813434_0002.jpg
/home/pi/Desktop/images/25012025/08/14/image_25012025_08_14_02_813434_0003.jpg
/home/pi/Desktop/images/25012025/08/15/image_25012025_08_15_02_542436_0000.jpg
/home/pi/Desktop/images/25012025/08/15/image_25012025_08_15_02_542436_0001.jpg
/home/pi/Desktop/images/25012025/08/15/image_25012025_08_15_02_542436_0002.jpg
/home/pi/Desktop/images/25012025/08/15/image_25012025_08_15_02_542436_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331295448","1331295424","1331295489","1331295438","1331295453","1331295429"],"photo_ids_order":["1331295424","1331295429","1331295438","1331295448","1331295453","1331295489"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f2b4453b678eb0591c55199eb9243e58.jpg","text":"TemporaryFile(/tmp/multipartBody2809318749979542366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795279222,"filename":"image_25012025_08_15_02_542436_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ca381d65d25a7744059ac0a4c54270fb.jpg","text":"TemporaryFile(/tmp/multipartBody3182023926131922238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795279222,"filename":"image_25012025_08_14_02_813434_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4509e1ea2e47f83d0f5212f7ad38f462.jpg","text":"TemporaryFile(/tmp/multipartBody6197102397843105147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795279222,"filename":"image_25012025_08_15_02_542436_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4b242692f9b7c57c502317d43e34ddc8.jpg","text":"TemporaryFile(/tmp/multipartBody1207177985553710510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795279222,"filename":"image_25012025_08_15_02_542436_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bce4e32c44dcb690058f945b2b3dfede.jpg","text":"TemporaryFile(/tmp/multipartBody397389569155804733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795279222,"filename":"image_25012025_08_15_02_542436_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b05959bc2bce45a700d7c2bba883b44.jpg","text":"TemporaryFile(/tmp/multipartBody882887871922695676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795279222,"filename":"image_25012025_08_14_02_813434_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331295438","file1":"1331295429","file0":"1331295424","file4":"1331295453","file5":"1331295489","file3":"1331295448"},"map_files_photo_id_array":[{"photo_id":"1331295489","filename":"file5"},{"photo_id":"1331295438","filename":"file2"},{"photo_id":"1331295453","filename":"file4"},{"photo_id":"1331295429","filename":"file1"},{"photo_id":"1331295424","filename":"file0"},{"photo_id":"1331295448","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331295448":["hashtag1","hashtag2"]},{"1331295424":["hashtag1","hashtag2"]},{"1331295489":["hashtag1","hashtag2"]},{"1331295438":["hashtag1","hashtag2"]},{"1331295453":["hashtag1","hashtag2"]},{"1331295429":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331295448, 1331295424, 1331295489, 1331295438, 1331295453, 1331295429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.492793798446655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:54:22.019281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/16/image_25012025_08_16_03_045985_0000.jpg', '/home/pi/Desktop/images/25012025/08/16/image_25012025_08_16_03_045985_0001.jpg', '/home/pi/Desktop/images/25012025/08/16/image_25012025_08_16_03_045985_0002.jpg', '/home/pi/Desktop/images/25012025/08/16/image_25012025_08_16_03_045985_0003.jpg', '/home/pi/Desktop/images/25012025/08/17/image_25012025_08_17_02_639749_0000.jpg', '/home/pi/Desktop/images/25012025/08/17/image_25012025_08_17_02_639749_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/16/image_25012025_08_16_03_045985_0000.jpg
/home/pi/Desktop/images/25012025/08/16/image_25012025_08_16_03_045985_0001.jpg
/home/pi/Desktop/images/25012025/08/16/image_25012025_08_16_03_045985_0002.jpg
/home/pi/Desktop/images/25012025/08/16/image_25012025_08_16_03_045985_0003.jpg
/home/pi/Desktop/images/25012025/08/17/image_25012025_08_17_02_639749_0000.jpg
/home/pi/Desktop/images/25012025/08/17/image_25012025_08_17_02_639749_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331295778","1331295763","1331295750","1331295794","1331295790","1331295787"],"photo_ids_order":["1331295750","1331295763","1331295778","1331295787","1331295790","1331295794"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d7576258dd2b004243440117223c9ffc.jpg","text":"TemporaryFile(/tmp/multipartBody2626918613662379002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795339055,"filename":"image_25012025_08_16_03_045985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/35e4530d87d231150922f6204e0de689.jpg","text":"TemporaryFile(/tmp/multipartBody3814328181168012104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795339055,"filename":"image_25012025_08_16_03_045985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/16462d5de8f60f735cc29e32ef106149.jpg","text":"TemporaryFile(/tmp/multipartBody1869696332053792942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795339055,"filename":"image_25012025_08_16_03_045985_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/309b10b739cc9e262c0d9fbea8c94d25.jpg","text":"TemporaryFile(/tmp/multipartBody5127259622043030068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795339055,"filename":"image_25012025_08_17_02_639749_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e519d0b41673e73ce2c53f81f13621a7.jpg","text":"TemporaryFile(/tmp/multipartBody7527824195582101071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795339055,"filename":"image_25012025_08_17_02_639749_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ad2d609e4b62a859144b8c833b3d3b4b.jpg","text":"TemporaryFile(/tmp/multipartBody6067366393961908026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795339055,"filename":"image_25012025_08_16_03_045985_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331295778","file1":"1331295763","file0":"1331295750","file4":"1331295790","file5":"1331295794","file3":"1331295787"},"map_files_photo_id_array":[{"photo_id":"1331295794","filename":"file5"},{"photo_id":"1331295778","filename":"file2"},{"photo_id":"1331295790","filename":"file4"},{"photo_id":"1331295763","filename":"file1"},{"photo_id":"1331295750","filename":"file0"},{"photo_id":"1331295787","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331295778":["hashtag1","hashtag2"]},{"1331295763":["hashtag1","hashtag2"]},{"1331295750":["hashtag1","hashtag2"]},{"1331295794":["hashtag1","hashtag2"]},{"1331295790":["hashtag1","hashtag2"]},{"1331295787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331295778, 1331295763, 1331295750, 1331295794, 1331295790, 1331295787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.229811906814575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:55:22.535164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/17/image_25012025_08_17_02_639749_0002.jpg', '/home/pi/Desktop/images/25012025/08/17/image_25012025_08_17_02_639749_0003.jpg', '/home/pi/Desktop/images/25012025/08/18/image_25012025_08_18_02_159697_0000.jpg', '/home/pi/Desktop/images/25012025/08/18/image_25012025_08_18_02_159697_0001.jpg', '/home/pi/Desktop/images/25012025/08/18/image_25012025_08_18_02_159697_0002.jpg', '/home/pi/Desktop/images/25012025/08/18/image_25012025_08_18_02_159697_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/17/image_25012025_08_17_02_639749_0002.jpg
/home/pi/Desktop/images/25012025/08/17/image_25012025_08_17_02_639749_0003.jpg
/home/pi/Desktop/images/25012025/08/18/image_25012025_08_18_02_159697_0000.jpg
/home/pi/Desktop/images/25012025/08/18/image_25012025_08_18_02_159697_0001.jpg
/home/pi/Desktop/images/25012025/08/18/image_25012025_08_18_02_159697_0002.jpg
/home/pi/Desktop/images/25012025/08/18/image_25012025_08_18_02_159697_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331295862","1331295856","1331295850","1331295858","1331295866","1331295854"],"photo_ids_order":["1331295850","1331295854","1331295856","1331295858","1331295862","1331295866"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/70dcacbe7ef3b236e092e3161bdaaa39.jpg","text":"TemporaryFile(/tmp/multipartBody4862213411421510916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795399034,"filename":"image_25012025_08_18_02_159697_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bafc50cfdf51df03ceb4177c60dce7a3.jpg","text":"TemporaryFile(/tmp/multipartBody1744594103599619514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795399034,"filename":"image_25012025_08_18_02_159697_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c79d7c1e3f924e404ba818f0419d5afc.jpg","text":"TemporaryFile(/tmp/multipartBody195741880303894247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795399034,"filename":"image_25012025_08_17_02_639749_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8f2b283f092adb2a8259daa185b7a553.jpg","text":"TemporaryFile(/tmp/multipartBody9044044348577261831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795399034,"filename":"image_25012025_08_18_02_159697_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/584b3ddab1effd2b41cea10bee0d66d7.jpg","text":"TemporaryFile(/tmp/multipartBody1453083090375249344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795399034,"filename":"image_25012025_08_18_02_159697_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/135afb43e77a1b5c49025b61732019ba.jpg","text":"TemporaryFile(/tmp/multipartBody7658077438942148222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795399034,"filename":"image_25012025_08_17_02_639749_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331295856","file1":"1331295854","file0":"1331295850","file4":"1331295862","file5":"1331295866","file3":"1331295858"},"map_files_photo_id_array":[{"photo_id":"1331295866","filename":"file5"},{"photo_id":"1331295856","filename":"file2"},{"photo_id":"1331295862","filename":"file4"},{"photo_id":"1331295854","filename":"file1"},{"photo_id":"1331295850","filename":"file0"},{"photo_id":"1331295858","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331295862":["hashtag1","hashtag2"]},{"1331295856":["hashtag1","hashtag2"]},{"1331295850":["hashtag1","hashtag2"]},{"1331295858":["hashtag1","hashtag2"]},{"1331295866":["hashtag1","hashtag2"]},{"1331295854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331295862, 1331295856, 1331295850, 1331295858, 1331295866, 1331295854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.231743812561035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 09:56:22.028578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/19/image_25012025_08_19_02_679029_0000.jpg', '/home/pi/Desktop/images/25012025/08/19/image_25012025_08_19_02_679029_0001.jpg', '/home/pi/Desktop/images/25012025/08/19/image_25012025_08_19_02_679029_0002.jpg', '/home/pi/Desktop/images/25012025/08/19/image_25012025_08_19_02_679029_0003.jpg', '/home/pi/Desktop/images/25012025/08/20/image_25012025_08_20_02_180658_0000.jpg', '/home/pi/Desktop/images/25012025/08/20/image_25012025_08_20_02_180658_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/19/image_25012025_08_19_02_679029_0000.jpg
/home/pi/Desktop/images/25012025/08/19/image_25012025_08_19_02_679029_0001.jpg
/home/pi/Desktop/images/25012025/08/19/image_25012025_08_19_02_679029_0002.jpg
/home/pi/Desktop/images/25012025/08/19/image_25012025_08_19_02_679029_0003.jpg
/home/pi/Desktop/images/25012025/08/20/image_25012025_08_20_02_180658_0000.jpg
/home/pi/Desktop/images/25012025/08/20/image_25012025_08_20_02_180658_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: 16.250527143478394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:57:03.314016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/19/image_25012025_08_19_02_679029_0000.jpg', '/home/pi/Desktop/images/25012025/08/19/image_25012025_08_19_02_679029_0001.jpg', '/home/pi/Desktop/images/25012025/08/19/image_25012025_08_19_02_679029_0002.jpg', '/home/pi/Desktop/images/25012025/08/19/image_25012025_08_19_02_679029_0003.jpg', '/home/pi/Desktop/images/25012025/08/20/image_25012025_08_20_02_180658_0000.jpg', '/home/pi/Desktop/images/25012025/08/20/image_25012025_08_20_02_180658_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/19/image_25012025_08_19_02_679029_0000.jpg
/home/pi/Desktop/images/25012025/08/19/image_25012025_08_19_02_679029_0001.jpg
/home/pi/Desktop/images/25012025/08/19/image_25012025_08_19_02_679029_0002.jpg
/home/pi/Desktop/images/25012025/08/19/image_25012025_08_19_02_679029_0003.jpg
/home/pi/Desktop/images/25012025/08/20/image_25012025_08_20_02_180658_0000.jpg
/home/pi/Desktop/images/25012025/08/20/image_25012025_08_20_02_180658_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331296323","1331296425","1331296332","1331296326","1331296329","1331296295"],"photo_ids_order":["1331296295","1331296323","1331296326","1331296329","1331296332","1331296425"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b35a6206f12438d9fc58e130b5b8462.jpg","text":"TemporaryFile(/tmp/multipartBody1063030306610202011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795500003,"filename":"image_25012025_08_19_02_679029_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/67cc1baab4e5483f5cf3a257fc7a5e78.jpg","text":"TemporaryFile(/tmp/multipartBody2978985361495017742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795500003,"filename":"image_25012025_08_20_02_180658_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a14a8277c08910af73368d4b39f80168.jpg","text":"TemporaryFile(/tmp/multipartBody3125619881193476608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795500003,"filename":"image_25012025_08_20_02_180658_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/55fd4e40d9499f68e1301fdd30439765.jpg","text":"TemporaryFile(/tmp/multipartBody4887462386010014003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795500003,"filename":"image_25012025_08_19_02_679029_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d81e6fd72e9d763d9e544544ec9c95cd.jpg","text":"TemporaryFile(/tmp/multipartBody189754368585480621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795500003,"filename":"image_25012025_08_19_02_679029_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/408f57f5c30c2209f7452336b98a4ef7.jpg","text":"TemporaryFile(/tmp/multipartBody3245385756245754413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795500003,"filename":"image_25012025_08_19_02_679029_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331296326","file1":"1331296323","file0":"1331296295","file4":"1331296332","file5":"1331296425","file3":"1331296329"},"map_files_photo_id_array":[{"photo_id":"1331296425","filename":"file5"},{"photo_id":"1331296326","filename":"file2"},{"photo_id":"1331296332","filename":"file4"},{"photo_id":"1331296323","filename":"file1"},{"photo_id":"1331296295","filename":"file0"},{"photo_id":"1331296329","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331296323":["hashtag1","hashtag2"]},{"1331296425":["hashtag1","hashtag2"]},{"1331296332":["hashtag1","hashtag2"]},{"1331296326":["hashtag1","hashtag2"]},{"1331296329":["hashtag1","hashtag2"]},{"1331296295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331296323, 1331296425, 1331296332, 1331296326, 1331296329, 1331296295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.72445344924927 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 09:59:03.350484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/20/image_25012025_08_20_02_180658_0002.jpg', '/home/pi/Desktop/images/25012025/08/20/image_25012025_08_20_02_180658_0003.jpg', '/home/pi/Desktop/images/25012025/08/21/image_25012025_08_21_02_927672_0000.jpg', '/home/pi/Desktop/images/25012025/08/21/image_25012025_08_21_02_927672_0001.jpg', '/home/pi/Desktop/images/25012025/08/21/image_25012025_08_21_02_927672_0002.jpg', '/home/pi/Desktop/images/25012025/08/21/image_25012025_08_21_02_927672_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/20/image_25012025_08_20_02_180658_0002.jpg
/home/pi/Desktop/images/25012025/08/20/image_25012025_08_20_02_180658_0003.jpg
/home/pi/Desktop/images/25012025/08/21/image_25012025_08_21_02_927672_0000.jpg
/home/pi/Desktop/images/25012025/08/21/image_25012025_08_21_02_927672_0001.jpg
/home/pi/Desktop/images/25012025/08/21/image_25012025_08_21_02_927672_0002.jpg
/home/pi/Desktop/images/25012025/08/21/image_25012025_08_21_02_927672_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":["1331296504","1331296507","1331296501","1331296491","1331296506","1331296509"],"photo_ids_order":["1331296491","1331296501","1331296504","1331296506","1331296507","1331296509"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/14a1f97fc6e8c13081f16b6b18d04a4d.jpg","text":"TemporaryFile(/tmp/multipartBody7696501524144360882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795620694,"filename":"image_25012025_08_21_02_927672_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7891962f3204ab8b8fdde67bcf54960c.jpg","text":"TemporaryFile(/tmp/multipartBody8210304462158769295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795620694,"filename":"image_25012025_08_21_02_927672_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/75f332adfc7b01c9256278c500f03355.jpg","text":"TemporaryFile(/tmp/multipartBody4461035614846880153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795620694,"filename":"image_25012025_08_20_02_180658_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/116ab0bec2f81b1b2443657c04fe8976.jpg","text":"TemporaryFile(/tmp/multipartBody1111840953946932344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795620694,"filename":"image_25012025_08_20_02_180658_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/195439249fc3b8ef0b71bffa54508124.jpg","text":"TemporaryFile(/tmp/multipartBody9029370143121087763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795620694,"filename":"image_25012025_08_21_02_927672_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a4f65b06009f9b0906f08a5fa3686a79.jpg","text":"TemporaryFile(/tmp/multipartBody8934958725009002991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795620694,"filename":"image_25012025_08_21_02_927672_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331296504","file1":"1331296501","file0":"1331296491","file4":"1331296507","file5":"1331296509","file3":"1331296506"},"map_files_photo_id_array":[{"photo_id":"1331296509","filename":"file5"},{"photo_id":"1331296504","filename":"file2"},{"photo_id":"1331296507","filename":"file4"},{"photo_id":"1331296501","filename":"file1"},{"photo_id":"1331296491","filename":"file0"},{"photo_id":"1331296506","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331296504":["hashtag1","hashtag2"]},{"1331296507":["hashtag1","hashtag2"]},{"1331296501":["hashtag1","hashtag2"]},{"1331296491":["hashtag1","hashtag2"]},{"1331296506":["hashtag1","hashtag2"]},{"1331296509":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331296504, 1331296507, 1331296501, 1331296491, 1331296506, 1331296509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.77683234214783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:00:22.713233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/22/image_25012025_08_22_02_439828_0000.jpg', '/home/pi/Desktop/images/25012025/08/22/image_25012025_08_22_02_439828_0001.jpg', '/home/pi/Desktop/images/25012025/08/22/image_25012025_08_22_02_439828_0002.jpg', '/home/pi/Desktop/images/25012025/08/22/image_25012025_08_22_02_439828_0003.jpg', '/home/pi/Desktop/images/25012025/08/23/image_25012025_08_23_02_941381_0000.jpg', '/home/pi/Desktop/images/25012025/08/23/image_25012025_08_23_02_941381_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/22/image_25012025_08_22_02_439828_0000.jpg
/home/pi/Desktop/images/25012025/08/22/image_25012025_08_22_02_439828_0001.jpg
/home/pi/Desktop/images/25012025/08/22/image_25012025_08_22_02_439828_0002.jpg
/home/pi/Desktop/images/25012025/08/22/image_25012025_08_22_02_439828_0003.jpg
/home/pi/Desktop/images/25012025/08/23/image_25012025_08_23_02_941381_0000.jpg
/home/pi/Desktop/images/25012025/08/23/image_25012025_08_23_02_941381_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":["1331297439","1331297388","1331297448","1331297304","1331297516","1331297422"],"photo_ids_order":["1331297304","1331297388","1331297422","1331297439","1331297448","1331297516"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/efb2917d10ae0249b999f35411315c6f.jpg","text":"TemporaryFile(/tmp/multipartBody1000844563148488430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795698747,"filename":"image_25012025_08_22_02_439828_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/919b972f133e6a55fc11455136894281.jpg","text":"TemporaryFile(/tmp/multipartBody1790325220726574782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795698747,"filename":"image_25012025_08_22_02_439828_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2012b0fa662855930cc29c0ff66844ed.jpg","text":"TemporaryFile(/tmp/multipartBody4136589082385605129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795698747,"filename":"image_25012025_08_23_02_941381_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/db158ce17565f10977720e60d299ca7a.jpg","text":"TemporaryFile(/tmp/multipartBody3015799481535046940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795698747,"filename":"image_25012025_08_22_02_439828_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4f8fdfc7c449c42c8b7178e33fdc503c.jpg","text":"TemporaryFile(/tmp/multipartBody2046822499059328515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795698747,"filename":"image_25012025_08_23_02_941381_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/347a755251c878eaa2af2cca6d003375.jpg","text":"TemporaryFile(/tmp/multipartBody4843726449274315916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795698747,"filename":"image_25012025_08_22_02_439828_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331297422","file1":"1331297388","file0":"1331297304","file4":"1331297448","file5":"1331297516","file3":"1331297439"},"map_files_photo_id_array":[{"photo_id":"1331297516","filename":"file5"},{"photo_id":"1331297422","filename":"file2"},{"photo_id":"1331297448","filename":"file4"},{"photo_id":"1331297388","filename":"file1"},{"photo_id":"1331297304","filename":"file0"},{"photo_id":"1331297439","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331297439":["hashtag1","hashtag2"]},{"1331297388":["hashtag1","hashtag2"]},{"1331297448":["hashtag1","hashtag2"]},{"1331297304":["hashtag1","hashtag2"]},{"1331297516":["hashtag1","hashtag2"]},{"1331297422":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331297439, 1331297388, 1331297448, 1331297304, 1331297516, 1331297422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.66057109832764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:01:21.926406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/23/image_25012025_08_23_02_941381_0002.jpg', '/home/pi/Desktop/images/25012025/08/23/image_25012025_08_23_02_941381_0003.jpg', '/home/pi/Desktop/images/25012025/08/24/image_25012025_08_24_02_443914_0000.jpg', '/home/pi/Desktop/images/25012025/08/24/image_25012025_08_24_02_443914_0001.jpg', '/home/pi/Desktop/images/25012025/08/24/image_25012025_08_24_02_443914_0002.jpg', '/home/pi/Desktop/images/25012025/08/24/image_25012025_08_24_02_443914_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/23/image_25012025_08_23_02_941381_0002.jpg
/home/pi/Desktop/images/25012025/08/23/image_25012025_08_23_02_941381_0003.jpg
/home/pi/Desktop/images/25012025/08/24/image_25012025_08_24_02_443914_0000.jpg
/home/pi/Desktop/images/25012025/08/24/image_25012025_08_24_02_443914_0001.jpg
/home/pi/Desktop/images/25012025/08/24/image_25012025_08_24_02_443914_0002.jpg
/home/pi/Desktop/images/25012025/08/24/image_25012025_08_24_02_443914_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 [200]>
b'{"photo_ids":["1331297934","1331298006","1331298029","1331297893","1331297950","1331297898"],"photo_ids_order":["1331297893","1331297898","1331297934","1331297950","1331298006","1331298029"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1a543d71b166d5afc9c87508b191ca9b.jpg","text":"TemporaryFile(/tmp/multipartBody5861193490049710031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795758277,"filename":"image_25012025_08_24_02_443914_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7bfb5ce8bd99fe9f45565b80b15c5b93.jpg","text":"TemporaryFile(/tmp/multipartBody5504355447542434955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795758277,"filename":"image_25012025_08_24_02_443914_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0d08bed492e6d77e507d9529d82a6002.jpg","text":"TemporaryFile(/tmp/multipartBody8049841729625177857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795758277,"filename":"image_25012025_08_24_02_443914_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f186698355955e18b8a1f0ed63e14e8c.jpg","text":"TemporaryFile(/tmp/multipartBody3013095636895289976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795758277,"filename":"image_25012025_08_23_02_941381_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9ea85dfd5fced7314ebe7e173cadf82c.jpg","text":"TemporaryFile(/tmp/multipartBody6030045065069987000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795758277,"filename":"image_25012025_08_24_02_443914_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2c9e53296e4de4d25fc2ee2983a7b921.jpg","text":"TemporaryFile(/tmp/multipartBody656403779864504783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795758277,"filename":"image_25012025_08_23_02_941381_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331297934","file1":"1331297898","file0":"1331297893","file4":"1331298006","file5":"1331298029","file3":"1331297950"},"map_files_photo_id_array":[{"photo_id":"1331298029","filename":"file5"},{"photo_id":"1331297934","filename":"file2"},{"photo_id":"1331298006","filename":"file4"},{"photo_id":"1331297898","filename":"file1"},{"photo_id":"1331297893","filename":"file0"},{"photo_id":"1331297950","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331297934":["hashtag1","hashtag2"]},{"1331298006":["hashtag1","hashtag2"]},{"1331298029":["hashtag1","hashtag2"]},{"1331297893":["hashtag1","hashtag2"]},{"1331297950":["hashtag1","hashtag2"]},{"1331297898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331297934, 1331298006, 1331298029, 1331297893, 1331297950, 1331297898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.48494291305542 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:02:22.163346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/25/image_25012025_08_25_03_003172_0000.jpg', '/home/pi/Desktop/images/25012025/08/25/image_25012025_08_25_03_003172_0001.jpg', '/home/pi/Desktop/images/25012025/08/25/image_25012025_08_25_03_003172_0002.jpg', '/home/pi/Desktop/images/25012025/08/25/image_25012025_08_25_03_003172_0003.jpg', '/home/pi/Desktop/images/25012025/08/26/image_25012025_08_26_02_549741_0000.jpg', '/home/pi/Desktop/images/25012025/08/26/image_25012025_08_26_02_549741_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/25/image_25012025_08_25_03_003172_0000.jpg
/home/pi/Desktop/images/25012025/08/25/image_25012025_08_25_03_003172_0001.jpg
/home/pi/Desktop/images/25012025/08/25/image_25012025_08_25_03_003172_0002.jpg
/home/pi/Desktop/images/25012025/08/25/image_25012025_08_25_03_003172_0003.jpg
/home/pi/Desktop/images/25012025/08/26/image_25012025_08_26_02_549741_0000.jpg
/home/pi/Desktop/images/25012025/08/26/image_25012025_08_26_02_549741_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: 16.60157084465027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 10:02:42.065543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/25/image_25012025_08_25_03_003172_0000.jpg', '/home/pi/Desktop/images/25012025/08/25/image_25012025_08_25_03_003172_0001.jpg', '/home/pi/Desktop/images/25012025/08/25/image_25012025_08_25_03_003172_0002.jpg', '/home/pi/Desktop/images/25012025/08/25/image_25012025_08_25_03_003172_0003.jpg', '/home/pi/Desktop/images/25012025/08/26/image_25012025_08_26_02_549741_0000.jpg', '/home/pi/Desktop/images/25012025/08/26/image_25012025_08_26_02_549741_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/25/image_25012025_08_25_03_003172_0000.jpg
/home/pi/Desktop/images/25012025/08/25/image_25012025_08_25_03_003172_0001.jpg
/home/pi/Desktop/images/25012025/08/25/image_25012025_08_25_03_003172_0002.jpg
/home/pi/Desktop/images/25012025/08/25/image_25012025_08_25_03_003172_0003.jpg
/home/pi/Desktop/images/25012025/08/26/image_25012025_08_26_02_549741_0000.jpg
/home/pi/Desktop/images/25012025/08/26/image_25012025_08_26_02_549741_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":["1331298531","1331298525","1331298534","1331298708","1331298688","1331298529"],"photo_ids_order":["1331298525","1331298529","1331298531","1331298534","1331298688","1331298708"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/70678f5a234ecffc4550414faf5a749a.jpg","text":"TemporaryFile(/tmp/multipartBody5849429070884371154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795839061,"filename":"image_25012025_08_25_03_003172_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e41449fb25921db8dff2666a9198a857.jpg","text":"TemporaryFile(/tmp/multipartBody7746188037954567375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795839061,"filename":"image_25012025_08_25_03_003172_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e228fb66d4a82899f0652cd526f66aa3.jpg","text":"TemporaryFile(/tmp/multipartBody537808657112720068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795839061,"filename":"image_25012025_08_25_03_003172_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1ee2fc527b5e24dac1674bf43ab39c6a.jpg","text":"TemporaryFile(/tmp/multipartBody3860419462994799243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795839061,"filename":"image_25012025_08_26_02_549741_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/abd37ae9d927f1a2fb31d613df72a204.jpg","text":"TemporaryFile(/tmp/multipartBody8473009672898185442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795839061,"filename":"image_25012025_08_26_02_549741_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3ad26ecf795313d959c8388b64597419.jpg","text":"TemporaryFile(/tmp/multipartBody5983511982401914973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795839061,"filename":"image_25012025_08_25_03_003172_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331298531","file1":"1331298529","file0":"1331298525","file4":"1331298688","file5":"1331298708","file3":"1331298534"},"map_files_photo_id_array":[{"photo_id":"1331298708","filename":"file5"},{"photo_id":"1331298531","filename":"file2"},{"photo_id":"1331298688","filename":"file4"},{"photo_id":"1331298529","filename":"file1"},{"photo_id":"1331298525","filename":"file0"},{"photo_id":"1331298534","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331298531":["hashtag1","hashtag2"]},{"1331298525":["hashtag1","hashtag2"]},{"1331298534":["hashtag1","hashtag2"]},{"1331298708":["hashtag1","hashtag2"]},{"1331298688":["hashtag1","hashtag2"]},{"1331298529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331298531, 1331298525, 1331298534, 1331298708, 1331298688, 1331298529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.37580680847168 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 10:03:42.268371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/26/image_25012025_08_26_02_549741_0002.jpg', '/home/pi/Desktop/images/25012025/08/26/image_25012025_08_26_02_549741_0003.jpg', '/home/pi/Desktop/images/25012025/08/27/image_25012025_08_27_03_108535_0000.jpg', '/home/pi/Desktop/images/25012025/08/27/image_25012025_08_27_03_108535_0001.jpg', '/home/pi/Desktop/images/25012025/08/27/image_25012025_08_27_03_108535_0002.jpg', '/home/pi/Desktop/images/25012025/08/27/image_25012025_08_27_03_108535_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/26/image_25012025_08_26_02_549741_0002.jpg
/home/pi/Desktop/images/25012025/08/26/image_25012025_08_26_02_549741_0003.jpg
/home/pi/Desktop/images/25012025/08/27/image_25012025_08_27_03_108535_0000.jpg
/home/pi/Desktop/images/25012025/08/27/image_25012025_08_27_03_108535_0001.jpg
/home/pi/Desktop/images/25012025/08/27/image_25012025_08_27_03_108535_0002.jpg
/home/pi/Desktop/images/25012025/08/27/image_25012025_08_27_03_108535_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 [200]>
b'{"photo_ids":["1331298743","1331298754","1331298757","1331298750","1331298747","1331298762"],"photo_ids_order":["1331298743","1331298747","1331298750","1331298754","1331298757","1331298762"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1ccecb2d47a518dff8a5e64404f0e3f0.jpg","text":"TemporaryFile(/tmp/multipartBody6410181415847344349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795899270,"filename":"image_25012025_08_26_02_549741_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/52ff267715430ecd44615ea32a01e711.jpg","text":"TemporaryFile(/tmp/multipartBody2606929933406851700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795899270,"filename":"image_25012025_08_27_03_108535_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bb821ff94341a0a83ad67c1a66c9321c.jpg","text":"TemporaryFile(/tmp/multipartBody951012927687014609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795899270,"filename":"image_25012025_08_27_03_108535_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e63dc5ed86e61e6d8654ee193b6cd15a.jpg","text":"TemporaryFile(/tmp/multipartBody1149466014837791201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795899270,"filename":"image_25012025_08_27_03_108535_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c87928252a4c83ccc297f8f9e6274411.jpg","text":"TemporaryFile(/tmp/multipartBody1724408785916589779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795899270,"filename":"image_25012025_08_26_02_549741_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8c03166c369db8dde237c7891efaec71.jpg","text":"TemporaryFile(/tmp/multipartBody5962424830760270875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795899270,"filename":"image_25012025_08_27_03_108535_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331298750","file1":"1331298747","file0":"1331298743","file4":"1331298757","file5":"1331298762","file3":"1331298754"},"map_files_photo_id_array":[{"photo_id":"1331298762","filename":"file5"},{"photo_id":"1331298750","filename":"file2"},{"photo_id":"1331298757","filename":"file4"},{"photo_id":"1331298747","filename":"file1"},{"photo_id":"1331298743","filename":"file0"},{"photo_id":"1331298754","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331298743":["hashtag1","hashtag2"]},{"1331298754":["hashtag1","hashtag2"]},{"1331298757":["hashtag1","hashtag2"]},{"1331298750":["hashtag1","hashtag2"]},{"1331298747":["hashtag1","hashtag2"]},{"1331298762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331298743, 1331298754, 1331298757, 1331298750, 1331298747, 1331298762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.34308624267578 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 10:04:42.482781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/28/image_25012025_08_28_02_643071_0000.jpg', '/home/pi/Desktop/images/25012025/08/28/image_25012025_08_28_02_643071_0001.jpg', '/home/pi/Desktop/images/25012025/08/28/image_25012025_08_28_02_643071_0002.jpg', '/home/pi/Desktop/images/25012025/08/28/image_25012025_08_28_02_643071_0003.jpg', '/home/pi/Desktop/images/25012025/08/29/image_25012025_08_29_02_110264_0000.jpg', '/home/pi/Desktop/images/25012025/08/29/image_25012025_08_29_02_110264_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/28/image_25012025_08_28_02_643071_0000.jpg
/home/pi/Desktop/images/25012025/08/28/image_25012025_08_28_02_643071_0001.jpg
/home/pi/Desktop/images/25012025/08/28/image_25012025_08_28_02_643071_0002.jpg
/home/pi/Desktop/images/25012025/08/28/image_25012025_08_28_02_643071_0003.jpg
/home/pi/Desktop/images/25012025/08/29/image_25012025_08_29_02_110264_0000.jpg
/home/pi/Desktop/images/25012025/08/29/image_25012025_08_29_02_110264_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":["1331298819","1331298810","1331298804","1331298807","1331298826","1331298814"],"photo_ids_order":["1331298804","1331298807","1331298810","1331298814","1331298819","1331298826"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e43eed0f3bee097cdccc4a48c94f5616.jpg","text":"TemporaryFile(/tmp/multipartBody8396416012923432003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795959306,"filename":"image_25012025_08_29_02_110264_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bf11e18458106f8fb1ee90a6bcbe73e7.jpg","text":"TemporaryFile(/tmp/multipartBody9177583083983687745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795959306,"filename":"image_25012025_08_28_02_643071_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cfc3e8ca627d952ff0451fb579b05b9e.jpg","text":"TemporaryFile(/tmp/multipartBody7443296902943699082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795959306,"filename":"image_25012025_08_28_02_643071_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/91382faf8993a115e6c1c06041fca74e.jpg","text":"TemporaryFile(/tmp/multipartBody4720345424574208569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795959306,"filename":"image_25012025_08_28_02_643071_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/633c0012265fde4544ba1dce4b78c28e.jpg","text":"TemporaryFile(/tmp/multipartBody1798537416123453683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795959306,"filename":"image_25012025_08_29_02_110264_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4de004365a48587d885bd3719ef63141.jpg","text":"TemporaryFile(/tmp/multipartBody8079272800339270660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737795959306,"filename":"image_25012025_08_28_02_643071_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331298810","file1":"1331298807","file0":"1331298804","file4":"1331298819","file5":"1331298826","file3":"1331298814"},"map_files_photo_id_array":[{"photo_id":"1331298826","filename":"file5"},{"photo_id":"1331298810","filename":"file2"},{"photo_id":"1331298819","filename":"file4"},{"photo_id":"1331298807","filename":"file1"},{"photo_id":"1331298804","filename":"file0"},{"photo_id":"1331298814","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331298819":["hashtag1","hashtag2"]},{"1331298810":["hashtag1","hashtag2"]},{"1331298804":["hashtag1","hashtag2"]},{"1331298807":["hashtag1","hashtag2"]},{"1331298826":["hashtag1","hashtag2"]},{"1331298814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331298819, 1331298810, 1331298804, 1331298807, 1331298826, 1331298814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.85267376899719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 10:05:42.728700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/29/image_25012025_08_29_02_110264_0002.jpg', '/home/pi/Desktop/images/25012025/08/29/image_25012025_08_29_02_110264_0003.jpg', '/home/pi/Desktop/images/25012025/08/30/image_25012025_08_30_02_642046_0000.jpg', '/home/pi/Desktop/images/25012025/08/30/image_25012025_08_30_02_642046_0001.jpg', '/home/pi/Desktop/images/25012025/08/30/image_25012025_08_30_02_642046_0002.jpg', '/home/pi/Desktop/images/25012025/08/30/image_25012025_08_30_02_642046_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/29/image_25012025_08_29_02_110264_0002.jpg
/home/pi/Desktop/images/25012025/08/29/image_25012025_08_29_02_110264_0003.jpg
/home/pi/Desktop/images/25012025/08/30/image_25012025_08_30_02_642046_0000.jpg
/home/pi/Desktop/images/25012025/08/30/image_25012025_08_30_02_642046_0001.jpg
/home/pi/Desktop/images/25012025/08/30/image_25012025_08_30_02_642046_0002.jpg
/home/pi/Desktop/images/25012025/08/30/image_25012025_08_30_02_642046_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 [200]>
b'{"photo_ids":["1331299235","1331298995","1331299096","1331299105","1331299014","1331299101"],"photo_ids_order":["1331298995","1331299014","1331299096","1331299101","1331299105","1331299235"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2017fe7d924a29d976e63f6ae0c0f2de.jpg","text":"TemporaryFile(/tmp/multipartBody8600239581278898551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796019409,"filename":"image_25012025_08_30_02_642046_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/50b7786ec67027501c5d458b58ed41ce.jpg","text":"TemporaryFile(/tmp/multipartBody8763918654600345963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796019409,"filename":"image_25012025_08_29_02_110264_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ff7748f87aebd8ad9d405afc8db93111.jpg","text":"TemporaryFile(/tmp/multipartBody7359965591331657273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796019409,"filename":"image_25012025_08_30_02_642046_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3ed38abe5f86052138e755cf512a942a.jpg","text":"TemporaryFile(/tmp/multipartBody4583273994897277425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796019409,"filename":"image_25012025_08_30_02_642046_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/89ad39f1990eab0c4b47f536c3379a00.jpg","text":"TemporaryFile(/tmp/multipartBody2369265124968648334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796019409,"filename":"image_25012025_08_29_02_110264_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/05491ba8bfa7d04c018cc4af1128d639.jpg","text":"TemporaryFile(/tmp/multipartBody2479052204819385725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796019409,"filename":"image_25012025_08_30_02_642046_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331299096","file1":"1331299014","file0":"1331298995","file4":"1331299105","file5":"1331299235","file3":"1331299101"},"map_files_photo_id_array":[{"photo_id":"1331299235","filename":"file5"},{"photo_id":"1331299096","filename":"file2"},{"photo_id":"1331299105","filename":"file4"},{"photo_id":"1331299014","filename":"file1"},{"photo_id":"1331298995","filename":"file0"},{"photo_id":"1331299101","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331299235":["hashtag1","hashtag2"]},{"1331298995":["hashtag1","hashtag2"]},{"1331299096":["hashtag1","hashtag2"]},{"1331299105":["hashtag1","hashtag2"]},{"1331299014":["hashtag1","hashtag2"]},{"1331299101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331299235, 1331298995, 1331299096, 1331299105, 1331299014, 1331299101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.15576434135437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 10:06:41.862089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/31/image_25012025_08_31_02_136882_0000.jpg', '/home/pi/Desktop/images/25012025/08/31/image_25012025_08_31_02_136882_0001.jpg', '/home/pi/Desktop/images/25012025/08/31/image_25012025_08_31_02_136882_0002.jpg', '/home/pi/Desktop/images/25012025/08/31/image_25012025_08_31_02_136882_0003.jpg', '/home/pi/Desktop/images/25012025/08/32/image_25012025_08_32_02_627856_0000.jpg', '/home/pi/Desktop/images/25012025/08/32/image_25012025_08_32_02_627856_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/31/image_25012025_08_31_02_136882_0000.jpg
/home/pi/Desktop/images/25012025/08/31/image_25012025_08_31_02_136882_0001.jpg
/home/pi/Desktop/images/25012025/08/31/image_25012025_08_31_02_136882_0002.jpg
/home/pi/Desktop/images/25012025/08/31/image_25012025_08_31_02_136882_0003.jpg
/home/pi/Desktop/images/25012025/08/32/image_25012025_08_32_02_627856_0000.jpg
/home/pi/Desktop/images/25012025/08/32/image_25012025_08_32_02_627856_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: 15.632031917572021 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 10:07:02.725556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/31/image_25012025_08_31_02_136882_0000.jpg', '/home/pi/Desktop/images/25012025/08/31/image_25012025_08_31_02_136882_0001.jpg', '/home/pi/Desktop/images/25012025/08/31/image_25012025_08_31_02_136882_0002.jpg', '/home/pi/Desktop/images/25012025/08/31/image_25012025_08_31_02_136882_0003.jpg', '/home/pi/Desktop/images/25012025/08/32/image_25012025_08_32_02_627856_0000.jpg', '/home/pi/Desktop/images/25012025/08/32/image_25012025_08_32_02_627856_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/31/image_25012025_08_31_02_136882_0000.jpg
/home/pi/Desktop/images/25012025/08/31/image_25012025_08_31_02_136882_0001.jpg
/home/pi/Desktop/images/25012025/08/31/image_25012025_08_31_02_136882_0002.jpg
/home/pi/Desktop/images/25012025/08/31/image_25012025_08_31_02_136882_0003.jpg
/home/pi/Desktop/images/25012025/08/32/image_25012025_08_32_02_627856_0000.jpg
/home/pi/Desktop/images/25012025/08/32/image_25012025_08_32_02_627856_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":["1331299712","1331299721","1331299709","1331299690","1331299725","1331299716"],"photo_ids_order":["1331299690","1331299709","1331299712","1331299716","1331299721","1331299725"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b7e942036fd3cda6a798e487d2c8232.jpg","text":"TemporaryFile(/tmp/multipartBody7851032638266244696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796098840,"filename":"image_25012025_08_31_02_136882_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dbf3c172cdb16e8363eea3ee9b8eeb62.jpg","text":"TemporaryFile(/tmp/multipartBody2668677076794002955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796098840,"filename":"image_25012025_08_32_02_627856_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6225a56edcdf87a100507bab94f001e1.jpg","text":"TemporaryFile(/tmp/multipartBody4877461836259326105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796098840,"filename":"image_25012025_08_31_02_136882_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2e8546062b141357f13bea6b297c3987.jpg","text":"TemporaryFile(/tmp/multipartBody4019568188360517768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796098840,"filename":"image_25012025_08_31_02_136882_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f4e301efde16a7873aea44cab3e4d988.jpg","text":"TemporaryFile(/tmp/multipartBody5749581983640924039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796098840,"filename":"image_25012025_08_32_02_627856_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cdafd99b5995977ee25c82082d53a88d.jpg","text":"TemporaryFile(/tmp/multipartBody3176263690380980689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796098840,"filename":"image_25012025_08_31_02_136882_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331299712","file1":"1331299709","file0":"1331299690","file4":"1331299721","file5":"1331299725","file3":"1331299716"},"map_files_photo_id_array":[{"photo_id":"1331299725","filename":"file5"},{"photo_id":"1331299712","filename":"file2"},{"photo_id":"1331299721","filename":"file4"},{"photo_id":"1331299709","filename":"file1"},{"photo_id":"1331299690","filename":"file0"},{"photo_id":"1331299716","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331299712":["hashtag1","hashtag2"]},{"1331299721":["hashtag1","hashtag2"]},{"1331299709":["hashtag1","hashtag2"]},{"1331299690":["hashtag1","hashtag2"]},{"1331299725":["hashtag1","hashtag2"]},{"1331299716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331299712, 1331299721, 1331299709, 1331299690, 1331299725, 1331299716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.50067448616028 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 10:08:02.701948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/32/image_25012025_08_32_02_627856_0002.jpg', '/home/pi/Desktop/images/25012025/08/32/image_25012025_08_32_02_627856_0003.jpg', '/home/pi/Desktop/images/25012025/08/33/image_25012025_08_33_03_116058_0000.jpg', '/home/pi/Desktop/images/25012025/08/33/image_25012025_08_33_03_116058_0001.jpg', '/home/pi/Desktop/images/25012025/08/33/image_25012025_08_33_03_116058_0002.jpg', '/home/pi/Desktop/images/25012025/08/33/image_25012025_08_33_03_116058_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/32/image_25012025_08_32_02_627856_0002.jpg
/home/pi/Desktop/images/25012025/08/32/image_25012025_08_32_02_627856_0003.jpg
/home/pi/Desktop/images/25012025/08/33/image_25012025_08_33_03_116058_0000.jpg
/home/pi/Desktop/images/25012025/08/33/image_25012025_08_33_03_116058_0001.jpg
/home/pi/Desktop/images/25012025/08/33/image_25012025_08_33_03_116058_0002.jpg
/home/pi/Desktop/images/25012025/08/33/image_25012025_08_33_03_116058_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.376014471054077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:08:22.255833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/32/image_25012025_08_32_02_627856_0002.jpg', '/home/pi/Desktop/images/25012025/08/32/image_25012025_08_32_02_627856_0003.jpg', '/home/pi/Desktop/images/25012025/08/33/image_25012025_08_33_03_116058_0000.jpg', '/home/pi/Desktop/images/25012025/08/33/image_25012025_08_33_03_116058_0001.jpg', '/home/pi/Desktop/images/25012025/08/33/image_25012025_08_33_03_116058_0002.jpg', '/home/pi/Desktop/images/25012025/08/33/image_25012025_08_33_03_116058_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/32/image_25012025_08_32_02_627856_0002.jpg
/home/pi/Desktop/images/25012025/08/32/image_25012025_08_32_02_627856_0003.jpg
/home/pi/Desktop/images/25012025/08/33/image_25012025_08_33_03_116058_0000.jpg
/home/pi/Desktop/images/25012025/08/33/image_25012025_08_33_03_116058_0001.jpg
/home/pi/Desktop/images/25012025/08/33/image_25012025_08_33_03_116058_0002.jpg
/home/pi/Desktop/images/25012025/08/33/image_25012025_08_33_03_116058_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 [200]>
b'{"photo_ids":["1331299919","1331299903","1331299911","1331299914","1331299908","1331299898"],"photo_ids_order":["1331299898","1331299903","1331299908","1331299911","1331299914","1331299919"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d4d39e6b430f618ff3f0b474625e5d5c.jpg","text":"TemporaryFile(/tmp/multipartBody2529179553696680271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796178992,"filename":"image_25012025_08_33_03_116058_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3f6411d15d36a0725e1b1949aab5846e.jpg","text":"TemporaryFile(/tmp/multipartBody1205183256623664016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796178992,"filename":"image_25012025_08_32_02_627856_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fcb616d49717f98b440df53402f13e85.jpg","text":"TemporaryFile(/tmp/multipartBody4429199137506540532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796178992,"filename":"image_25012025_08_33_03_116058_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/403354e14e27fc3759ce5cf0e1c749d9.jpg","text":"TemporaryFile(/tmp/multipartBody2629144540678508881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796178992,"filename":"image_25012025_08_33_03_116058_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eb039bdce86b24da4589f9238d818695.jpg","text":"TemporaryFile(/tmp/multipartBody2235758658891269679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796178992,"filename":"image_25012025_08_33_03_116058_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c54de2a7012241798aeb379a3fe4b109.jpg","text":"TemporaryFile(/tmp/multipartBody7985736321232879272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796178992,"filename":"image_25012025_08_32_02_627856_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331299908","file1":"1331299903","file0":"1331299898","file4":"1331299914","file5":"1331299919","file3":"1331299911"},"map_files_photo_id_array":[{"photo_id":"1331299919","filename":"file5"},{"photo_id":"1331299908","filename":"file2"},{"photo_id":"1331299914","filename":"file4"},{"photo_id":"1331299903","filename":"file1"},{"photo_id":"1331299898","filename":"file0"},{"photo_id":"1331299911","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331299919":["hashtag1","hashtag2"]},{"1331299903":["hashtag1","hashtag2"]},{"1331299911":["hashtag1","hashtag2"]},{"1331299914":["hashtag1","hashtag2"]},{"1331299908":["hashtag1","hashtag2"]},{"1331299898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331299919, 1331299903, 1331299911, 1331299914, 1331299908, 1331299898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.521119117736816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:09:22.421137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/34/image_25012025_08_34_02_628268_0000.jpg', '/home/pi/Desktop/images/25012025/08/34/image_25012025_08_34_02_628268_0001.jpg', '/home/pi/Desktop/images/25012025/08/34/image_25012025_08_34_02_628268_0002.jpg', '/home/pi/Desktop/images/25012025/08/34/image_25012025_08_34_02_628268_0003.jpg', '/home/pi/Desktop/images/25012025/08/35/image_25012025_08_35_03_092514_0000.jpg', '/home/pi/Desktop/images/25012025/08/35/image_25012025_08_35_03_092514_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/34/image_25012025_08_34_02_628268_0000.jpg
/home/pi/Desktop/images/25012025/08/34/image_25012025_08_34_02_628268_0001.jpg
/home/pi/Desktop/images/25012025/08/34/image_25012025_08_34_02_628268_0002.jpg
/home/pi/Desktop/images/25012025/08/34/image_25012025_08_34_02_628268_0003.jpg
/home/pi/Desktop/images/25012025/08/35/image_25012025_08_35_03_092514_0000.jpg
/home/pi/Desktop/images/25012025/08/35/image_25012025_08_35_03_092514_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":["1331299948","1331299936","1331299941","1331299950","1331299944","1331299947"],"photo_ids_order":["1331299936","1331299941","1331299944","1331299947","1331299948","1331299950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5863083ef80524365b9449b3d1cf1095.jpg","text":"TemporaryFile(/tmp/multipartBody7126199903521530860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796239461,"filename":"image_25012025_08_35_03_092514_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ef686d0a6e2b019fbbdcd7f777249b38.jpg","text":"TemporaryFile(/tmp/multipartBody1500605750168989033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796239461,"filename":"image_25012025_08_34_02_628268_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5536caf8f93c5e3fcc181c27dbcc68fd.jpg","text":"TemporaryFile(/tmp/multipartBody8368402800725633871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796239461,"filename":"image_25012025_08_34_02_628268_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/680cf95e69fdf3872f147de07d7f2866.jpg","text":"TemporaryFile(/tmp/multipartBody3941362228234122078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796239461,"filename":"image_25012025_08_35_03_092514_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/565e9dbf506029d78b39c64dc96b06b9.jpg","text":"TemporaryFile(/tmp/multipartBody7595443419866655413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796239461,"filename":"image_25012025_08_34_02_628268_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/661147c794a7e66b1738d7c0a3a253f2.jpg","text":"TemporaryFile(/tmp/multipartBody326164073240813665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796239461,"filename":"image_25012025_08_34_02_628268_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331299944","file1":"1331299941","file0":"1331299936","file4":"1331299948","file5":"1331299950","file3":"1331299947"},"map_files_photo_id_array":[{"photo_id":"1331299950","filename":"file5"},{"photo_id":"1331299944","filename":"file2"},{"photo_id":"1331299948","filename":"file4"},{"photo_id":"1331299941","filename":"file1"},{"photo_id":"1331299936","filename":"file0"},{"photo_id":"1331299947","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331299948":["hashtag1","hashtag2"]},{"1331299936":["hashtag1","hashtag2"]},{"1331299941":["hashtag1","hashtag2"]},{"1331299950":["hashtag1","hashtag2"]},{"1331299944":["hashtag1","hashtag2"]},{"1331299947":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331299948, 1331299936, 1331299941, 1331299950, 1331299944, 1331299947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.360406160354614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:10:22.585272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/35/image_25012025_08_35_03_092514_0002.jpg', '/home/pi/Desktop/images/25012025/08/35/image_25012025_08_35_03_092514_0003.jpg', '/home/pi/Desktop/images/25012025/08/36/image_25012025_08_36_02_666125_0000.jpg', '/home/pi/Desktop/images/25012025/08/36/image_25012025_08_36_02_666125_0001.jpg', '/home/pi/Desktop/images/25012025/08/36/image_25012025_08_36_02_666125_0002.jpg', '/home/pi/Desktop/images/25012025/08/36/image_25012025_08_36_02_666125_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/35/image_25012025_08_35_03_092514_0002.jpg
/home/pi/Desktop/images/25012025/08/35/image_25012025_08_35_03_092514_0003.jpg
/home/pi/Desktop/images/25012025/08/36/image_25012025_08_36_02_666125_0000.jpg
/home/pi/Desktop/images/25012025/08/36/image_25012025_08_36_02_666125_0001.jpg
/home/pi/Desktop/images/25012025/08/36/image_25012025_08_36_02_666125_0002.jpg
/home/pi/Desktop/images/25012025/08/36/image_25012025_08_36_02_666125_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 [200]>
b'{"photo_ids":["1331300188","1331300182","1331300140","1331300184","1331300180","1331300147"],"photo_ids_order":["1331300140","1331300147","1331300180","1331300182","1331300184","1331300188"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/11b44f4e00663f1de235566918a5674d.jpg","text":"TemporaryFile(/tmp/multipartBody6943544994523030726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796299237,"filename":"image_25012025_08_36_02_666125_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cc64ae5a4d2757b5c92145ca902bd2ac.jpg","text":"TemporaryFile(/tmp/multipartBody5934709364404643019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796299237,"filename":"image_25012025_08_36_02_666125_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c0aa334495853a4bf47d3e64398658d0.jpg","text":"TemporaryFile(/tmp/multipartBody9125174400745376710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796299237,"filename":"image_25012025_08_35_03_092514_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/20600aae2a418927c63197810ff69f2e.jpg","text":"TemporaryFile(/tmp/multipartBody4429630957735522377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796299237,"filename":"image_25012025_08_36_02_666125_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3c098f84d64bcc68145e0fae044bc4f4.jpg","text":"TemporaryFile(/tmp/multipartBody8100171202418477328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796299237,"filename":"image_25012025_08_36_02_666125_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8a2faa16487f312642bf18eae2ce2a8b.jpg","text":"TemporaryFile(/tmp/multipartBody1601107187141623512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796299237,"filename":"image_25012025_08_35_03_092514_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331300180","file1":"1331300147","file0":"1331300140","file4":"1331300184","file5":"1331300188","file3":"1331300182"},"map_files_photo_id_array":[{"photo_id":"1331300188","filename":"file5"},{"photo_id":"1331300180","filename":"file2"},{"photo_id":"1331300184","filename":"file4"},{"photo_id":"1331300147","filename":"file1"},{"photo_id":"1331300140","filename":"file0"},{"photo_id":"1331300182","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331300188":["hashtag1","hashtag2"]},{"1331300182":["hashtag1","hashtag2"]},{"1331300140":["hashtag1","hashtag2"]},{"1331300184":["hashtag1","hashtag2"]},{"1331300180":["hashtag1","hashtag2"]},{"1331300147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331300188, 1331300182, 1331300140, 1331300184, 1331300180, 1331300147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.40279459953308 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:11:21.767077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/37/image_25012025_08_37_02_181568_0000.jpg', '/home/pi/Desktop/images/25012025/08/37/image_25012025_08_37_02_181568_0001.jpg', '/home/pi/Desktop/images/25012025/08/37/image_25012025_08_37_02_181568_0002.jpg', '/home/pi/Desktop/images/25012025/08/37/image_25012025_08_37_02_181568_0003.jpg', '/home/pi/Desktop/images/25012025/08/38/image_25012025_08_38_02_702313_0000.jpg', '/home/pi/Desktop/images/25012025/08/38/image_25012025_08_38_02_702313_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/37/image_25012025_08_37_02_181568_0000.jpg
/home/pi/Desktop/images/25012025/08/37/image_25012025_08_37_02_181568_0001.jpg
/home/pi/Desktop/images/25012025/08/37/image_25012025_08_37_02_181568_0002.jpg
/home/pi/Desktop/images/25012025/08/37/image_25012025_08_37_02_181568_0003.jpg
/home/pi/Desktop/images/25012025/08/38/image_25012025_08_38_02_702313_0000.jpg
/home/pi/Desktop/images/25012025/08/38/image_25012025_08_38_02_702313_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":["1331300216","1331300203","1331300206","1331300209","1331300211","1331300213"],"photo_ids_order":["1331300203","1331300206","1331300209","1331300211","1331300213","1331300216"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/64db06a5a23d03b4644317db086fc5d7.jpg","text":"TemporaryFile(/tmp/multipartBody6162821221802658440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796357889,"filename":"image_25012025_08_38_02_702313_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0f4d7f61e7f414b09d263b4e48950ef4.jpg","text":"TemporaryFile(/tmp/multipartBody755648470964808432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796357889,"filename":"image_25012025_08_37_02_181568_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4583e518fbef8f712be38683059c9aab.jpg","text":"TemporaryFile(/tmp/multipartBody2342548772092134366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796357889,"filename":"image_25012025_08_37_02_181568_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bc3cbba9197d7abb7870aae650639ddd.jpg","text":"TemporaryFile(/tmp/multipartBody5789956158938533774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796357889,"filename":"image_25012025_08_37_02_181568_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/58a52125bfb0f8ea46c40826fbad0cf5.jpg","text":"TemporaryFile(/tmp/multipartBody7634087725394971301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796357889,"filename":"image_25012025_08_37_02_181568_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/24b9ec92e240f26a989693a2b606e2a1.jpg","text":"TemporaryFile(/tmp/multipartBody8941563092140156970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796357889,"filename":"image_25012025_08_38_02_702313_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331300209","file1":"1331300206","file0":"1331300203","file4":"1331300213","file5":"1331300216","file3":"1331300211"},"map_files_photo_id_array":[{"photo_id":"1331300216","filename":"file5"},{"photo_id":"1331300209","filename":"file2"},{"photo_id":"1331300213","filename":"file4"},{"photo_id":"1331300206","filename":"file1"},{"photo_id":"1331300203","filename":"file0"},{"photo_id":"1331300211","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331300216":["hashtag1","hashtag2"]},{"1331300203":["hashtag1","hashtag2"]},{"1331300206":["hashtag1","hashtag2"]},{"1331300209":["hashtag1","hashtag2"]},{"1331300211":["hashtag1","hashtag2"]},{"1331300213":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331300216, 1331300203, 1331300206, 1331300209, 1331300211, 1331300213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.022757053375244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:12:21.984211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/38/image_25012025_08_38_02_702313_0002.jpg', '/home/pi/Desktop/images/25012025/08/38/image_25012025_08_38_02_702313_0003.jpg', '/home/pi/Desktop/images/25012025/08/39/image_25012025_08_39_02_233381_0000.jpg', '/home/pi/Desktop/images/25012025/08/39/image_25012025_08_39_02_233381_0001.jpg', '/home/pi/Desktop/images/25012025/08/39/image_25012025_08_39_02_233381_0002.jpg', '/home/pi/Desktop/images/25012025/08/39/image_25012025_08_39_02_233381_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/38/image_25012025_08_38_02_702313_0002.jpg
/home/pi/Desktop/images/25012025/08/38/image_25012025_08_38_02_702313_0003.jpg
/home/pi/Desktop/images/25012025/08/39/image_25012025_08_39_02_233381_0000.jpg
/home/pi/Desktop/images/25012025/08/39/image_25012025_08_39_02_233381_0001.jpg
/home/pi/Desktop/images/25012025/08/39/image_25012025_08_39_02_233381_0002.jpg
/home/pi/Desktop/images/25012025/08/39/image_25012025_08_39_02_233381_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 [200]>
b'{"photo_ids":["1331300236","1331300244","1331300247","1331300249","1331300240","1331300252"],"photo_ids_order":["1331300236","1331300240","1331300244","1331300247","1331300249","1331300252"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fdbb4ff9f41f90aa1c2313746973d0f1.jpg","text":"TemporaryFile(/tmp/multipartBody2310276026735088680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796418254,"filename":"image_25012025_08_38_02_702313_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/40c6cb9d9d5f849191563cc7a3817ae1.jpg","text":"TemporaryFile(/tmp/multipartBody4717396885302225249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796418254,"filename":"image_25012025_08_39_02_233381_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e4c3760f933227eecf350167fd77a08f.jpg","text":"TemporaryFile(/tmp/multipartBody1074179037328155683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796418254,"filename":"image_25012025_08_39_02_233381_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2019846c2e4f3e9f48c1074c8039c657.jpg","text":"TemporaryFile(/tmp/multipartBody8368103771418050022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796418254,"filename":"image_25012025_08_39_02_233381_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/83fe4d11f5ae81d801cab480ffe8cc69.jpg","text":"TemporaryFile(/tmp/multipartBody2796224835519744279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796418254,"filename":"image_25012025_08_38_02_702313_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b420a772de80839efe001d152e9639eb.jpg","text":"TemporaryFile(/tmp/multipartBody1912423718800005336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796418254,"filename":"image_25012025_08_39_02_233381_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331300244","file1":"1331300240","file0":"1331300236","file4":"1331300249","file5":"1331300252","file3":"1331300247"},"map_files_photo_id_array":[{"photo_id":"1331300252","filename":"file5"},{"photo_id":"1331300244","filename":"file2"},{"photo_id":"1331300249","filename":"file4"},{"photo_id":"1331300240","filename":"file1"},{"photo_id":"1331300236","filename":"file0"},{"photo_id":"1331300247","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331300236":["hashtag1","hashtag2"]},{"1331300244":["hashtag1","hashtag2"]},{"1331300247":["hashtag1","hashtag2"]},{"1331300249":["hashtag1","hashtag2"]},{"1331300240":["hashtag1","hashtag2"]},{"1331300252":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331300236, 1331300244, 1331300247, 1331300249, 1331300240, 1331300252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.58503794670105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:13:22.306829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/40/image_25012025_08_40_02_766206_0000.jpg', '/home/pi/Desktop/images/25012025/08/40/image_25012025_08_40_02_766206_0001.jpg', '/home/pi/Desktop/images/25012025/08/40/image_25012025_08_40_02_766206_0002.jpg', '/home/pi/Desktop/images/25012025/08/40/image_25012025_08_40_02_766206_0003.jpg', '/home/pi/Desktop/images/25012025/08/41/image_25012025_08_41_02_450948_0000.jpg', '/home/pi/Desktop/images/25012025/08/41/image_25012025_08_41_02_450948_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/40/image_25012025_08_40_02_766206_0000.jpg
/home/pi/Desktop/images/25012025/08/40/image_25012025_08_40_02_766206_0001.jpg
/home/pi/Desktop/images/25012025/08/40/image_25012025_08_40_02_766206_0002.jpg
/home/pi/Desktop/images/25012025/08/40/image_25012025_08_40_02_766206_0003.jpg
/home/pi/Desktop/images/25012025/08/41/image_25012025_08_41_02_450948_0000.jpg
/home/pi/Desktop/images/25012025/08/41/image_25012025_08_41_02_450948_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":["1331300309","1331300304","1331300294","1331300318","1331300312","1331300306"],"photo_ids_order":["1331300294","1331300304","1331300306","1331300309","1331300312","1331300318"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8051d382a6730c47d6d34dbf3766fbbb.jpg","text":"TemporaryFile(/tmp/multipartBody1042406447216448298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796479419,"filename":"image_25012025_08_40_02_766206_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4cf156a0b5700ffb32e1477d2f55fe2f.jpg","text":"TemporaryFile(/tmp/multipartBody4361516855334847099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796479419,"filename":"image_25012025_08_40_02_766206_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4d2eaac3e003341389b95225ccd61942.jpg","text":"TemporaryFile(/tmp/multipartBody7463538240952440458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796479419,"filename":"image_25012025_08_40_02_766206_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ae60589fa5871eceb4448ca147597f16.jpg","text":"TemporaryFile(/tmp/multipartBody7582374350161864093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796479419,"filename":"image_25012025_08_41_02_450948_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2a66e9e8d0bf5922c3f705a68e0c89bc.jpg","text":"TemporaryFile(/tmp/multipartBody8571182386532449174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796479419,"filename":"image_25012025_08_41_02_450948_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8db7b27041e01f934f41ed8717adc37c.jpg","text":"TemporaryFile(/tmp/multipartBody548526514694675560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796479419,"filename":"image_25012025_08_40_02_766206_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331300306","file1":"1331300304","file0":"1331300294","file4":"1331300312","file5":"1331300318","file3":"1331300309"},"map_files_photo_id_array":[{"photo_id":"1331300318","filename":"file5"},{"photo_id":"1331300306","filename":"file2"},{"photo_id":"1331300312","filename":"file4"},{"photo_id":"1331300304","filename":"file1"},{"photo_id":"1331300294","filename":"file0"},{"photo_id":"1331300309","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331300309":["hashtag1","hashtag2"]},{"1331300304":["hashtag1","hashtag2"]},{"1331300294":["hashtag1","hashtag2"]},{"1331300318":["hashtag1","hashtag2"]},{"1331300312":["hashtag1","hashtag2"]},{"1331300306":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331300309, 1331300304, 1331300294, 1331300318, 1331300312, 1331300306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.45131731033325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:14:22.314592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/41/image_25012025_08_41_02_450948_0002.jpg', '/home/pi/Desktop/images/25012025/08/41/image_25012025_08_41_02_450948_0003.jpg', '/home/pi/Desktop/images/25012025/08/42/image_25012025_08_42_02_992529_0000.jpg', '/home/pi/Desktop/images/25012025/08/42/image_25012025_08_42_02_992529_0001.jpg', '/home/pi/Desktop/images/25012025/08/42/image_25012025_08_42_02_992529_0002.jpg', '/home/pi/Desktop/images/25012025/08/42/image_25012025_08_42_02_992529_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/41/image_25012025_08_41_02_450948_0002.jpg
/home/pi/Desktop/images/25012025/08/41/image_25012025_08_41_02_450948_0003.jpg
/home/pi/Desktop/images/25012025/08/42/image_25012025_08_42_02_992529_0000.jpg
/home/pi/Desktop/images/25012025/08/42/image_25012025_08_42_02_992529_0001.jpg
/home/pi/Desktop/images/25012025/08/42/image_25012025_08_42_02_992529_0002.jpg
/home/pi/Desktop/images/25012025/08/42/image_25012025_08_42_02_992529_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: 16.115840673446655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 10:14:42.336661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/41/image_25012025_08_41_02_450948_0002.jpg', '/home/pi/Desktop/images/25012025/08/41/image_25012025_08_41_02_450948_0003.jpg', '/home/pi/Desktop/images/25012025/08/42/image_25012025_08_42_02_992529_0000.jpg', '/home/pi/Desktop/images/25012025/08/42/image_25012025_08_42_02_992529_0001.jpg', '/home/pi/Desktop/images/25012025/08/42/image_25012025_08_42_02_992529_0002.jpg', '/home/pi/Desktop/images/25012025/08/42/image_25012025_08_42_02_992529_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/41/image_25012025_08_41_02_450948_0002.jpg
/home/pi/Desktop/images/25012025/08/41/image_25012025_08_41_02_450948_0003.jpg
/home/pi/Desktop/images/25012025/08/42/image_25012025_08_42_02_992529_0000.jpg
/home/pi/Desktop/images/25012025/08/42/image_25012025_08_42_02_992529_0001.jpg
/home/pi/Desktop/images/25012025/08/42/image_25012025_08_42_02_992529_0002.jpg
/home/pi/Desktop/images/25012025/08/42/image_25012025_08_42_02_992529_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":["1331300356","1331300367","1331300352","1331300369","1331300360","1331300348"],"photo_ids_order":["1331300348","1331300352","1331300356","1331300360","1331300367","1331300369"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/af20418a1dd06ad4e3e4390f169ee46a.jpg","text":"TemporaryFile(/tmp/multipartBody3568985781038772805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796558842,"filename":"image_25012025_08_42_02_992529_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fb7abed133ccf8d0e739240e4490f8be.jpg","text":"TemporaryFile(/tmp/multipartBody3374082781089224494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796558842,"filename":"image_25012025_08_42_02_992529_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0e3c67a49956b0c96ca266abc4e90d46.jpg","text":"TemporaryFile(/tmp/multipartBody4385473097225646773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796558842,"filename":"image_25012025_08_41_02_450948_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/265ba7ca5d47b16f418d88cdf13a3618.jpg","text":"TemporaryFile(/tmp/multipartBody7184565121910654071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796558842,"filename":"image_25012025_08_42_02_992529_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4ad5131df80a2de96286ede09a0193b5.jpg","text":"TemporaryFile(/tmp/multipartBody757878540106463616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796558842,"filename":"image_25012025_08_42_02_992529_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/efa7cc274c3bb69b5a7558fe2625cfa2.jpg","text":"TemporaryFile(/tmp/multipartBody1125800592168479692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796558842,"filename":"image_25012025_08_41_02_450948_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331300356","file1":"1331300352","file0":"1331300348","file4":"1331300367","file5":"1331300369","file3":"1331300360"},"map_files_photo_id_array":[{"photo_id":"1331300369","filename":"file5"},{"photo_id":"1331300356","filename":"file2"},{"photo_id":"1331300367","filename":"file4"},{"photo_id":"1331300352","filename":"file1"},{"photo_id":"1331300348","filename":"file0"},{"photo_id":"1331300360","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331300356":["hashtag1","hashtag2"]},{"1331300367":["hashtag1","hashtag2"]},{"1331300352":["hashtag1","hashtag2"]},{"1331300369":["hashtag1","hashtag2"]},{"1331300360":["hashtag1","hashtag2"]},{"1331300348":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331300356, 1331300367, 1331300352, 1331300369, 1331300360, 1331300348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.86212491989136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:15:52.474200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/43/image_25012025_08_43_02_686890_0000.jpg', '/home/pi/Desktop/images/25012025/08/43/image_25012025_08_43_02_686890_0001.jpg', '/home/pi/Desktop/images/25012025/08/43/image_25012025_08_43_02_686890_0002.jpg', '/home/pi/Desktop/images/25012025/08/43/image_25012025_08_43_02_686890_0003.jpg', '/home/pi/Desktop/images/25012025/08/44/image_25012025_08_44_02_263261_0000.jpg', '/home/pi/Desktop/images/25012025/08/44/image_25012025_08_44_02_263261_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/43/image_25012025_08_43_02_686890_0000.jpg
/home/pi/Desktop/images/25012025/08/43/image_25012025_08_43_02_686890_0001.jpg
/home/pi/Desktop/images/25012025/08/43/image_25012025_08_43_02_686890_0002.jpg
/home/pi/Desktop/images/25012025/08/43/image_25012025_08_43_02_686890_0003.jpg
/home/pi/Desktop/images/25012025/08/44/image_25012025_08_44_02_263261_0000.jpg
/home/pi/Desktop/images/25012025/08/44/image_25012025_08_44_02_263261_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":["1331300428","1331300466","1331300433","1331300421","1331300450","1331300426"],"photo_ids_order":["1331300421","1331300426","1331300428","1331300433","1331300450","1331300466"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5aa25cc9359d70d3262839b21b3f4efd.jpg","text":"TemporaryFile(/tmp/multipartBody2643887633218290877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796629045,"filename":"image_25012025_08_43_02_686890_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d28b10c7e919f8a7951e259614cfc360.jpg","text":"TemporaryFile(/tmp/multipartBody2707446775892427455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796629045,"filename":"image_25012025_08_44_02_263261_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3d8ef4582d83dec05ab20d870ac78168.jpg","text":"TemporaryFile(/tmp/multipartBody2083509017490408007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796629045,"filename":"image_25012025_08_43_02_686890_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/17e16e4259c89becf2e0ef539aea3c37.jpg","text":"TemporaryFile(/tmp/multipartBody3297915351182426191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796629045,"filename":"image_25012025_08_43_02_686890_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/00224c95a130deb803610b0df7186a1b.jpg","text":"TemporaryFile(/tmp/multipartBody2008497509037083803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796629045,"filename":"image_25012025_08_44_02_263261_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b725883000f703b3012246125b7e3596.jpg","text":"TemporaryFile(/tmp/multipartBody5953211641843273042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796629045,"filename":"image_25012025_08_43_02_686890_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331300428","file1":"1331300426","file0":"1331300421","file4":"1331300450","file5":"1331300466","file3":"1331300433"},"map_files_photo_id_array":[{"photo_id":"1331300466","filename":"file5"},{"photo_id":"1331300428","filename":"file2"},{"photo_id":"1331300450","filename":"file4"},{"photo_id":"1331300426","filename":"file1"},{"photo_id":"1331300421","filename":"file0"},{"photo_id":"1331300433","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331300428":["hashtag1","hashtag2"]},{"1331300466":["hashtag1","hashtag2"]},{"1331300433":["hashtag1","hashtag2"]},{"1331300421":["hashtag1","hashtag2"]},{"1331300450":["hashtag1","hashtag2"]},{"1331300426":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331300428, 1331300466, 1331300433, 1331300421, 1331300450, 1331300426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.148677110672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:16:52.682122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/44/image_25012025_08_44_02_263261_0002.jpg', '/home/pi/Desktop/images/25012025/08/44/image_25012025_08_44_02_263261_0003.jpg', '/home/pi/Desktop/images/25012025/08/45/image_25012025_08_45_02_808416_0000.jpg', '/home/pi/Desktop/images/25012025/08/45/image_25012025_08_45_02_808416_0001.jpg', '/home/pi/Desktop/images/25012025/08/45/image_25012025_08_45_02_808416_0002.jpg', '/home/pi/Desktop/images/25012025/08/45/image_25012025_08_45_02_808416_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/44/image_25012025_08_44_02_263261_0002.jpg
/home/pi/Desktop/images/25012025/08/44/image_25012025_08_44_02_263261_0003.jpg
/home/pi/Desktop/images/25012025/08/45/image_25012025_08_45_02_808416_0000.jpg
/home/pi/Desktop/images/25012025/08/45/image_25012025_08_45_02_808416_0001.jpg
/home/pi/Desktop/images/25012025/08/45/image_25012025_08_45_02_808416_0002.jpg
/home/pi/Desktop/images/25012025/08/45/image_25012025_08_45_02_808416_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 [200]>
b'{"photo_ids":["1331300485","1331300506","1331300481","1331300477","1331300502","1331300488"],"photo_ids_order":["1331300477","1331300481","1331300485","1331300488","1331300502","1331300506"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2e47eb7a5291a9b194fd927a3dcf58a9.jpg","text":"TemporaryFile(/tmp/multipartBody6575139140342694017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796689350,"filename":"image_25012025_08_45_02_808416_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/23b0e1a5ee80767cd38b6dedc1d11ca8.jpg","text":"TemporaryFile(/tmp/multipartBody4717502956720408019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796689350,"filename":"image_25012025_08_45_02_808416_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c722cf6a74dbc91d9467236142190669.jpg","text":"TemporaryFile(/tmp/multipartBody2417976793975963164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796689350,"filename":"image_25012025_08_44_02_263261_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/544800b35818190e5128bf63f9b3f007.jpg","text":"TemporaryFile(/tmp/multipartBody3321078571415695042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796689350,"filename":"image_25012025_08_44_02_263261_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3ca0360524b9332375192749300a049a.jpg","text":"TemporaryFile(/tmp/multipartBody5162997525318024610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796689350,"filename":"image_25012025_08_45_02_808416_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a0031e3d816b057d66e0967ff0f648d1.jpg","text":"TemporaryFile(/tmp/multipartBody3194595965881947740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796689350,"filename":"image_25012025_08_45_02_808416_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331300485","file1":"1331300481","file0":"1331300477","file4":"1331300502","file5":"1331300506","file3":"1331300488"},"map_files_photo_id_array":[{"photo_id":"1331300506","filename":"file5"},{"photo_id":"1331300485","filename":"file2"},{"photo_id":"1331300502","filename":"file4"},{"photo_id":"1331300481","filename":"file1"},{"photo_id":"1331300477","filename":"file0"},{"photo_id":"1331300488","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331300485":["hashtag1","hashtag2"]},{"1331300506":["hashtag1","hashtag2"]},{"1331300481":["hashtag1","hashtag2"]},{"1331300477":["hashtag1","hashtag2"]},{"1331300502":["hashtag1","hashtag2"]},{"1331300488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331300485, 1331300506, 1331300481, 1331300477, 1331300502, 1331300488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.04777526855469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:17:51.840356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/46/image_25012025_08_46_02_296327_0000.jpg', '/home/pi/Desktop/images/25012025/08/46/image_25012025_08_46_02_296327_0001.jpg', '/home/pi/Desktop/images/25012025/08/46/image_25012025_08_46_02_296327_0002.jpg', '/home/pi/Desktop/images/25012025/08/46/image_25012025_08_46_02_296327_0003.jpg', '/home/pi/Desktop/images/25012025/08/47/image_25012025_08_47_02_804225_0000.jpg', '/home/pi/Desktop/images/25012025/08/47/image_25012025_08_47_02_804225_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/46/image_25012025_08_46_02_296327_0000.jpg
/home/pi/Desktop/images/25012025/08/46/image_25012025_08_46_02_296327_0001.jpg
/home/pi/Desktop/images/25012025/08/46/image_25012025_08_46_02_296327_0002.jpg
/home/pi/Desktop/images/25012025/08/46/image_25012025_08_46_02_296327_0003.jpg
/home/pi/Desktop/images/25012025/08/47/image_25012025_08_47_02_804225_0000.jpg
/home/pi/Desktop/images/25012025/08/47/image_25012025_08_47_02_804225_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":["1331300782","1331300563","1331300565","1331300547","1331300648","1331300543"],"photo_ids_order":["1331300543","1331300547","1331300563","1331300565","1331300648","1331300782"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9568998b35a279d63f8cd8e7c5f9bf63.jpg","text":"TemporaryFile(/tmp/multipartBody6407059016662509032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796748327,"filename":"image_25012025_08_47_02_804225_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4304b309b1f816a3c686fa79828d0f58.jpg","text":"TemporaryFile(/tmp/multipartBody6285741457895620464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796748327,"filename":"image_25012025_08_46_02_296327_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4e387a6f3bfd92df5cb73c306746549b.jpg","text":"TemporaryFile(/tmp/multipartBody4302872091670749652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796748327,"filename":"image_25012025_08_46_02_296327_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0f414a615960b79ac09b4764595a0c21.jpg","text":"TemporaryFile(/tmp/multipartBody7526076241111909485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796748327,"filename":"image_25012025_08_46_02_296327_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f4b012de3a8a9c0e6137738922c095be.jpg","text":"TemporaryFile(/tmp/multipartBody4188349673781284446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796748327,"filename":"image_25012025_08_47_02_804225_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4733ce608582d64a6260c814b9585f07.jpg","text":"TemporaryFile(/tmp/multipartBody4051923094225475368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796748327,"filename":"image_25012025_08_46_02_296327_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331300563","file1":"1331300547","file0":"1331300543","file4":"1331300648","file5":"1331300782","file3":"1331300565"},"map_files_photo_id_array":[{"photo_id":"1331300782","filename":"file5"},{"photo_id":"1331300563","filename":"file2"},{"photo_id":"1331300648","filename":"file4"},{"photo_id":"1331300547","filename":"file1"},{"photo_id":"1331300543","filename":"file0"},{"photo_id":"1331300565","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331300782":["hashtag1","hashtag2"]},{"1331300563":["hashtag1","hashtag2"]},{"1331300565":["hashtag1","hashtag2"]},{"1331300547":["hashtag1","hashtag2"]},{"1331300648":["hashtag1","hashtag2"]},{"1331300543":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331300782, 1331300563, 1331300565, 1331300547, 1331300648, 1331300543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.08348035812378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:18:51.990104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/47/image_25012025_08_47_02_804225_0002.jpg', '/home/pi/Desktop/images/25012025/08/47/image_25012025_08_47_02_804225_0003.jpg', '/home/pi/Desktop/images/25012025/08/48/image_25012025_08_48_02_295483_0000.jpg', '/home/pi/Desktop/images/25012025/08/48/image_25012025_08_48_02_295483_0001.jpg', '/home/pi/Desktop/images/25012025/08/48/image_25012025_08_48_02_295483_0002.jpg', '/home/pi/Desktop/images/25012025/08/48/image_25012025_08_48_02_295483_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/47/image_25012025_08_47_02_804225_0002.jpg
/home/pi/Desktop/images/25012025/08/47/image_25012025_08_47_02_804225_0003.jpg
/home/pi/Desktop/images/25012025/08/48/image_25012025_08_48_02_295483_0000.jpg
/home/pi/Desktop/images/25012025/08/48/image_25012025_08_48_02_295483_0001.jpg
/home/pi/Desktop/images/25012025/08/48/image_25012025_08_48_02_295483_0002.jpg
/home/pi/Desktop/images/25012025/08/48/image_25012025_08_48_02_295483_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 [200]>
b'{"photo_ids":["1331301576","1331301180","1331301177","1331301176","1331301178","1331301286"],"photo_ids_order":["1331301176","1331301177","1331301178","1331301180","1331301286","1331301576"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2b3376fa1d7a41aebdff8dfd1f65d51a.jpg","text":"TemporaryFile(/tmp/multipartBody7869376896339120232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796808113,"filename":"image_25012025_08_48_02_295483_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d723ac09092585a47a199993e1840186.jpg","text":"TemporaryFile(/tmp/multipartBody2870676890703982821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796808113,"filename":"image_25012025_08_48_02_295483_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/02535cf41ac5369556105d1f3494561a.jpg","text":"TemporaryFile(/tmp/multipartBody5818542350952137406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796808113,"filename":"image_25012025_08_47_02_804225_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4bc15b081af9d35976f835709a4ebf7d.jpg","text":"TemporaryFile(/tmp/multipartBody8560460862671347414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796808113,"filename":"image_25012025_08_47_02_804225_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/07b91a8729588b22696848c369ed7423.jpg","text":"TemporaryFile(/tmp/multipartBody4255256091322505701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796808113,"filename":"image_25012025_08_48_02_295483_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/29fee8f7b2c0c0ea3ea0d77ceb616ee1.jpg","text":"TemporaryFile(/tmp/multipartBody7977734145033499412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796808113,"filename":"image_25012025_08_48_02_295483_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331301178","file1":"1331301177","file0":"1331301176","file4":"1331301286","file5":"1331301576","file3":"1331301180"},"map_files_photo_id_array":[{"photo_id":"1331301576","filename":"file5"},{"photo_id":"1331301178","filename":"file2"},{"photo_id":"1331301286","filename":"file4"},{"photo_id":"1331301177","filename":"file1"},{"photo_id":"1331301176","filename":"file0"},{"photo_id":"1331301180","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331301576":["hashtag1","hashtag2"]},{"1331301180":["hashtag1","hashtag2"]},{"1331301177":["hashtag1","hashtag2"]},{"1331301176":["hashtag1","hashtag2"]},{"1331301178":["hashtag1","hashtag2"]},{"1331301286":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331301576, 1331301180, 1331301177, 1331301176, 1331301178, 1331301286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.568886041641235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:19:52.203057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/49/image_25012025_08_49_02_877549_0000.jpg', '/home/pi/Desktop/images/25012025/08/49/image_25012025_08_49_02_877549_0001.jpg', '/home/pi/Desktop/images/25012025/08/49/image_25012025_08_49_02_877549_0002.jpg', '/home/pi/Desktop/images/25012025/08/49/image_25012025_08_49_02_877549_0003.jpg', '/home/pi/Desktop/images/25012025/08/50/image_25012025_08_50_02_369818_0000.jpg', '/home/pi/Desktop/images/25012025/08/50/image_25012025_08_50_02_369818_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/49/image_25012025_08_49_02_877549_0000.jpg
/home/pi/Desktop/images/25012025/08/49/image_25012025_08_49_02_877549_0001.jpg
/home/pi/Desktop/images/25012025/08/49/image_25012025_08_49_02_877549_0002.jpg
/home/pi/Desktop/images/25012025/08/49/image_25012025_08_49_02_877549_0003.jpg
/home/pi/Desktop/images/25012025/08/50/image_25012025_08_50_02_369818_0000.jpg
/home/pi/Desktop/images/25012025/08/50/image_25012025_08_50_02_369818_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":["1331302512","1331302763","1331302475","1331302579","1331302516","1331302519"],"photo_ids_order":["1331302475","1331302512","1331302516","1331302519","1331302579","1331302763"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eb12fe44989c937cfaa17a1e665ee5ee.jpg","text":"TemporaryFile(/tmp/multipartBody8393352183885678268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796868647,"filename":"image_25012025_08_49_02_877549_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/37929efdfc7a564512ed70c8fa036391.jpg","text":"TemporaryFile(/tmp/multipartBody4426110294854725084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796868647,"filename":"image_25012025_08_50_02_369818_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3127205d66f5d5060399892f795f4d69.jpg","text":"TemporaryFile(/tmp/multipartBody1930702782964219013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796868647,"filename":"image_25012025_08_49_02_877549_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2f85f1d3ecf381ea869212f8fe932226.jpg","text":"TemporaryFile(/tmp/multipartBody895193403444628536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796868647,"filename":"image_25012025_08_50_02_369818_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4f036dc608b722034730f89db6c225da.jpg","text":"TemporaryFile(/tmp/multipartBody4346360285140070290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796868647,"filename":"image_25012025_08_49_02_877549_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/31772c94f019228334425629d351fb83.jpg","text":"TemporaryFile(/tmp/multipartBody3106110304322023100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796868647,"filename":"image_25012025_08_49_02_877549_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331302516","file1":"1331302512","file0":"1331302475","file4":"1331302579","file5":"1331302763","file3":"1331302519"},"map_files_photo_id_array":[{"photo_id":"1331302763","filename":"file5"},{"photo_id":"1331302516","filename":"file2"},{"photo_id":"1331302579","filename":"file4"},{"photo_id":"1331302512","filename":"file1"},{"photo_id":"1331302475","filename":"file0"},{"photo_id":"1331302519","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331302512":["hashtag1","hashtag2"]},{"1331302763":["hashtag1","hashtag2"]},{"1331302475":["hashtag1","hashtag2"]},{"1331302579":["hashtag1","hashtag2"]},{"1331302516":["hashtag1","hashtag2"]},{"1331302519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331302512, 1331302763, 1331302475, 1331302579, 1331302516, 1331302519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.99997878074646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:20:52.372605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/50/image_25012025_08_50_02_369818_0002.jpg', '/home/pi/Desktop/images/25012025/08/50/image_25012025_08_50_02_369818_0003.jpg', '/home/pi/Desktop/images/25012025/08/51/image_25012025_08_51_02_842258_0000.jpg', '/home/pi/Desktop/images/25012025/08/51/image_25012025_08_51_02_842258_0001.jpg', '/home/pi/Desktop/images/25012025/08/51/image_25012025_08_51_02_842258_0002.jpg', '/home/pi/Desktop/images/25012025/08/51/image_25012025_08_51_02_842258_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/50/image_25012025_08_50_02_369818_0002.jpg
/home/pi/Desktop/images/25012025/08/50/image_25012025_08_50_02_369818_0003.jpg
/home/pi/Desktop/images/25012025/08/51/image_25012025_08_51_02_842258_0000.jpg
/home/pi/Desktop/images/25012025/08/51/image_25012025_08_51_02_842258_0001.jpg
/home/pi/Desktop/images/25012025/08/51/image_25012025_08_51_02_842258_0002.jpg
/home/pi/Desktop/images/25012025/08/51/image_25012025_08_51_02_842258_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 [200]>
b'{"photo_ids":["1331303103","1331303093","1331303081","1331303098","1331303089","1331303085"],"photo_ids_order":["1331303081","1331303085","1331303089","1331303093","1331303098","1331303103"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2f361533a5be36e1a8e982eb172701d4.jpg","text":"TemporaryFile(/tmp/multipartBody8986676053797172695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796929763,"filename":"image_25012025_08_51_02_842258_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eef4df824418cff01bdb27a556884e75.jpg","text":"TemporaryFile(/tmp/multipartBody8535683443332350782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796929763,"filename":"image_25012025_08_51_02_842258_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/be677d056f8626fa8abb578c36998cfc.jpg","text":"TemporaryFile(/tmp/multipartBody6330809246618633330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796929763,"filename":"image_25012025_08_50_02_369818_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ececbb3379634eb76271322d2af9f6ff.jpg","text":"TemporaryFile(/tmp/multipartBody4411912364918629902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796929763,"filename":"image_25012025_08_51_02_842258_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8689a8c1658d9e7a38d4ec38bdda4d91.jpg","text":"TemporaryFile(/tmp/multipartBody7401820007311293662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796929763,"filename":"image_25012025_08_51_02_842258_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2b5a64eb0d1894600531257526100cbe.jpg","text":"TemporaryFile(/tmp/multipartBody6234652410844864434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796929763,"filename":"image_25012025_08_50_02_369818_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331303089","file1":"1331303085","file0":"1331303081","file4":"1331303098","file5":"1331303103","file3":"1331303093"},"map_files_photo_id_array":[{"photo_id":"1331303103","filename":"file5"},{"photo_id":"1331303089","filename":"file2"},{"photo_id":"1331303098","filename":"file4"},{"photo_id":"1331303085","filename":"file1"},{"photo_id":"1331303081","filename":"file0"},{"photo_id":"1331303093","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331303103":["hashtag1","hashtag2"]},{"1331303093":["hashtag1","hashtag2"]},{"1331303081":["hashtag1","hashtag2"]},{"1331303098":["hashtag1","hashtag2"]},{"1331303089":["hashtag1","hashtag2"]},{"1331303085":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331303103, 1331303093, 1331303081, 1331303098, 1331303089, 1331303085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.540438175201416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:21:52.524681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/52/image_25012025_08_52_02_468977_0000.jpg', '/home/pi/Desktop/images/25012025/08/52/image_25012025_08_52_02_468977_0001.jpg', '/home/pi/Desktop/images/25012025/08/52/image_25012025_08_52_02_468977_0002.jpg', '/home/pi/Desktop/images/25012025/08/52/image_25012025_08_52_02_468977_0003.jpg', '/home/pi/Desktop/images/25012025/08/53/image_25012025_08_53_02_963116_0000.jpg', '/home/pi/Desktop/images/25012025/08/53/image_25012025_08_53_02_963116_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/52/image_25012025_08_52_02_468977_0000.jpg
/home/pi/Desktop/images/25012025/08/52/image_25012025_08_52_02_468977_0001.jpg
/home/pi/Desktop/images/25012025/08/52/image_25012025_08_52_02_468977_0002.jpg
/home/pi/Desktop/images/25012025/08/52/image_25012025_08_52_02_468977_0003.jpg
/home/pi/Desktop/images/25012025/08/53/image_25012025_08_53_02_963116_0000.jpg
/home/pi/Desktop/images/25012025/08/53/image_25012025_08_53_02_963116_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":["1331303133","1331303120","1331303122","1331303125","1331303139","1331303130"],"photo_ids_order":["1331303120","1331303122","1331303125","1331303130","1331303133","1331303139"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/42f7c02390b7ad5dba073e1544358179.jpg","text":"TemporaryFile(/tmp/multipartBody1554607157656131336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796990591,"filename":"image_25012025_08_53_02_963116_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b67965efa8413426dd9c58fbd03875aa.jpg","text":"TemporaryFile(/tmp/multipartBody7295854657667480391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796990591,"filename":"image_25012025_08_52_02_468977_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/130b617db8c7c2bc079095f5ae29d9ed.jpg","text":"TemporaryFile(/tmp/multipartBody5540799028159586003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796990591,"filename":"image_25012025_08_52_02_468977_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0a72419352ca3c3e6b57933218f0a1bb.jpg","text":"TemporaryFile(/tmp/multipartBody8809128738774972989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796990591,"filename":"image_25012025_08_52_02_468977_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cb1cded686e2b9f56855b5277e122451.jpg","text":"TemporaryFile(/tmp/multipartBody6535170733241480896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796990591,"filename":"image_25012025_08_53_02_963116_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/00579f6d48a95b25a34808d612e1454b.jpg","text":"TemporaryFile(/tmp/multipartBody2843904236737804463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737796990591,"filename":"image_25012025_08_52_02_468977_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331303125","file1":"1331303122","file0":"1331303120","file4":"1331303133","file5":"1331303139","file3":"1331303130"},"map_files_photo_id_array":[{"photo_id":"1331303139","filename":"file5"},{"photo_id":"1331303125","filename":"file2"},{"photo_id":"1331303133","filename":"file4"},{"photo_id":"1331303122","filename":"file1"},{"photo_id":"1331303120","filename":"file0"},{"photo_id":"1331303130","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331303133":["hashtag1","hashtag2"]},{"1331303120":["hashtag1","hashtag2"]},{"1331303122":["hashtag1","hashtag2"]},{"1331303125":["hashtag1","hashtag2"]},{"1331303139":["hashtag1","hashtag2"]},{"1331303130":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331303133, 1331303120, 1331303122, 1331303125, 1331303139, 1331303130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.64290952682495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:22:52.753579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/53/image_25012025_08_53_02_963116_0002.jpg', '/home/pi/Desktop/images/25012025/08/53/image_25012025_08_53_02_963116_0003.jpg', '/home/pi/Desktop/images/25012025/08/54/image_25012025_08_54_02_501319_0000.jpg', '/home/pi/Desktop/images/25012025/08/54/image_25012025_08_54_02_501319_0001.jpg', '/home/pi/Desktop/images/25012025/08/54/image_25012025_08_54_02_501319_0002.jpg', '/home/pi/Desktop/images/25012025/08/54/image_25012025_08_54_02_501319_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/53/image_25012025_08_53_02_963116_0002.jpg
/home/pi/Desktop/images/25012025/08/53/image_25012025_08_53_02_963116_0003.jpg
/home/pi/Desktop/images/25012025/08/54/image_25012025_08_54_02_501319_0000.jpg
/home/pi/Desktop/images/25012025/08/54/image_25012025_08_54_02_501319_0001.jpg
/home/pi/Desktop/images/25012025/08/54/image_25012025_08_54_02_501319_0002.jpg
/home/pi/Desktop/images/25012025/08/54/image_25012025_08_54_02_501319_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 [200]>
b'{"photo_ids":["1331303351","1331303345","1331303353","1331303347","1331303356","1331303341"],"photo_ids_order":["1331303341","1331303345","1331303347","1331303351","1331303353","1331303356"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/87beb8a35ccdc9e48be0c6c6156b5557.jpg","text":"TemporaryFile(/tmp/multipartBody3441547560793264477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797049861,"filename":"image_25012025_08_54_02_501319_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b94f402da09b3aee4a455b0d38c0a688.jpg","text":"TemporaryFile(/tmp/multipartBody1236419162983307017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797049861,"filename":"image_25012025_08_53_02_963116_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c3ed77e2446729104fcf2c68c1c52588.jpg","text":"TemporaryFile(/tmp/multipartBody943464978020503880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797049861,"filename":"image_25012025_08_54_02_501319_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b202a676e5407f8dd697a6047f0f6cff.jpg","text":"TemporaryFile(/tmp/multipartBody4872372285198074836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797049861,"filename":"image_25012025_08_54_02_501319_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9432bab5d0959b56aa654cfc2cb9bb26.jpg","text":"TemporaryFile(/tmp/multipartBody679052786609307420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797049861,"filename":"image_25012025_08_54_02_501319_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b61bd7bf8ad83564ed6eb79f169c34b5.jpg","text":"TemporaryFile(/tmp/multipartBody5527279681870984249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797049861,"filename":"image_25012025_08_53_02_963116_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331303347","file1":"1331303345","file0":"1331303341","file4":"1331303353","file5":"1331303356","file3":"1331303351"},"map_files_photo_id_array":[{"photo_id":"1331303356","filename":"file5"},{"photo_id":"1331303347","filename":"file2"},{"photo_id":"1331303353","filename":"file4"},{"photo_id":"1331303345","filename":"file1"},{"photo_id":"1331303341","filename":"file0"},{"photo_id":"1331303351","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331303351":["hashtag1","hashtag2"]},{"1331303345":["hashtag1","hashtag2"]},{"1331303353":["hashtag1","hashtag2"]},{"1331303347":["hashtag1","hashtag2"]},{"1331303356":["hashtag1","hashtag2"]},{"1331303341":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331303351, 1331303345, 1331303353, 1331303347, 1331303356, 1331303341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.55027651786804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:23:51.923718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/55/image_25012025_08_55_02_122922_0000.jpg', '/home/pi/Desktop/images/25012025/08/55/image_25012025_08_55_02_122922_0001.jpg', '/home/pi/Desktop/images/25012025/08/55/image_25012025_08_55_02_122922_0002.jpg', '/home/pi/Desktop/images/25012025/08/55/image_25012025_08_55_02_122922_0003.jpg', '/home/pi/Desktop/images/25012025/08/56/image_25012025_08_56_02_615810_0000.jpg', '/home/pi/Desktop/images/25012025/08/56/image_25012025_08_56_02_615810_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/55/image_25012025_08_55_02_122922_0000.jpg
/home/pi/Desktop/images/25012025/08/55/image_25012025_08_55_02_122922_0001.jpg
/home/pi/Desktop/images/25012025/08/55/image_25012025_08_55_02_122922_0002.jpg
/home/pi/Desktop/images/25012025/08/55/image_25012025_08_55_02_122922_0003.jpg
/home/pi/Desktop/images/25012025/08/56/image_25012025_08_56_02_615810_0000.jpg
/home/pi/Desktop/images/25012025/08/56/image_25012025_08_56_02_615810_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":["1331303384","1331303372","1331303381","1331303389","1331303376","1331303379"],"photo_ids_order":["1331303372","1331303376","1331303379","1331303381","1331303384","1331303389"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/300f520c92b1eb76767b2627cae6e86a.jpg","text":"TemporaryFile(/tmp/multipartBody2897533401644892124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797108772,"filename":"image_25012025_08_56_02_615810_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e8cfaf20b4432597c6ffad017b9d4ce1.jpg","text":"TemporaryFile(/tmp/multipartBody6630112612628978278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797108772,"filename":"image_25012025_08_55_02_122922_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4f5520a52ab0b4c81f236510501cc4c8.jpg","text":"TemporaryFile(/tmp/multipartBody8057143522406439379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797108772,"filename":"image_25012025_08_55_02_122922_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/df533620897bd6b41bb646b192873473.jpg","text":"TemporaryFile(/tmp/multipartBody4444973395205079333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797108772,"filename":"image_25012025_08_56_02_615810_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/36e6634f9042e6cf1a0185d099424753.jpg","text":"TemporaryFile(/tmp/multipartBody2480579255939093546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797108772,"filename":"image_25012025_08_55_02_122922_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1ac6e74580b7fa9a0d00cc41bdd8c20b.jpg","text":"TemporaryFile(/tmp/multipartBody60980602780267020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797108772,"filename":"image_25012025_08_55_02_122922_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331303379","file1":"1331303376","file0":"1331303372","file4":"1331303384","file5":"1331303389","file3":"1331303381"},"map_files_photo_id_array":[{"photo_id":"1331303389","filename":"file5"},{"photo_id":"1331303379","filename":"file2"},{"photo_id":"1331303384","filename":"file4"},{"photo_id":"1331303376","filename":"file1"},{"photo_id":"1331303372","filename":"file0"},{"photo_id":"1331303381","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331303384":["hashtag1","hashtag2"]},{"1331303372":["hashtag1","hashtag2"]},{"1331303381":["hashtag1","hashtag2"]},{"1331303389":["hashtag1","hashtag2"]},{"1331303376":["hashtag1","hashtag2"]},{"1331303379":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331303384, 1331303372, 1331303381, 1331303389, 1331303376, 1331303379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.25346326828003 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:24:52.159218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/56/image_25012025_08_56_02_615810_0002.jpg', '/home/pi/Desktop/images/25012025/08/56/image_25012025_08_56_02_615810_0003.jpg', '/home/pi/Desktop/images/25012025/08/57/image_25012025_08_57_02_258314_0000.jpg', '/home/pi/Desktop/images/25012025/08/57/image_25012025_08_57_02_258314_0001.jpg', '/home/pi/Desktop/images/25012025/08/57/image_25012025_08_57_02_258314_0002.jpg', '/home/pi/Desktop/images/25012025/08/57/image_25012025_08_57_02_258314_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/56/image_25012025_08_56_02_615810_0002.jpg
/home/pi/Desktop/images/25012025/08/56/image_25012025_08_56_02_615810_0003.jpg
/home/pi/Desktop/images/25012025/08/57/image_25012025_08_57_02_258314_0000.jpg
/home/pi/Desktop/images/25012025/08/57/image_25012025_08_57_02_258314_0001.jpg
/home/pi/Desktop/images/25012025/08/57/image_25012025_08_57_02_258314_0002.jpg
/home/pi/Desktop/images/25012025/08/57/image_25012025_08_57_02_258314_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 [200]>
b'{"photo_ids":["1331304102","1331304053","1331304099","1331303932","1331304124","1331304135"],"photo_ids_order":["1331303932","1331304053","1331304099","1331304102","1331304124","1331304135"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2bb896e36f5a0ddc4b97d0a471a70fd1.jpg","text":"TemporaryFile(/tmp/multipartBody6384762271012674010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797169566,"filename":"image_25012025_08_57_02_258314_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5cfc71a7b824ad06b57bae35ff8dcb61.jpg","text":"TemporaryFile(/tmp/multipartBody2328402971892023792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797169566,"filename":"image_25012025_08_56_02_615810_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/902578729ca33150e20e27a47a0ada77.jpg","text":"TemporaryFile(/tmp/multipartBody5579395954546751289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797169566,"filename":"image_25012025_08_57_02_258314_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0aa81e32f3edf32ba4022eb44dfeb771.jpg","text":"TemporaryFile(/tmp/multipartBody6731375918026618829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797169566,"filename":"image_25012025_08_56_02_615810_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d606753613b368e49f6f356bceb67f0d.jpg","text":"TemporaryFile(/tmp/multipartBody326262604207125274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797169566,"filename":"image_25012025_08_57_02_258314_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e2ed2ef07c9066ecdce6f7a4ff3698a4.jpg","text":"TemporaryFile(/tmp/multipartBody1898692560519509088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797169566,"filename":"image_25012025_08_57_02_258314_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331304099","file1":"1331304053","file0":"1331303932","file4":"1331304124","file5":"1331304135","file3":"1331304102"},"map_files_photo_id_array":[{"photo_id":"1331304135","filename":"file5"},{"photo_id":"1331304099","filename":"file2"},{"photo_id":"1331304124","filename":"file4"},{"photo_id":"1331304053","filename":"file1"},{"photo_id":"1331303932","filename":"file0"},{"photo_id":"1331304102","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331304102":["hashtag1","hashtag2"]},{"1331304053":["hashtag1","hashtag2"]},{"1331304099":["hashtag1","hashtag2"]},{"1331303932":["hashtag1","hashtag2"]},{"1331304124":["hashtag1","hashtag2"]},{"1331304135":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331304102, 1331304053, 1331304099, 1331303932, 1331304124, 1331304135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.76745629310608 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:25:52.334481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/58/image_25012025_08_58_02_792481_0000.jpg', '/home/pi/Desktop/images/25012025/08/58/image_25012025_08_58_02_792481_0001.jpg', '/home/pi/Desktop/images/25012025/08/58/image_25012025_08_58_02_792481_0002.jpg', '/home/pi/Desktop/images/25012025/08/58/image_25012025_08_58_02_792481_0003.jpg', '/home/pi/Desktop/images/25012025/08/59/image_25012025_08_59_02_288194_0000.jpg', '/home/pi/Desktop/images/25012025/08/59/image_25012025_08_59_02_288194_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/58/image_25012025_08_58_02_792481_0000.jpg
/home/pi/Desktop/images/25012025/08/58/image_25012025_08_58_02_792481_0001.jpg
/home/pi/Desktop/images/25012025/08/58/image_25012025_08_58_02_792481_0002.jpg
/home/pi/Desktop/images/25012025/08/58/image_25012025_08_58_02_792481_0003.jpg
/home/pi/Desktop/images/25012025/08/59/image_25012025_08_59_02_288194_0000.jpg
/home/pi/Desktop/images/25012025/08/59/image_25012025_08_59_02_288194_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":["1331304455","1331304470","1331304173","1331304349","1331304465","1331304234"],"photo_ids_order":["1331304173","1331304234","1331304349","1331304455","1331304465","1331304470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3b2a0a6cfb50cd10dbec171636361dbf.jpg","text":"TemporaryFile(/tmp/multipartBody3360120014763355554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797229496,"filename":"image_25012025_08_58_02_792481_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/34c858ceef16a02392764bfca34fc655.jpg","text":"TemporaryFile(/tmp/multipartBody6726129083946278443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797229496,"filename":"image_25012025_08_59_02_288194_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1760ba0852be1f344f9336fea5c2c00e.jpg","text":"TemporaryFile(/tmp/multipartBody1187244801897812560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797229496,"filename":"image_25012025_08_58_02_792481_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e7be393a53f0830ebb7f5d623a457a02.jpg","text":"TemporaryFile(/tmp/multipartBody1811535975839001937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797229496,"filename":"image_25012025_08_58_02_792481_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/018aab9e6207202fc62334763f515378.jpg","text":"TemporaryFile(/tmp/multipartBody6205938994859997704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797229496,"filename":"image_25012025_08_59_02_288194_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4b7a6609462735111aa819b207eabfca.jpg","text":"TemporaryFile(/tmp/multipartBody744064834212642460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797229496,"filename":"image_25012025_08_58_02_792481_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331304349","file1":"1331304234","file0":"1331304173","file4":"1331304465","file5":"1331304470","file3":"1331304455"},"map_files_photo_id_array":[{"photo_id":"1331304470","filename":"file5"},{"photo_id":"1331304349","filename":"file2"},{"photo_id":"1331304465","filename":"file4"},{"photo_id":"1331304234","filename":"file1"},{"photo_id":"1331304173","filename":"file0"},{"photo_id":"1331304455","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331304455":["hashtag1","hashtag2"]},{"1331304470":["hashtag1","hashtag2"]},{"1331304173":["hashtag1","hashtag2"]},{"1331304349":["hashtag1","hashtag2"]},{"1331304465":["hashtag1","hashtag2"]},{"1331304234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331304455, 1331304470, 1331304173, 1331304349, 1331304465, 1331304234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.24825835227966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:26:52.526971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/59/image_25012025_08_59_02_288194_0002.jpg', '/home/pi/Desktop/images/25012025/08/59/image_25012025_08_59_02_288194_0003.jpg', '/home/pi/Desktop/images/25012025/09/00/image_25012025_09_00_02_442890_0000.jpg', '/home/pi/Desktop/images/25012025/09/00/image_25012025_09_00_02_442890_0001.jpg', '/home/pi/Desktop/images/25012025/09/00/image_25012025_09_00_02_442890_0002.jpg', '/home/pi/Desktop/images/25012025/09/01/image_25012025_09_01_03_074079_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/59/image_25012025_08_59_02_288194_0002.jpg
/home/pi/Desktop/images/25012025/08/59/image_25012025_08_59_02_288194_0003.jpg
/home/pi/Desktop/images/25012025/09/00/image_25012025_09_00_02_442890_0000.jpg
/home/pi/Desktop/images/25012025/09/00/image_25012025_09_00_02_442890_0001.jpg
/home/pi/Desktop/images/25012025/09/00/image_25012025_09_00_02_442890_0002.jpg
/home/pi/Desktop/images/25012025/09/01/image_25012025_09_01_03_074079_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: 16.862247228622437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:27:22.808668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/08/59/image_25012025_08_59_02_288194_0002.jpg', '/home/pi/Desktop/images/25012025/08/59/image_25012025_08_59_02_288194_0003.jpg', '/home/pi/Desktop/images/25012025/09/00/image_25012025_09_00_02_442890_0000.jpg', '/home/pi/Desktop/images/25012025/09/00/image_25012025_09_00_02_442890_0001.jpg', '/home/pi/Desktop/images/25012025/09/00/image_25012025_09_00_02_442890_0002.jpg', '/home/pi/Desktop/images/25012025/09/01/image_25012025_09_01_03_074079_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/08/59/image_25012025_08_59_02_288194_0002.jpg
/home/pi/Desktop/images/25012025/08/59/image_25012025_08_59_02_288194_0003.jpg
/home/pi/Desktop/images/25012025/09/00/image_25012025_09_00_02_442890_0000.jpg
/home/pi/Desktop/images/25012025/09/00/image_25012025_09_00_02_442890_0001.jpg
/home/pi/Desktop/images/25012025/09/00/image_25012025_09_00_02_442890_0002.jpg
/home/pi/Desktop/images/25012025/09/01/image_25012025_09_01_03_074079_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 [200]>
b'{"photo_ids":["1331304854","1331304862","1331304859","1331304733","1331304879","1331304606"],"photo_ids_order":["1331304606","1331304733","1331304854","1331304859","1331304862","1331304879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3f77c51b975005a2e60b885f8fb3de76.jpg","text":"TemporaryFile(/tmp/multipartBody7002535383875308304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797320023,"filename":"image_25012025_09_00_02_442890_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8c25ae6210316515f00d46067f9165ed.jpg","text":"TemporaryFile(/tmp/multipartBody2662279898619036183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797320023,"filename":"image_25012025_09_00_02_442890_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/57106e20f3a1b744732f257c6828ec19.jpg","text":"TemporaryFile(/tmp/multipartBody2317608402035325362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797320023,"filename":"image_25012025_09_00_02_442890_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ec0fe9ff3214f457d0c55aad82d96d5e.jpg","text":"TemporaryFile(/tmp/multipartBody460401459731490118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797320023,"filename":"image_25012025_08_59_02_288194_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c3fe738688ee7036430b5146cd6f3299.jpg","text":"TemporaryFile(/tmp/multipartBody6545247480982897027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797320023,"filename":"image_25012025_09_01_03_074079_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5757e11eab32c17171b112091c789270.jpg","text":"TemporaryFile(/tmp/multipartBody787742160136150604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797320023,"filename":"image_25012025_08_59_02_288194_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331304854","file1":"1331304733","file0":"1331304606","file4":"1331304862","file5":"1331304879","file3":"1331304859"},"map_files_photo_id_array":[{"photo_id":"1331304879","filename":"file5"},{"photo_id":"1331304854","filename":"file2"},{"photo_id":"1331304862","filename":"file4"},{"photo_id":"1331304733","filename":"file1"},{"photo_id":"1331304606","filename":"file0"},{"photo_id":"1331304859","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331304854":["hashtag1","hashtag2"]},{"1331304862":["hashtag1","hashtag2"]},{"1331304859":["hashtag1","hashtag2"]},{"1331304733":["hashtag1","hashtag2"]},{"1331304879":["hashtag1","hashtag2"]},{"1331304606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331304854, 1331304862, 1331304859, 1331304733, 1331304879, 1331304606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.307894468307495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:28:21.966832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/01/image_25012025_09_01_03_074079_0001.jpg', '/home/pi/Desktop/images/25012025/09/01/image_25012025_09_01_03_074079_0002.jpg', '/home/pi/Desktop/images/25012025/09/01/image_25012025_09_01_03_074079_0003.jpg', '/home/pi/Desktop/images/25012025/09/02/image_25012025_09_02_02_642887_0001.jpg', '/home/pi/Desktop/images/25012025/09/02/image_25012025_09_02_02_642887_0002.jpg', '/home/pi/Desktop/images/25012025/09/02/image_25012025_09_02_02_642887_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/01/image_25012025_09_01_03_074079_0001.jpg
/home/pi/Desktop/images/25012025/09/01/image_25012025_09_01_03_074079_0002.jpg
/home/pi/Desktop/images/25012025/09/01/image_25012025_09_01_03_074079_0003.jpg
/home/pi/Desktop/images/25012025/09/02/image_25012025_09_02_02_642887_0001.jpg
/home/pi/Desktop/images/25012025/09/02/image_25012025_09_02_02_642887_0002.jpg
/home/pi/Desktop/images/25012025/09/02/image_25012025_09_02_02_642887_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 [200]>
b'{"photo_ids":["1331304935","1331304914","1331304908","1331304943","1331304919","1331304922"],"photo_ids_order":["1331304908","1331304914","1331304919","1331304922","1331304935","1331304943"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/63a47178dceceee76109ce2465f7f4a9.jpg","text":"TemporaryFile(/tmp/multipartBody8884108797125884496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797379236,"filename":"image_25012025_09_02_02_642887_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6d1584e33c848db93582a9dcaeeb6a10.jpg","text":"TemporaryFile(/tmp/multipartBody3700081251419047782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797379236,"filename":"image_25012025_09_01_03_074079_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/14e3eed1048509485f15fdb4a1bf9ba2.jpg","text":"TemporaryFile(/tmp/multipartBody2259552678896582090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797379236,"filename":"image_25012025_09_01_03_074079_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0d145470d757646c5375add923a9d134.jpg","text":"TemporaryFile(/tmp/multipartBody2018023094787976135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797379236,"filename":"image_25012025_09_02_02_642887_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/896216dd40d9d92eb114b2cbeb75842d.jpg","text":"TemporaryFile(/tmp/multipartBody1798486389634817099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797379236,"filename":"image_25012025_09_01_03_074079_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3ac1f9d6975efc4f2373d1f0ede36e6b.jpg","text":"TemporaryFile(/tmp/multipartBody6320553912234665979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797379236,"filename":"image_25012025_09_02_02_642887_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331304919","file1":"1331304914","file0":"1331304908","file4":"1331304935","file5":"1331304943","file3":"1331304922"},"map_files_photo_id_array":[{"photo_id":"1331304943","filename":"file5"},{"photo_id":"1331304919","filename":"file2"},{"photo_id":"1331304935","filename":"file4"},{"photo_id":"1331304914","filename":"file1"},{"photo_id":"1331304908","filename":"file0"},{"photo_id":"1331304922","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331304935":["hashtag1","hashtag2"]},{"1331304914":["hashtag1","hashtag2"]},{"1331304908":["hashtag1","hashtag2"]},{"1331304943":["hashtag1","hashtag2"]},{"1331304919":["hashtag1","hashtag2"]},{"1331304922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331304935, 1331304914, 1331304908, 1331304943, 1331304919, 1331304922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.70643138885498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:29:22.195111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/03/image_25012025_09_03_02_326871_0000.jpg', '/home/pi/Desktop/images/25012025/09/03/image_25012025_09_03_02_326871_0001.jpg', '/home/pi/Desktop/images/25012025/09/03/image_25012025_09_03_02_326871_0002.jpg', '/home/pi/Desktop/images/25012025/09/04/image_25012025_09_04_02_852070_0000.jpg', '/home/pi/Desktop/images/25012025/09/04/image_25012025_09_04_02_852070_0001.jpg', '/home/pi/Desktop/images/25012025/09/04/image_25012025_09_04_02_852070_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/03/image_25012025_09_03_02_326871_0000.jpg
/home/pi/Desktop/images/25012025/09/03/image_25012025_09_03_02_326871_0001.jpg
/home/pi/Desktop/images/25012025/09/03/image_25012025_09_03_02_326871_0002.jpg
/home/pi/Desktop/images/25012025/09/04/image_25012025_09_04_02_852070_0000.jpg
/home/pi/Desktop/images/25012025/09/04/image_25012025_09_04_02_852070_0001.jpg
/home/pi/Desktop/images/25012025/09/04/image_25012025_09_04_02_852070_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 [200]>
b'{"photo_ids":["1331305027","1331305020","1331305023","1331305011","1331305005","1331305008"],"photo_ids_order":["1331305005","1331305008","1331305011","1331305020","1331305023","1331305027"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/322e3fabed470680eaa45a25cb1c14e3.jpg","text":"TemporaryFile(/tmp/multipartBody1307743290404193771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797439481,"filename":"image_25012025_09_04_02_852070_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/48a8870e3618a4b2be9f57eb56cc0e4c.jpg","text":"TemporaryFile(/tmp/multipartBody7359468691358072771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797439481,"filename":"image_25012025_09_04_02_852070_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5e6edfb81f00b35074c8fc5da855ca05.jpg","text":"TemporaryFile(/tmp/multipartBody341153133549914863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797439481,"filename":"image_25012025_09_04_02_852070_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/69967be977ce9327ec5c9e4fefd92ea6.jpg","text":"TemporaryFile(/tmp/multipartBody7894372110699513516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797439481,"filename":"image_25012025_09_03_02_326871_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f6628097e6ab59aca5d693c6dca8b588.jpg","text":"TemporaryFile(/tmp/multipartBody8676046640080942895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797439481,"filename":"image_25012025_09_03_02_326871_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fb3a0f59bf7c0ad3077625aabc01dbca.jpg","text":"TemporaryFile(/tmp/multipartBody7395238962367557145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797439481,"filename":"image_25012025_09_03_02_326871_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331305011","file1":"1331305008","file0":"1331305005","file4":"1331305023","file5":"1331305027","file3":"1331305020"},"map_files_photo_id_array":[{"photo_id":"1331305027","filename":"file5"},{"photo_id":"1331305011","filename":"file2"},{"photo_id":"1331305023","filename":"file4"},{"photo_id":"1331305008","filename":"file1"},{"photo_id":"1331305005","filename":"file0"},{"photo_id":"1331305020","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331305027":["hashtag1","hashtag2"]},{"1331305020":["hashtag1","hashtag2"]},{"1331305023":["hashtag1","hashtag2"]},{"1331305011":["hashtag1","hashtag2"]},{"1331305005":["hashtag1","hashtag2"]},{"1331305008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331305027, 1331305020, 1331305023, 1331305011, 1331305005, 1331305008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.16415214538574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:30:22.307187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/04/image_25012025_09_04_02_852070_0003.jpg', '/home/pi/Desktop/images/25012025/09/05/image_25012025_09_05_02_533212_0000.jpg', '/home/pi/Desktop/images/25012025/09/05/image_25012025_09_05_02_533212_0001.jpg', '/home/pi/Desktop/images/25012025/09/05/image_25012025_09_05_02_533212_0002.jpg', '/home/pi/Desktop/images/25012025/09/05/image_25012025_09_05_02_533212_0003.jpg', '/home/pi/Desktop/images/25012025/09/06/image_25012025_09_06_03_013217_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/04/image_25012025_09_04_02_852070_0003.jpg
/home/pi/Desktop/images/25012025/09/05/image_25012025_09_05_02_533212_0000.jpg
/home/pi/Desktop/images/25012025/09/05/image_25012025_09_05_02_533212_0001.jpg
/home/pi/Desktop/images/25012025/09/05/image_25012025_09_05_02_533212_0002.jpg
/home/pi/Desktop/images/25012025/09/05/image_25012025_09_05_02_533212_0003.jpg
/home/pi/Desktop/images/25012025/09/06/image_25012025_09_06_03_013217_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 [200]>
b'{"photo_ids":["1331305069","1331305071","1331305059","1331305064","1331305073","1331305067"],"photo_ids_order":["1331305059","1331305064","1331305067","1331305069","1331305071","1331305073"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ed0dc7589ca763e20c250a8fbe669ac5.jpg","text":"TemporaryFile(/tmp/multipartBody8304310252298551369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797499636,"filename":"image_25012025_09_05_02_533212_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f170c160721adcb8ceeb59704593d3c9.jpg","text":"TemporaryFile(/tmp/multipartBody383409041210796500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797499636,"filename":"image_25012025_09_05_02_533212_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f2fdfcacc4ce74f829c33517c8e75fe1.jpg","text":"TemporaryFile(/tmp/multipartBody9026040668689721881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797499636,"filename":"image_25012025_09_04_02_852070_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/910c408842f04703a3cc128dc29510f1.jpg","text":"TemporaryFile(/tmp/multipartBody7287006724227775498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797499636,"filename":"image_25012025_09_05_02_533212_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/94710439bf5482af24d4cd2edae95ee8.jpg","text":"TemporaryFile(/tmp/multipartBody1295206230444739108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797499636,"filename":"image_25012025_09_06_03_013217_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f3692618d0b79a779708c7149f5d6b0c.jpg","text":"TemporaryFile(/tmp/multipartBody4199775258141085291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797499636,"filename":"image_25012025_09_05_02_533212_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331305067","file1":"1331305064","file0":"1331305059","file4":"1331305071","file5":"1331305073","file3":"1331305069"},"map_files_photo_id_array":[{"photo_id":"1331305073","filename":"file5"},{"photo_id":"1331305067","filename":"file2"},{"photo_id":"1331305071","filename":"file4"},{"photo_id":"1331305064","filename":"file1"},{"photo_id":"1331305059","filename":"file0"},{"photo_id":"1331305069","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331305069":["hashtag1","hashtag2"]},{"1331305071":["hashtag1","hashtag2"]},{"1331305059":["hashtag1","hashtag2"]},{"1331305064":["hashtag1","hashtag2"]},{"1331305073":["hashtag1","hashtag2"]},{"1331305067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331305069, 1331305071, 1331305059, 1331305064, 1331305073, 1331305067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.47664284706116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:31:22.473269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/06/image_25012025_09_06_03_013217_0001.jpg', '/home/pi/Desktop/images/25012025/09/06/image_25012025_09_06_03_013217_0002.jpg', '/home/pi/Desktop/images/25012025/09/07/image_25012025_09_07_02_522536_0000.jpg', '/home/pi/Desktop/images/25012025/09/07/image_25012025_09_07_02_522536_0001.jpg', '/home/pi/Desktop/images/25012025/09/08/image_25012025_09_08_03_001516_0000.jpg', '/home/pi/Desktop/images/25012025/09/08/image_25012025_09_08_03_001516_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/06/image_25012025_09_06_03_013217_0001.jpg
/home/pi/Desktop/images/25012025/09/06/image_25012025_09_06_03_013217_0002.jpg
/home/pi/Desktop/images/25012025/09/07/image_25012025_09_07_02_522536_0000.jpg
/home/pi/Desktop/images/25012025/09/07/image_25012025_09_07_02_522536_0001.jpg
/home/pi/Desktop/images/25012025/09/08/image_25012025_09_08_03_001516_0000.jpg
/home/pi/Desktop/images/25012025/09/08/image_25012025_09_08_03_001516_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":["1331305180","1331305194","1331305176","1331305187","1331305190","1331305184"],"photo_ids_order":["1331305176","1331305180","1331305184","1331305187","1331305190","1331305194"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d034fde6e185816466709eae65e44302.jpg","text":"TemporaryFile(/tmp/multipartBody6008057978330444047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797559780,"filename":"image_25012025_09_06_03_013217_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ffa62e30608b9be5234deae99148be40.jpg","text":"TemporaryFile(/tmp/multipartBody6170306560838264505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797559780,"filename":"image_25012025_09_08_03_001516_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/61359ca58ff8d070dff4a5ecbd2bd124.jpg","text":"TemporaryFile(/tmp/multipartBody8541777453940421154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797559780,"filename":"image_25012025_09_06_03_013217_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d991a7b4eb05a4ef1685b096378d0955.jpg","text":"TemporaryFile(/tmp/multipartBody2902245636746358145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797559780,"filename":"image_25012025_09_07_02_522536_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e0cb3fa8582239ea8bd0d025629b7984.jpg","text":"TemporaryFile(/tmp/multipartBody4564973977781893139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797559780,"filename":"image_25012025_09_08_03_001516_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bfab968fecc87d749e1c573629378614.jpg","text":"TemporaryFile(/tmp/multipartBody5812958182747797582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797559780,"filename":"image_25012025_09_07_02_522536_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331305184","file1":"1331305180","file0":"1331305176","file4":"1331305190","file5":"1331305194","file3":"1331305187"},"map_files_photo_id_array":[{"photo_id":"1331305194","filename":"file5"},{"photo_id":"1331305184","filename":"file2"},{"photo_id":"1331305190","filename":"file4"},{"photo_id":"1331305180","filename":"file1"},{"photo_id":"1331305176","filename":"file0"},{"photo_id":"1331305187","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331305180":["hashtag1","hashtag2"]},{"1331305194":["hashtag1","hashtag2"]},{"1331305176":["hashtag1","hashtag2"]},{"1331305187":["hashtag1","hashtag2"]},{"1331305190":["hashtag1","hashtag2"]},{"1331305184":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331305180, 1331305194, 1331305176, 1331305187, 1331305190, 1331305184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.147472858428955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:32:22.682827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/08/image_25012025_09_08_03_001516_0002.jpg', '/home/pi/Desktop/images/25012025/09/08/image_25012025_09_08_03_001516_0003.jpg', '/home/pi/Desktop/images/25012025/09/09/image_25012025_09_09_02_491750_0000.jpg', '/home/pi/Desktop/images/25012025/09/09/image_25012025_09_09_02_491750_0002.jpg', '/home/pi/Desktop/images/25012025/09/10/image_25012025_09_10_03_013341_0000.jpg', '/home/pi/Desktop/images/25012025/09/10/image_25012025_09_10_03_013341_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/08/image_25012025_09_08_03_001516_0002.jpg
/home/pi/Desktop/images/25012025/09/08/image_25012025_09_08_03_001516_0003.jpg
/home/pi/Desktop/images/25012025/09/09/image_25012025_09_09_02_491750_0000.jpg
/home/pi/Desktop/images/25012025/09/09/image_25012025_09_09_02_491750_0002.jpg
/home/pi/Desktop/images/25012025/09/10/image_25012025_09_10_03_013341_0000.jpg
/home/pi/Desktop/images/25012025/09/10/image_25012025_09_10_03_013341_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 [200]>
b'{"photo_ids":["1331305214","1331305222","1331305225","1331305210","1331305218","1331305206"],"photo_ids_order":["1331305206","1331305210","1331305214","1331305218","1331305222","1331305225"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b3fc00879c84ce1dcc31a7c181ebfd7d.jpg","text":"TemporaryFile(/tmp/multipartBody7824984585787418460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797619984,"filename":"image_25012025_09_09_02_491750_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f32adabfaff5625b6274e88e4286a3ae.jpg","text":"TemporaryFile(/tmp/multipartBody6826634205102742014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797619984,"filename":"image_25012025_09_10_03_013341_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5d9296941b58dce4408a1b36d3b812a6.jpg","text":"TemporaryFile(/tmp/multipartBody1487704970825408824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797619984,"filename":"image_25012025_09_10_03_013341_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ad7fdb52288c45cc491bd2dc5f8a3ecc.jpg","text":"TemporaryFile(/tmp/multipartBody7107329031163848634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797619984,"filename":"image_25012025_09_08_03_001516_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/83f7f6765429214458d928557d974bca.jpg","text":"TemporaryFile(/tmp/multipartBody9147651928297395778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797619984,"filename":"image_25012025_09_09_02_491750_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/35834830966bdf3fa224c6017fe7feb2.jpg","text":"TemporaryFile(/tmp/multipartBody2795499428655575497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797619984,"filename":"image_25012025_09_08_03_001516_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331305214","file1":"1331305210","file0":"1331305206","file4":"1331305222","file5":"1331305225","file3":"1331305218"},"map_files_photo_id_array":[{"photo_id":"1331305225","filename":"file5"},{"photo_id":"1331305214","filename":"file2"},{"photo_id":"1331305222","filename":"file4"},{"photo_id":"1331305210","filename":"file1"},{"photo_id":"1331305206","filename":"file0"},{"photo_id":"1331305218","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331305214":["hashtag1","hashtag2"]},{"1331305222":["hashtag1","hashtag2"]},{"1331305225":["hashtag1","hashtag2"]},{"1331305210":["hashtag1","hashtag2"]},{"1331305218":["hashtag1","hashtag2"]},{"1331305206":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331305214, 1331305222, 1331305225, 1331305210, 1331305218, 1331305206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.26122808456421 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:33:21.851821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/11/image_25012025_09_11_02_683342_0000.jpg', '/home/pi/Desktop/images/25012025/09/11/image_25012025_09_11_02_683342_0001.jpg', '/home/pi/Desktop/images/25012025/09/11/image_25012025_09_11_02_683342_0003.jpg', '/home/pi/Desktop/images/25012025/09/12/image_25012025_09_12_02_161516_0000.jpg', '/home/pi/Desktop/images/25012025/09/12/image_25012025_09_12_02_161516_0001.jpg', '/home/pi/Desktop/images/25012025/09/12/image_25012025_09_12_02_161516_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/11/image_25012025_09_11_02_683342_0000.jpg
/home/pi/Desktop/images/25012025/09/11/image_25012025_09_11_02_683342_0001.jpg
/home/pi/Desktop/images/25012025/09/11/image_25012025_09_11_02_683342_0003.jpg
/home/pi/Desktop/images/25012025/09/12/image_25012025_09_12_02_161516_0000.jpg
/home/pi/Desktop/images/25012025/09/12/image_25012025_09_12_02_161516_0001.jpg
/home/pi/Desktop/images/25012025/09/12/image_25012025_09_12_02_161516_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 [200]>
b'{"photo_ids":["1331305247","1331305261","1331305255","1331305264","1331305258","1331305377"],"photo_ids_order":["1331305247","1331305255","1331305258","1331305261","1331305264","1331305377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/84f73aca6104ffca3d053b318fa02b74.jpg","text":"TemporaryFile(/tmp/multipartBody6385961382598763241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797679151,"filename":"image_25012025_09_11_02_683342_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a9abeb8568ba651f929bee4df041943c.jpg","text":"TemporaryFile(/tmp/multipartBody2827420031557837285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797679151,"filename":"image_25012025_09_12_02_161516_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/211a1af2c8bceecab99226d202601f3a.jpg","text":"TemporaryFile(/tmp/multipartBody2368135955588499338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797679151,"filename":"image_25012025_09_11_02_683342_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b7793e6b30be393e6407072598b9a576.jpg","text":"TemporaryFile(/tmp/multipartBody7789446476996141455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797679151,"filename":"image_25012025_09_12_02_161516_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3794484b53dcdf6a8733125584a2c779.jpg","text":"TemporaryFile(/tmp/multipartBody321718713017309109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797679151,"filename":"image_25012025_09_11_02_683342_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d755747dda56fb73257983ee88c99ed9.jpg","text":"TemporaryFile(/tmp/multipartBody1452058547372607842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797679151,"filename":"image_25012025_09_12_02_161516_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331305258","file1":"1331305255","file0":"1331305247","file4":"1331305264","file5":"1331305377","file3":"1331305261"},"map_files_photo_id_array":[{"photo_id":"1331305377","filename":"file5"},{"photo_id":"1331305258","filename":"file2"},{"photo_id":"1331305264","filename":"file4"},{"photo_id":"1331305255","filename":"file1"},{"photo_id":"1331305247","filename":"file0"},{"photo_id":"1331305261","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331305247":["hashtag1","hashtag2"]},{"1331305261":["hashtag1","hashtag2"]},{"1331305255":["hashtag1","hashtag2"]},{"1331305264":["hashtag1","hashtag2"]},{"1331305258":["hashtag1","hashtag2"]},{"1331305377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331305247, 1331305261, 1331305255, 1331305264, 1331305258, 1331305377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.20103073120117 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:34:22.030020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/12/image_25012025_09_12_02_161516_0003.jpg', '/home/pi/Desktop/images/25012025/09/13/image_25012025_09_13_02_773990_0000.jpg', '/home/pi/Desktop/images/25012025/09/13/image_25012025_09_13_02_773990_0001.jpg', '/home/pi/Desktop/images/25012025/09/13/image_25012025_09_13_02_773990_0003.jpg', '/home/pi/Desktop/images/25012025/09/14/image_25012025_09_14_02_308548_0000.jpg', '/home/pi/Desktop/images/25012025/09/14/image_25012025_09_14_02_308548_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/12/image_25012025_09_12_02_161516_0003.jpg
/home/pi/Desktop/images/25012025/09/13/image_25012025_09_13_02_773990_0000.jpg
/home/pi/Desktop/images/25012025/09/13/image_25012025_09_13_02_773990_0001.jpg
/home/pi/Desktop/images/25012025/09/13/image_25012025_09_13_02_773990_0003.jpg
/home/pi/Desktop/images/25012025/09/14/image_25012025_09_14_02_308548_0000.jpg
/home/pi/Desktop/images/25012025/09/14/image_25012025_09_14_02_308548_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":["1331306003","1331306020","1331306008","1331306013","1331306016","1331306018"],"photo_ids_order":["1331306003","1331306008","1331306013","1331306016","1331306018","1331306020"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/030f0a0d66e26fac1331495fce5e6733.jpg","text":"TemporaryFile(/tmp/multipartBody5336166150971322094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797739355,"filename":"image_25012025_09_12_02_161516_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a26b6f173a2d10a7192ffdfd5ebc82e3.jpg","text":"TemporaryFile(/tmp/multipartBody6283312775539219718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797739355,"filename":"image_25012025_09_14_02_308548_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b7ff9256929a1f47ac4671c3bdb1306.jpg","text":"TemporaryFile(/tmp/multipartBody986075373339996082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797739355,"filename":"image_25012025_09_13_02_773990_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f92b828430bbb95115b2518fc8f3cfe3.jpg","text":"TemporaryFile(/tmp/multipartBody7239489044626550081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797739355,"filename":"image_25012025_09_13_02_773990_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1d0d24190980144b045c23fefd43b76a.jpg","text":"TemporaryFile(/tmp/multipartBody7184656643193299965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797739355,"filename":"image_25012025_09_13_02_773990_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3e389b97c046de809b9f30441da8e560.jpg","text":"TemporaryFile(/tmp/multipartBody4771429981663504557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797739355,"filename":"image_25012025_09_14_02_308548_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331306013","file1":"1331306008","file0":"1331306003","file4":"1331306018","file5":"1331306020","file3":"1331306016"},"map_files_photo_id_array":[{"photo_id":"1331306020","filename":"file5"},{"photo_id":"1331306013","filename":"file2"},{"photo_id":"1331306018","filename":"file4"},{"photo_id":"1331306008","filename":"file1"},{"photo_id":"1331306003","filename":"file0"},{"photo_id":"1331306016","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331306003":["hashtag1","hashtag2"]},{"1331306020":["hashtag1","hashtag2"]},{"1331306008":["hashtag1","hashtag2"]},{"1331306013":["hashtag1","hashtag2"]},{"1331306016":["hashtag1","hashtag2"]},{"1331306018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331306003, 1331306020, 1331306008, 1331306013, 1331306016, 1331306018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.78973841667175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:35:22.294043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/14/image_25012025_09_14_02_308548_0002.jpg', '/home/pi/Desktop/images/25012025/09/14/image_25012025_09_14_02_308548_0003.jpg', '/home/pi/Desktop/images/25012025/09/15/image_25012025_09_15_02_772904_0000.jpg', '/home/pi/Desktop/images/25012025/09/15/image_25012025_09_15_02_772904_0001.jpg', '/home/pi/Desktop/images/25012025/09/15/image_25012025_09_15_02_772904_0002.jpg', '/home/pi/Desktop/images/25012025/09/15/image_25012025_09_15_02_772904_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/14/image_25012025_09_14_02_308548_0002.jpg
/home/pi/Desktop/images/25012025/09/14/image_25012025_09_14_02_308548_0003.jpg
/home/pi/Desktop/images/25012025/09/15/image_25012025_09_15_02_772904_0000.jpg
/home/pi/Desktop/images/25012025/09/15/image_25012025_09_15_02_772904_0001.jpg
/home/pi/Desktop/images/25012025/09/15/image_25012025_09_15_02_772904_0002.jpg
/home/pi/Desktop/images/25012025/09/15/image_25012025_09_15_02_772904_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 [200]>
b'{"photo_ids":["1331306470","1331306056","1331306430","1331306424","1331306433","1331306150"],"photo_ids_order":["1331306056","1331306150","1331306424","1331306430","1331306433","1331306470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9ca22b7c6e99c6530e7d5b2bb624787d.jpg","text":"TemporaryFile(/tmp/multipartBody1200538227647139709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797799632,"filename":"image_25012025_09_15_02_772904_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3e86a03de527716f230b11c7e3b15b9f.jpg","text":"TemporaryFile(/tmp/multipartBody5860295197930837116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797799632,"filename":"image_25012025_09_14_02_308548_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fd066a49d4c1e324c0526a9e1bbb7cdc.jpg","text":"TemporaryFile(/tmp/multipartBody200801881318781831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797799632,"filename":"image_25012025_09_15_02_772904_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dbba6681525f08bf7c1c404a14fc449c.jpg","text":"TemporaryFile(/tmp/multipartBody7250343372210449222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797799632,"filename":"image_25012025_09_15_02_772904_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/835951e31f5ca36e2d3d82a5586733e5.jpg","text":"TemporaryFile(/tmp/multipartBody8282754746148175765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797799632,"filename":"image_25012025_09_15_02_772904_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8d6892c120c9569b91032a6835cb3217.jpg","text":"TemporaryFile(/tmp/multipartBody2657118420515493377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797799632,"filename":"image_25012025_09_14_02_308548_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331306424","file1":"1331306150","file0":"1331306056","file4":"1331306433","file5":"1331306470","file3":"1331306430"},"map_files_photo_id_array":[{"photo_id":"1331306470","filename":"file5"},{"photo_id":"1331306424","filename":"file2"},{"photo_id":"1331306433","filename":"file4"},{"photo_id":"1331306150","filename":"file1"},{"photo_id":"1331306056","filename":"file0"},{"photo_id":"1331306430","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331306470":["hashtag1","hashtag2"]},{"1331306056":["hashtag1","hashtag2"]},{"1331306430":["hashtag1","hashtag2"]},{"1331306424":["hashtag1","hashtag2"]},{"1331306433":["hashtag1","hashtag2"]},{"1331306150":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331306470, 1331306056, 1331306430, 1331306424, 1331306433, 1331306150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.39413094520569 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:36:22.342784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/16/image_25012025_09_16_02_352750_0000.jpg', '/home/pi/Desktop/images/25012025/09/16/image_25012025_09_16_02_352750_0001.jpg', '/home/pi/Desktop/images/25012025/09/16/image_25012025_09_16_02_352750_0002.jpg', '/home/pi/Desktop/images/25012025/09/17/image_25012025_09_17_02_987405_0003.jpg', '/home/pi/Desktop/images/25012025/09/18/image_25012025_09_18_02_535398_0000.jpg', '/home/pi/Desktop/images/25012025/09/18/image_25012025_09_18_02_535398_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/16/image_25012025_09_16_02_352750_0000.jpg
/home/pi/Desktop/images/25012025/09/16/image_25012025_09_16_02_352750_0001.jpg
/home/pi/Desktop/images/25012025/09/16/image_25012025_09_16_02_352750_0002.jpg
/home/pi/Desktop/images/25012025/09/17/image_25012025_09_17_02_987405_0003.jpg
/home/pi/Desktop/images/25012025/09/18/image_25012025_09_18_02_535398_0000.jpg
/home/pi/Desktop/images/25012025/09/18/image_25012025_09_18_02_535398_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: 16.95857834815979 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 10:36:42.321679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/16/image_25012025_09_16_02_352750_0000.jpg', '/home/pi/Desktop/images/25012025/09/16/image_25012025_09_16_02_352750_0001.jpg', '/home/pi/Desktop/images/25012025/09/16/image_25012025_09_16_02_352750_0002.jpg', '/home/pi/Desktop/images/25012025/09/17/image_25012025_09_17_02_987405_0003.jpg', '/home/pi/Desktop/images/25012025/09/18/image_25012025_09_18_02_535398_0000.jpg', '/home/pi/Desktop/images/25012025/09/18/image_25012025_09_18_02_535398_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/16/image_25012025_09_16_02_352750_0000.jpg
/home/pi/Desktop/images/25012025/09/16/image_25012025_09_16_02_352750_0001.jpg
/home/pi/Desktop/images/25012025/09/16/image_25012025_09_16_02_352750_0002.jpg
/home/pi/Desktop/images/25012025/09/17/image_25012025_09_17_02_987405_0003.jpg
/home/pi/Desktop/images/25012025/09/18/image_25012025_09_18_02_535398_0000.jpg
/home/pi/Desktop/images/25012025/09/18/image_25012025_09_18_02_535398_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":["1331306628","1331306616","1331306625","1331306633","1331306636","1331306621"],"photo_ids_order":["1331306616","1331306621","1331306625","1331306628","1331306633","1331306636"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bae2236e03e14cae96b355ddc76c70f8.jpg","text":"TemporaryFile(/tmp/multipartBody6320348779953018202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797879682,"filename":"image_25012025_09_17_02_987405_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b6a85ccc427173c49aa1d7348b59145c.jpg","text":"TemporaryFile(/tmp/multipartBody4113299977379154437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797879682,"filename":"image_25012025_09_16_02_352750_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c458787c2de1e67974933a535e01b938.jpg","text":"TemporaryFile(/tmp/multipartBody584597222439582020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797879682,"filename":"image_25012025_09_16_02_352750_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/70f99f43feeff1419d632f85911e3d28.jpg","text":"TemporaryFile(/tmp/multipartBody3763005532864043665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797879682,"filename":"image_25012025_09_18_02_535398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/581e34841b565e72bf4ba9fa8b2bc752.jpg","text":"TemporaryFile(/tmp/multipartBody4771446055986229698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797879682,"filename":"image_25012025_09_18_02_535398_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e2d73881f349bbb8e08cbb3ca13b3677.jpg","text":"TemporaryFile(/tmp/multipartBody2122665643819474545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797879682,"filename":"image_25012025_09_16_02_352750_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331306625","file1":"1331306621","file0":"1331306616","file4":"1331306633","file5":"1331306636","file3":"1331306628"},"map_files_photo_id_array":[{"photo_id":"1331306636","filename":"file5"},{"photo_id":"1331306625","filename":"file2"},{"photo_id":"1331306633","filename":"file4"},{"photo_id":"1331306621","filename":"file1"},{"photo_id":"1331306616","filename":"file0"},{"photo_id":"1331306628","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331306628":["hashtag1","hashtag2"]},{"1331306616":["hashtag1","hashtag2"]},{"1331306625":["hashtag1","hashtag2"]},{"1331306633":["hashtag1","hashtag2"]},{"1331306636":["hashtag1","hashtag2"]},{"1331306621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331306628, 1331306616, 1331306625, 1331306633, 1331306636, 1331306621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.21218395233154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 10:37:42.626862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/18/image_25012025_09_18_02_535398_0002.jpg', '/home/pi/Desktop/images/25012025/09/18/image_25012025_09_18_02_535398_0003.jpg', '/home/pi/Desktop/images/25012025/09/19/image_25012025_09_19_03_083947_0003.jpg', '/home/pi/Desktop/images/25012025/09/20/image_25012025_09_20_02_619231_0001.jpg', '/home/pi/Desktop/images/25012025/09/20/image_25012025_09_20_02_619231_0003.jpg', '/home/pi/Desktop/images/25012025/09/21/image_25012025_09_21_03_110354_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/18/image_25012025_09_18_02_535398_0002.jpg
/home/pi/Desktop/images/25012025/09/18/image_25012025_09_18_02_535398_0003.jpg
/home/pi/Desktop/images/25012025/09/19/image_25012025_09_19_03_083947_0003.jpg
/home/pi/Desktop/images/25012025/09/20/image_25012025_09_20_02_619231_0001.jpg
/home/pi/Desktop/images/25012025/09/20/image_25012025_09_20_02_619231_0003.jpg
/home/pi/Desktop/images/25012025/09/21/image_25012025_09_21_03_110354_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 [200]>
b'{"photo_ids":["1331306659","1331306682","1331306679","1331306655","1331306663","1331306666"],"photo_ids_order":["1331306655","1331306659","1331306663","1331306666","1331306679","1331306682"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c10282a4ca8ebc447815a12f72aef8fb.jpg","text":"TemporaryFile(/tmp/multipartBody6655875416665564847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797939955,"filename":"image_25012025_09_18_02_535398_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9dd43d1636f97218fbf0d013c253645b.jpg","text":"TemporaryFile(/tmp/multipartBody4854290570873773542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797939955,"filename":"image_25012025_09_21_03_110354_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3f51b5d9e869d7c50ef000aec0c2dd8e.jpg","text":"TemporaryFile(/tmp/multipartBody4954428816885036558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797939955,"filename":"image_25012025_09_20_02_619231_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6057970f1a07f0921832adb3ca3727dd.jpg","text":"TemporaryFile(/tmp/multipartBody246856890362923409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797939955,"filename":"image_25012025_09_18_02_535398_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/601cad3882167d0222f94dae4d79352d.jpg","text":"TemporaryFile(/tmp/multipartBody5724839726788342873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797939955,"filename":"image_25012025_09_19_03_083947_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/474787b659b57a23032661cdbbf05eec.jpg","text":"TemporaryFile(/tmp/multipartBody1925780582721582715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737797939955,"filename":"image_25012025_09_20_02_619231_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331306663","file1":"1331306659","file0":"1331306655","file4":"1331306679","file5":"1331306682","file3":"1331306666"},"map_files_photo_id_array":[{"photo_id":"1331306682","filename":"file5"},{"photo_id":"1331306663","filename":"file2"},{"photo_id":"1331306679","filename":"file4"},{"photo_id":"1331306659","filename":"file1"},{"photo_id":"1331306655","filename":"file0"},{"photo_id":"1331306666","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331306659":["hashtag1","hashtag2"]},{"1331306682":["hashtag1","hashtag2"]},{"1331306679":["hashtag1","hashtag2"]},{"1331306655":["hashtag1","hashtag2"]},{"1331306663":["hashtag1","hashtag2"]},{"1331306666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331306659, 1331306682, 1331306679, 1331306655, 1331306663, 1331306666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.092045068740845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 10:38:42.828104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/21/image_25012025_09_21_03_110354_0002.jpg', '/home/pi/Desktop/images/25012025/09/21/image_25012025_09_21_03_110354_0003.jpg', '/home/pi/Desktop/images/25012025/09/22/image_25012025_09_22_02_596588_0002.jpg', '/home/pi/Desktop/images/25012025/09/22/image_25012025_09_22_02_596588_0003.jpg', '/home/pi/Desktop/images/25012025/09/23/image_25012025_09_23_03_084522_0000.jpg', '/home/pi/Desktop/images/25012025/09/23/image_25012025_09_23_03_084522_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/21/image_25012025_09_21_03_110354_0002.jpg
/home/pi/Desktop/images/25012025/09/21/image_25012025_09_21_03_110354_0003.jpg
/home/pi/Desktop/images/25012025/09/22/image_25012025_09_22_02_596588_0002.jpg
/home/pi/Desktop/images/25012025/09/22/image_25012025_09_22_02_596588_0003.jpg
/home/pi/Desktop/images/25012025/09/23/image_25012025_09_23_03_084522_0000.jpg
/home/pi/Desktop/images/25012025/09/23/image_25012025_09_23_03_084522_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":["1331306749","1331306781","1331306775","1331306757","1331306772","1331306747"],"photo_ids_order":["1331306747","1331306749","1331306757","1331306772","1331306775","1331306781"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8a0f0ee89335d8c17d247541bd655654.jpg","text":"TemporaryFile(/tmp/multipartBody6986627307530037397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798000183,"filename":"image_25012025_09_21_03_110354_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/551301e5fe55fd1c5bf2b0d1c31af020.jpg","text":"TemporaryFile(/tmp/multipartBody1234485603502553807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798000183,"filename":"image_25012025_09_23_03_084522_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/281b3d5df9e7c9584401db3c35d70078.jpg","text":"TemporaryFile(/tmp/multipartBody5195960945526861006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798000183,"filename":"image_25012025_09_23_03_084522_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cbf5c2b3767505209e353d8c25861f26.jpg","text":"TemporaryFile(/tmp/multipartBody7459759184115235937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798000183,"filename":"image_25012025_09_22_02_596588_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ab67bc8448aa6d4d3876d1af7c9e215e.jpg","text":"TemporaryFile(/tmp/multipartBody755710089323137898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798000183,"filename":"image_25012025_09_22_02_596588_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b29a0404ec863d80d2325900780dd4c4.jpg","text":"TemporaryFile(/tmp/multipartBody309508888270293679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798000183,"filename":"image_25012025_09_21_03_110354_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331306757","file1":"1331306749","file0":"1331306747","file4":"1331306775","file5":"1331306781","file3":"1331306772"},"map_files_photo_id_array":[{"photo_id":"1331306781","filename":"file5"},{"photo_id":"1331306757","filename":"file2"},{"photo_id":"1331306775","filename":"file4"},{"photo_id":"1331306749","filename":"file1"},{"photo_id":"1331306747","filename":"file0"},{"photo_id":"1331306772","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331306749":["hashtag1","hashtag2"]},{"1331306781":["hashtag1","hashtag2"]},{"1331306775":["hashtag1","hashtag2"]},{"1331306757":["hashtag1","hashtag2"]},{"1331306772":["hashtag1","hashtag2"]},{"1331306747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331306749, 1331306781, 1331306775, 1331306757, 1331306772, 1331306747)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 58.4870970249176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:39:51.897750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/23/image_25012025_09_23_03_084522_0002.jpg', '/home/pi/Desktop/images/25012025/09/24/image_25012025_09_24_02_652314_0000.jpg', '/home/pi/Desktop/images/25012025/09/24/image_25012025_09_24_02_652314_0002.jpg', '/home/pi/Desktop/images/25012025/09/25/image_25012025_09_25_02_109139_0000.jpg', '/home/pi/Desktop/images/25012025/09/25/image_25012025_09_25_02_109139_0001.jpg', '/home/pi/Desktop/images/25012025/09/25/image_25012025_09_25_02_109139_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/23/image_25012025_09_23_03_084522_0002.jpg
/home/pi/Desktop/images/25012025/09/24/image_25012025_09_24_02_652314_0000.jpg
/home/pi/Desktop/images/25012025/09/24/image_25012025_09_24_02_652314_0002.jpg
/home/pi/Desktop/images/25012025/09/25/image_25012025_09_25_02_109139_0000.jpg
/home/pi/Desktop/images/25012025/09/25/image_25012025_09_25_02_109139_0001.jpg
/home/pi/Desktop/images/25012025/09/25/image_25012025_09_25_02_109139_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 [200]>
b'{"photo_ids":["1331306815","1331306832","1331306826","1331306817","1331306822","1331306819"],"photo_ids_order":["1331306815","1331306817","1331306819","1331306822","1331306826","1331306832"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/db2737c9e496f52c8be7ebb7458bd7b0.jpg","text":"TemporaryFile(/tmp/multipartBody8855004531747419649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798069235,"filename":"image_25012025_09_23_03_084522_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0f32c211b12860d1dc866e485d46ac8d.jpg","text":"TemporaryFile(/tmp/multipartBody4662844128519430248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798069235,"filename":"image_25012025_09_25_02_109139_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4346238dafe8ac90dacce0cad1fa5cf0.jpg","text":"TemporaryFile(/tmp/multipartBody6674164505206149232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798069235,"filename":"image_25012025_09_25_02_109139_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0e12070f1b56a8231512fdbb910e9eb9.jpg","text":"TemporaryFile(/tmp/multipartBody1967662572543380772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798069235,"filename":"image_25012025_09_24_02_652314_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2aaa48644424854634539aceeb23ac3f.jpg","text":"TemporaryFile(/tmp/multipartBody744080096341163159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798069235,"filename":"image_25012025_09_25_02_109139_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9356c91417a0ab05e90e8ed942d2c727.jpg","text":"TemporaryFile(/tmp/multipartBody610860409711477469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798069235,"filename":"image_25012025_09_24_02_652314_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331306819","file1":"1331306817","file0":"1331306815","file4":"1331306826","file5":"1331306832","file3":"1331306822"},"map_files_photo_id_array":[{"photo_id":"1331306832","filename":"file5"},{"photo_id":"1331306819","filename":"file2"},{"photo_id":"1331306826","filename":"file4"},{"photo_id":"1331306817","filename":"file1"},{"photo_id":"1331306815","filename":"file0"},{"photo_id":"1331306822","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331306815":["hashtag1","hashtag2"]},{"1331306832":["hashtag1","hashtag2"]},{"1331306826":["hashtag1","hashtag2"]},{"1331306817":["hashtag1","hashtag2"]},{"1331306822":["hashtag1","hashtag2"]},{"1331306819":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331306815, 1331306832, 1331306826, 1331306817, 1331306822, 1331306819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.007909536361694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:40:52.109359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/26/image_25012025_09_26_02_580012_0002.jpg', '/home/pi/Desktop/images/25012025/09/26/image_25012025_09_26_02_580012_0003.jpg', '/home/pi/Desktop/images/25012025/09/27/image_25012025_09_27_02_118806_0000.jpg', '/home/pi/Desktop/images/25012025/09/27/image_25012025_09_27_02_118806_0001.jpg', '/home/pi/Desktop/images/25012025/09/27/image_25012025_09_27_02_118806_0002.jpg', '/home/pi/Desktop/images/25012025/09/27/image_25012025_09_27_02_118806_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/26/image_25012025_09_26_02_580012_0002.jpg
/home/pi/Desktop/images/25012025/09/26/image_25012025_09_26_02_580012_0003.jpg
/home/pi/Desktop/images/25012025/09/27/image_25012025_09_27_02_118806_0000.jpg
/home/pi/Desktop/images/25012025/09/27/image_25012025_09_27_02_118806_0001.jpg
/home/pi/Desktop/images/25012025/09/27/image_25012025_09_27_02_118806_0002.jpg
/home/pi/Desktop/images/25012025/09/27/image_25012025_09_27_02_118806_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 [200]>
b'{"photo_ids":["1331306851","1331306854","1331306856","1331306853","1331306864","1331306858"],"photo_ids_order":["1331306851","1331306853","1331306854","1331306856","1331306858","1331306864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/63d23a7022688ca2c9f5755c68f3bfc1.jpg","text":"TemporaryFile(/tmp/multipartBody8437989046762160699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798128310,"filename":"image_25012025_09_26_02_580012_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fe1080637ce0af404ddb5c0796ce11e4.jpg","text":"TemporaryFile(/tmp/multipartBody8860792951644908903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798128310,"filename":"image_25012025_09_27_02_118806_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/036984d9de5e954ace19ba22b24fed15.jpg","text":"TemporaryFile(/tmp/multipartBody4908196306187587279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798128310,"filename":"image_25012025_09_27_02_118806_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/53e08f1d174a3a5634671ccda975f4e6.jpg","text":"TemporaryFile(/tmp/multipartBody9144092368657294361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798128310,"filename":"image_25012025_09_26_02_580012_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/debeeb3f508a5b56466a3b35f529d0ba.jpg","text":"TemporaryFile(/tmp/multipartBody3817227726989170317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798128310,"filename":"image_25012025_09_27_02_118806_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9e41a09c732519e9aa8014792428029e.jpg","text":"TemporaryFile(/tmp/multipartBody91408691527860613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798128310,"filename":"image_25012025_09_27_02_118806_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331306854","file1":"1331306853","file0":"1331306851","file4":"1331306858","file5":"1331306864","file3":"1331306856"},"map_files_photo_id_array":[{"photo_id":"1331306864","filename":"file5"},{"photo_id":"1331306854","filename":"file2"},{"photo_id":"1331306858","filename":"file4"},{"photo_id":"1331306853","filename":"file1"},{"photo_id":"1331306851","filename":"file0"},{"photo_id":"1331306856","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331306851":["hashtag1","hashtag2"]},{"1331306854":["hashtag1","hashtag2"]},{"1331306856":["hashtag1","hashtag2"]},{"1331306853":["hashtag1","hashtag2"]},{"1331306864":["hashtag1","hashtag2"]},{"1331306858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331306851, 1331306854, 1331306856, 1331306853, 1331306864, 1331306858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.10125708580017 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:41:52.307309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/28/image_25012025_09_28_02_598785_0000.jpg', '/home/pi/Desktop/images/25012025/09/28/image_25012025_09_28_02_598785_0001.jpg', '/home/pi/Desktop/images/25012025/09/28/image_25012025_09_28_02_598785_0002.jpg', '/home/pi/Desktop/images/25012025/09/28/image_25012025_09_28_02_598785_0003.jpg', '/home/pi/Desktop/images/25012025/09/29/image_25012025_09_29_03_087994_0000.jpg', '/home/pi/Desktop/images/25012025/09/29/image_25012025_09_29_03_087994_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/28/image_25012025_09_28_02_598785_0000.jpg
/home/pi/Desktop/images/25012025/09/28/image_25012025_09_28_02_598785_0001.jpg
/home/pi/Desktop/images/25012025/09/28/image_25012025_09_28_02_598785_0002.jpg
/home/pi/Desktop/images/25012025/09/28/image_25012025_09_28_02_598785_0003.jpg
/home/pi/Desktop/images/25012025/09/29/image_25012025_09_29_03_087994_0000.jpg
/home/pi/Desktop/images/25012025/09/29/image_25012025_09_29_03_087994_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":["1331306932","1331306883","1331306913","1331306922","1331306924","1331306884"],"photo_ids_order":["1331306883","1331306884","1331306913","1331306922","1331306924","1331306932"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6a5e4ed2b11844f533d109a76dcf42c9.jpg","text":"TemporaryFile(/tmp/multipartBody4864461900945797635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798189092,"filename":"image_25012025_09_29_03_087994_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/30f34e3dd21bbca2db4f9f4ae690a228.jpg","text":"TemporaryFile(/tmp/multipartBody8951493731095386260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798189092,"filename":"image_25012025_09_28_02_598785_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/68444c622054c48ca4500bfd95ed1d0d.jpg","text":"TemporaryFile(/tmp/multipartBody8033013975277323555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798189092,"filename":"image_25012025_09_28_02_598785_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2d701fa74b9e9443887ab548120206d6.jpg","text":"TemporaryFile(/tmp/multipartBody6111116478964915193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798189092,"filename":"image_25012025_09_28_02_598785_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/803d7a85e0042aeb7d89985f30524548.jpg","text":"TemporaryFile(/tmp/multipartBody1864512437686184321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798189092,"filename":"image_25012025_09_29_03_087994_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ec1fe756fcc281218f42af34b463e1fd.jpg","text":"TemporaryFile(/tmp/multipartBody7788346510032341589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798189092,"filename":"image_25012025_09_28_02_598785_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331306913","file1":"1331306884","file0":"1331306883","file4":"1331306924","file5":"1331306932","file3":"1331306922"},"map_files_photo_id_array":[{"photo_id":"1331306932","filename":"file5"},{"photo_id":"1331306913","filename":"file2"},{"photo_id":"1331306924","filename":"file4"},{"photo_id":"1331306884","filename":"file1"},{"photo_id":"1331306883","filename":"file0"},{"photo_id":"1331306922","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331306932":["hashtag1","hashtag2"]},{"1331306883":["hashtag1","hashtag2"]},{"1331306913":["hashtag1","hashtag2"]},{"1331306922":["hashtag1","hashtag2"]},{"1331306924":["hashtag1","hashtag2"]},{"1331306884":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331306932, 1331306883, 1331306913, 1331306922, 1331306924, 1331306884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.76054525375366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:42:52.493797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/29/image_25012025_09_29_03_087994_0002.jpg', '/home/pi/Desktop/images/25012025/09/29/image_25012025_09_29_03_087994_0003.jpg', '/home/pi/Desktop/images/25012025/09/30/image_25012025_09_30_02_666720_0000.jpg', '/home/pi/Desktop/images/25012025/09/30/image_25012025_09_30_02_666720_0001.jpg', '/home/pi/Desktop/images/25012025/09/30/image_25012025_09_30_02_666720_0002.jpg', '/home/pi/Desktop/images/25012025/09/30/image_25012025_09_30_02_666720_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/29/image_25012025_09_29_03_087994_0002.jpg
/home/pi/Desktop/images/25012025/09/29/image_25012025_09_29_03_087994_0003.jpg
/home/pi/Desktop/images/25012025/09/30/image_25012025_09_30_02_666720_0000.jpg
/home/pi/Desktop/images/25012025/09/30/image_25012025_09_30_02_666720_0001.jpg
/home/pi/Desktop/images/25012025/09/30/image_25012025_09_30_02_666720_0002.jpg
/home/pi/Desktop/images/25012025/09/30/image_25012025_09_30_02_666720_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 [200]>
b'{"photo_ids":["1331306986","1331306974","1331306991","1331306982","1331306980","1331306977"],"photo_ids_order":["1331306974","1331306977","1331306980","1331306982","1331306986","1331306991"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/42e08edc53ba22408619743879cc48d2.jpg","text":"TemporaryFile(/tmp/multipartBody8938561775055593355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798249620,"filename":"image_25012025_09_30_02_666720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f547859173783046d7b84bbf2cf4df06.jpg","text":"TemporaryFile(/tmp/multipartBody8485038734179597309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798249620,"filename":"image_25012025_09_29_03_087994_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6d35fb13b34aa96cb1c5d53e72436427.jpg","text":"TemporaryFile(/tmp/multipartBody307432629806054229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798249620,"filename":"image_25012025_09_30_02_666720_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b9e7c309ddfc43acceec3fe5fe7dccc.jpg","text":"TemporaryFile(/tmp/multipartBody8740158828654049529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798249620,"filename":"image_25012025_09_30_02_666720_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f112bbbdf6121542f3a231a221edb912.jpg","text":"TemporaryFile(/tmp/multipartBody3789553521288716073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798249620,"filename":"image_25012025_09_30_02_666720_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/320ddb4c5237ead2cd4864f89b838345.jpg","text":"TemporaryFile(/tmp/multipartBody6465028322881849630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798249620,"filename":"image_25012025_09_29_03_087994_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331306980","file1":"1331306977","file0":"1331306974","file4":"1331306986","file5":"1331306991","file3":"1331306982"},"map_files_photo_id_array":[{"photo_id":"1331306991","filename":"file5"},{"photo_id":"1331306980","filename":"file2"},{"photo_id":"1331306986","filename":"file4"},{"photo_id":"1331306977","filename":"file1"},{"photo_id":"1331306974","filename":"file0"},{"photo_id":"1331306982","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331306986":["hashtag1","hashtag2"]},{"1331306974":["hashtag1","hashtag2"]},{"1331306991":["hashtag1","hashtag2"]},{"1331306982":["hashtag1","hashtag2"]},{"1331306980":["hashtag1","hashtag2"]},{"1331306977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331306986, 1331306974, 1331306991, 1331306982, 1331306980, 1331306977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.9613151550293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:43:52.642995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/31/image_25012025_09_31_02_269110_0000.jpg', '/home/pi/Desktop/images/25012025/09/31/image_25012025_09_31_02_269110_0001.jpg', '/home/pi/Desktop/images/25012025/09/31/image_25012025_09_31_02_269110_0002.jpg', '/home/pi/Desktop/images/25012025/09/31/image_25012025_09_31_02_269110_0003.jpg', '/home/pi/Desktop/images/25012025/09/32/image_25012025_09_32_02_785417_0000.jpg', '/home/pi/Desktop/images/25012025/09/32/image_25012025_09_32_02_785417_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/31/image_25012025_09_31_02_269110_0000.jpg
/home/pi/Desktop/images/25012025/09/31/image_25012025_09_31_02_269110_0001.jpg
/home/pi/Desktop/images/25012025/09/31/image_25012025_09_31_02_269110_0002.jpg
/home/pi/Desktop/images/25012025/09/31/image_25012025_09_31_02_269110_0003.jpg
/home/pi/Desktop/images/25012025/09/32/image_25012025_09_32_02_785417_0000.jpg
/home/pi/Desktop/images/25012025/09/32/image_25012025_09_32_02_785417_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":["1331307087","1331307081","1331307084","1331307092","1331307080","1331307023"],"photo_ids_order":["1331307023","1331307080","1331307081","1331307084","1331307087","1331307092"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/14990a7d64a5d69411337726333134a8.jpg","text":"TemporaryFile(/tmp/multipartBody7176575635790743807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798310136,"filename":"image_25012025_09_32_02_785417_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3de5b91fe9457810740b7e851108b2cb.jpg","text":"TemporaryFile(/tmp/multipartBody2629807737872800391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798310136,"filename":"image_25012025_09_31_02_269110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ac67cbac7529f6b2eb1496f68f98dadd.jpg","text":"TemporaryFile(/tmp/multipartBody4971186183501148989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798310136,"filename":"image_25012025_09_31_02_269110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/12dca0ee74263eac068b4f143898a69f.jpg","text":"TemporaryFile(/tmp/multipartBody2885750328596997999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798310136,"filename":"image_25012025_09_32_02_785417_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/04d19e008f76e5d517381c48523852f7.jpg","text":"TemporaryFile(/tmp/multipartBody5214620531619142087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798310136,"filename":"image_25012025_09_31_02_269110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/79d1f1815ada0ede96f6bd0e31991ca8.jpg","text":"TemporaryFile(/tmp/multipartBody6985529274105408422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798310136,"filename":"image_25012025_09_31_02_269110_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331307081","file1":"1331307080","file0":"1331307023","file4":"1331307087","file5":"1331307092","file3":"1331307084"},"map_files_photo_id_array":[{"photo_id":"1331307092","filename":"file5"},{"photo_id":"1331307081","filename":"file2"},{"photo_id":"1331307087","filename":"file4"},{"photo_id":"1331307080","filename":"file1"},{"photo_id":"1331307023","filename":"file0"},{"photo_id":"1331307084","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331307087":["hashtag1","hashtag2"]},{"1331307081":["hashtag1","hashtag2"]},{"1331307084":["hashtag1","hashtag2"]},{"1331307092":["hashtag1","hashtag2"]},{"1331307080":["hashtag1","hashtag2"]},{"1331307023":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331307087, 1331307081, 1331307084, 1331307092, 1331307080, 1331307023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.16838765144348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 10:45:02.375038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/32/image_25012025_09_32_02_785417_0002.jpg', '/home/pi/Desktop/images/25012025/09/32/image_25012025_09_32_02_785417_0003.jpg', '/home/pi/Desktop/images/25012025/09/33/image_25012025_09_33_02_309215_0000.jpg', '/home/pi/Desktop/images/25012025/09/33/image_25012025_09_33_02_309215_0001.jpg', '/home/pi/Desktop/images/25012025/09/33/image_25012025_09_33_02_309215_0002.jpg', '/home/pi/Desktop/images/25012025/09/33/image_25012025_09_33_02_309215_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/32/image_25012025_09_32_02_785417_0002.jpg
/home/pi/Desktop/images/25012025/09/32/image_25012025_09_32_02_785417_0003.jpg
/home/pi/Desktop/images/25012025/09/33/image_25012025_09_33_02_309215_0000.jpg
/home/pi/Desktop/images/25012025/09/33/image_25012025_09_33_02_309215_0001.jpg
/home/pi/Desktop/images/25012025/09/33/image_25012025_09_33_02_309215_0002.jpg
/home/pi/Desktop/images/25012025/09/33/image_25012025_09_33_02_309215_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 [200]>
b'{"photo_ids":["1331307136","1331307115","1331307132","1331307128","1331307122","1331307125"],"photo_ids_order":["1331307115","1331307122","1331307125","1331307128","1331307132","1331307136"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f1e45d7c146003571e8ea608ae1df143.jpg","text":"TemporaryFile(/tmp/multipartBody3634353409053003048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798379074,"filename":"image_25012025_09_33_02_309215_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/627f56c2f16dc3653570acb086cab5fd.jpg","text":"TemporaryFile(/tmp/multipartBody5588321670304834453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798379074,"filename":"image_25012025_09_32_02_785417_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c3905b8aa85378d51df7b3214223f3bb.jpg","text":"TemporaryFile(/tmp/multipartBody7848442241964544957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798379074,"filename":"image_25012025_09_33_02_309215_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f443410ab24c614ec3124d8635a6795a.jpg","text":"TemporaryFile(/tmp/multipartBody8139159285942462615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798379074,"filename":"image_25012025_09_33_02_309215_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/01abd9070aa96c27246aa73d80662914.jpg","text":"TemporaryFile(/tmp/multipartBody1030947593502471592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798379074,"filename":"image_25012025_09_32_02_785417_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4c6bc70f47155fe8fe6450949d13516d.jpg","text":"TemporaryFile(/tmp/multipartBody1191287814025967783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798379074,"filename":"image_25012025_09_33_02_309215_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331307125","file1":"1331307122","file0":"1331307115","file4":"1331307132","file5":"1331307136","file3":"1331307128"},"map_files_photo_id_array":[{"photo_id":"1331307136","filename":"file5"},{"photo_id":"1331307125","filename":"file2"},{"photo_id":"1331307132","filename":"file4"},{"photo_id":"1331307122","filename":"file1"},{"photo_id":"1331307115","filename":"file0"},{"photo_id":"1331307128","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331307136":["hashtag1","hashtag2"]},{"1331307115":["hashtag1","hashtag2"]},{"1331307132":["hashtag1","hashtag2"]},{"1331307128":["hashtag1","hashtag2"]},{"1331307122":["hashtag1","hashtag2"]},{"1331307125":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331307136, 1331307115, 1331307132, 1331307128, 1331307122, 1331307125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.52327919006348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 10:46:02.439237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/34/image_25012025_09_34_02_876068_0000.jpg', '/home/pi/Desktop/images/25012025/09/34/image_25012025_09_34_02_876068_0001.jpg', '/home/pi/Desktop/images/25012025/09/34/image_25012025_09_34_02_876068_0002.jpg', '/home/pi/Desktop/images/25012025/09/34/image_25012025_09_34_02_876068_0003.jpg', '/home/pi/Desktop/images/25012025/09/35/image_25012025_09_35_02_521463_0000.jpg', '/home/pi/Desktop/images/25012025/09/35/image_25012025_09_35_02_521463_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/34/image_25012025_09_34_02_876068_0000.jpg
/home/pi/Desktop/images/25012025/09/34/image_25012025_09_34_02_876068_0001.jpg
/home/pi/Desktop/images/25012025/09/34/image_25012025_09_34_02_876068_0002.jpg
/home/pi/Desktop/images/25012025/09/34/image_25012025_09_34_02_876068_0003.jpg
/home/pi/Desktop/images/25012025/09/35/image_25012025_09_35_02_521463_0000.jpg
/home/pi/Desktop/images/25012025/09/35/image_25012025_09_35_02_521463_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":["1331307183","1331307189","1331307180","1331307193","1331307175","1331307178"],"photo_ids_order":["1331307175","1331307178","1331307180","1331307183","1331307189","1331307193"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dbdc21ee884969aec46a80b538cc167d.jpg","text":"TemporaryFile(/tmp/multipartBody5637704609869452940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798439565,"filename":"image_25012025_09_34_02_876068_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/798291058009c4e32a3a1e3e3dc190d2.jpg","text":"TemporaryFile(/tmp/multipartBody1769423161937810142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798439565,"filename":"image_25012025_09_35_02_521463_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c7fe09feccdaf42d5dee75df078120c0.jpg","text":"TemporaryFile(/tmp/multipartBody3297230510001496208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798439565,"filename":"image_25012025_09_34_02_876068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9528c483ee49526d2379baf781269ad5.jpg","text":"TemporaryFile(/tmp/multipartBody6551675578978939824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798439565,"filename":"image_25012025_09_35_02_521463_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fd7c8e73fe8abbbfc729d6b19bde865b.jpg","text":"TemporaryFile(/tmp/multipartBody3247358970987173829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798439565,"filename":"image_25012025_09_34_02_876068_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cf03f29edb008d2ace3cb3c35691c300.jpg","text":"TemporaryFile(/tmp/multipartBody5115396887679049571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798439565,"filename":"image_25012025_09_34_02_876068_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331307180","file1":"1331307178","file0":"1331307175","file4":"1331307189","file5":"1331307193","file3":"1331307183"},"map_files_photo_id_array":[{"photo_id":"1331307193","filename":"file5"},{"photo_id":"1331307180","filename":"file2"},{"photo_id":"1331307189","filename":"file4"},{"photo_id":"1331307178","filename":"file1"},{"photo_id":"1331307175","filename":"file0"},{"photo_id":"1331307183","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331307183":["hashtag1","hashtag2"]},{"1331307189":["hashtag1","hashtag2"]},{"1331307180":["hashtag1","hashtag2"]},{"1331307193":["hashtag1","hashtag2"]},{"1331307175":["hashtag1","hashtag2"]},{"1331307178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331307183, 1331307189, 1331307180, 1331307193, 1331307175, 1331307178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.40824294090271 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:47:22.262797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/35/image_25012025_09_35_02_521463_0002.jpg', '/home/pi/Desktop/images/25012025/09/35/image_25012025_09_35_02_521463_0003.jpg', '/home/pi/Desktop/images/25012025/09/36/image_25012025_09_36_02_998209_0000.jpg', '/home/pi/Desktop/images/25012025/09/36/image_25012025_09_36_02_998209_0001.jpg', '/home/pi/Desktop/images/25012025/09/36/image_25012025_09_36_02_998209_0002.jpg', '/home/pi/Desktop/images/25012025/09/36/image_25012025_09_36_02_998209_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/35/image_25012025_09_35_02_521463_0002.jpg
/home/pi/Desktop/images/25012025/09/35/image_25012025_09_35_02_521463_0003.jpg
/home/pi/Desktop/images/25012025/09/36/image_25012025_09_36_02_998209_0000.jpg
/home/pi/Desktop/images/25012025/09/36/image_25012025_09_36_02_998209_0001.jpg
/home/pi/Desktop/images/25012025/09/36/image_25012025_09_36_02_998209_0002.jpg
/home/pi/Desktop/images/25012025/09/36/image_25012025_09_36_02_998209_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 [200]>
b'{"photo_ids":["1331307234","1331307300","1331307230","1331307241","1331307244","1331307238"],"photo_ids_order":["1331307230","1331307234","1331307238","1331307241","1331307244","1331307300"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/751d99c932b5e01684dcd3d667f86697.jpg","text":"TemporaryFile(/tmp/multipartBody7266797569500302147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798519551,"filename":"image_25012025_09_35_02_521463_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/73dddc2ac33cd47dddf65dbf18c7ca30.jpg","text":"TemporaryFile(/tmp/multipartBody5999005149654991301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798519551,"filename":"image_25012025_09_36_02_998209_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a333faccd30d2f979e48d834fc3cf903.jpg","text":"TemporaryFile(/tmp/multipartBody7346816283749913437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798519551,"filename":"image_25012025_09_35_02_521463_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8ff3f466f20eff8bf3b012b073e8da21.jpg","text":"TemporaryFile(/tmp/multipartBody1845581660698361824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798519551,"filename":"image_25012025_09_36_02_998209_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/075f8a5b06ee6db90a99f5f30abc3e66.jpg","text":"TemporaryFile(/tmp/multipartBody5745216176834803785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798519551,"filename":"image_25012025_09_36_02_998209_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d62f746dd7cc0e4d22ea015bfa5abaa8.jpg","text":"TemporaryFile(/tmp/multipartBody5337920135417889925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798519551,"filename":"image_25012025_09_36_02_998209_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331307238","file1":"1331307234","file0":"1331307230","file4":"1331307244","file5":"1331307300","file3":"1331307241"},"map_files_photo_id_array":[{"photo_id":"1331307300","filename":"file5"},{"photo_id":"1331307238","filename":"file2"},{"photo_id":"1331307244","filename":"file4"},{"photo_id":"1331307234","filename":"file1"},{"photo_id":"1331307230","filename":"file0"},{"photo_id":"1331307241","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331307234":["hashtag1","hashtag2"]},{"1331307300":["hashtag1","hashtag2"]},{"1331307230":["hashtag1","hashtag2"]},{"1331307241":["hashtag1","hashtag2"]},{"1331307244":["hashtag1","hashtag2"]},{"1331307238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331307234, 1331307300, 1331307230, 1331307241, 1331307244, 1331307238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.4592170715332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:48:22.478537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/37/image_25012025_09_37_02_544783_0000.jpg', '/home/pi/Desktop/images/25012025/09/37/image_25012025_09_37_02_544783_0001.jpg', '/home/pi/Desktop/images/25012025/09/37/image_25012025_09_37_02_544783_0002.jpg', '/home/pi/Desktop/images/25012025/09/37/image_25012025_09_37_02_544783_0003.jpg', '/home/pi/Desktop/images/25012025/09/38/image_25012025_09_38_03_032904_0000.jpg', '/home/pi/Desktop/images/25012025/09/38/image_25012025_09_38_03_032904_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/37/image_25012025_09_37_02_544783_0000.jpg
/home/pi/Desktop/images/25012025/09/37/image_25012025_09_37_02_544783_0001.jpg
/home/pi/Desktop/images/25012025/09/37/image_25012025_09_37_02_544783_0002.jpg
/home/pi/Desktop/images/25012025/09/37/image_25012025_09_37_02_544783_0003.jpg
/home/pi/Desktop/images/25012025/09/38/image_25012025_09_38_03_032904_0000.jpg
/home/pi/Desktop/images/25012025/09/38/image_25012025_09_38_03_032904_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":["1331307637","1331307795","1331307801","1331307791","1331307410","1331307787"],"photo_ids_order":["1331307410","1331307637","1331307787","1331307791","1331307795","1331307801"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d82b4327fad683f7e59fd5eea69fe7b3.jpg","text":"TemporaryFile(/tmp/multipartBody2838080057011899820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798579325,"filename":"image_25012025_09_37_02_544783_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cb1f52a0528230c19259aafcc830538a.jpg","text":"TemporaryFile(/tmp/multipartBody9097579511921668694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798579325,"filename":"image_25012025_09_38_03_032904_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/745dfc2577f6d6481fcfcdbde9358696.jpg","text":"TemporaryFile(/tmp/multipartBody6091509846916794739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798579325,"filename":"image_25012025_09_38_03_032904_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6426531d2a236dce8e6e1270bad2fcbd.jpg","text":"TemporaryFile(/tmp/multipartBody4528307519293371339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798579325,"filename":"image_25012025_09_37_02_544783_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/067bcff73dc34d355bfc7263e85cb1a1.jpg","text":"TemporaryFile(/tmp/multipartBody190574200576719955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798579325,"filename":"image_25012025_09_37_02_544783_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ab626830bfb6e595d9c2d2b716f3c8f4.jpg","text":"TemporaryFile(/tmp/multipartBody7387280113195144819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798579325,"filename":"image_25012025_09_37_02_544783_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331307787","file1":"1331307637","file0":"1331307410","file4":"1331307795","file5":"1331307801","file3":"1331307791"},"map_files_photo_id_array":[{"photo_id":"1331307801","filename":"file5"},{"photo_id":"1331307787","filename":"file2"},{"photo_id":"1331307795","filename":"file4"},{"photo_id":"1331307637","filename":"file1"},{"photo_id":"1331307410","filename":"file0"},{"photo_id":"1331307791","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331307637":["hashtag1","hashtag2"]},{"1331307795":["hashtag1","hashtag2"]},{"1331307801":["hashtag1","hashtag2"]},{"1331307791":["hashtag1","hashtag2"]},{"1331307410":["hashtag1","hashtag2"]},{"1331307787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331307637, 1331307795, 1331307801, 1331307791, 1331307410, 1331307787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.786500692367554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:49:22.722719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/38/image_25012025_09_38_03_032904_0002.jpg', '/home/pi/Desktop/images/25012025/09/38/image_25012025_09_38_03_032904_0003.jpg', '/home/pi/Desktop/images/25012025/09/39/image_25012025_09_39_02_517710_0000.jpg', '/home/pi/Desktop/images/25012025/09/39/image_25012025_09_39_02_517710_0001.jpg', '/home/pi/Desktop/images/25012025/09/39/image_25012025_09_39_02_517710_0002.jpg', '/home/pi/Desktop/images/25012025/09/39/image_25012025_09_39_02_517710_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/38/image_25012025_09_38_03_032904_0002.jpg
/home/pi/Desktop/images/25012025/09/38/image_25012025_09_38_03_032904_0003.jpg
/home/pi/Desktop/images/25012025/09/39/image_25012025_09_39_02_517710_0000.jpg
/home/pi/Desktop/images/25012025/09/39/image_25012025_09_39_02_517710_0001.jpg
/home/pi/Desktop/images/25012025/09/39/image_25012025_09_39_02_517710_0002.jpg
/home/pi/Desktop/images/25012025/09/39/image_25012025_09_39_02_517710_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":["1331308362","1331308215","1331308253","1331308337","1331308366","1331308267"],"photo_ids_order":["1331308215","1331308253","1331308267","1331308337","1331308362","1331308366"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/62d934f6af5bbb3324e768be4e380e31.jpg","text":"TemporaryFile(/tmp/multipartBody2556252365575881446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798639209,"filename":"image_25012025_09_39_02_517710_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/111ca51720e5a13a24b07f615931ae86.jpg","text":"TemporaryFile(/tmp/multipartBody2648820585510389953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798639209,"filename":"image_25012025_09_38_03_032904_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7518a9aecca1bb8c148726e2f5f3427c.jpg","text":"TemporaryFile(/tmp/multipartBody6306887613347220072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798639209,"filename":"image_25012025_09_38_03_032904_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ab6d6fd81694561e413078fbc4aa0fd3.jpg","text":"TemporaryFile(/tmp/multipartBody1822877368766360938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798639209,"filename":"image_25012025_09_39_02_517710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bd3a8ff26217f064a46c17655e570563.jpg","text":"TemporaryFile(/tmp/multipartBody5829515293054811928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798639209,"filename":"image_25012025_09_39_02_517710_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5be748cc8aeb61e2fc54cd03f8c82c6d.jpg","text":"TemporaryFile(/tmp/multipartBody5171263379706588859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798639209,"filename":"image_25012025_09_39_02_517710_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331308267","file1":"1331308253","file0":"1331308215","file4":"1331308362","file5":"1331308366","file3":"1331308337"},"map_files_photo_id_array":[{"photo_id":"1331308366","filename":"file5"},{"photo_id":"1331308267","filename":"file2"},{"photo_id":"1331308362","filename":"file4"},{"photo_id":"1331308253","filename":"file1"},{"photo_id":"1331308215","filename":"file0"},{"photo_id":"1331308337","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331308362":["hashtag1","hashtag2"]},{"1331308215":["hashtag1","hashtag2"]},{"1331308253":["hashtag1","hashtag2"]},{"1331308337":["hashtag1","hashtag2"]},{"1331308366":["hashtag1","hashtag2"]},{"1331308267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331308362, 1331308215, 1331308253, 1331308337, 1331308366, 1331308267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.17800807952881 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:50:31.818027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/40/image_25012025_09_40_03_159767_0000.jpg', '/home/pi/Desktop/images/25012025/09/40/image_25012025_09_40_03_159767_0001.jpg', '/home/pi/Desktop/images/25012025/09/40/image_25012025_09_40_03_159767_0002.jpg', '/home/pi/Desktop/images/25012025/09/40/image_25012025_09_40_03_159767_0003.jpg', '/home/pi/Desktop/images/25012025/09/41/image_25012025_09_41_02_693241_0000.jpg', '/home/pi/Desktop/images/25012025/09/41/image_25012025_09_41_02_693241_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/40/image_25012025_09_40_03_159767_0000.jpg
/home/pi/Desktop/images/25012025/09/40/image_25012025_09_40_03_159767_0001.jpg
/home/pi/Desktop/images/25012025/09/40/image_25012025_09_40_03_159767_0002.jpg
/home/pi/Desktop/images/25012025/09/40/image_25012025_09_40_03_159767_0003.jpg
/home/pi/Desktop/images/25012025/09/41/image_25012025_09_41_02_693241_0000.jpg
/home/pi/Desktop/images/25012025/09/41/image_25012025_09_41_02_693241_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":["1331308461","1331308449","1331308464","1331308466","1331308468","1331308453"],"photo_ids_order":["1331308449","1331308453","1331308461","1331308464","1331308466","1331308468"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/720eb2de93a4f3c987d2ec69f6831a44.jpg","text":"TemporaryFile(/tmp/multipartBody4517701367144607122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798708089,"filename":"image_25012025_09_40_03_159767_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4a29cb5e0c169f31126b201556a2df1b.jpg","text":"TemporaryFile(/tmp/multipartBody3090387535521146042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798708089,"filename":"image_25012025_09_40_03_159767_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9f69e48788a8abc7bafbd1ac9b4bc583.jpg","text":"TemporaryFile(/tmp/multipartBody1244383412033729316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798708089,"filename":"image_25012025_09_40_03_159767_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ce1f283a04073fefa7a352e448a32226.jpg","text":"TemporaryFile(/tmp/multipartBody657690029557181777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798708089,"filename":"image_25012025_09_41_02_693241_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9402cf9749d1d4a68df5d6a5e4245e98.jpg","text":"TemporaryFile(/tmp/multipartBody1497669080963346908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798708089,"filename":"image_25012025_09_41_02_693241_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f66135e22e55b0840f7ee9697fe754b9.jpg","text":"TemporaryFile(/tmp/multipartBody8107539180733956381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798708089,"filename":"image_25012025_09_40_03_159767_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331308461","file1":"1331308453","file0":"1331308449","file4":"1331308466","file5":"1331308468","file3":"1331308464"},"map_files_photo_id_array":[{"photo_id":"1331308468","filename":"file5"},{"photo_id":"1331308461","filename":"file2"},{"photo_id":"1331308466","filename":"file4"},{"photo_id":"1331308453","filename":"file1"},{"photo_id":"1331308449","filename":"file0"},{"photo_id":"1331308464","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331308461":["hashtag1","hashtag2"]},{"1331308449":["hashtag1","hashtag2"]},{"1331308464":["hashtag1","hashtag2"]},{"1331308466":["hashtag1","hashtag2"]},{"1331308468":["hashtag1","hashtag2"]},{"1331308453":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331308461, 1331308449, 1331308464, 1331308466, 1331308468, 1331308453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.97513127326965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:51:32.101932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/41/image_25012025_09_41_02_693241_0002.jpg', '/home/pi/Desktop/images/25012025/09/41/image_25012025_09_41_02_693241_0003.jpg', '/home/pi/Desktop/images/25012025/09/42/image_25012025_09_42_02_179052_0000.jpg', '/home/pi/Desktop/images/25012025/09/42/image_25012025_09_42_02_179052_0001.jpg', '/home/pi/Desktop/images/25012025/09/42/image_25012025_09_42_02_179052_0002.jpg', '/home/pi/Desktop/images/25012025/09/42/image_25012025_09_42_02_179052_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/41/image_25012025_09_41_02_693241_0002.jpg
/home/pi/Desktop/images/25012025/09/41/image_25012025_09_41_02_693241_0003.jpg
/home/pi/Desktop/images/25012025/09/42/image_25012025_09_42_02_179052_0000.jpg
/home/pi/Desktop/images/25012025/09/42/image_25012025_09_42_02_179052_0001.jpg
/home/pi/Desktop/images/25012025/09/42/image_25012025_09_42_02_179052_0002.jpg
/home/pi/Desktop/images/25012025/09/42/image_25012025_09_42_02_179052_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 [200]>
b'{"photo_ids":["1331308559","1331308550","1331308553","1331308547","1331308556","1331308544"],"photo_ids_order":["1331308544","1331308547","1331308550","1331308553","1331308556","1331308559"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9a4e8a24859789f57c8ce10a6fa2da86.jpg","text":"TemporaryFile(/tmp/multipartBody4587921667514989624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798768350,"filename":"image_25012025_09_42_02_179052_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/feec69a867faa7e6f961af615ed8737d.jpg","text":"TemporaryFile(/tmp/multipartBody4582229169672390819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798768350,"filename":"image_25012025_09_42_02_179052_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/795a36ef224bb4860fa14f72f58faf24.jpg","text":"TemporaryFile(/tmp/multipartBody8626140871146502178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798768350,"filename":"image_25012025_09_42_02_179052_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d566c7a3b5c53a85f0f96a9dff811d9f.jpg","text":"TemporaryFile(/tmp/multipartBody2428140521317109581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798768350,"filename":"image_25012025_09_41_02_693241_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e74f3c3cf2148c4a3d2b50b0411ae8b4.jpg","text":"TemporaryFile(/tmp/multipartBody2180764788559210859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798768350,"filename":"image_25012025_09_42_02_179052_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e8917b60709ee5c9714d53fef7e83546.jpg","text":"TemporaryFile(/tmp/multipartBody5517504795796927704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798768350,"filename":"image_25012025_09_41_02_693241_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331308550","file1":"1331308547","file0":"1331308544","file4":"1331308556","file5":"1331308559","file3":"1331308553"},"map_files_photo_id_array":[{"photo_id":"1331308559","filename":"file5"},{"photo_id":"1331308550","filename":"file2"},{"photo_id":"1331308556","filename":"file4"},{"photo_id":"1331308547","filename":"file1"},{"photo_id":"1331308544","filename":"file0"},{"photo_id":"1331308553","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331308559":["hashtag1","hashtag2"]},{"1331308550":["hashtag1","hashtag2"]},{"1331308553":["hashtag1","hashtag2"]},{"1331308547":["hashtag1","hashtag2"]},{"1331308556":["hashtag1","hashtag2"]},{"1331308544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331308559, 1331308550, 1331308553, 1331308547, 1331308556, 1331308544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.78796601295471 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:52:32.177963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/43/image_25012025_09_43_02_749290_0000.jpg', '/home/pi/Desktop/images/25012025/09/43/image_25012025_09_43_02_749290_0001.jpg', '/home/pi/Desktop/images/25012025/09/43/image_25012025_09_43_02_749290_0002.jpg', '/home/pi/Desktop/images/25012025/09/43/image_25012025_09_43_02_749290_0003.jpg', '/home/pi/Desktop/images/25012025/09/44/image_25012025_09_44_02_297002_0000.jpg', '/home/pi/Desktop/images/25012025/09/44/image_25012025_09_44_02_297002_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/43/image_25012025_09_43_02_749290_0000.jpg
/home/pi/Desktop/images/25012025/09/43/image_25012025_09_43_02_749290_0001.jpg
/home/pi/Desktop/images/25012025/09/43/image_25012025_09_43_02_749290_0002.jpg
/home/pi/Desktop/images/25012025/09/43/image_25012025_09_43_02_749290_0003.jpg
/home/pi/Desktop/images/25012025/09/44/image_25012025_09_44_02_297002_0000.jpg
/home/pi/Desktop/images/25012025/09/44/image_25012025_09_44_02_297002_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: 16.80334711074829 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:52:52.182726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/43/image_25012025_09_43_02_749290_0000.jpg', '/home/pi/Desktop/images/25012025/09/43/image_25012025_09_43_02_749290_0001.jpg', '/home/pi/Desktop/images/25012025/09/43/image_25012025_09_43_02_749290_0002.jpg', '/home/pi/Desktop/images/25012025/09/43/image_25012025_09_43_02_749290_0003.jpg', '/home/pi/Desktop/images/25012025/09/44/image_25012025_09_44_02_297002_0000.jpg', '/home/pi/Desktop/images/25012025/09/44/image_25012025_09_44_02_297002_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/43/image_25012025_09_43_02_749290_0000.jpg
/home/pi/Desktop/images/25012025/09/43/image_25012025_09_43_02_749290_0001.jpg
/home/pi/Desktop/images/25012025/09/43/image_25012025_09_43_02_749290_0002.jpg
/home/pi/Desktop/images/25012025/09/43/image_25012025_09_43_02_749290_0003.jpg
/home/pi/Desktop/images/25012025/09/44/image_25012025_09_44_02_297002_0000.jpg
/home/pi/Desktop/images/25012025/09/44/image_25012025_09_44_02_297002_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":["1331308617","1331308632","1331308626","1331308613","1331308624","1331308621"],"photo_ids_order":["1331308613","1331308617","1331308621","1331308624","1331308626","1331308632"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/500497b9f317bd539a66e1dd1070f08f.jpg","text":"TemporaryFile(/tmp/multipartBody7950160347942986412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798849404,"filename":"image_25012025_09_43_02_749290_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/19bc207b5e0b412efc4a02d7313a4f24.jpg","text":"TemporaryFile(/tmp/multipartBody1565438161968526457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798849404,"filename":"image_25012025_09_44_02_297002_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/deaa72bea0e42b693492fb1d1ba6b5af.jpg","text":"TemporaryFile(/tmp/multipartBody807833210097093463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798849404,"filename":"image_25012025_09_44_02_297002_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/543e9a640efac4ee213555e628dc4af1.jpg","text":"TemporaryFile(/tmp/multipartBody4236408147242533948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798849404,"filename":"image_25012025_09_43_02_749290_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4ed89afe93bdaee06bf6dbdee60b494a.jpg","text":"TemporaryFile(/tmp/multipartBody2855754403272143667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798849404,"filename":"image_25012025_09_43_02_749290_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b512f6bb1b629e7195ee4aabaf79d424.jpg","text":"TemporaryFile(/tmp/multipartBody6450598501581762983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798849404,"filename":"image_25012025_09_43_02_749290_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331308621","file1":"1331308617","file0":"1331308613","file4":"1331308626","file5":"1331308632","file3":"1331308624"},"map_files_photo_id_array":[{"photo_id":"1331308632","filename":"file5"},{"photo_id":"1331308621","filename":"file2"},{"photo_id":"1331308626","filename":"file4"},{"photo_id":"1331308617","filename":"file1"},{"photo_id":"1331308613","filename":"file0"},{"photo_id":"1331308624","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331308617":["hashtag1","hashtag2"]},{"1331308632":["hashtag1","hashtag2"]},{"1331308626":["hashtag1","hashtag2"]},{"1331308613":["hashtag1","hashtag2"]},{"1331308624":["hashtag1","hashtag2"]},{"1331308621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331308617, 1331308632, 1331308626, 1331308613, 1331308624, 1331308621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.358848333358765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:53:52.379440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/44/image_25012025_09_44_02_297002_0002.jpg', '/home/pi/Desktop/images/25012025/09/44/image_25012025_09_44_02_297002_0003.jpg', '/home/pi/Desktop/images/25012025/09/45/image_25012025_09_45_02_787783_0000.jpg', '/home/pi/Desktop/images/25012025/09/45/image_25012025_09_45_02_787783_0001.jpg', '/home/pi/Desktop/images/25012025/09/45/image_25012025_09_45_02_787783_0002.jpg', '/home/pi/Desktop/images/25012025/09/45/image_25012025_09_45_02_787783_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/44/image_25012025_09_44_02_297002_0002.jpg
/home/pi/Desktop/images/25012025/09/44/image_25012025_09_44_02_297002_0003.jpg
/home/pi/Desktop/images/25012025/09/45/image_25012025_09_45_02_787783_0000.jpg
/home/pi/Desktop/images/25012025/09/45/image_25012025_09_45_02_787783_0001.jpg
/home/pi/Desktop/images/25012025/09/45/image_25012025_09_45_02_787783_0002.jpg
/home/pi/Desktop/images/25012025/09/45/image_25012025_09_45_02_787783_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 [200]>
b'{"photo_ids":["1331308653","1331308656","1331308659","1331308664","1331308651","1331308648"],"photo_ids_order":["1331308648","1331308651","1331308653","1331308656","1331308659","1331308664"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0baa2cb8761bb85a57fc03941e5e892b.jpg","text":"TemporaryFile(/tmp/multipartBody7143891806087018444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798908985,"filename":"image_25012025_09_45_02_787783_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1c0ebfb2fbd062abef9922cd7c84d5a8.jpg","text":"TemporaryFile(/tmp/multipartBody6747911498279837112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798908985,"filename":"image_25012025_09_45_02_787783_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/31f30137b7a7c9565ea7fc4700612582.jpg","text":"TemporaryFile(/tmp/multipartBody3088677795893558607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798908985,"filename":"image_25012025_09_45_02_787783_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ac5bc8629601a7c5dc5021b68d4db6b2.jpg","text":"TemporaryFile(/tmp/multipartBody6385346760382699758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798908985,"filename":"image_25012025_09_45_02_787783_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/827eb450b57b64b4b55e53ec1e912cad.jpg","text":"TemporaryFile(/tmp/multipartBody2972771588736748923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798908985,"filename":"image_25012025_09_44_02_297002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/34fcbeecbb5f886fc40a687d51cd37a0.jpg","text":"TemporaryFile(/tmp/multipartBody5273120950950394737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798908985,"filename":"image_25012025_09_44_02_297002_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331308653","file1":"1331308651","file0":"1331308648","file4":"1331308659","file5":"1331308664","file3":"1331308656"},"map_files_photo_id_array":[{"photo_id":"1331308664","filename":"file5"},{"photo_id":"1331308653","filename":"file2"},{"photo_id":"1331308659","filename":"file4"},{"photo_id":"1331308651","filename":"file1"},{"photo_id":"1331308648","filename":"file0"},{"photo_id":"1331308656","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331308653":["hashtag1","hashtag2"]},{"1331308656":["hashtag1","hashtag2"]},{"1331308659":["hashtag1","hashtag2"]},{"1331308664":["hashtag1","hashtag2"]},{"1331308651":["hashtag1","hashtag2"]},{"1331308648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331308653, 1331308656, 1331308659, 1331308664, 1331308651, 1331308648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.22957730293274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:54:52.554604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/46/image_25012025_09_46_02_268244_0000.jpg', '/home/pi/Desktop/images/25012025/09/46/image_25012025_09_46_02_268244_0001.jpg', '/home/pi/Desktop/images/25012025/09/46/image_25012025_09_46_02_268244_0002.jpg', '/home/pi/Desktop/images/25012025/09/46/image_25012025_09_46_02_268244_0003.jpg', '/home/pi/Desktop/images/25012025/09/47/image_25012025_09_47_02_975798_0000.jpg', '/home/pi/Desktop/images/25012025/09/47/image_25012025_09_47_02_975798_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/46/image_25012025_09_46_02_268244_0000.jpg
/home/pi/Desktop/images/25012025/09/46/image_25012025_09_46_02_268244_0001.jpg
/home/pi/Desktop/images/25012025/09/46/image_25012025_09_46_02_268244_0002.jpg
/home/pi/Desktop/images/25012025/09/46/image_25012025_09_46_02_268244_0003.jpg
/home/pi/Desktop/images/25012025/09/47/image_25012025_09_47_02_975798_0000.jpg
/home/pi/Desktop/images/25012025/09/47/image_25012025_09_47_02_975798_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":["1331308697","1331308691","1331308681","1331308678","1331308683","1331308686"],"photo_ids_order":["1331308678","1331308681","1331308683","1331308686","1331308691","1331308697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/83a15c5b92f47e132192a27b5af924e3.jpg","text":"TemporaryFile(/tmp/multipartBody3735463962045744787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798969515,"filename":"image_25012025_09_47_02_975798_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f749333b7218f85c2bf383fcea3141c6.jpg","text":"TemporaryFile(/tmp/multipartBody2798711417163775397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798969515,"filename":"image_25012025_09_47_02_975798_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/877333985e4252d66b82ed6ece18d6ea.jpg","text":"TemporaryFile(/tmp/multipartBody4025747836836177307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798969515,"filename":"image_25012025_09_46_02_268244_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e11b973f240ed0cf700867d27f123888.jpg","text":"TemporaryFile(/tmp/multipartBody5175493095190711738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798969515,"filename":"image_25012025_09_46_02_268244_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/685d1ed588bb6ea28c7bac7ec9549deb.jpg","text":"TemporaryFile(/tmp/multipartBody7615647920937334125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798969515,"filename":"image_25012025_09_46_02_268244_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dc97ea59d0e9422ad5011e7828842795.jpg","text":"TemporaryFile(/tmp/multipartBody5660120451608423642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737798969515,"filename":"image_25012025_09_46_02_268244_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331308683","file1":"1331308681","file0":"1331308678","file4":"1331308691","file5":"1331308697","file3":"1331308686"},"map_files_photo_id_array":[{"photo_id":"1331308697","filename":"file5"},{"photo_id":"1331308683","filename":"file2"},{"photo_id":"1331308691","filename":"file4"},{"photo_id":"1331308681","filename":"file1"},{"photo_id":"1331308678","filename":"file0"},{"photo_id":"1331308686","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331308697":["hashtag1","hashtag2"]},{"1331308691":["hashtag1","hashtag2"]},{"1331308681":["hashtag1","hashtag2"]},{"1331308678":["hashtag1","hashtag2"]},{"1331308683":["hashtag1","hashtag2"]},{"1331308686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331308697, 1331308691, 1331308681, 1331308678, 1331308683, 1331308686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.830095291137695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 10:55:52.746944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/47/image_25012025_09_47_02_975798_0002.jpg', '/home/pi/Desktop/images/25012025/09/47/image_25012025_09_47_02_975798_0003.jpg', '/home/pi/Desktop/images/25012025/09/48/image_25012025_09_48_02_489638_0000.jpg', '/home/pi/Desktop/images/25012025/09/48/image_25012025_09_48_02_489638_0001.jpg', '/home/pi/Desktop/images/25012025/09/48/image_25012025_09_48_02_489638_0002.jpg', '/home/pi/Desktop/images/25012025/09/48/image_25012025_09_48_02_489638_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/47/image_25012025_09_47_02_975798_0002.jpg
/home/pi/Desktop/images/25012025/09/47/image_25012025_09_47_02_975798_0003.jpg
/home/pi/Desktop/images/25012025/09/48/image_25012025_09_48_02_489638_0000.jpg
/home/pi/Desktop/images/25012025/09/48/image_25012025_09_48_02_489638_0001.jpg
/home/pi/Desktop/images/25012025/09/48/image_25012025_09_48_02_489638_0002.jpg
/home/pi/Desktop/images/25012025/09/48/image_25012025_09_48_02_489638_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: 16.06822896003723 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:56:21.922175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/47/image_25012025_09_47_02_975798_0002.jpg', '/home/pi/Desktop/images/25012025/09/47/image_25012025_09_47_02_975798_0003.jpg', '/home/pi/Desktop/images/25012025/09/48/image_25012025_09_48_02_489638_0000.jpg', '/home/pi/Desktop/images/25012025/09/48/image_25012025_09_48_02_489638_0001.jpg', '/home/pi/Desktop/images/25012025/09/48/image_25012025_09_48_02_489638_0002.jpg', '/home/pi/Desktop/images/25012025/09/48/image_25012025_09_48_02_489638_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/47/image_25012025_09_47_02_975798_0002.jpg
/home/pi/Desktop/images/25012025/09/47/image_25012025_09_47_02_975798_0003.jpg
/home/pi/Desktop/images/25012025/09/48/image_25012025_09_48_02_489638_0000.jpg
/home/pi/Desktop/images/25012025/09/48/image_25012025_09_48_02_489638_0001.jpg
/home/pi/Desktop/images/25012025/09/48/image_25012025_09_48_02_489638_0002.jpg
/home/pi/Desktop/images/25012025/09/48/image_25012025_09_48_02_489638_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 [200]>
b'{"photo_ids":["1331308746","1331308758","1331308763","1331308771","1331308768","1331308753"],"photo_ids_order":["1331308746","1331308753","1331308758","1331308763","1331308768","1331308771"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/57c8bd11399ba045b2835c7211a1160c.jpg","text":"TemporaryFile(/tmp/multipartBody6855862404640533096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799058376,"filename":"image_25012025_09_47_02_975798_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e5e4f8640be65f9c230b5f2eec08f273.jpg","text":"TemporaryFile(/tmp/multipartBody5857712031989559261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799058376,"filename":"image_25012025_09_48_02_489638_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dcfab2a6d6828ed44381e23e4a573515.jpg","text":"TemporaryFile(/tmp/multipartBody2365099490007395037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799058376,"filename":"image_25012025_09_48_02_489638_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/39fdda9dbaa143144e5257edb0dcf375.jpg","text":"TemporaryFile(/tmp/multipartBody2526118841610416462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799058376,"filename":"image_25012025_09_48_02_489638_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4a89917f85e7989f1b7d4b9c34554848.jpg","text":"TemporaryFile(/tmp/multipartBody7917428357466163635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799058376,"filename":"image_25012025_09_48_02_489638_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ad1d1fc3a79d1991f1c2dec9b03abca8.jpg","text":"TemporaryFile(/tmp/multipartBody8919406031094493904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799058376,"filename":"image_25012025_09_47_02_975798_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331308758","file1":"1331308753","file0":"1331308746","file4":"1331308768","file5":"1331308771","file3":"1331308763"},"map_files_photo_id_array":[{"photo_id":"1331308771","filename":"file5"},{"photo_id":"1331308758","filename":"file2"},{"photo_id":"1331308768","filename":"file4"},{"photo_id":"1331308753","filename":"file1"},{"photo_id":"1331308746","filename":"file0"},{"photo_id":"1331308763","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331308746":["hashtag1","hashtag2"]},{"1331308758":["hashtag1","hashtag2"]},{"1331308763":["hashtag1","hashtag2"]},{"1331308771":["hashtag1","hashtag2"]},{"1331308768":["hashtag1","hashtag2"]},{"1331308753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331308746, 1331308758, 1331308763, 1331308771, 1331308768, 1331308753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.430267095565796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 10:57:22.073963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/49/image_25012025_09_49_02_117391_0000.jpg', '/home/pi/Desktop/images/25012025/09/49/image_25012025_09_49_02_117391_0001.jpg', '/home/pi/Desktop/images/25012025/09/49/image_25012025_09_49_02_117391_0002.jpg', '/home/pi/Desktop/images/25012025/09/49/image_25012025_09_49_02_117391_0003.jpg', '/home/pi/Desktop/images/25012025/09/50/image_25012025_09_50_02_612502_0000.jpg', '/home/pi/Desktop/images/25012025/09/50/image_25012025_09_50_02_612502_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/49/image_25012025_09_49_02_117391_0000.jpg
/home/pi/Desktop/images/25012025/09/49/image_25012025_09_49_02_117391_0001.jpg
/home/pi/Desktop/images/25012025/09/49/image_25012025_09_49_02_117391_0002.jpg
/home/pi/Desktop/images/25012025/09/49/image_25012025_09_49_02_117391_0003.jpg
/home/pi/Desktop/images/25012025/09/50/image_25012025_09_50_02_612502_0000.jpg
/home/pi/Desktop/images/25012025/09/50/image_25012025_09_50_02_612502_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-25 10:59:03.037933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/49/image_25012025_09_49_02_117391_0000.jpg', '/home/pi/Desktop/images/25012025/09/49/image_25012025_09_49_02_117391_0001.jpg', '/home/pi/Desktop/images/25012025/09/49/image_25012025_09_49_02_117391_0002.jpg', '/home/pi/Desktop/images/25012025/09/49/image_25012025_09_49_02_117391_0003.jpg', '/home/pi/Desktop/images/25012025/09/50/image_25012025_09_50_02_612502_0000.jpg', '/home/pi/Desktop/images/25012025/09/50/image_25012025_09_50_02_612502_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/49/image_25012025_09_49_02_117391_0000.jpg
/home/pi/Desktop/images/25012025/09/49/image_25012025_09_49_02_117391_0001.jpg
/home/pi/Desktop/images/25012025/09/49/image_25012025_09_49_02_117391_0002.jpg
/home/pi/Desktop/images/25012025/09/49/image_25012025_09_49_02_117391_0003.jpg
/home/pi/Desktop/images/25012025/09/50/image_25012025_09_50_02_612502_0000.jpg
/home/pi/Desktop/images/25012025/09/50/image_25012025_09_50_02_612502_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":["1331309034","1331309028","1331309024","1331309009","1331309047","1331309031"],"photo_ids_order":["1331309009","1331309024","1331309028","1331309031","1331309034","1331309047"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/576459654f7905fa311d7d7c9d187294.jpg","text":"TemporaryFile(/tmp/multipartBody6581228655512641938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799219780,"filename":"image_25012025_09_50_02_612502_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e8921466b9d2413a2c40f9bf74473ffa.jpg","text":"TemporaryFile(/tmp/multipartBody731640705344487652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799219780,"filename":"image_25012025_09_49_02_117391_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bdcc247599e5ddf63c2f432c341dea4c.jpg","text":"TemporaryFile(/tmp/multipartBody4690725859995918575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799219780,"filename":"image_25012025_09_49_02_117391_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/30fe1667df55ccf7627c6268ba19624a.jpg","text":"TemporaryFile(/tmp/multipartBody5139339280949954187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799219780,"filename":"image_25012025_09_49_02_117391_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ad36a0027b5d312b9db344609ae5d4ff.jpg","text":"TemporaryFile(/tmp/multipartBody3401888351031470137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799219780,"filename":"image_25012025_09_50_02_612502_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/97c4472b8a3463fb35cf4f7b3ea2ad5d.jpg","text":"TemporaryFile(/tmp/multipartBody3511134000775517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799219780,"filename":"image_25012025_09_49_02_117391_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331309028","file1":"1331309024","file0":"1331309009","file4":"1331309034","file5":"1331309047","file3":"1331309031"},"map_files_photo_id_array":[{"photo_id":"1331309047","filename":"file5"},{"photo_id":"1331309028","filename":"file2"},{"photo_id":"1331309034","filename":"file4"},{"photo_id":"1331309024","filename":"file1"},{"photo_id":"1331309009","filename":"file0"},{"photo_id":"1331309031","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331309034":["hashtag1","hashtag2"]},{"1331309028":["hashtag1","hashtag2"]},{"1331309024":["hashtag1","hashtag2"]},{"1331309009":["hashtag1","hashtag2"]},{"1331309047":["hashtag1","hashtag2"]},{"1331309031":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331309034, 1331309028, 1331309024, 1331309009, 1331309047, 1331309031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.84239935874939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 11:00:02.983821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/50/image_25012025_09_50_02_612502_0002.jpg', '/home/pi/Desktop/images/25012025/09/50/image_25012025_09_50_02_612502_0003.jpg', '/home/pi/Desktop/images/25012025/09/51/image_25012025_09_51_02_229884_0000.jpg', '/home/pi/Desktop/images/25012025/09/51/image_25012025_09_51_02_229884_0001.jpg', '/home/pi/Desktop/images/25012025/09/51/image_25012025_09_51_02_229884_0002.jpg', '/home/pi/Desktop/images/25012025/09/51/image_25012025_09_51_02_229884_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/50/image_25012025_09_50_02_612502_0002.jpg
/home/pi/Desktop/images/25012025/09/50/image_25012025_09_50_02_612502_0003.jpg
/home/pi/Desktop/images/25012025/09/51/image_25012025_09_51_02_229884_0000.jpg
/home/pi/Desktop/images/25012025/09/51/image_25012025_09_51_02_229884_0001.jpg
/home/pi/Desktop/images/25012025/09/51/image_25012025_09_51_02_229884_0002.jpg
/home/pi/Desktop/images/25012025/09/51/image_25012025_09_51_02_229884_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 [200]>
b'{"photo_ids":["1331309084","1331309086","1331309131","1331309128","1331309088","1331309079"],"photo_ids_order":["1331309079","1331309084","1331309086","1331309088","1331309128","1331309131"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6f57e140599b6fea42eb722d140e54c9.jpg","text":"TemporaryFile(/tmp/multipartBody1469310106541130437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799279909,"filename":"image_25012025_09_50_02_612502_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9cb3034ef545c74ec234b1b0edeb515f.jpg","text":"TemporaryFile(/tmp/multipartBody554153805785127211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799279909,"filename":"image_25012025_09_51_02_229884_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e993f4a6b7ef70b062ee88c15a0b2820.jpg","text":"TemporaryFile(/tmp/multipartBody4121317961013309678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799279909,"filename":"image_25012025_09_51_02_229884_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f52cf729dbe38227b53ec6936c80137a.jpg","text":"TemporaryFile(/tmp/multipartBody4480910074728391795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799279909,"filename":"image_25012025_09_51_02_229884_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0cce74d686840ab011cd77da8b7b62be.jpg","text":"TemporaryFile(/tmp/multipartBody4592049258276088162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799279909,"filename":"image_25012025_09_51_02_229884_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/37710b02c7b670ed24a15701846e1737.jpg","text":"TemporaryFile(/tmp/multipartBody7429410892213685164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799279909,"filename":"image_25012025_09_50_02_612502_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331309086","file1":"1331309084","file0":"1331309079","file4":"1331309128","file5":"1331309131","file3":"1331309088"},"map_files_photo_id_array":[{"photo_id":"1331309131","filename":"file5"},{"photo_id":"1331309086","filename":"file2"},{"photo_id":"1331309128","filename":"file4"},{"photo_id":"1331309084","filename":"file1"},{"photo_id":"1331309079","filename":"file0"},{"photo_id":"1331309088","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331309084":["hashtag1","hashtag2"]},{"1331309086":["hashtag1","hashtag2"]},{"1331309131":["hashtag1","hashtag2"]},{"1331309128":["hashtag1","hashtag2"]},{"1331309088":["hashtag1","hashtag2"]},{"1331309079":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331309084, 1331309086, 1331309131, 1331309128, 1331309088, 1331309079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.46849203109741 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 11:01:03.332563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/52/image_25012025_09_52_02_685323_0000.jpg', '/home/pi/Desktop/images/25012025/09/52/image_25012025_09_52_02_685323_0001.jpg', '/home/pi/Desktop/images/25012025/09/52/image_25012025_09_52_02_685323_0002.jpg', '/home/pi/Desktop/images/25012025/09/52/image_25012025_09_52_02_685323_0003.jpg', '/home/pi/Desktop/images/25012025/09/53/image_25012025_09_53_02_168755_0000.jpg', '/home/pi/Desktop/images/25012025/09/53/image_25012025_09_53_02_168755_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/52/image_25012025_09_52_02_685323_0000.jpg
/home/pi/Desktop/images/25012025/09/52/image_25012025_09_52_02_685323_0001.jpg
/home/pi/Desktop/images/25012025/09/52/image_25012025_09_52_02_685323_0002.jpg
/home/pi/Desktop/images/25012025/09/52/image_25012025_09_52_02_685323_0003.jpg
/home/pi/Desktop/images/25012025/09/53/image_25012025_09_53_02_168755_0000.jpg
/home/pi/Desktop/images/25012025/09/53/image_25012025_09_53_02_168755_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":["1331309148","1331309153","1331309159","1331309155","1331309163","1331309166"],"photo_ids_order":["1331309148","1331309153","1331309155","1331309159","1331309163","1331309166"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/551139c91b2a5b8976002d309912ace3.jpg","text":"TemporaryFile(/tmp/multipartBody933777452605007619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799340497,"filename":"image_25012025_09_52_02_685323_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0f852b69d4305c0d29c5abb2e3d211fe.jpg","text":"TemporaryFile(/tmp/multipartBody8612313930666176601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799340497,"filename":"image_25012025_09_52_02_685323_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/936cf16334e0c8ef76bdd439296e6896.jpg","text":"TemporaryFile(/tmp/multipartBody6222909437122717877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799340497,"filename":"image_25012025_09_52_02_685323_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9cdc7e5778d1e1ba41f1bfc780dac998.jpg","text":"TemporaryFile(/tmp/multipartBody3380117786821907387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799340497,"filename":"image_25012025_09_52_02_685323_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6bfae2dc1012187ecf0da57865a4515e.jpg","text":"TemporaryFile(/tmp/multipartBody6543073254378871768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799340497,"filename":"image_25012025_09_53_02_168755_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/571950290e750cc512dc99f794775b59.jpg","text":"TemporaryFile(/tmp/multipartBody7999638603483291894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799340497,"filename":"image_25012025_09_53_02_168755_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331309155","file1":"1331309153","file0":"1331309148","file4":"1331309163","file5":"1331309166","file3":"1331309159"},"map_files_photo_id_array":[{"photo_id":"1331309166","filename":"file5"},{"photo_id":"1331309155","filename":"file2"},{"photo_id":"1331309163","filename":"file4"},{"photo_id":"1331309153","filename":"file1"},{"photo_id":"1331309148","filename":"file0"},{"photo_id":"1331309159","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331309148":["hashtag1","hashtag2"]},{"1331309153":["hashtag1","hashtag2"]},{"1331309159":["hashtag1","hashtag2"]},{"1331309155":["hashtag1","hashtag2"]},{"1331309163":["hashtag1","hashtag2"]},{"1331309166":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331309148, 1331309153, 1331309159, 1331309155, 1331309163, 1331309166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.736342430114746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 11:02:22.024977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/53/image_25012025_09_53_02_168755_0002.jpg', '/home/pi/Desktop/images/25012025/09/53/image_25012025_09_53_02_168755_0003.jpg', '/home/pi/Desktop/images/25012025/09/54/image_25012025_09_54_02_700651_0000.jpg', '/home/pi/Desktop/images/25012025/09/54/image_25012025_09_54_02_700651_0001.jpg', '/home/pi/Desktop/images/25012025/09/54/image_25012025_09_54_02_700651_0002.jpg', '/home/pi/Desktop/images/25012025/09/54/image_25012025_09_54_02_700651_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/53/image_25012025_09_53_02_168755_0002.jpg
/home/pi/Desktop/images/25012025/09/53/image_25012025_09_53_02_168755_0003.jpg
/home/pi/Desktop/images/25012025/09/54/image_25012025_09_54_02_700651_0000.jpg
/home/pi/Desktop/images/25012025/09/54/image_25012025_09_54_02_700651_0001.jpg
/home/pi/Desktop/images/25012025/09/54/image_25012025_09_54_02_700651_0002.jpg
/home/pi/Desktop/images/25012025/09/54/image_25012025_09_54_02_700651_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 [200]>
b'{"photo_ids":["1331309526","1331309508","1331309540","1331309557","1331309521","1331309524"],"photo_ids_order":["1331309508","1331309521","1331309524","1331309526","1331309540","1331309557"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0507250888e5178e966e48837ed896cb.jpg","text":"TemporaryFile(/tmp/multipartBody4847633319254317529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799419161,"filename":"image_25012025_09_54_02_700651_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/31b0b4fbb895a6829ff7a628980380f4.jpg","text":"TemporaryFile(/tmp/multipartBody262089599346081714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799419161,"filename":"image_25012025_09_53_02_168755_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/197273f14ccf13ac7c1e7f0790683c8b.jpg","text":"TemporaryFile(/tmp/multipartBody2503180632082220322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799419161,"filename":"image_25012025_09_54_02_700651_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2a24a6d0b9a2e93458e2eec676b21d2f.jpg","text":"TemporaryFile(/tmp/multipartBody7707136467179978717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799419161,"filename":"image_25012025_09_54_02_700651_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fe43bfe90b54c3063e373a9c9cdf3610.jpg","text":"TemporaryFile(/tmp/multipartBody7743967493017037339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799419161,"filename":"image_25012025_09_53_02_168755_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a1725f966641503e91bda206826bd858.jpg","text":"TemporaryFile(/tmp/multipartBody2784554750416532713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799419161,"filename":"image_25012025_09_54_02_700651_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331309524","file1":"1331309521","file0":"1331309508","file4":"1331309540","file5":"1331309557","file3":"1331309526"},"map_files_photo_id_array":[{"photo_id":"1331309557","filename":"file5"},{"photo_id":"1331309524","filename":"file2"},{"photo_id":"1331309540","filename":"file4"},{"photo_id":"1331309521","filename":"file1"},{"photo_id":"1331309508","filename":"file0"},{"photo_id":"1331309526","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331309526":["hashtag1","hashtag2"]},{"1331309508":["hashtag1","hashtag2"]},{"1331309540":["hashtag1","hashtag2"]},{"1331309557":["hashtag1","hashtag2"]},{"1331309521":["hashtag1","hashtag2"]},{"1331309524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331309526, 1331309508, 1331309540, 1331309557, 1331309521, 1331309524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.796186447143555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 11:03:22.158130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/55/image_25012025_09_55_02_401853_0000.jpg', '/home/pi/Desktop/images/25012025/09/55/image_25012025_09_55_02_401853_0001.jpg', '/home/pi/Desktop/images/25012025/09/55/image_25012025_09_55_02_401853_0002.jpg', '/home/pi/Desktop/images/25012025/09/55/image_25012025_09_55_02_401853_0003.jpg', '/home/pi/Desktop/images/25012025/09/56/image_25012025_09_56_02_905963_0000.jpg', '/home/pi/Desktop/images/25012025/09/56/image_25012025_09_56_02_905963_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/55/image_25012025_09_55_02_401853_0000.jpg
/home/pi/Desktop/images/25012025/09/55/image_25012025_09_55_02_401853_0001.jpg
/home/pi/Desktop/images/25012025/09/55/image_25012025_09_55_02_401853_0002.jpg
/home/pi/Desktop/images/25012025/09/55/image_25012025_09_55_02_401853_0003.jpg
/home/pi/Desktop/images/25012025/09/56/image_25012025_09_56_02_905963_0000.jpg
/home/pi/Desktop/images/25012025/09/56/image_25012025_09_56_02_905963_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":["1331310150","1331310147","1331310176","1331310170","1331310172","1331310139"],"photo_ids_order":["1331310139","1331310147","1331310150","1331310170","1331310172","1331310176"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a1be8896e0556f96c23c6ca7cd17d8d6.jpg","text":"TemporaryFile(/tmp/multipartBody2443604262208417450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799479300,"filename":"image_25012025_09_55_02_401853_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8e3da74d42a4943ef2d0dfada2c7e037.jpg","text":"TemporaryFile(/tmp/multipartBody6005417815048301074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799479300,"filename":"image_25012025_09_55_02_401853_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e0278ad0550dab0a5a2020af3f6e0d1b.jpg","text":"TemporaryFile(/tmp/multipartBody2411599294814530205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799479300,"filename":"image_25012025_09_56_02_905963_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6d152378e14d60b97045ec019053ea31.jpg","text":"TemporaryFile(/tmp/multipartBody1602057458229900927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799479300,"filename":"image_25012025_09_55_02_401853_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dec0649c9ddff8ed90cf3dd138896539.jpg","text":"TemporaryFile(/tmp/multipartBody8775048264717360225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799479300,"filename":"image_25012025_09_56_02_905963_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b64fd363dc2b5ba2f3bc506046dd6a3e.jpg","text":"TemporaryFile(/tmp/multipartBody3599463671525276571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799479300,"filename":"image_25012025_09_55_02_401853_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331310150","file1":"1331310147","file0":"1331310139","file4":"1331310172","file5":"1331310176","file3":"1331310170"},"map_files_photo_id_array":[{"photo_id":"1331310176","filename":"file5"},{"photo_id":"1331310150","filename":"file2"},{"photo_id":"1331310172","filename":"file4"},{"photo_id":"1331310147","filename":"file1"},{"photo_id":"1331310139","filename":"file0"},{"photo_id":"1331310170","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331310150":["hashtag1","hashtag2"]},{"1331310147":["hashtag1","hashtag2"]},{"1331310176":["hashtag1","hashtag2"]},{"1331310170":["hashtag1","hashtag2"]},{"1331310172":["hashtag1","hashtag2"]},{"1331310139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331310150, 1331310147, 1331310176, 1331310170, 1331310172, 1331310139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.25479030609131 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 11:04:22.257809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/56/image_25012025_09_56_02_905963_0002.jpg', '/home/pi/Desktop/images/25012025/09/56/image_25012025_09_56_02_905963_0003.jpg', '/home/pi/Desktop/images/25012025/09/57/image_25012025_09_57_02_469664_0000.jpg', '/home/pi/Desktop/images/25012025/09/57/image_25012025_09_57_02_469664_0001.jpg', '/home/pi/Desktop/images/25012025/09/57/image_25012025_09_57_02_469664_0002.jpg', '/home/pi/Desktop/images/25012025/09/57/image_25012025_09_57_02_469664_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/56/image_25012025_09_56_02_905963_0002.jpg
/home/pi/Desktop/images/25012025/09/56/image_25012025_09_56_02_905963_0003.jpg
/home/pi/Desktop/images/25012025/09/57/image_25012025_09_57_02_469664_0000.jpg
/home/pi/Desktop/images/25012025/09/57/image_25012025_09_57_02_469664_0001.jpg
/home/pi/Desktop/images/25012025/09/57/image_25012025_09_57_02_469664_0002.jpg
/home/pi/Desktop/images/25012025/09/57/image_25012025_09_57_02_469664_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":["1331310492","1331310516","1331310524","1331310512","1331310520","1331310508"],"photo_ids_order":["1331310492","1331310508","1331310512","1331310516","1331310520","1331310524"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f1265b8c1f3a5cdca3b531f7ae1a7a16.jpg","text":"TemporaryFile(/tmp/multipartBody7802921171199848645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799539274,"filename":"image_25012025_09_56_02_905963_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d2a56a9386e6892afd2c5a6c02427345.jpg","text":"TemporaryFile(/tmp/multipartBody2439365745923584056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799539274,"filename":"image_25012025_09_57_02_469664_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/610707c8eb90a69752b407e9897d82ed.jpg","text":"TemporaryFile(/tmp/multipartBody2881297359675215888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799539274,"filename":"image_25012025_09_57_02_469664_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dbc7b91bea092cd9643c31c22c30f4e0.jpg","text":"TemporaryFile(/tmp/multipartBody8805103079499634032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799539274,"filename":"image_25012025_09_57_02_469664_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aa63ed31aea4a5c33e7eea163a7b7a52.jpg","text":"TemporaryFile(/tmp/multipartBody1677433627692420131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799539274,"filename":"image_25012025_09_57_02_469664_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/542b4f3c536671d38639bbacb4d4e7c9.jpg","text":"TemporaryFile(/tmp/multipartBody935775522186103063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799539274,"filename":"image_25012025_09_56_02_905963_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331310512","file1":"1331310508","file0":"1331310492","file4":"1331310520","file5":"1331310524","file3":"1331310516"},"map_files_photo_id_array":[{"photo_id":"1331310524","filename":"file5"},{"photo_id":"1331310512","filename":"file2"},{"photo_id":"1331310520","filename":"file4"},{"photo_id":"1331310508","filename":"file1"},{"photo_id":"1331310492","filename":"file0"},{"photo_id":"1331310516","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331310492":["hashtag1","hashtag2"]},{"1331310516":["hashtag1","hashtag2"]},{"1331310524":["hashtag1","hashtag2"]},{"1331310512":["hashtag1","hashtag2"]},{"1331310520":["hashtag1","hashtag2"]},{"1331310508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331310492, 1331310516, 1331310524, 1331310512, 1331310520, 1331310508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.15761756896973 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 11:05:32.409199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/58/image_25012025_09_58_02_956590_0000.jpg', '/home/pi/Desktop/images/25012025/09/58/image_25012025_09_58_02_956590_0001.jpg', '/home/pi/Desktop/images/25012025/09/58/image_25012025_09_58_02_956590_0002.jpg', '/home/pi/Desktop/images/25012025/09/58/image_25012025_09_58_02_956590_0003.jpg', '/home/pi/Desktop/images/25012025/09/59/image_25012025_09_59_02_722100_0000.jpg', '/home/pi/Desktop/images/25012025/09/59/image_25012025_09_59_02_722100_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/58/image_25012025_09_58_02_956590_0000.jpg
/home/pi/Desktop/images/25012025/09/58/image_25012025_09_58_02_956590_0001.jpg
/home/pi/Desktop/images/25012025/09/58/image_25012025_09_58_02_956590_0002.jpg
/home/pi/Desktop/images/25012025/09/58/image_25012025_09_58_02_956590_0003.jpg
/home/pi/Desktop/images/25012025/09/59/image_25012025_09_59_02_722100_0000.jpg
/home/pi/Desktop/images/25012025/09/59/image_25012025_09_59_02_722100_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":["1331310546","1331310555","1331310549","1331310559","1331310562","1331310544"],"photo_ids_order":["1331310544","1331310546","1331310549","1331310555","1331310559","1331310562"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c8fc41602c7404a23122f2cc818d1735.jpg","text":"TemporaryFile(/tmp/multipartBody6466208112430764035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799608926,"filename":"image_25012025_09_58_02_956590_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/08bab63600bcd5493932b2c7b6466343.jpg","text":"TemporaryFile(/tmp/multipartBody2573285439866716858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799608926,"filename":"image_25012025_09_58_02_956590_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a4f6d76511d354362d23b90155017816.jpg","text":"TemporaryFile(/tmp/multipartBody395450499264473771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799608926,"filename":"image_25012025_09_58_02_956590_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6b7ad805299a2fc8d58a722f88204334.jpg","text":"TemporaryFile(/tmp/multipartBody5185537805782706262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799608926,"filename":"image_25012025_09_59_02_722100_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bc0f1588eab60ff268b68e85a21c8441.jpg","text":"TemporaryFile(/tmp/multipartBody9163966144500891473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799608926,"filename":"image_25012025_09_59_02_722100_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e91e25ab5313a3e8fa0a872f2d51a307.jpg","text":"TemporaryFile(/tmp/multipartBody7862586576607907877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799608926,"filename":"image_25012025_09_58_02_956590_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331310549","file1":"1331310546","file0":"1331310544","file4":"1331310559","file5":"1331310562","file3":"1331310555"},"map_files_photo_id_array":[{"photo_id":"1331310562","filename":"file5"},{"photo_id":"1331310549","filename":"file2"},{"photo_id":"1331310559","filename":"file4"},{"photo_id":"1331310546","filename":"file1"},{"photo_id":"1331310544","filename":"file0"},{"photo_id":"1331310555","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331310546":["hashtag1","hashtag2"]},{"1331310555":["hashtag1","hashtag2"]},{"1331310549":["hashtag1","hashtag2"]},{"1331310559":["hashtag1","hashtag2"]},{"1331310562":["hashtag1","hashtag2"]},{"1331310544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331310546, 1331310555, 1331310549, 1331310559, 1331310562, 1331310544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.16759157180786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 11:06:42.526842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/09/59/image_25012025_09_59_02_722100_0002.jpg', '/home/pi/Desktop/images/25012025/09/59/image_25012025_09_59_02_722100_0003.jpg', '/home/pi/Desktop/images/25012025/10/00/image_25012025_10_00_02_925940_0000.jpg', '/home/pi/Desktop/images/25012025/10/00/image_25012025_10_00_02_925940_0001.jpg', '/home/pi/Desktop/images/25012025/10/00/image_25012025_10_00_02_925940_0002.jpg', '/home/pi/Desktop/images/25012025/10/00/image_25012025_10_00_02_925940_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/09/59/image_25012025_09_59_02_722100_0002.jpg
/home/pi/Desktop/images/25012025/09/59/image_25012025_09_59_02_722100_0003.jpg
/home/pi/Desktop/images/25012025/10/00/image_25012025_10_00_02_925940_0000.jpg
/home/pi/Desktop/images/25012025/10/00/image_25012025_10_00_02_925940_0001.jpg
/home/pi/Desktop/images/25012025/10/00/image_25012025_10_00_02_925940_0002.jpg
/home/pi/Desktop/images/25012025/10/00/image_25012025_10_00_02_925940_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 [200]>
b'{"photo_ids":["1331310672","1331310651","1331310711","1331310658","1331310655","1331310675"],"photo_ids_order":["1331310651","1331310655","1331310658","1331310672","1331310675","1331310711"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ad381a77851a81404d80211350f80758.jpg","text":"TemporaryFile(/tmp/multipartBody6410192192412051707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799678704,"filename":"image_25012025_10_00_02_925940_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/79dba192dfc3870a971139a2edc44ee9.jpg","text":"TemporaryFile(/tmp/multipartBody6497539490428778071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799678704,"filename":"image_25012025_09_59_02_722100_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a588c321018bff4ebc4507c92a011731.jpg","text":"TemporaryFile(/tmp/multipartBody7868463169296154712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799678704,"filename":"image_25012025_10_00_02_925940_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/94c321e1e4403f5055edb3190aa8737a.jpg","text":"TemporaryFile(/tmp/multipartBody5724781953997928751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799678704,"filename":"image_25012025_10_00_02_925940_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/571c7fb0cf4d4074b012b795c2d8e4e5.jpg","text":"TemporaryFile(/tmp/multipartBody8707829059304259037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799678704,"filename":"image_25012025_09_59_02_722100_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5f754434887dfa72d94a75018affe4b4.jpg","text":"TemporaryFile(/tmp/multipartBody9164680080696568126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799678704,"filename":"image_25012025_10_00_02_925940_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331310658","file1":"1331310655","file0":"1331310651","file4":"1331310675","file5":"1331310711","file3":"1331310672"},"map_files_photo_id_array":[{"photo_id":"1331310711","filename":"file5"},{"photo_id":"1331310658","filename":"file2"},{"photo_id":"1331310675","filename":"file4"},{"photo_id":"1331310655","filename":"file1"},{"photo_id":"1331310651","filename":"file0"},{"photo_id":"1331310672","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331310672":["hashtag1","hashtag2"]},{"1331310651":["hashtag1","hashtag2"]},{"1331310711":["hashtag1","hashtag2"]},{"1331310658":["hashtag1","hashtag2"]},{"1331310655":["hashtag1","hashtag2"]},{"1331310675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331310672, 1331310651, 1331310711, 1331310658, 1331310655, 1331310675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.63999104499817 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 11:07:42.838920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/01/image_25012025_10_01_03_101891_0000.jpg', '/home/pi/Desktop/images/25012025/10/01/image_25012025_10_01_03_101891_0001.jpg', '/home/pi/Desktop/images/25012025/10/01/image_25012025_10_01_03_101891_0002.jpg', '/home/pi/Desktop/images/25012025/10/01/image_25012025_10_01_03_101891_0003.jpg', '/home/pi/Desktop/images/25012025/10/02/image_25012025_10_02_02_241249_0000.jpg', '/home/pi/Desktop/images/25012025/10/02/image_25012025_10_02_02_241249_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/01/image_25012025_10_01_03_101891_0000.jpg
/home/pi/Desktop/images/25012025/10/01/image_25012025_10_01_03_101891_0001.jpg
/home/pi/Desktop/images/25012025/10/01/image_25012025_10_01_03_101891_0002.jpg
/home/pi/Desktop/images/25012025/10/01/image_25012025_10_01_03_101891_0003.jpg
/home/pi/Desktop/images/25012025/10/02/image_25012025_10_02_02_241249_0000.jpg
/home/pi/Desktop/images/25012025/10/02/image_25012025_10_02_02_241249_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":["1331310834","1331310767","1331310761","1331310839","1331310832","1331310805"],"photo_ids_order":["1331310761","1331310767","1331310805","1331310832","1331310834","1331310839"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3781534285a132b4066d7c840b907983.jpg","text":"TemporaryFile(/tmp/multipartBody6207534466847327624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799740076,"filename":"image_25012025_10_02_02_241249_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1e7bc05459c98e3264d86375fe6c16d4.jpg","text":"TemporaryFile(/tmp/multipartBody7465316468854467119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799740076,"filename":"image_25012025_10_01_03_101891_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/174e521f294ea4d8dca3fef94353bf87.jpg","text":"TemporaryFile(/tmp/multipartBody7005125711995902395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799740076,"filename":"image_25012025_10_01_03_101891_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9adfd934f0de63161c9eb8efffeb2860.jpg","text":"TemporaryFile(/tmp/multipartBody3334013188385859626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799740076,"filename":"image_25012025_10_02_02_241249_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/63c4a2802eabbb83b4df0b361db3e604.jpg","text":"TemporaryFile(/tmp/multipartBody1168405154634113845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799740076,"filename":"image_25012025_10_01_03_101891_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2df06edf52f8480470731261b95680f1.jpg","text":"TemporaryFile(/tmp/multipartBody9028233292250984773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799740076,"filename":"image_25012025_10_01_03_101891_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331310805","file1":"1331310767","file0":"1331310761","file4":"1331310834","file5":"1331310839","file3":"1331310832"},"map_files_photo_id_array":[{"photo_id":"1331310839","filename":"file5"},{"photo_id":"1331310805","filename":"file2"},{"photo_id":"1331310834","filename":"file4"},{"photo_id":"1331310767","filename":"file1"},{"photo_id":"1331310761","filename":"file0"},{"photo_id":"1331310832","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331310834":["hashtag1","hashtag2"]},{"1331310767":["hashtag1","hashtag2"]},{"1331310761":["hashtag1","hashtag2"]},{"1331310839":["hashtag1","hashtag2"]},{"1331310832":["hashtag1","hashtag2"]},{"1331310805":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331310834, 1331310767, 1331310761, 1331310839, 1331310832, 1331310805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.43891906738281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 11:08:41.920349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/02/image_25012025_10_02_02_241249_0002.jpg', '/home/pi/Desktop/images/25012025/10/02/image_25012025_10_02_02_241249_0003.jpg', '/home/pi/Desktop/images/25012025/10/03/image_25012025_10_03_02_475704_0000.jpg', '/home/pi/Desktop/images/25012025/10/03/image_25012025_10_03_02_475704_0001.jpg', '/home/pi/Desktop/images/25012025/10/03/image_25012025_10_03_02_475704_0002.jpg', '/home/pi/Desktop/images/25012025/10/03/image_25012025_10_03_02_475704_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/02/image_25012025_10_02_02_241249_0002.jpg
/home/pi/Desktop/images/25012025/10/02/image_25012025_10_02_02_241249_0003.jpg
/home/pi/Desktop/images/25012025/10/03/image_25012025_10_03_02_475704_0000.jpg
/home/pi/Desktop/images/25012025/10/03/image_25012025_10_03_02_475704_0001.jpg
/home/pi/Desktop/images/25012025/10/03/image_25012025_10_03_02_475704_0002.jpg
/home/pi/Desktop/images/25012025/10/03/image_25012025_10_03_02_475704_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 [200]>
b'{"photo_ids":["1331310882","1331310884","1331310887","1331310860","1331310857","1331310894"],"photo_ids_order":["1331310857","1331310860","1331310882","1331310884","1331310887","1331310894"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/37fd520acd020d7eb538f7dda895dafe.jpg","text":"TemporaryFile(/tmp/multipartBody7146724942486914526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799798895,"filename":"image_25012025_10_03_02_475704_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b5149fcf779cd20e44f2a658819bc8f6.jpg","text":"TemporaryFile(/tmp/multipartBody279489120084153052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799798895,"filename":"image_25012025_10_03_02_475704_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f403b795586c041c6dd13737bf82173a.jpg","text":"TemporaryFile(/tmp/multipartBody4249499831685612158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799798895,"filename":"image_25012025_10_03_02_475704_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1b900376f36a31552565f2e05c27e720.jpg","text":"TemporaryFile(/tmp/multipartBody3494193276228166939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799798895,"filename":"image_25012025_10_02_02_241249_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5bc4dd5af5d969ff986689b8ff0cf229.jpg","text":"TemporaryFile(/tmp/multipartBody1155589847790334827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799798895,"filename":"image_25012025_10_02_02_241249_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/811cb3033055fe7d04121d93446ada3e.jpg","text":"TemporaryFile(/tmp/multipartBody6868271948817719203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799798895,"filename":"image_25012025_10_03_02_475704_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331310882","file1":"1331310860","file0":"1331310857","file4":"1331310887","file5":"1331310894","file3":"1331310884"},"map_files_photo_id_array":[{"photo_id":"1331310894","filename":"file5"},{"photo_id":"1331310882","filename":"file2"},{"photo_id":"1331310887","filename":"file4"},{"photo_id":"1331310860","filename":"file1"},{"photo_id":"1331310857","filename":"file0"},{"photo_id":"1331310884","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331310882":["hashtag1","hashtag2"]},{"1331310884":["hashtag1","hashtag2"]},{"1331310887":["hashtag1","hashtag2"]},{"1331310860":["hashtag1","hashtag2"]},{"1331310857":["hashtag1","hashtag2"]},{"1331310894":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331310882, 1331310884, 1331310887, 1331310860, 1331310857, 1331310894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.052651166915894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 11:09:42.097268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/04/image_25012025_10_04_02_686911_0000.jpg', '/home/pi/Desktop/images/25012025/10/04/image_25012025_10_04_02_686911_0001.jpg', '/home/pi/Desktop/images/25012025/10/04/image_25012025_10_04_02_686911_0002.jpg', '/home/pi/Desktop/images/25012025/10/04/image_25012025_10_04_02_686911_0003.jpg', '/home/pi/Desktop/images/25012025/10/05/image_25012025_10_05_02_874431_0000.jpg', '/home/pi/Desktop/images/25012025/10/05/image_25012025_10_05_02_874431_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/04/image_25012025_10_04_02_686911_0000.jpg
/home/pi/Desktop/images/25012025/10/04/image_25012025_10_04_02_686911_0001.jpg
/home/pi/Desktop/images/25012025/10/04/image_25012025_10_04_02_686911_0002.jpg
/home/pi/Desktop/images/25012025/10/04/image_25012025_10_04_02_686911_0003.jpg
/home/pi/Desktop/images/25012025/10/05/image_25012025_10_05_02_874431_0000.jpg
/home/pi/Desktop/images/25012025/10/05/image_25012025_10_05_02_874431_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":["1331310948","1331310921","1331310930","1331310944","1331310917","1331310940"],"photo_ids_order":["1331310917","1331310921","1331310930","1331310940","1331310944","1331310948"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/43a8bf632eb8cc7f648f6c0f9b4e22fe.jpg","text":"TemporaryFile(/tmp/multipartBody8519028370825647172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799858653,"filename":"image_25012025_10_05_02_874431_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/db08099d1d5620351e4110cd5ebb19b5.jpg","text":"TemporaryFile(/tmp/multipartBody7623387286761148432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799858653,"filename":"image_25012025_10_04_02_686911_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/36553fb5a2e79f2c97d9ae2b1fb27adf.jpg","text":"TemporaryFile(/tmp/multipartBody4270361981171654005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799858653,"filename":"image_25012025_10_04_02_686911_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eb32fd6ab858f4d6cdf4a3cdb20fd7b2.jpg","text":"TemporaryFile(/tmp/multipartBody4303885970548419610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799858653,"filename":"image_25012025_10_05_02_874431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f2f9cc5e89aa8de743a72eebed1ac3b4.jpg","text":"TemporaryFile(/tmp/multipartBody3327500358556672427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799858653,"filename":"image_25012025_10_04_02_686911_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3a6800a126cf465c085e2501193cb375.jpg","text":"TemporaryFile(/tmp/multipartBody1212576950025630831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799858653,"filename":"image_25012025_10_04_02_686911_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331310930","file1":"1331310921","file0":"1331310917","file4":"1331310944","file5":"1331310948","file3":"1331310940"},"map_files_photo_id_array":[{"photo_id":"1331310948","filename":"file5"},{"photo_id":"1331310930","filename":"file2"},{"photo_id":"1331310944","filename":"file4"},{"photo_id":"1331310921","filename":"file1"},{"photo_id":"1331310917","filename":"file0"},{"photo_id":"1331310940","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331310948":["hashtag1","hashtag2"]},{"1331310921":["hashtag1","hashtag2"]},{"1331310930":["hashtag1","hashtag2"]},{"1331310944":["hashtag1","hashtag2"]},{"1331310917":["hashtag1","hashtag2"]},{"1331310940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331310948, 1331310921, 1331310930, 1331310944, 1331310917, 1331310940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.52692770957947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 11:10:42.185786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/05/image_25012025_10_05_02_874431_0002.jpg', '/home/pi/Desktop/images/25012025/10/05/image_25012025_10_05_02_874431_0003.jpg', '/home/pi/Desktop/images/25012025/10/06/image_25012025_10_06_03_036819_0000.jpg', '/home/pi/Desktop/images/25012025/10/06/image_25012025_10_06_03_036819_0001.jpg', '/home/pi/Desktop/images/25012025/10/06/image_25012025_10_06_03_036819_0002.jpg', '/home/pi/Desktop/images/25012025/10/06/image_25012025_10_06_03_036819_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/05/image_25012025_10_05_02_874431_0002.jpg
/home/pi/Desktop/images/25012025/10/05/image_25012025_10_05_02_874431_0003.jpg
/home/pi/Desktop/images/25012025/10/06/image_25012025_10_06_03_036819_0000.jpg
/home/pi/Desktop/images/25012025/10/06/image_25012025_10_06_03_036819_0001.jpg
/home/pi/Desktop/images/25012025/10/06/image_25012025_10_06_03_036819_0002.jpg
/home/pi/Desktop/images/25012025/10/06/image_25012025_10_06_03_036819_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 [200]>
b'{"photo_ids":["1331311038","1331311031","1331311069","1331311054","1331311051","1331311027"],"photo_ids_order":["1331311027","1331311031","1331311038","1331311051","1331311054","1331311069"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c3dc54438afa21872e8686ace6df2fd0.jpg","text":"TemporaryFile(/tmp/multipartBody365715735666942990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799919280,"filename":"image_25012025_10_06_03_036819_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cd7dc36ce8fcf8f01c1c261fa1dde27f.jpg","text":"TemporaryFile(/tmp/multipartBody1944636984452837610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799919280,"filename":"image_25012025_10_05_02_874431_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/67af0d38d8ec2f6389a53f8cd42aff72.jpg","text":"TemporaryFile(/tmp/multipartBody770850537615679111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799919280,"filename":"image_25012025_10_06_03_036819_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/77b379ec672ccb8ff80936a45d87bfa4.jpg","text":"TemporaryFile(/tmp/multipartBody9212342142852456794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799919280,"filename":"image_25012025_10_06_03_036819_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0ff55149774924a3f8fd2bbdebe2bbb8.jpg","text":"TemporaryFile(/tmp/multipartBody427999033839671983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799919280,"filename":"image_25012025_10_06_03_036819_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/32880f7b47999d780c8ca09e8633cda4.jpg","text":"TemporaryFile(/tmp/multipartBody4125949685793097131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737799919280,"filename":"image_25012025_10_05_02_874431_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331311038","file1":"1331311031","file0":"1331311027","file4":"1331311054","file5":"1331311069","file3":"1331311051"},"map_files_photo_id_array":[{"photo_id":"1331311069","filename":"file5"},{"photo_id":"1331311038","filename":"file2"},{"photo_id":"1331311054","filename":"file4"},{"photo_id":"1331311031","filename":"file1"},{"photo_id":"1331311027","filename":"file0"},{"photo_id":"1331311051","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331311038":["hashtag1","hashtag2"]},{"1331311031":["hashtag1","hashtag2"]},{"1331311069":["hashtag1","hashtag2"]},{"1331311054":["hashtag1","hashtag2"]},{"1331311051":["hashtag1","hashtag2"]},{"1331311027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331311038, 1331311031, 1331311069, 1331311054, 1331311051, 1331311027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.622788190841675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 11:11:42.452240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/07/image_25012025_10_07_02_184154_0000.jpg', '/home/pi/Desktop/images/25012025/10/07/image_25012025_10_07_02_184154_0001.jpg', '/home/pi/Desktop/images/25012025/10/07/image_25012025_10_07_02_184154_0002.jpg', '/home/pi/Desktop/images/25012025/10/07/image_25012025_10_07_02_184154_0003.jpg', '/home/pi/Desktop/images/25012025/10/08/image_25012025_10_08_02_510921_0000.jpg', '/home/pi/Desktop/images/25012025/10/08/image_25012025_10_08_02_510921_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/07/image_25012025_10_07_02_184154_0000.jpg
/home/pi/Desktop/images/25012025/10/07/image_25012025_10_07_02_184154_0001.jpg
/home/pi/Desktop/images/25012025/10/07/image_25012025_10_07_02_184154_0002.jpg
/home/pi/Desktop/images/25012025/10/07/image_25012025_10_07_02_184154_0003.jpg
/home/pi/Desktop/images/25012025/10/08/image_25012025_10_08_02_510921_0000.jpg
/home/pi/Desktop/images/25012025/10/08/image_25012025_10_08_02_510921_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.35629415512085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 11:12:02.962451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/07/image_25012025_10_07_02_184154_0000.jpg', '/home/pi/Desktop/images/25012025/10/07/image_25012025_10_07_02_184154_0001.jpg', '/home/pi/Desktop/images/25012025/10/07/image_25012025_10_07_02_184154_0002.jpg', '/home/pi/Desktop/images/25012025/10/07/image_25012025_10_07_02_184154_0003.jpg', '/home/pi/Desktop/images/25012025/10/08/image_25012025_10_08_02_510921_0000.jpg', '/home/pi/Desktop/images/25012025/10/08/image_25012025_10_08_02_510921_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/07/image_25012025_10_07_02_184154_0000.jpg
/home/pi/Desktop/images/25012025/10/07/image_25012025_10_07_02_184154_0001.jpg
/home/pi/Desktop/images/25012025/10/07/image_25012025_10_07_02_184154_0002.jpg
/home/pi/Desktop/images/25012025/10/07/image_25012025_10_07_02_184154_0003.jpg
/home/pi/Desktop/images/25012025/10/08/image_25012025_10_08_02_510921_0000.jpg
/home/pi/Desktop/images/25012025/10/08/image_25012025_10_08_02_510921_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":["1331311142","1331311124","1331311099","1331311135","1331311108","1331311128"],"photo_ids_order":["1331311099","1331311108","1331311124","1331311128","1331311135","1331311142"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b6c29ae6f9aa6ac522cf4d42e285f240.jpg","text":"TemporaryFile(/tmp/multipartBody8828494264191517626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800000680,"filename":"image_25012025_10_08_02_510921_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dee7f55ea5a8d37db869b4a1418796b0.jpg","text":"TemporaryFile(/tmp/multipartBody5834769836160031237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800000680,"filename":"image_25012025_10_07_02_184154_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9adcb3aaa2039464741ec4b2e8c38074.jpg","text":"TemporaryFile(/tmp/multipartBody5957288297749033656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800000680,"filename":"image_25012025_10_07_02_184154_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1af9af6ad0fa675a001885865e749ec7.jpg","text":"TemporaryFile(/tmp/multipartBody7301862891993389390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800000680,"filename":"image_25012025_10_08_02_510921_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d574497e2c05edc66f3cc4b8a24d09d8.jpg","text":"TemporaryFile(/tmp/multipartBody5810185346659327025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800000680,"filename":"image_25012025_10_07_02_184154_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3dd6cc0c704f74c5ecfe56bd7ff71ab1.jpg","text":"TemporaryFile(/tmp/multipartBody6457333211793274265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800000680,"filename":"image_25012025_10_07_02_184154_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331311124","file1":"1331311108","file0":"1331311099","file4":"1331311135","file5":"1331311142","file3":"1331311128"},"map_files_photo_id_array":[{"photo_id":"1331311142","filename":"file5"},{"photo_id":"1331311124","filename":"file2"},{"photo_id":"1331311135","filename":"file4"},{"photo_id":"1331311108","filename":"file1"},{"photo_id":"1331311099","filename":"file0"},{"photo_id":"1331311128","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331311142":["hashtag1","hashtag2"]},{"1331311124":["hashtag1","hashtag2"]},{"1331311099":["hashtag1","hashtag2"]},{"1331311135":["hashtag1","hashtag2"]},{"1331311108":["hashtag1","hashtag2"]},{"1331311128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331311142, 1331311124, 1331311099, 1331311135, 1331311108, 1331311128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.329052686691284 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-25 11:13:21.873080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/08/image_25012025_10_08_02_510921_0002.jpg', '/home/pi/Desktop/images/25012025/10/08/image_25012025_10_08_02_510921_0003.jpg', '/home/pi/Desktop/images/25012025/10/09/image_25012025_10_09_02_582837_0000.jpg', '/home/pi/Desktop/images/25012025/10/09/image_25012025_10_09_02_582837_0001.jpg', '/home/pi/Desktop/images/25012025/10/09/image_25012025_10_09_02_582837_0002.jpg', '/home/pi/Desktop/images/25012025/10/09/image_25012025_10_09_02_582837_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/08/image_25012025_10_08_02_510921_0002.jpg
/home/pi/Desktop/images/25012025/10/08/image_25012025_10_08_02_510921_0003.jpg
/home/pi/Desktop/images/25012025/10/09/image_25012025_10_09_02_582837_0000.jpg
/home/pi/Desktop/images/25012025/10/09/image_25012025_10_09_02_582837_0001.jpg
/home/pi/Desktop/images/25012025/10/09/image_25012025_10_09_02_582837_0002.jpg
/home/pi/Desktop/images/25012025/10/09/image_25012025_10_09_02_582837_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":["1331311193","1331311172","1331311319","1331311264","1331311167","1331311161"],"photo_ids_order":["1331311161","1331311167","1331311172","1331311193","1331311264","1331311319"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/55146586b90b6d389b8999c519153323.jpg","text":"TemporaryFile(/tmp/multipartBody3082019152296295550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800079245,"filename":"image_25012025_10_09_02_582837_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0fc130895ff22f5bb3963f0fb6085aea.jpg","text":"TemporaryFile(/tmp/multipartBody3546502443253660925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800079245,"filename":"image_25012025_10_09_02_582837_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fd51c152ec2d70c1d36707636a6b1f75.jpg","text":"TemporaryFile(/tmp/multipartBody2152523170954009706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800079245,"filename":"image_25012025_10_09_02_582837_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9381e2f71f5810eb8f4e121cb7509075.jpg","text":"TemporaryFile(/tmp/multipartBody8950180520636305933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800079245,"filename":"image_25012025_10_09_02_582837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ac34a4536959c594e501b9a50362109b.jpg","text":"TemporaryFile(/tmp/multipartBody6090597075573373396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800079245,"filename":"image_25012025_10_08_02_510921_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/251d64c558deefe243804929bc0fc9a6.jpg","text":"TemporaryFile(/tmp/multipartBody5793029791329074934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800079245,"filename":"image_25012025_10_08_02_510921_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331311172","file1":"1331311167","file0":"1331311161","file4":"1331311264","file5":"1331311319","file3":"1331311193"},"map_files_photo_id_array":[{"photo_id":"1331311319","filename":"file5"},{"photo_id":"1331311172","filename":"file2"},{"photo_id":"1331311264","filename":"file4"},{"photo_id":"1331311167","filename":"file1"},{"photo_id":"1331311161","filename":"file0"},{"photo_id":"1331311193","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331311193":["hashtag1","hashtag2"]},{"1331311172":["hashtag1","hashtag2"]},{"1331311319":["hashtag1","hashtag2"]},{"1331311264":["hashtag1","hashtag2"]},{"1331311167":["hashtag1","hashtag2"]},{"1331311161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331311193, 1331311172, 1331311319, 1331311264, 1331311167, 1331311161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.11366844177246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 11:14:32.065107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/10/image_25012025_10_10_02_796810_0000.jpg', '/home/pi/Desktop/images/25012025/10/10/image_25012025_10_10_02_796810_0001.jpg', '/home/pi/Desktop/images/25012025/10/10/image_25012025_10_10_02_796810_0002.jpg', '/home/pi/Desktop/images/25012025/10/10/image_25012025_10_10_02_796810_0003.jpg', '/home/pi/Desktop/images/25012025/10/11/image_25012025_10_11_02_961430_0000.jpg', '/home/pi/Desktop/images/25012025/10/11/image_25012025_10_11_02_961430_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/10/image_25012025_10_10_02_796810_0000.jpg
/home/pi/Desktop/images/25012025/10/10/image_25012025_10_10_02_796810_0001.jpg
/home/pi/Desktop/images/25012025/10/10/image_25012025_10_10_02_796810_0002.jpg
/home/pi/Desktop/images/25012025/10/10/image_25012025_10_10_02_796810_0003.jpg
/home/pi/Desktop/images/25012025/10/11/image_25012025_10_11_02_961430_0000.jpg
/home/pi/Desktop/images/25012025/10/11/image_25012025_10_11_02_961430_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":["1331311434","1331311436","1331311424","1331311429","1331311437","1331311431"],"photo_ids_order":["1331311424","1331311429","1331311431","1331311434","1331311436","1331311437"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/af62dbbb0c8be572244b600f2fa99dd0.jpg","text":"TemporaryFile(/tmp/multipartBody6624302666172251277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800149231,"filename":"image_25012025_10_10_02_796810_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e482ae1b3317a3c68a95b1e60fb706c2.jpg","text":"TemporaryFile(/tmp/multipartBody5914088151441883966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800149231,"filename":"image_25012025_10_11_02_961430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e3b4d2638b85afb691bd60d39cb5526e.jpg","text":"TemporaryFile(/tmp/multipartBody5262060366914007179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800149231,"filename":"image_25012025_10_10_02_796810_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b9f0d22784283cd323ff60a45f9808a6.jpg","text":"TemporaryFile(/tmp/multipartBody4539878668572941157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800149231,"filename":"image_25012025_10_10_02_796810_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f82dacd3263db4afd9dc10192c8d056c.jpg","text":"TemporaryFile(/tmp/multipartBody6948547932154002912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800149231,"filename":"image_25012025_10_11_02_961430_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/96154b71a5eb119da24bbeba33b563c3.jpg","text":"TemporaryFile(/tmp/multipartBody1584449327947549002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800149231,"filename":"image_25012025_10_10_02_796810_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331311431","file1":"1331311429","file0":"1331311424","file4":"1331311436","file5":"1331311437","file3":"1331311434"},"map_files_photo_id_array":[{"photo_id":"1331311437","filename":"file5"},{"photo_id":"1331311431","filename":"file2"},{"photo_id":"1331311436","filename":"file4"},{"photo_id":"1331311429","filename":"file1"},{"photo_id":"1331311424","filename":"file0"},{"photo_id":"1331311434","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331311434":["hashtag1","hashtag2"]},{"1331311436":["hashtag1","hashtag2"]},{"1331311424":["hashtag1","hashtag2"]},{"1331311429":["hashtag1","hashtag2"]},{"1331311437":["hashtag1","hashtag2"]},{"1331311431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331311434, 1331311436, 1331311424, 1331311429, 1331311437, 1331311431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.30120253562927 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 11:15:32.195534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/11/image_25012025_10_11_02_961430_0002.jpg', '/home/pi/Desktop/images/25012025/10/11/image_25012025_10_11_02_961430_0003.jpg', '/home/pi/Desktop/images/25012025/10/12/image_25012025_10_12_02_202862_0000.jpg', '/home/pi/Desktop/images/25012025/10/12/image_25012025_10_12_02_202862_0002.jpg', '/home/pi/Desktop/images/25012025/10/12/image_25012025_10_12_02_202862_0003.jpg', '/home/pi/Desktop/images/25012025/10/13/image_25012025_10_13_02_358078_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/11/image_25012025_10_11_02_961430_0002.jpg
/home/pi/Desktop/images/25012025/10/11/image_25012025_10_11_02_961430_0003.jpg
/home/pi/Desktop/images/25012025/10/12/image_25012025_10_12_02_202862_0000.jpg
/home/pi/Desktop/images/25012025/10/12/image_25012025_10_12_02_202862_0002.jpg
/home/pi/Desktop/images/25012025/10/12/image_25012025_10_12_02_202862_0003.jpg
/home/pi/Desktop/images/25012025/10/13/image_25012025_10_13_02_358078_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: 17.762128829956055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 11:15:52.185367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/11/image_25012025_10_11_02_961430_0002.jpg', '/home/pi/Desktop/images/25012025/10/11/image_25012025_10_11_02_961430_0003.jpg', '/home/pi/Desktop/images/25012025/10/12/image_25012025_10_12_02_202862_0000.jpg', '/home/pi/Desktop/images/25012025/10/12/image_25012025_10_12_02_202862_0002.jpg', '/home/pi/Desktop/images/25012025/10/12/image_25012025_10_12_02_202862_0003.jpg', '/home/pi/Desktop/images/25012025/10/13/image_25012025_10_13_02_358078_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/11/image_25012025_10_11_02_961430_0002.jpg
/home/pi/Desktop/images/25012025/10/11/image_25012025_10_11_02_961430_0003.jpg
/home/pi/Desktop/images/25012025/10/12/image_25012025_10_12_02_202862_0000.jpg
/home/pi/Desktop/images/25012025/10/12/image_25012025_10_12_02_202862_0002.jpg
/home/pi/Desktop/images/25012025/10/12/image_25012025_10_12_02_202862_0003.jpg
/home/pi/Desktop/images/25012025/10/13/image_25012025_10_13_02_358078_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 [200]>
b'{"photo_ids":["1331311490","1331311484","1331311469","1331311465","1331311474","1331311467"],"photo_ids_order":["1331311465","1331311467","1331311469","1331311474","1331311484","1331311490"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9f92b88c1de99c696d2dc12b8c921b57.jpg","text":"TemporaryFile(/tmp/multipartBody484934648081584677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800230342,"filename":"image_25012025_10_13_02_358078_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c4d2530806cfec80bafafc96758843e5.jpg","text":"TemporaryFile(/tmp/multipartBody319967341295273689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800230342,"filename":"image_25012025_10_12_02_202862_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ed46a124e8511c0616cf9439da113bee.jpg","text":"TemporaryFile(/tmp/multipartBody2265031487198896356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800230342,"filename":"image_25012025_10_12_02_202862_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/afddd0c7732a587c0563a23f9cea7e53.jpg","text":"TemporaryFile(/tmp/multipartBody1691909885387006702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800230342,"filename":"image_25012025_10_11_02_961430_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/70f14f861885da75db472dc3b6b4c2d7.jpg","text":"TemporaryFile(/tmp/multipartBody2517236390595518638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800230342,"filename":"image_25012025_10_12_02_202862_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/02e32b6392090801cf3b137428602490.jpg","text":"TemporaryFile(/tmp/multipartBody8602121870878499616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800230342,"filename":"image_25012025_10_11_02_961430_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331311469","file1":"1331311467","file0":"1331311465","file4":"1331311484","file5":"1331311490","file3":"1331311474"},"map_files_photo_id_array":[{"photo_id":"1331311490","filename":"file5"},{"photo_id":"1331311469","filename":"file2"},{"photo_id":"1331311484","filename":"file4"},{"photo_id":"1331311467","filename":"file1"},{"photo_id":"1331311465","filename":"file0"},{"photo_id":"1331311474","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331311490":["hashtag1","hashtag2"]},{"1331311484":["hashtag1","hashtag2"]},{"1331311469":["hashtag1","hashtag2"]},{"1331311465":["hashtag1","hashtag2"]},{"1331311474":["hashtag1","hashtag2"]},{"1331311467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331311490, 1331311484, 1331311469, 1331311465, 1331311474, 1331311467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.266319274902344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 11:16:52.366141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/13/image_25012025_10_13_02_358078_0001.jpg', '/home/pi/Desktop/images/25012025/10/13/image_25012025_10_13_02_358078_0002.jpg', '/home/pi/Desktop/images/25012025/10/13/image_25012025_10_13_02_358078_0003.jpg', '/home/pi/Desktop/images/25012025/10/14/image_25012025_10_14_02_482584_0000.jpg', '/home/pi/Desktop/images/25012025/10/14/image_25012025_10_14_02_482584_0001.jpg', '/home/pi/Desktop/images/25012025/10/14/image_25012025_10_14_02_482584_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/13/image_25012025_10_13_02_358078_0001.jpg
/home/pi/Desktop/images/25012025/10/13/image_25012025_10_13_02_358078_0002.jpg
/home/pi/Desktop/images/25012025/10/13/image_25012025_10_13_02_358078_0003.jpg
/home/pi/Desktop/images/25012025/10/14/image_25012025_10_14_02_482584_0000.jpg
/home/pi/Desktop/images/25012025/10/14/image_25012025_10_14_02_482584_0001.jpg
/home/pi/Desktop/images/25012025/10/14/image_25012025_10_14_02_482584_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 [200]>
b'{"photo_ids":["1331311550","1331311526","1331311508","1331311513","1331311516","1331311510"],"photo_ids_order":["1331311508","1331311510","1331311513","1331311516","1331311526","1331311550"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3ce3479970ad2fdf3284e1b0a201a07e.jpg","text":"TemporaryFile(/tmp/multipartBody8657738585488550729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800289254,"filename":"image_25012025_10_14_02_482584_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e9a0cd6775d474d8c8245d3bce4b5141.jpg","text":"TemporaryFile(/tmp/multipartBody7389094183833566108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800289254,"filename":"image_25012025_10_14_02_482584_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/db9dc9b408640ea7e1580859244aec82.jpg","text":"TemporaryFile(/tmp/multipartBody4890819928175477883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800289254,"filename":"image_25012025_10_13_02_358078_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d436f0cd9bc3da1a38802cfb91526c50.jpg","text":"TemporaryFile(/tmp/multipartBody5253026800009730256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800289254,"filename":"image_25012025_10_13_02_358078_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/42bc0e34cd8d6fa5ccfb5da056468920.jpg","text":"TemporaryFile(/tmp/multipartBody6851309076387987710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800289254,"filename":"image_25012025_10_14_02_482584_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dfc74458da0303383a6c7f3c72fd7ab5.jpg","text":"TemporaryFile(/tmp/multipartBody2205988582903708641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800289254,"filename":"image_25012025_10_13_02_358078_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331311513","file1":"1331311510","file0":"1331311508","file4":"1331311526","file5":"1331311550","file3":"1331311516"},"map_files_photo_id_array":[{"photo_id":"1331311550","filename":"file5"},{"photo_id":"1331311513","filename":"file2"},{"photo_id":"1331311526","filename":"file4"},{"photo_id":"1331311510","filename":"file1"},{"photo_id":"1331311508","filename":"file0"},{"photo_id":"1331311516","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331311550":["hashtag1","hashtag2"]},{"1331311526":["hashtag1","hashtag2"]},{"1331311508":["hashtag1","hashtag2"]},{"1331311513":["hashtag1","hashtag2"]},{"1331311516":["hashtag1","hashtag2"]},{"1331311510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331311550, 1331311526, 1331311508, 1331311513, 1331311516, 1331311510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.19523096084595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 11:17:52.550552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/14/image_25012025_10_14_02_482584_0003.jpg', '/home/pi/Desktop/images/25012025/10/15/image_25012025_10_15_02_643737_0000.jpg', '/home/pi/Desktop/images/25012025/10/15/image_25012025_10_15_02_643737_0001.jpg', '/home/pi/Desktop/images/25012025/10/15/image_25012025_10_15_02_643737_0002.jpg', '/home/pi/Desktop/images/25012025/10/15/image_25012025_10_15_02_643737_0003.jpg', '/home/pi/Desktop/images/25012025/10/16/image_25012025_10_16_02_921393_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/14/image_25012025_10_14_02_482584_0003.jpg
/home/pi/Desktop/images/25012025/10/15/image_25012025_10_15_02_643737_0000.jpg
/home/pi/Desktop/images/25012025/10/15/image_25012025_10_15_02_643737_0001.jpg
/home/pi/Desktop/images/25012025/10/15/image_25012025_10_15_02_643737_0002.jpg
/home/pi/Desktop/images/25012025/10/15/image_25012025_10_15_02_643737_0003.jpg
/home/pi/Desktop/images/25012025/10/16/image_25012025_10_16_02_921393_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 [200]>
b'{"photo_ids":["1331311796","1331311790","1331311820","1331311808","1331311817","1331311804"],"photo_ids_order":["1331311790","1331311796","1331311804","1331311808","1331311817","1331311820"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/821bcc05c9dfeb48ef2d1342dd504317.jpg","text":"TemporaryFile(/tmp/multipartBody583742445065311516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800349592,"filename":"image_25012025_10_15_02_643737_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/82ca4832194bc6df320e7c7e1e827856.jpg","text":"TemporaryFile(/tmp/multipartBody2076607594386943065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800349592,"filename":"image_25012025_10_14_02_482584_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/66ddf231fd1a1cf9779518ee0d30794f.jpg","text":"TemporaryFile(/tmp/multipartBody165993289268317496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800349592,"filename":"image_25012025_10_16_02_921393_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6d937d10a57254e66ce757953fedbf2f.jpg","text":"TemporaryFile(/tmp/multipartBody4496272174320065519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800349592,"filename":"image_25012025_10_15_02_643737_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/682175949acbf2b2b75b033f8fdea0d3.jpg","text":"TemporaryFile(/tmp/multipartBody2961149131245797418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800349592,"filename":"image_25012025_10_15_02_643737_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/59a3b3066ef4ca63decda0293f296a7c.jpg","text":"TemporaryFile(/tmp/multipartBody7347024876419500018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800349592,"filename":"image_25012025_10_15_02_643737_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331311804","file1":"1331311796","file0":"1331311790","file4":"1331311817","file5":"1331311820","file3":"1331311808"},"map_files_photo_id_array":[{"photo_id":"1331311820","filename":"file5"},{"photo_id":"1331311804","filename":"file2"},{"photo_id":"1331311817","filename":"file4"},{"photo_id":"1331311796","filename":"file1"},{"photo_id":"1331311790","filename":"file0"},{"photo_id":"1331311808","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331311796":["hashtag1","hashtag2"]},{"1331311790":["hashtag1","hashtag2"]},{"1331311820":["hashtag1","hashtag2"]},{"1331311808":["hashtag1","hashtag2"]},{"1331311817":["hashtag1","hashtag2"]},{"1331311804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331311796, 1331311790, 1331311820, 1331311808, 1331311817, 1331311804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.13738679885864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 11:18:52.730172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/16/image_25012025_10_16_02_921393_0001.jpg', '/home/pi/Desktop/images/25012025/10/16/image_25012025_10_16_02_921393_0002.jpg', '/home/pi/Desktop/images/25012025/10/16/image_25012025_10_16_02_921393_0003.jpg', '/home/pi/Desktop/images/25012025/10/17/image_25012025_10_17_03_091362_0000.jpg', '/home/pi/Desktop/images/25012025/10/17/image_25012025_10_17_03_091362_0001.jpg', '/home/pi/Desktop/images/25012025/10/17/image_25012025_10_17_03_091362_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/16/image_25012025_10_16_02_921393_0001.jpg
/home/pi/Desktop/images/25012025/10/16/image_25012025_10_16_02_921393_0002.jpg
/home/pi/Desktop/images/25012025/10/16/image_25012025_10_16_02_921393_0003.jpg
/home/pi/Desktop/images/25012025/10/17/image_25012025_10_17_03_091362_0000.jpg
/home/pi/Desktop/images/25012025/10/17/image_25012025_10_17_03_091362_0001.jpg
/home/pi/Desktop/images/25012025/10/17/image_25012025_10_17_03_091362_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331312392","1331312467","1331312482","1331312161","1331312286","1331312489"],"photo_ids_order":["1331312161","1331312286","1331312392","1331312467","1331312482","1331312489"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/38b1af0d82f0e4b20decbe6a9af72529.jpg","text":"TemporaryFile(/tmp/multipartBody2662141618729888747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800409948,"filename":"image_25012025_10_16_02_921393_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/024226c03d7197d0673766200504276b.jpg","text":"TemporaryFile(/tmp/multipartBody5364162220709922196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800409948,"filename":"image_25012025_10_17_03_091362_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/649def84d64dfb37546fb04d67ede0bf.jpg","text":"TemporaryFile(/tmp/multipartBody1563551131547426664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800409948,"filename":"image_25012025_10_17_03_091362_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/db375d01a73b1af3901b44da4b36799a.jpg","text":"TemporaryFile(/tmp/multipartBody4420275890693743809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800409948,"filename":"image_25012025_10_16_02_921393_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/16e5255b23c15d2265f5a54de0d813f0.jpg","text":"TemporaryFile(/tmp/multipartBody6732093056601429925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800409948,"filename":"image_25012025_10_16_02_921393_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f565570c3058dc252a55e67bfd8d903a.jpg","text":"TemporaryFile(/tmp/multipartBody3629545646058860341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800409948,"filename":"image_25012025_10_17_03_091362_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331312392","file1":"1331312286","file0":"1331312161","file4":"1331312482","file5":"1331312489","file3":"1331312467"},"map_files_photo_id_array":[{"photo_id":"1331312489","filename":"file5"},{"photo_id":"1331312392","filename":"file2"},{"photo_id":"1331312482","filename":"file4"},{"photo_id":"1331312286","filename":"file1"},{"photo_id":"1331312161","filename":"file0"},{"photo_id":"1331312467","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331312392":["hashtag1","hashtag2"]},{"1331312467":["hashtag1","hashtag2"]},{"1331312482":["hashtag1","hashtag2"]},{"1331312161":["hashtag1","hashtag2"]},{"1331312286":["hashtag1","hashtag2"]},{"1331312489":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331312392, 1331312467, 1331312482, 1331312161, 1331312286, 1331312489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.11771774291992 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 11:20:02.515050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/17/image_25012025_10_17_03_091362_0003.jpg', '/home/pi/Desktop/images/25012025/10/18/image_25012025_10_18_02_219942_0000.jpg', '/home/pi/Desktop/images/25012025/10/18/image_25012025_10_18_02_219942_0001.jpg', '/home/pi/Desktop/images/25012025/10/18/image_25012025_10_18_02_219942_0002.jpg', '/home/pi/Desktop/images/25012025/10/18/image_25012025_10_18_02_219942_0003.jpg', '/home/pi/Desktop/images/25012025/10/19/image_25012025_10_19_02_450842_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/17/image_25012025_10_17_03_091362_0003.jpg
/home/pi/Desktop/images/25012025/10/18/image_25012025_10_18_02_219942_0000.jpg
/home/pi/Desktop/images/25012025/10/18/image_25012025_10_18_02_219942_0001.jpg
/home/pi/Desktop/images/25012025/10/18/image_25012025_10_18_02_219942_0002.jpg
/home/pi/Desktop/images/25012025/10/18/image_25012025_10_18_02_219942_0003.jpg
/home/pi/Desktop/images/25012025/10/19/image_25012025_10_19_02_450842_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331312552","1331312686","1331312581","1331312617","1331312589","1331312586"],"photo_ids_order":["1331312552","1331312581","1331312586","1331312589","1331312617","1331312686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/51b772c566e9b9425a72e4ddc578704a.jpg","text":"TemporaryFile(/tmp/multipartBody7377551872050204062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800479370,"filename":"image_25012025_10_17_03_091362_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0e2f04fcdbfb5535aebdb58425e99229.jpg","text":"TemporaryFile(/tmp/multipartBody2991807034909533869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800479370,"filename":"image_25012025_10_19_02_450842_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5841ffaa2f10d755396694f62986fd0c.jpg","text":"TemporaryFile(/tmp/multipartBody3336961357798359547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800479370,"filename":"image_25012025_10_18_02_219942_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5a06a18ff9b2c3a133ece44d187fe428.jpg","text":"TemporaryFile(/tmp/multipartBody8212982786676996311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800479370,"filename":"image_25012025_10_18_02_219942_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ebc895fb274b294fcdc5bbe6ff16fcc0.jpg","text":"TemporaryFile(/tmp/multipartBody2899947277788129873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800479370,"filename":"image_25012025_10_18_02_219942_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/006345af448e58fa09024b1ecfd28121.jpg","text":"TemporaryFile(/tmp/multipartBody7902240159893740130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800479370,"filename":"image_25012025_10_18_02_219942_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331312586","file1":"1331312581","file0":"1331312552","file4":"1331312617","file5":"1331312686","file3":"1331312589"},"map_files_photo_id_array":[{"photo_id":"1331312686","filename":"file5"},{"photo_id":"1331312586","filename":"file2"},{"photo_id":"1331312617","filename":"file4"},{"photo_id":"1331312581","filename":"file1"},{"photo_id":"1331312552","filename":"file0"},{"photo_id":"1331312589","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331312552":["hashtag1","hashtag2"]},{"1331312686":["hashtag1","hashtag2"]},{"1331312581":["hashtag1","hashtag2"]},{"1331312617":["hashtag1","hashtag2"]},{"1331312589":["hashtag1","hashtag2"]},{"1331312586":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331312552, 1331312686, 1331312581, 1331312617, 1331312589, 1331312586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.4254310131073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 11:21:22.343783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/19/image_25012025_10_19_02_450842_0001.jpg', '/home/pi/Desktop/images/25012025/10/19/image_25012025_10_19_02_450842_0002.jpg', '/home/pi/Desktop/images/25012025/10/19/image_25012025_10_19_02_450842_0003.jpg', '/home/pi/Desktop/images/25012025/10/20/image_25012025_10_20_02_603730_0000.jpg', '/home/pi/Desktop/images/25012025/10/20/image_25012025_10_20_02_603730_0001.jpg', '/home/pi/Desktop/images/25012025/10/20/image_25012025_10_20_02_603730_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/19/image_25012025_10_19_02_450842_0001.jpg
/home/pi/Desktop/images/25012025/10/19/image_25012025_10_19_02_450842_0002.jpg
/home/pi/Desktop/images/25012025/10/19/image_25012025_10_19_02_450842_0003.jpg
/home/pi/Desktop/images/25012025/10/20/image_25012025_10_20_02_603730_0000.jpg
/home/pi/Desktop/images/25012025/10/20/image_25012025_10_20_02_603730_0001.jpg
/home/pi/Desktop/images/25012025/10/20/image_25012025_10_20_02_603730_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":["1331312953","1331312793","1331312812","1331312826","1331312805","1331312873"],"photo_ids_order":["1331312793","1331312805","1331312812","1331312826","1331312873","1331312953"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cf3a5dad8d0794aea5bb37f76fa74182.jpg","text":"TemporaryFile(/tmp/multipartBody8961358887803026656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800559981,"filename":"image_25012025_10_20_02_603730_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8b751a574e38bfdc9f12b841a31d56f3.jpg","text":"TemporaryFile(/tmp/multipartBody403356265115043947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800559981,"filename":"image_25012025_10_19_02_450842_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8ea6f89d69e9fa7c68409cbe10133f7e.jpg","text":"TemporaryFile(/tmp/multipartBody6113535995659253979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800559981,"filename":"image_25012025_10_19_02_450842_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0937f49829fc6079b1a5a6b02886d443.jpg","text":"TemporaryFile(/tmp/multipartBody6541208426109016571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800559981,"filename":"image_25012025_10_20_02_603730_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9a5da8326c0a1e6f5726283ceb3639f1.jpg","text":"TemporaryFile(/tmp/multipartBody8495372609644499947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800559981,"filename":"image_25012025_10_19_02_450842_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/45a9bda5686e8de54ee62ee0a571c72b.jpg","text":"TemporaryFile(/tmp/multipartBody5699494247296848634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800559981,"filename":"image_25012025_10_20_02_603730_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331312812","file1":"1331312805","file0":"1331312793","file4":"1331312873","file5":"1331312953","file3":"1331312826"},"map_files_photo_id_array":[{"photo_id":"1331312953","filename":"file5"},{"photo_id":"1331312812","filename":"file2"},{"photo_id":"1331312873","filename":"file4"},{"photo_id":"1331312805","filename":"file1"},{"photo_id":"1331312793","filename":"file0"},{"photo_id":"1331312826","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331312953":["hashtag1","hashtag2"]},{"1331312793":["hashtag1","hashtag2"]},{"1331312812":["hashtag1","hashtag2"]},{"1331312826":["hashtag1","hashtag2"]},{"1331312805":["hashtag1","hashtag2"]},{"1331312873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331312953, 1331312793, 1331312812, 1331312826, 1331312805, 1331312873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.79743361473083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 11:22:42.481614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/20/image_25012025_10_20_02_603730_0003.jpg', '/home/pi/Desktop/images/25012025/10/21/image_25012025_10_21_02_730702_0000.jpg', '/home/pi/Desktop/images/25012025/10/21/image_25012025_10_21_02_730702_0001.jpg', '/home/pi/Desktop/images/25012025/10/21/image_25012025_10_21_02_730702_0002.jpg', '/home/pi/Desktop/images/25012025/10/21/image_25012025_10_21_02_730702_0003.jpg', '/home/pi/Desktop/images/25012025/10/22/image_25012025_10_22_03_031746_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/20/image_25012025_10_20_02_603730_0003.jpg
/home/pi/Desktop/images/25012025/10/21/image_25012025_10_21_02_730702_0000.jpg
/home/pi/Desktop/images/25012025/10/21/image_25012025_10_21_02_730702_0001.jpg
/home/pi/Desktop/images/25012025/10/21/image_25012025_10_21_02_730702_0002.jpg
/home/pi/Desktop/images/25012025/10/21/image_25012025_10_21_02_730702_0003.jpg
/home/pi/Desktop/images/25012025/10/22/image_25012025_10_22_03_031746_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: 17.182405948638916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 11:23:03.250977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/20/image_25012025_10_20_02_603730_0003.jpg', '/home/pi/Desktop/images/25012025/10/21/image_25012025_10_21_02_730702_0000.jpg', '/home/pi/Desktop/images/25012025/10/21/image_25012025_10_21_02_730702_0001.jpg', '/home/pi/Desktop/images/25012025/10/21/image_25012025_10_21_02_730702_0002.jpg', '/home/pi/Desktop/images/25012025/10/21/image_25012025_10_21_02_730702_0003.jpg', '/home/pi/Desktop/images/25012025/10/22/image_25012025_10_22_03_031746_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/20/image_25012025_10_20_02_603730_0003.jpg
/home/pi/Desktop/images/25012025/10/21/image_25012025_10_21_02_730702_0000.jpg
/home/pi/Desktop/images/25012025/10/21/image_25012025_10_21_02_730702_0001.jpg
/home/pi/Desktop/images/25012025/10/21/image_25012025_10_21_02_730702_0002.jpg
/home/pi/Desktop/images/25012025/10/21/image_25012025_10_21_02_730702_0003.jpg
/home/pi/Desktop/images/25012025/10/22/image_25012025_10_22_03_031746_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 [200]>
b'{"photo_ids":["1331314552","1331314150","1331314138","1331314102","1331314131","1331314155"],"photo_ids_order":["1331314102","1331314131","1331314138","1331314150","1331314155","1331314552"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d80b2e39be6f09148afbf72794ebac7c.jpg","text":"TemporaryFile(/tmp/multipartBody1382360554063062909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800660892,"filename":"image_25012025_10_22_03_031746_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fbb5532e3d4affd11fa1758e6722084c.jpg","text":"TemporaryFile(/tmp/multipartBody8510437655173312810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800660892,"filename":"image_25012025_10_21_02_730702_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bd614d62c76f88abc2bef327a7db5830.jpg","text":"TemporaryFile(/tmp/multipartBody3368668618317559095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800660892,"filename":"image_25012025_10_21_02_730702_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/75692d091d2a113d88cfb7581a51816b.jpg","text":"TemporaryFile(/tmp/multipartBody4410642101562122170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800660892,"filename":"image_25012025_10_20_02_603730_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/742ddb0da25ce0e31cd91a240e7b78ed.jpg","text":"TemporaryFile(/tmp/multipartBody1078098329432559607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800660892,"filename":"image_25012025_10_21_02_730702_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/09c9743eca821bebf0a3b2340051e326.jpg","text":"TemporaryFile(/tmp/multipartBody5962925323632361833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800660892,"filename":"image_25012025_10_21_02_730702_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331314138","file1":"1331314131","file0":"1331314102","file4":"1331314155","file5":"1331314552","file3":"1331314150"},"map_files_photo_id_array":[{"photo_id":"1331314552","filename":"file5"},{"photo_id":"1331314138","filename":"file2"},{"photo_id":"1331314155","filename":"file4"},{"photo_id":"1331314131","filename":"file1"},{"photo_id":"1331314102","filename":"file0"},{"photo_id":"1331314150","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331314552":["hashtag1","hashtag2"]},{"1331314150":["hashtag1","hashtag2"]},{"1331314138":["hashtag1","hashtag2"]},{"1331314102":["hashtag1","hashtag2"]},{"1331314131":["hashtag1","hashtag2"]},{"1331314155":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331314552, 1331314150, 1331314138, 1331314102, 1331314131, 1331314155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.41718363761902 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 11:24:02.167494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/22/image_25012025_10_22_03_031746_0001.jpg', '/home/pi/Desktop/images/25012025/10/22/image_25012025_10_22_03_031746_0002.jpg', '/home/pi/Desktop/images/25012025/10/22/image_25012025_10_22_03_031746_0003.jpg', '/home/pi/Desktop/images/25012025/10/23/image_25012025_10_23_03_108222_0000.jpg', '/home/pi/Desktop/images/25012025/10/23/image_25012025_10_23_03_108222_0001.jpg', '/home/pi/Desktop/images/25012025/10/23/image_25012025_10_23_03_108222_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/22/image_25012025_10_22_03_031746_0001.jpg
/home/pi/Desktop/images/25012025/10/22/image_25012025_10_22_03_031746_0002.jpg
/home/pi/Desktop/images/25012025/10/22/image_25012025_10_22_03_031746_0003.jpg
/home/pi/Desktop/images/25012025/10/23/image_25012025_10_23_03_108222_0000.jpg
/home/pi/Desktop/images/25012025/10/23/image_25012025_10_23_03_108222_0001.jpg
/home/pi/Desktop/images/25012025/10/23/image_25012025_10_23_03_108222_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 [200]>
b'{"photo_ids":["1331314921","1331314896","1331314874","1331314916","1331314703","1331314696"],"photo_ids_order":["1331314696","1331314703","1331314874","1331314896","1331314916","1331314921"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2ac47da5645aa5aa4655b512bfd78b89.jpg","text":"TemporaryFile(/tmp/multipartBody4146013201467839837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800719063,"filename":"image_25012025_10_23_03_108222_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0d3ef552309c26bb2621b8139bfd086a.jpg","text":"TemporaryFile(/tmp/multipartBody2996119135387181481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800719063,"filename":"image_25012025_10_23_03_108222_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/21131b005c0b089cac7d54b69b612d20.jpg","text":"TemporaryFile(/tmp/multipartBody6862700397057762380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800719063,"filename":"image_25012025_10_22_03_031746_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c70c07838c96ea7d41f69c9fe69275f9.jpg","text":"TemporaryFile(/tmp/multipartBody8903561614581129227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800719063,"filename":"image_25012025_10_23_03_108222_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1ca15a54a4bfc86731b749a223d905b9.jpg","text":"TemporaryFile(/tmp/multipartBody1729613666472078922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800719063,"filename":"image_25012025_10_22_03_031746_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8d05d6261a87984cd35c3e90fc406a19.jpg","text":"TemporaryFile(/tmp/multipartBody2676768129290447085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800719063,"filename":"image_25012025_10_22_03_031746_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331314874","file1":"1331314703","file0":"1331314696","file4":"1331314916","file5":"1331314921","file3":"1331314896"},"map_files_photo_id_array":[{"photo_id":"1331314921","filename":"file5"},{"photo_id":"1331314874","filename":"file2"},{"photo_id":"1331314916","filename":"file4"},{"photo_id":"1331314703","filename":"file1"},{"photo_id":"1331314696","filename":"file0"},{"photo_id":"1331314896","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331314921":["hashtag1","hashtag2"]},{"1331314896":["hashtag1","hashtag2"]},{"1331314874":["hashtag1","hashtag2"]},{"1331314916":["hashtag1","hashtag2"]},{"1331314703":["hashtag1","hashtag2"]},{"1331314696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331314921, 1331314896, 1331314874, 1331314916, 1331314703, 1331314696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.29401993751526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 11:25:02.754040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/23/image_25012025_10_23_03_108222_0003.jpg', '/home/pi/Desktop/images/25012025/10/24/image_25012025_10_24_02_353454_0000.jpg', '/home/pi/Desktop/images/25012025/10/24/image_25012025_10_24_02_353454_0001.jpg', '/home/pi/Desktop/images/25012025/10/24/image_25012025_10_24_02_353454_0002.jpg', '/home/pi/Desktop/images/25012025/10/24/image_25012025_10_24_02_353454_0003.jpg', '/home/pi/Desktop/images/25012025/10/25/image_25012025_10_25_02_484542_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/23/image_25012025_10_23_03_108222_0003.jpg
/home/pi/Desktop/images/25012025/10/24/image_25012025_10_24_02_353454_0000.jpg
/home/pi/Desktop/images/25012025/10/24/image_25012025_10_24_02_353454_0001.jpg
/home/pi/Desktop/images/25012025/10/24/image_25012025_10_24_02_353454_0002.jpg
/home/pi/Desktop/images/25012025/10/24/image_25012025_10_24_02_353454_0003.jpg
/home/pi/Desktop/images/25012025/10/25/image_25012025_10_25_02_484542_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 [200]>
b'{"photo_ids":["1331314942","1331314944","1331314955","1331314949","1331314937","1331314952"],"photo_ids_order":["1331314937","1331314942","1331314944","1331314949","1331314952","1331314955"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e7c486094486bcf9d5f3b0e10e30267f.jpg","text":"TemporaryFile(/tmp/multipartBody9210081236617986728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800780016,"filename":"image_25012025_10_24_02_353454_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2d2f82705acd1ad2e7f1196ee47b34d9.jpg","text":"TemporaryFile(/tmp/multipartBody7751627705834555007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800780016,"filename":"image_25012025_10_24_02_353454_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/860425db1e2750685c0093b782ae47d3.jpg","text":"TemporaryFile(/tmp/multipartBody2289358619694144175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800780016,"filename":"image_25012025_10_25_02_484542_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9a1d71098421a3c229dfe537bf2b4d4f.jpg","text":"TemporaryFile(/tmp/multipartBody2866166341746995235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800780016,"filename":"image_25012025_10_24_02_353454_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5fa99839c1f1a01172c303bad20aa8c3.jpg","text":"TemporaryFile(/tmp/multipartBody3005398380864574525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800780016,"filename":"image_25012025_10_23_03_108222_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0785a15c357782f2a037278e4ab3de10.jpg","text":"TemporaryFile(/tmp/multipartBody6386782693464461188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800780016,"filename":"image_25012025_10_24_02_353454_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331314944","file1":"1331314942","file0":"1331314937","file4":"1331314952","file5":"1331314955","file3":"1331314949"},"map_files_photo_id_array":[{"photo_id":"1331314955","filename":"file5"},{"photo_id":"1331314944","filename":"file2"},{"photo_id":"1331314952","filename":"file4"},{"photo_id":"1331314942","filename":"file1"},{"photo_id":"1331314937","filename":"file0"},{"photo_id":"1331314949","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331314942":["hashtag1","hashtag2"]},{"1331314944":["hashtag1","hashtag2"]},{"1331314955":["hashtag1","hashtag2"]},{"1331314949":["hashtag1","hashtag2"]},{"1331314937":["hashtag1","hashtag2"]},{"1331314952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331314942, 1331314944, 1331314955, 1331314949, 1331314937, 1331314952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.26421928405762 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 11:26:02.654086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/25/image_25012025_10_25_02_484542_0001.jpg', '/home/pi/Desktop/images/25012025/10/25/image_25012025_10_25_02_484542_0002.jpg', '/home/pi/Desktop/images/25012025/10/25/image_25012025_10_25_02_484542_0003.jpg', '/home/pi/Desktop/images/25012025/10/26/image_25012025_10_26_02_740272_0000.jpg', '/home/pi/Desktop/images/25012025/10/26/image_25012025_10_26_02_740272_0001.jpg', '/home/pi/Desktop/images/25012025/10/26/image_25012025_10_26_02_740272_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/25/image_25012025_10_25_02_484542_0001.jpg
/home/pi/Desktop/images/25012025/10/25/image_25012025_10_25_02_484542_0002.jpg
/home/pi/Desktop/images/25012025/10/25/image_25012025_10_25_02_484542_0003.jpg
/home/pi/Desktop/images/25012025/10/26/image_25012025_10_26_02_740272_0000.jpg
/home/pi/Desktop/images/25012025/10/26/image_25012025_10_26_02_740272_0001.jpg
/home/pi/Desktop/images/25012025/10/26/image_25012025_10_26_02_740272_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.93097448348999 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 11:26:22.120514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/25/image_25012025_10_25_02_484542_0001.jpg', '/home/pi/Desktop/images/25012025/10/25/image_25012025_10_25_02_484542_0002.jpg', '/home/pi/Desktop/images/25012025/10/25/image_25012025_10_25_02_484542_0003.jpg', '/home/pi/Desktop/images/25012025/10/26/image_25012025_10_26_02_740272_0000.jpg', '/home/pi/Desktop/images/25012025/10/26/image_25012025_10_26_02_740272_0001.jpg', '/home/pi/Desktop/images/25012025/10/26/image_25012025_10_26_02_740272_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/25/image_25012025_10_25_02_484542_0001.jpg
/home/pi/Desktop/images/25012025/10/25/image_25012025_10_25_02_484542_0002.jpg
/home/pi/Desktop/images/25012025/10/25/image_25012025_10_25_02_484542_0003.jpg
/home/pi/Desktop/images/25012025/10/26/image_25012025_10_26_02_740272_0000.jpg
/home/pi/Desktop/images/25012025/10/26/image_25012025_10_26_02_740272_0001.jpg
/home/pi/Desktop/images/25012025/10/26/image_25012025_10_26_02_740272_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 [200]>
b'{"photo_ids":["1331315289","1331315340","1331315354","1331315348","1331315359","1331315344"],"photo_ids_order":["1331315289","1331315340","1331315344","1331315348","1331315354","1331315359"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0ad855b1b63cf10e2b112e0bc26d2795.jpg","text":"TemporaryFile(/tmp/multipartBody5135279382463799972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800859430,"filename":"image_25012025_10_25_02_484542_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/15afa9f9e7d4103a18b1e0d3786d804d.jpg","text":"TemporaryFile(/tmp/multipartBody4045446212140107132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800859430,"filename":"image_25012025_10_25_02_484542_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3f8d81809634e6b86de421b8f4143d25.jpg","text":"TemporaryFile(/tmp/multipartBody4795898409685356449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800859430,"filename":"image_25012025_10_26_02_740272_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b0e21f9888ddc0e10de3dc7ab1f70440.jpg","text":"TemporaryFile(/tmp/multipartBody5628558098526354096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800859430,"filename":"image_25012025_10_26_02_740272_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4acb1fa53fc13d1697da679edc754767.jpg","text":"TemporaryFile(/tmp/multipartBody1810376964964601462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800859430,"filename":"image_25012025_10_26_02_740272_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/791dd520527cec479763893dc92de006.jpg","text":"TemporaryFile(/tmp/multipartBody9050165793555290021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800859430,"filename":"image_25012025_10_25_02_484542_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331315344","file1":"1331315340","file0":"1331315289","file4":"1331315354","file5":"1331315359","file3":"1331315348"},"map_files_photo_id_array":[{"photo_id":"1331315359","filename":"file5"},{"photo_id":"1331315344","filename":"file2"},{"photo_id":"1331315354","filename":"file4"},{"photo_id":"1331315340","filename":"file1"},{"photo_id":"1331315289","filename":"file0"},{"photo_id":"1331315348","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331315289":["hashtag1","hashtag2"]},{"1331315340":["hashtag1","hashtag2"]},{"1331315354":["hashtag1","hashtag2"]},{"1331315348":["hashtag1","hashtag2"]},{"1331315359":["hashtag1","hashtag2"]},{"1331315344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331315289, 1331315340, 1331315354, 1331315348, 1331315359, 1331315344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.17567300796509 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 11:27:22.375434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/26/image_25012025_10_26_02_740272_0003.jpg', '/home/pi/Desktop/images/25012025/10/27/image_25012025_10_27_02_847926_0000.jpg', '/home/pi/Desktop/images/25012025/10/27/image_25012025_10_27_02_847926_0001.jpg', '/home/pi/Desktop/images/25012025/10/27/image_25012025_10_27_02_847926_0002.jpg', '/home/pi/Desktop/images/25012025/10/27/image_25012025_10_27_02_847926_0003.jpg', '/home/pi/Desktop/images/25012025/10/28/image_25012025_10_28_03_149354_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/26/image_25012025_10_26_02_740272_0003.jpg
/home/pi/Desktop/images/25012025/10/27/image_25012025_10_27_02_847926_0000.jpg
/home/pi/Desktop/images/25012025/10/27/image_25012025_10_27_02_847926_0001.jpg
/home/pi/Desktop/images/25012025/10/27/image_25012025_10_27_02_847926_0002.jpg
/home/pi/Desktop/images/25012025/10/27/image_25012025_10_27_02_847926_0003.jpg
/home/pi/Desktop/images/25012025/10/28/image_25012025_10_28_03_149354_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 [200]>
b'{"photo_ids":["1331315382","1331315385","1331315379","1331315387","1331315392","1331315389"],"photo_ids_order":["1331315379","1331315382","1331315385","1331315387","1331315389","1331315392"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/579bbef2e006d0aa9e3496bbcda81725.jpg","text":"TemporaryFile(/tmp/multipartBody7917616947465394972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800918954,"filename":"image_25012025_10_27_02_847926_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0660457b96357f19308a5c3059077276.jpg","text":"TemporaryFile(/tmp/multipartBody2750080331731568396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800918954,"filename":"image_25012025_10_27_02_847926_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/be7678de1415e62597520fd54e9468b9.jpg","text":"TemporaryFile(/tmp/multipartBody5377721514898738828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800918954,"filename":"image_25012025_10_26_02_740272_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3b90690940dc39e28137d096e40a1545.jpg","text":"TemporaryFile(/tmp/multipartBody3720593057502668783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800918954,"filename":"image_25012025_10_27_02_847926_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/608181ee3a9cdc2fb931dbf260c6e165.jpg","text":"TemporaryFile(/tmp/multipartBody2204553578011982641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800918954,"filename":"image_25012025_10_28_03_149354_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0fbd3e925acbcf10262a7cd510db504f.jpg","text":"TemporaryFile(/tmp/multipartBody996778120070230249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800918954,"filename":"image_25012025_10_27_02_847926_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331315385","file1":"1331315382","file0":"1331315379","file4":"1331315389","file5":"1331315392","file3":"1331315387"},"map_files_photo_id_array":[{"photo_id":"1331315392","filename":"file5"},{"photo_id":"1331315385","filename":"file2"},{"photo_id":"1331315389","filename":"file4"},{"photo_id":"1331315382","filename":"file1"},{"photo_id":"1331315379","filename":"file0"},{"photo_id":"1331315387","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331315382":["hashtag1","hashtag2"]},{"1331315385":["hashtag1","hashtag2"]},{"1331315379":["hashtag1","hashtag2"]},{"1331315387":["hashtag1","hashtag2"]},{"1331315392":["hashtag1","hashtag2"]},{"1331315389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331315382, 1331315385, 1331315379, 1331315387, 1331315392, 1331315389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.61690592765808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 11:28:22.511596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/28/image_25012025_10_28_03_149354_0001.jpg', '/home/pi/Desktop/images/25012025/10/28/image_25012025_10_28_03_149354_0002.jpg', '/home/pi/Desktop/images/25012025/10/28/image_25012025_10_28_03_149354_0003.jpg', '/home/pi/Desktop/images/25012025/10/29/image_25012025_10_29_02_315082_0000.jpg', '/home/pi/Desktop/images/25012025/10/29/image_25012025_10_29_02_315082_0001.jpg', '/home/pi/Desktop/images/25012025/10/29/image_25012025_10_29_02_315082_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/28/image_25012025_10_28_03_149354_0001.jpg
/home/pi/Desktop/images/25012025/10/28/image_25012025_10_28_03_149354_0002.jpg
/home/pi/Desktop/images/25012025/10/28/image_25012025_10_28_03_149354_0003.jpg
/home/pi/Desktop/images/25012025/10/29/image_25012025_10_29_02_315082_0000.jpg
/home/pi/Desktop/images/25012025/10/29/image_25012025_10_29_02_315082_0001.jpg
/home/pi/Desktop/images/25012025/10/29/image_25012025_10_29_02_315082_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 [200]>
b'{"photo_ids":["1331315463","1331315439","1331315424","1331315477","1331315411","1331315419"],"photo_ids_order":["1331315411","1331315419","1331315424","1331315439","1331315463","1331315477"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5340d53ea31c38acdd468ed0df6217a5.jpg","text":"TemporaryFile(/tmp/multipartBody563863435478641863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800979718,"filename":"image_25012025_10_29_02_315082_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/09119520eb0930e12e5df1fc4c442a65.jpg","text":"TemporaryFile(/tmp/multipartBody7654846460772681340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800979718,"filename":"image_25012025_10_29_02_315082_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dbb48a00e1f239c48a672e99174c050b.jpg","text":"TemporaryFile(/tmp/multipartBody5603926312728148815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800979718,"filename":"image_25012025_10_28_03_149354_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/72c7e3ed37a0d06271346338b1102d99.jpg","text":"TemporaryFile(/tmp/multipartBody8261982105127423013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800979718,"filename":"image_25012025_10_29_02_315082_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ca7208c1169805456508916c3415dde6.jpg","text":"TemporaryFile(/tmp/multipartBody4320972292000144999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800979718,"filename":"image_25012025_10_28_03_149354_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/32eef1c9f259a51e23adbaf32c6d8828.jpg","text":"TemporaryFile(/tmp/multipartBody5044592273032018916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737800979718,"filename":"image_25012025_10_28_03_149354_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331315424","file1":"1331315419","file0":"1331315411","file4":"1331315463","file5":"1331315477","file3":"1331315439"},"map_files_photo_id_array":[{"photo_id":"1331315477","filename":"file5"},{"photo_id":"1331315424","filename":"file2"},{"photo_id":"1331315463","filename":"file4"},{"photo_id":"1331315419","filename":"file1"},{"photo_id":"1331315411","filename":"file0"},{"photo_id":"1331315439","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331315463":["hashtag1","hashtag2"]},{"1331315439":["hashtag1","hashtag2"]},{"1331315424":["hashtag1","hashtag2"]},{"1331315477":["hashtag1","hashtag2"]},{"1331315411":["hashtag1","hashtag2"]},{"1331315419":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331315463, 1331315439, 1331315424, 1331315477, 1331315411, 1331315419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.00933623313904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 11:29:22.685895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/29/image_25012025_10_29_02_315082_0003.jpg', '/home/pi/Desktop/images/25012025/10/30/image_25012025_10_30_02_499487_0000.jpg', '/home/pi/Desktop/images/25012025/10/30/image_25012025_10_30_02_499487_0001.jpg', '/home/pi/Desktop/images/25012025/10/30/image_25012025_10_30_02_499487_0002.jpg', '/home/pi/Desktop/images/25012025/10/30/image_25012025_10_30_02_499487_0003.jpg', '/home/pi/Desktop/images/25012025/10/31/image_25012025_10_31_02_647160_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/29/image_25012025_10_29_02_315082_0003.jpg
/home/pi/Desktop/images/25012025/10/30/image_25012025_10_30_02_499487_0000.jpg
/home/pi/Desktop/images/25012025/10/30/image_25012025_10_30_02_499487_0001.jpg
/home/pi/Desktop/images/25012025/10/30/image_25012025_10_30_02_499487_0002.jpg
/home/pi/Desktop/images/25012025/10/30/image_25012025_10_30_02_499487_0003.jpg
/home/pi/Desktop/images/25012025/10/31/image_25012025_10_31_02_647160_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331315598","1331315558","1331315543","1331315609","1331315603","1331315563"],"photo_ids_order":["1331315543","1331315558","1331315563","1331315598","1331315603","1331315609"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/45ebd2092fe2fbb305dfaf311a054f28.jpg","text":"TemporaryFile(/tmp/multipartBody6363246283831907218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801039403,"filename":"image_25012025_10_30_02_499487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6ce58212ce9ef02d480224f7813a58a2.jpg","text":"TemporaryFile(/tmp/multipartBody5705389519557600398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801039403,"filename":"image_25012025_10_30_02_499487_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b8fec6669778970d53b1cb3f832e5fba.jpg","text":"TemporaryFile(/tmp/multipartBody8822006839583786531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801039403,"filename":"image_25012025_10_29_02_315082_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/448f8239436cc8e9d6d4bb0ce2266be2.jpg","text":"TemporaryFile(/tmp/multipartBody8198601225331962603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801039403,"filename":"image_25012025_10_31_02_647160_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/71533dddaeae29c17370ee9d2a3953c7.jpg","text":"TemporaryFile(/tmp/multipartBody8202727075143613006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801039403,"filename":"image_25012025_10_30_02_499487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9206c1ac85b1e2ea7eac687a9a70a262.jpg","text":"TemporaryFile(/tmp/multipartBody8095819427476588740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801039403,"filename":"image_25012025_10_30_02_499487_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331315563","file1":"1331315558","file0":"1331315543","file4":"1331315603","file5":"1331315609","file3":"1331315598"},"map_files_photo_id_array":[{"photo_id":"1331315609","filename":"file5"},{"photo_id":"1331315563","filename":"file2"},{"photo_id":"1331315603","filename":"file4"},{"photo_id":"1331315558","filename":"file1"},{"photo_id":"1331315543","filename":"file0"},{"photo_id":"1331315598","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331315598":["hashtag1","hashtag2"]},{"1331315558":["hashtag1","hashtag2"]},{"1331315543":["hashtag1","hashtag2"]},{"1331315609":["hashtag1","hashtag2"]},{"1331315603":["hashtag1","hashtag2"]},{"1331315563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331315598, 1331315558, 1331315543, 1331315609, 1331315603, 1331315563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.68329071998596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 11:30:31.812644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/31/image_25012025_10_31_02_647160_0001.jpg', '/home/pi/Desktop/images/25012025/10/31/image_25012025_10_31_02_647160_0002.jpg', '/home/pi/Desktop/images/25012025/10/31/image_25012025_10_31_02_647160_0003.jpg', '/home/pi/Desktop/images/25012025/10/32/image_25012025_10_32_02_950062_0000.jpg', '/home/pi/Desktop/images/25012025/10/32/image_25012025_10_32_02_950062_0001.jpg', '/home/pi/Desktop/images/25012025/10/32/image_25012025_10_32_02_950062_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/31/image_25012025_10_31_02_647160_0001.jpg
/home/pi/Desktop/images/25012025/10/31/image_25012025_10_31_02_647160_0002.jpg
/home/pi/Desktop/images/25012025/10/31/image_25012025_10_31_02_647160_0003.jpg
/home/pi/Desktop/images/25012025/10/32/image_25012025_10_32_02_950062_0000.jpg
/home/pi/Desktop/images/25012025/10/32/image_25012025_10_32_02_950062_0001.jpg
/home/pi/Desktop/images/25012025/10/32/image_25012025_10_32_02_950062_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 [200]>
b'{"photo_ids":["1331315832","1331315879","1331315771","1331315875","1331315758","1331315848"],"photo_ids_order":["1331315758","1331315771","1331315832","1331315848","1331315875","1331315879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ff41f10b23e1a5a42a6bbdab26c0aab4.jpg","text":"TemporaryFile(/tmp/multipartBody1757858462577636624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801108147,"filename":"image_25012025_10_31_02_647160_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5347c281b9517872a91da0a44d0f22f1.jpg","text":"TemporaryFile(/tmp/multipartBody103065145602363579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801108147,"filename":"image_25012025_10_32_02_950062_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9a0a1391c0231262c9a8c2eb864cfb54.jpg","text":"TemporaryFile(/tmp/multipartBody2263080545238734657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801108147,"filename":"image_25012025_10_31_02_647160_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/730d08810c8b1d2d79b250b2cf09c648.jpg","text":"TemporaryFile(/tmp/multipartBody9162893094710961606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801108147,"filename":"image_25012025_10_32_02_950062_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d45d455abbbd0b06ca586bf5d4db118b.jpg","text":"TemporaryFile(/tmp/multipartBody6790769817071670542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801108147,"filename":"image_25012025_10_31_02_647160_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d3b59ff91b435ab2a883ca6e7213fd57.jpg","text":"TemporaryFile(/tmp/multipartBody1987228306371905193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801108147,"filename":"image_25012025_10_32_02_950062_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331315832","file1":"1331315771","file0":"1331315758","file4":"1331315875","file5":"1331315879","file3":"1331315848"},"map_files_photo_id_array":[{"photo_id":"1331315879","filename":"file5"},{"photo_id":"1331315832","filename":"file2"},{"photo_id":"1331315875","filename":"file4"},{"photo_id":"1331315771","filename":"file1"},{"photo_id":"1331315758","filename":"file0"},{"photo_id":"1331315848","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331315832":["hashtag1","hashtag2"]},{"1331315879":["hashtag1","hashtag2"]},{"1331315771":["hashtag1","hashtag2"]},{"1331315875":["hashtag1","hashtag2"]},{"1331315758":["hashtag1","hashtag2"]},{"1331315848":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331315832, 1331315879, 1331315771, 1331315875, 1331315758, 1331315848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.134554386138916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 11:31:31.972071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/32/image_25012025_10_32_02_950062_0003.jpg', '/home/pi/Desktop/images/25012025/10/33/image_25012025_10_33_03_064658_0000.jpg', '/home/pi/Desktop/images/25012025/10/33/image_25012025_10_33_03_064658_0001.jpg', '/home/pi/Desktop/images/25012025/10/33/image_25012025_10_33_03_064658_0002.jpg', '/home/pi/Desktop/images/25012025/10/33/image_25012025_10_33_03_064658_0003.jpg', '/home/pi/Desktop/images/25012025/10/34/image_25012025_10_34_02_240994_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/32/image_25012025_10_32_02_950062_0003.jpg
/home/pi/Desktop/images/25012025/10/33/image_25012025_10_33_03_064658_0000.jpg
/home/pi/Desktop/images/25012025/10/33/image_25012025_10_33_03_064658_0001.jpg
/home/pi/Desktop/images/25012025/10/33/image_25012025_10_33_03_064658_0002.jpg
/home/pi/Desktop/images/25012025/10/33/image_25012025_10_33_03_064658_0003.jpg
/home/pi/Desktop/images/25012025/10/34/image_25012025_10_34_02_240994_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 [200]>
b'{"photo_ids":["1331316354","1331316312","1331316356","1331316361","1331316358","1331316307"],"photo_ids_order":["1331316307","1331316312","1331316354","1331316356","1331316358","1331316361"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/874cb7fcd9b14649d93330f6c87a538a.jpg","text":"TemporaryFile(/tmp/multipartBody3826987995793901967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801168767,"filename":"image_25012025_10_33_03_064658_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3b5214984009490c1642d6f51360a860.jpg","text":"TemporaryFile(/tmp/multipartBody1989648138665029765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801168767,"filename":"image_25012025_10_33_03_064658_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0cd5348d782074c0fa90801f5586f5e4.jpg","text":"TemporaryFile(/tmp/multipartBody2321431058698331710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801168767,"filename":"image_25012025_10_33_03_064658_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9c3d446e5c8e9b6ffe587ff28b2512cf.jpg","text":"TemporaryFile(/tmp/multipartBody1104458666319236522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801168767,"filename":"image_25012025_10_34_02_240994_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e05201744bfc3dc429f78a05423b46dc.jpg","text":"TemporaryFile(/tmp/multipartBody5183550049269736956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801168767,"filename":"image_25012025_10_33_03_064658_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9b2a7365177c68f71d4205d5892a6063.jpg","text":"TemporaryFile(/tmp/multipartBody1085963428649089336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801168767,"filename":"image_25012025_10_32_02_950062_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331316354","file1":"1331316312","file0":"1331316307","file4":"1331316358","file5":"1331316361","file3":"1331316356"},"map_files_photo_id_array":[{"photo_id":"1331316361","filename":"file5"},{"photo_id":"1331316354","filename":"file2"},{"photo_id":"1331316358","filename":"file4"},{"photo_id":"1331316312","filename":"file1"},{"photo_id":"1331316307","filename":"file0"},{"photo_id":"1331316356","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331316354":["hashtag1","hashtag2"]},{"1331316312":["hashtag1","hashtag2"]},{"1331316356":["hashtag1","hashtag2"]},{"1331316361":["hashtag1","hashtag2"]},{"1331316358":["hashtag1","hashtag2"]},{"1331316307":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331316354, 1331316312, 1331316356, 1331316361, 1331316358, 1331316307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.34638810157776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 11:32:32.164516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/34/image_25012025_10_34_02_240994_0001.jpg', '/home/pi/Desktop/images/25012025/10/34/image_25012025_10_34_02_240994_0002.jpg', '/home/pi/Desktop/images/25012025/10/34/image_25012025_10_34_02_240994_0003.jpg', '/home/pi/Desktop/images/25012025/10/35/image_25012025_10_35_02_404511_0000.jpg', '/home/pi/Desktop/images/25012025/10/35/image_25012025_10_35_02_404511_0001.jpg', '/home/pi/Desktop/images/25012025/10/35/image_25012025_10_35_02_404511_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/34/image_25012025_10_34_02_240994_0001.jpg
/home/pi/Desktop/images/25012025/10/34/image_25012025_10_34_02_240994_0002.jpg
/home/pi/Desktop/images/25012025/10/34/image_25012025_10_34_02_240994_0003.jpg
/home/pi/Desktop/images/25012025/10/35/image_25012025_10_35_02_404511_0000.jpg
/home/pi/Desktop/images/25012025/10/35/image_25012025_10_35_02_404511_0001.jpg
/home/pi/Desktop/images/25012025/10/35/image_25012025_10_35_02_404511_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 [200]>
b'{"photo_ids":["1331316411","1331316441","1331316435","1331316407","1331316445","1331316430"],"photo_ids_order":["1331316407","1331316411","1331316430","1331316435","1331316441","1331316445"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5e0fc9aed30ed01b40d7a72dbe6428aa.jpg","text":"TemporaryFile(/tmp/multipartBody597657704394246684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801229407,"filename":"image_25012025_10_34_02_240994_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/52067393d5e9d028435236bb2c88db1c.jpg","text":"TemporaryFile(/tmp/multipartBody3535691858160158519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801229407,"filename":"image_25012025_10_35_02_404511_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/23bcd9f981fa2cdb5be077492b54034d.jpg","text":"TemporaryFile(/tmp/multipartBody2188530912966789587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801229407,"filename":"image_25012025_10_35_02_404511_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/606d48e08c6ec6068e6398cf1e2b20a6.jpg","text":"TemporaryFile(/tmp/multipartBody1935897651504099449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801229407,"filename":"image_25012025_10_34_02_240994_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0a510b92096d56e9574015b5834dce0c.jpg","text":"TemporaryFile(/tmp/multipartBody2952184185829548706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801229407,"filename":"image_25012025_10_35_02_404511_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5f20c20f2dbc54ec69ace9d2a0c549d5.jpg","text":"TemporaryFile(/tmp/multipartBody8171090166927870503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801229407,"filename":"image_25012025_10_34_02_240994_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331316430","file1":"1331316411","file0":"1331316407","file4":"1331316441","file5":"1331316445","file3":"1331316435"},"map_files_photo_id_array":[{"photo_id":"1331316445","filename":"file5"},{"photo_id":"1331316430","filename":"file2"},{"photo_id":"1331316441","filename":"file4"},{"photo_id":"1331316411","filename":"file1"},{"photo_id":"1331316407","filename":"file0"},{"photo_id":"1331316435","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331316411":["hashtag1","hashtag2"]},{"1331316441":["hashtag1","hashtag2"]},{"1331316435":["hashtag1","hashtag2"]},{"1331316407":["hashtag1","hashtag2"]},{"1331316445":["hashtag1","hashtag2"]},{"1331316430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331316411, 1331316441, 1331316435, 1331316407, 1331316445, 1331316430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.391244888305664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 11:33:32.315575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/35/image_25012025_10_35_02_404511_0003.jpg', '/home/pi/Desktop/images/25012025/10/36/image_25012025_10_36_02_506518_0000.jpg', '/home/pi/Desktop/images/25012025/10/36/image_25012025_10_36_02_506518_0001.jpg', '/home/pi/Desktop/images/25012025/10/36/image_25012025_10_36_02_506518_0002.jpg', '/home/pi/Desktop/images/25012025/10/36/image_25012025_10_36_02_506518_0003.jpg', '/home/pi/Desktop/images/25012025/10/37/image_25012025_10_37_02_708865_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/35/image_25012025_10_35_02_404511_0003.jpg
/home/pi/Desktop/images/25012025/10/36/image_25012025_10_36_02_506518_0000.jpg
/home/pi/Desktop/images/25012025/10/36/image_25012025_10_36_02_506518_0001.jpg
/home/pi/Desktop/images/25012025/10/36/image_25012025_10_36_02_506518_0002.jpg
/home/pi/Desktop/images/25012025/10/36/image_25012025_10_36_02_506518_0003.jpg
/home/pi/Desktop/images/25012025/10/37/image_25012025_10_37_02_708865_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: 17.04198145866394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 11:33:52.321148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/35/image_25012025_10_35_02_404511_0003.jpg', '/home/pi/Desktop/images/25012025/10/36/image_25012025_10_36_02_506518_0000.jpg', '/home/pi/Desktop/images/25012025/10/36/image_25012025_10_36_02_506518_0001.jpg', '/home/pi/Desktop/images/25012025/10/36/image_25012025_10_36_02_506518_0002.jpg', '/home/pi/Desktop/images/25012025/10/36/image_25012025_10_36_02_506518_0003.jpg', '/home/pi/Desktop/images/25012025/10/37/image_25012025_10_37_02_708865_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/35/image_25012025_10_35_02_404511_0003.jpg
/home/pi/Desktop/images/25012025/10/36/image_25012025_10_36_02_506518_0000.jpg
/home/pi/Desktop/images/25012025/10/36/image_25012025_10_36_02_506518_0001.jpg
/home/pi/Desktop/images/25012025/10/36/image_25012025_10_36_02_506518_0002.jpg
/home/pi/Desktop/images/25012025/10/36/image_25012025_10_36_02_506518_0003.jpg
/home/pi/Desktop/images/25012025/10/37/image_25012025_10_37_02_708865_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 [200]>
b'{"photo_ids":["1331316479","1331316484","1331316493","1331316489","1331316474","1331316498"],"photo_ids_order":["1331316474","1331316479","1331316484","1331316489","1331316493","1331316498"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/76e5f6c6d0bbceecb973451e3ca85fe5.jpg","text":"TemporaryFile(/tmp/multipartBody1974485907059399414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801309751,"filename":"image_25012025_10_36_02_506518_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/367d58fd78fb09757545120af55cac14.jpg","text":"TemporaryFile(/tmp/multipartBody15145203953307880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801309751,"filename":"image_25012025_10_36_02_506518_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0b5767826690d9b339f89e0936d64764.jpg","text":"TemporaryFile(/tmp/multipartBody733005645281914838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801309751,"filename":"image_25012025_10_36_02_506518_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a301329dd53a14259fce7bc51952cf24.jpg","text":"TemporaryFile(/tmp/multipartBody6304802535161411630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801309751,"filename":"image_25012025_10_36_02_506518_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/06cba772cfed8f418330d44c93768885.jpg","text":"TemporaryFile(/tmp/multipartBody1842861788454077525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801309751,"filename":"image_25012025_10_35_02_404511_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/da0f3fcc3d03422e3be77003bc8fdc85.jpg","text":"TemporaryFile(/tmp/multipartBody7152378291488959683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801309751,"filename":"image_25012025_10_37_02_708865_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331316484","file1":"1331316479","file0":"1331316474","file4":"1331316493","file5":"1331316498","file3":"1331316489"},"map_files_photo_id_array":[{"photo_id":"1331316498","filename":"file5"},{"photo_id":"1331316484","filename":"file2"},{"photo_id":"1331316493","filename":"file4"},{"photo_id":"1331316479","filename":"file1"},{"photo_id":"1331316474","filename":"file0"},{"photo_id":"1331316489","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331316479":["hashtag1","hashtag2"]},{"1331316484":["hashtag1","hashtag2"]},{"1331316493":["hashtag1","hashtag2"]},{"1331316489":["hashtag1","hashtag2"]},{"1331316474":["hashtag1","hashtag2"]},{"1331316498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331316479, 1331316484, 1331316493, 1331316489, 1331316474, 1331316498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.253422260284424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 11:34:52.483588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/37/image_25012025_10_37_02_708865_0001.jpg', '/home/pi/Desktop/images/25012025/10/37/image_25012025_10_37_02_708865_0002.jpg', '/home/pi/Desktop/images/25012025/10/37/image_25012025_10_37_02_708865_0003.jpg', '/home/pi/Desktop/images/25012025/10/38/image_25012025_10_38_02_919823_0000.jpg', '/home/pi/Desktop/images/25012025/10/38/image_25012025_10_38_02_919823_0001.jpg', '/home/pi/Desktop/images/25012025/10/38/image_25012025_10_38_02_919823_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/37/image_25012025_10_37_02_708865_0001.jpg
/home/pi/Desktop/images/25012025/10/37/image_25012025_10_37_02_708865_0002.jpg
/home/pi/Desktop/images/25012025/10/37/image_25012025_10_37_02_708865_0003.jpg
/home/pi/Desktop/images/25012025/10/38/image_25012025_10_38_02_919823_0000.jpg
/home/pi/Desktop/images/25012025/10/38/image_25012025_10_38_02_919823_0001.jpg
/home/pi/Desktop/images/25012025/10/38/image_25012025_10_38_02_919823_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: 16.450942754745483 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 11:35:22.758160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/37/image_25012025_10_37_02_708865_0001.jpg', '/home/pi/Desktop/images/25012025/10/37/image_25012025_10_37_02_708865_0002.jpg', '/home/pi/Desktop/images/25012025/10/37/image_25012025_10_37_02_708865_0003.jpg', '/home/pi/Desktop/images/25012025/10/38/image_25012025_10_38_02_919823_0000.jpg', '/home/pi/Desktop/images/25012025/10/38/image_25012025_10_38_02_919823_0001.jpg', '/home/pi/Desktop/images/25012025/10/38/image_25012025_10_38_02_919823_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/37/image_25012025_10_37_02_708865_0001.jpg
/home/pi/Desktop/images/25012025/10/37/image_25012025_10_37_02_708865_0002.jpg
/home/pi/Desktop/images/25012025/10/37/image_25012025_10_37_02_708865_0003.jpg
/home/pi/Desktop/images/25012025/10/38/image_25012025_10_38_02_919823_0000.jpg
/home/pi/Desktop/images/25012025/10/38/image_25012025_10_38_02_919823_0001.jpg
/home/pi/Desktop/images/25012025/10/38/image_25012025_10_38_02_919823_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331316618","1331316863","1331316593","1331316976","1331316681","1331316597"],"photo_ids_order":["1331316593","1331316597","1331316618","1331316681","1331316863","1331316976"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6c96f4e8bd8c2daab2c1ad3d357eb838.jpg","text":"TemporaryFile(/tmp/multipartBody4809907799563031023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801399541,"filename":"image_25012025_10_37_02_708865_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/238c5d72d86c76d7572605ad344f7970.jpg","text":"TemporaryFile(/tmp/multipartBody1852142874969685982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801399541,"filename":"image_25012025_10_38_02_919823_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eb63a9a5d9c00303cd2d8cce32642e25.jpg","text":"TemporaryFile(/tmp/multipartBody4972627809899471578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801399541,"filename":"image_25012025_10_37_02_708865_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dfaa08f78183d312af32b7df6a0ef0c4.jpg","text":"TemporaryFile(/tmp/multipartBody96532691862380022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801399541,"filename":"image_25012025_10_38_02_919823_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c560e416e69968fa1d4297d6a756cbad.jpg","text":"TemporaryFile(/tmp/multipartBody4364405393147495824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801399541,"filename":"image_25012025_10_38_02_919823_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/972b0afada321780361d8a7cc1791087.jpg","text":"TemporaryFile(/tmp/multipartBody2809241976750079319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801399541,"filename":"image_25012025_10_37_02_708865_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331316618","file1":"1331316597","file0":"1331316593","file4":"1331316863","file5":"1331316976","file3":"1331316681"},"map_files_photo_id_array":[{"photo_id":"1331316976","filename":"file5"},{"photo_id":"1331316618","filename":"file2"},{"photo_id":"1331316863","filename":"file4"},{"photo_id":"1331316597","filename":"file1"},{"photo_id":"1331316593","filename":"file0"},{"photo_id":"1331316681","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331316618":["hashtag1","hashtag2"]},{"1331316863":["hashtag1","hashtag2"]},{"1331316593":["hashtag1","hashtag2"]},{"1331316976":["hashtag1","hashtag2"]},{"1331316681":["hashtag1","hashtag2"]},{"1331316597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331316618, 1331316863, 1331316593, 1331316976, 1331316681, 1331316597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.47943997383118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 11:36:31.834827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/38/image_25012025_10_38_02_919823_0003.jpg', '/home/pi/Desktop/images/25012025/10/39/image_25012025_10_39_03_112116_0000.jpg', '/home/pi/Desktop/images/25012025/10/39/image_25012025_10_39_03_112116_0001.jpg', '/home/pi/Desktop/images/25012025/10/39/image_25012025_10_39_03_112116_0002.jpg', '/home/pi/Desktop/images/25012025/10/39/image_25012025_10_39_03_112116_0003.jpg', '/home/pi/Desktop/images/25012025/10/40/image_25012025_10_40_02_347572_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/38/image_25012025_10_38_02_919823_0003.jpg
/home/pi/Desktop/images/25012025/10/39/image_25012025_10_39_03_112116_0000.jpg
/home/pi/Desktop/images/25012025/10/39/image_25012025_10_39_03_112116_0001.jpg
/home/pi/Desktop/images/25012025/10/39/image_25012025_10_39_03_112116_0002.jpg
/home/pi/Desktop/images/25012025/10/39/image_25012025_10_39_03_112116_0003.jpg
/home/pi/Desktop/images/25012025/10/40/image_25012025_10_40_02_347572_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 [200]>
b'{"photo_ids":["1331317279","1331317270","1331317287","1331317272","1331317257","1331317266"],"photo_ids_order":["1331317257","1331317266","1331317270","1331317272","1331317279","1331317287"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0be668b71b92a992c8d30319c258ad6e.jpg","text":"TemporaryFile(/tmp/multipartBody450098704832129235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801468049,"filename":"image_25012025_10_39_03_112116_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f9f0195e26e5c1aedfd726325c74f66e.jpg","text":"TemporaryFile(/tmp/multipartBody1830431443392566703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801468049,"filename":"image_25012025_10_39_03_112116_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/415cf6e64354dff4cf31e87b95de9257.jpg","text":"TemporaryFile(/tmp/multipartBody2604586484381005247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801468049,"filename":"image_25012025_10_40_02_347572_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2c9be657b46f04495c63350a968ccfb9.jpg","text":"TemporaryFile(/tmp/multipartBody2403754703061819007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801468049,"filename":"image_25012025_10_39_03_112116_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b24951be028895fcf30d494a62faa5af.jpg","text":"TemporaryFile(/tmp/multipartBody3553294128098621877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801468049,"filename":"image_25012025_10_38_02_919823_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/752338cbc85e0665cf363e3c307d7785.jpg","text":"TemporaryFile(/tmp/multipartBody6096576932510475689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801468049,"filename":"image_25012025_10_39_03_112116_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331317270","file1":"1331317266","file0":"1331317257","file4":"1331317279","file5":"1331317287","file3":"1331317272"},"map_files_photo_id_array":[{"photo_id":"1331317287","filename":"file5"},{"photo_id":"1331317270","filename":"file2"},{"photo_id":"1331317279","filename":"file4"},{"photo_id":"1331317266","filename":"file1"},{"photo_id":"1331317257","filename":"file0"},{"photo_id":"1331317272","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331317279":["hashtag1","hashtag2"]},{"1331317270":["hashtag1","hashtag2"]},{"1331317287":["hashtag1","hashtag2"]},{"1331317272":["hashtag1","hashtag2"]},{"1331317257":["hashtag1","hashtag2"]},{"1331317266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331317279, 1331317270, 1331317287, 1331317272, 1331317257, 1331317266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.3528516292572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 11:37:32.050204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/40/image_25012025_10_40_02_347572_0001.jpg', '/home/pi/Desktop/images/25012025/10/40/image_25012025_10_40_02_347572_0002.jpg', '/home/pi/Desktop/images/25012025/10/40/image_25012025_10_40_02_347572_0003.jpg', '/home/pi/Desktop/images/25012025/10/41/image_25012025_10_41_02_446517_0000.jpg', '/home/pi/Desktop/images/25012025/10/41/image_25012025_10_41_02_446517_0001.jpg', '/home/pi/Desktop/images/25012025/10/41/image_25012025_10_41_02_446517_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/40/image_25012025_10_40_02_347572_0001.jpg
/home/pi/Desktop/images/25012025/10/40/image_25012025_10_40_02_347572_0002.jpg
/home/pi/Desktop/images/25012025/10/40/image_25012025_10_40_02_347572_0003.jpg
/home/pi/Desktop/images/25012025/10/41/image_25012025_10_41_02_446517_0000.jpg
/home/pi/Desktop/images/25012025/10/41/image_25012025_10_41_02_446517_0001.jpg
/home/pi/Desktop/images/25012025/10/41/image_25012025_10_41_02_446517_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 [200]>
b'{"photo_ids":["1331317352","1331317345","1331317330","1331317354","1331317333","1331317317"],"photo_ids_order":["1331317317","1331317330","1331317333","1331317345","1331317352","1331317354"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/690e3d6bcd9f65e78f2ce6760c8e2b08.jpg","text":"TemporaryFile(/tmp/multipartBody8660591530052267599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801528991,"filename":"image_25012025_10_41_02_446517_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bdd56370692f45a2e15b149a2c18cfd5.jpg","text":"TemporaryFile(/tmp/multipartBody2040225250436355412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801528991,"filename":"image_25012025_10_41_02_446517_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3062770fb68161ff4494b07096634207.jpg","text":"TemporaryFile(/tmp/multipartBody4520121329052968312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801528991,"filename":"image_25012025_10_40_02_347572_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/13ed4530c06ecc6cebf2958c26179c06.jpg","text":"TemporaryFile(/tmp/multipartBody5364495441675324526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801528991,"filename":"image_25012025_10_41_02_446517_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2a08446405ec9a9ee53e1cf19e63cd0d.jpg","text":"TemporaryFile(/tmp/multipartBody8175994169380206416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801528991,"filename":"image_25012025_10_40_02_347572_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/df331eadf21c9814fcb9365ac67f5530.jpg","text":"TemporaryFile(/tmp/multipartBody8420802834252692298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801528991,"filename":"image_25012025_10_40_02_347572_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331317333","file1":"1331317330","file0":"1331317317","file4":"1331317352","file5":"1331317354","file3":"1331317345"},"map_files_photo_id_array":[{"photo_id":"1331317354","filename":"file5"},{"photo_id":"1331317333","filename":"file2"},{"photo_id":"1331317352","filename":"file4"},{"photo_id":"1331317330","filename":"file1"},{"photo_id":"1331317317","filename":"file0"},{"photo_id":"1331317345","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331317352":["hashtag1","hashtag2"]},{"1331317345":["hashtag1","hashtag2"]},{"1331317330":["hashtag1","hashtag2"]},{"1331317354":["hashtag1","hashtag2"]},{"1331317333":["hashtag1","hashtag2"]},{"1331317317":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331317352, 1331317345, 1331317330, 1331317354, 1331317333, 1331317317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.2073028087616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 11:38:32.243240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/41/image_25012025_10_41_02_446517_0003.jpg', '/home/pi/Desktop/images/25012025/10/42/image_25012025_10_42_02_705468_0000.jpg', '/home/pi/Desktop/images/25012025/10/42/image_25012025_10_42_02_705468_0001.jpg', '/home/pi/Desktop/images/25012025/10/42/image_25012025_10_42_02_705468_0002.jpg', '/home/pi/Desktop/images/25012025/10/42/image_25012025_10_42_02_705468_0003.jpg', '/home/pi/Desktop/images/25012025/10/43/image_25012025_10_43_02_864831_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/41/image_25012025_10_41_02_446517_0003.jpg
/home/pi/Desktop/images/25012025/10/42/image_25012025_10_42_02_705468_0000.jpg
/home/pi/Desktop/images/25012025/10/42/image_25012025_10_42_02_705468_0001.jpg
/home/pi/Desktop/images/25012025/10/42/image_25012025_10_42_02_705468_0002.jpg
/home/pi/Desktop/images/25012025/10/42/image_25012025_10_42_02_705468_0003.jpg
/home/pi/Desktop/images/25012025/10/43/image_25012025_10_43_02_864831_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 [200]>
b'{"photo_ids":["1331317428","1331317430","1331317432","1331317426","1331317435","1331317422"],"photo_ids_order":["1331317422","1331317426","1331317428","1331317430","1331317432","1331317435"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b75111bfe0ec776a8eb50fd23f3c54c.jpg","text":"TemporaryFile(/tmp/multipartBody6145376442244927784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801589121,"filename":"image_25012025_10_42_02_705468_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/44747100ef946baa0abbaf367928f316.jpg","text":"TemporaryFile(/tmp/multipartBody5601743426393586106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801589121,"filename":"image_25012025_10_42_02_705468_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/23863083dc7bf38ae3d943e8701e1f8c.jpg","text":"TemporaryFile(/tmp/multipartBody605955713083939818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801589121,"filename":"image_25012025_10_42_02_705468_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d732325866021a319684f56020561c7f.jpg","text":"TemporaryFile(/tmp/multipartBody1857678496319070636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801589121,"filename":"image_25012025_10_42_02_705468_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c8dc5aed1750ef7249095d32dff9bdd1.jpg","text":"TemporaryFile(/tmp/multipartBody8498723856778196081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801589121,"filename":"image_25012025_10_43_02_864831_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/770a9343f63bb0f11ebe2a94c3000143.jpg","text":"TemporaryFile(/tmp/multipartBody5808241248132074396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801589121,"filename":"image_25012025_10_41_02_446517_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331317428","file1":"1331317426","file0":"1331317422","file4":"1331317432","file5":"1331317435","file3":"1331317430"},"map_files_photo_id_array":[{"photo_id":"1331317435","filename":"file5"},{"photo_id":"1331317428","filename":"file2"},{"photo_id":"1331317432","filename":"file4"},{"photo_id":"1331317426","filename":"file1"},{"photo_id":"1331317422","filename":"file0"},{"photo_id":"1331317430","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331317428":["hashtag1","hashtag2"]},{"1331317430":["hashtag1","hashtag2"]},{"1331317432":["hashtag1","hashtag2"]},{"1331317426":["hashtag1","hashtag2"]},{"1331317435":["hashtag1","hashtag2"]},{"1331317422":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331317428, 1331317430, 1331317432, 1331317426, 1331317435, 1331317422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.953121185302734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 11:39:32.476367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/43/image_25012025_10_43_02_864831_0001.jpg', '/home/pi/Desktop/images/25012025/10/43/image_25012025_10_43_02_864831_0002.jpg', '/home/pi/Desktop/images/25012025/10/43/image_25012025_10_43_02_864831_0003.jpg', '/home/pi/Desktop/images/25012025/10/44/image_25012025_10_44_03_063015_0000.jpg', '/home/pi/Desktop/images/25012025/10/44/image_25012025_10_44_03_063015_0001.jpg', '/home/pi/Desktop/images/25012025/10/44/image_25012025_10_44_03_063015_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/43/image_25012025_10_43_02_864831_0001.jpg
/home/pi/Desktop/images/25012025/10/43/image_25012025_10_43_02_864831_0002.jpg
/home/pi/Desktop/images/25012025/10/43/image_25012025_10_43_02_864831_0003.jpg
/home/pi/Desktop/images/25012025/10/44/image_25012025_10_44_03_063015_0000.jpg
/home/pi/Desktop/images/25012025/10/44/image_25012025_10_44_03_063015_0001.jpg
/home/pi/Desktop/images/25012025/10/44/image_25012025_10_44_03_063015_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331317502","1331317505","1331317504","1331317494","1331317521","1331317458"],"photo_ids_order":["1331317458","1331317494","1331317502","1331317504","1331317505","1331317521"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2b45524c110d854763c491f112aef9e2.jpg","text":"TemporaryFile(/tmp/multipartBody7039001419163869817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801649556,"filename":"image_25012025_10_43_02_864831_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d01eb51740b94e5e0847b54220234a96.jpg","text":"TemporaryFile(/tmp/multipartBody8632404213661672924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801649556,"filename":"image_25012025_10_44_03_063015_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/553c762f42264408c4377c32df817810.jpg","text":"TemporaryFile(/tmp/multipartBody9102580494414916182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801649556,"filename":"image_25012025_10_44_03_063015_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/31bc680ddade21373393b7353119ae0f.jpg","text":"TemporaryFile(/tmp/multipartBody7631797276836316892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801649556,"filename":"image_25012025_10_43_02_864831_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cfc7f840bd0d767c5af32aa092fb4b9d.jpg","text":"TemporaryFile(/tmp/multipartBody5661991934332320080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801649556,"filename":"image_25012025_10_44_03_063015_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/45d614cc997e12302a084f089913bdbb.jpg","text":"TemporaryFile(/tmp/multipartBody5225064302155642073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801649556,"filename":"image_25012025_10_43_02_864831_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331317502","file1":"1331317494","file0":"1331317458","file4":"1331317505","file5":"1331317521","file3":"1331317504"},"map_files_photo_id_array":[{"photo_id":"1331317521","filename":"file5"},{"photo_id":"1331317502","filename":"file2"},{"photo_id":"1331317505","filename":"file4"},{"photo_id":"1331317494","filename":"file1"},{"photo_id":"1331317458","filename":"file0"},{"photo_id":"1331317504","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331317502":["hashtag1","hashtag2"]},{"1331317505":["hashtag1","hashtag2"]},{"1331317504":["hashtag1","hashtag2"]},{"1331317494":["hashtag1","hashtag2"]},{"1331317521":["hashtag1","hashtag2"]},{"1331317458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331317502, 1331317505, 1331317504, 1331317494, 1331317521, 1331317458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.86796474456787 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 11:40:42.660508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/44/image_25012025_10_44_03_063015_0003.jpg', '/home/pi/Desktop/images/25012025/10/45/image_25012025_10_45_02_244370_0000.jpg', '/home/pi/Desktop/images/25012025/10/45/image_25012025_10_45_02_244370_0001.jpg', '/home/pi/Desktop/images/25012025/10/45/image_25012025_10_45_02_244370_0002.jpg', '/home/pi/Desktop/images/25012025/10/45/image_25012025_10_45_02_244370_0003.jpg', '/home/pi/Desktop/images/25012025/10/46/image_25012025_10_46_02_283529_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/44/image_25012025_10_44_03_063015_0003.jpg
/home/pi/Desktop/images/25012025/10/45/image_25012025_10_45_02_244370_0000.jpg
/home/pi/Desktop/images/25012025/10/45/image_25012025_10_45_02_244370_0001.jpg
/home/pi/Desktop/images/25012025/10/45/image_25012025_10_45_02_244370_0002.jpg
/home/pi/Desktop/images/25012025/10/45/image_25012025_10_45_02_244370_0003.jpg
/home/pi/Desktop/images/25012025/10/46/image_25012025_10_46_02_283529_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: 15.705986261367798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 11:41:02.579967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/44/image_25012025_10_44_03_063015_0003.jpg', '/home/pi/Desktop/images/25012025/10/45/image_25012025_10_45_02_244370_0000.jpg', '/home/pi/Desktop/images/25012025/10/45/image_25012025_10_45_02_244370_0001.jpg', '/home/pi/Desktop/images/25012025/10/45/image_25012025_10_45_02_244370_0002.jpg', '/home/pi/Desktop/images/25012025/10/45/image_25012025_10_45_02_244370_0003.jpg', '/home/pi/Desktop/images/25012025/10/46/image_25012025_10_46_02_283529_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/44/image_25012025_10_44_03_063015_0003.jpg
/home/pi/Desktop/images/25012025/10/45/image_25012025_10_45_02_244370_0000.jpg
/home/pi/Desktop/images/25012025/10/45/image_25012025_10_45_02_244370_0001.jpg
/home/pi/Desktop/images/25012025/10/45/image_25012025_10_45_02_244370_0002.jpg
/home/pi/Desktop/images/25012025/10/45/image_25012025_10_45_02_244370_0003.jpg
/home/pi/Desktop/images/25012025/10/46/image_25012025_10_46_02_283529_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331317811","1331317822","1331317801","1331317842","1331317848","1331317815"],"photo_ids_order":["1331317801","1331317811","1331317815","1331317822","1331317842","1331317848"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ad21f9c205c2efbc70e3b9744d1a57c0.jpg","text":"TemporaryFile(/tmp/multipartBody1907459815775037077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801738720,"filename":"image_25012025_10_45_02_244370_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dbf6ca289122ab49f9c536e10eccaf08.jpg","text":"TemporaryFile(/tmp/multipartBody4798619295338073287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801738720,"filename":"image_25012025_10_45_02_244370_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/741fb88126bad99bb7d0ea4125bd443e.jpg","text":"TemporaryFile(/tmp/multipartBody695574270342376208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801738720,"filename":"image_25012025_10_44_03_063015_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0f280026fc8cf08cb22c6e5d709e85ee.jpg","text":"TemporaryFile(/tmp/multipartBody5839872971800804504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801738720,"filename":"image_25012025_10_45_02_244370_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0f3641537b122d1faed8267e5c4a4eb0.jpg","text":"TemporaryFile(/tmp/multipartBody7880180471138293748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801738720,"filename":"image_25012025_10_46_02_283529_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/28885b871bee72a7ef63ee31156fe382.jpg","text":"TemporaryFile(/tmp/multipartBody4769912883656014527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801738720,"filename":"image_25012025_10_45_02_244370_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331317815","file1":"1331317811","file0":"1331317801","file4":"1331317842","file5":"1331317848","file3":"1331317822"},"map_files_photo_id_array":[{"photo_id":"1331317848","filename":"file5"},{"photo_id":"1331317815","filename":"file2"},{"photo_id":"1331317842","filename":"file4"},{"photo_id":"1331317811","filename":"file1"},{"photo_id":"1331317801","filename":"file0"},{"photo_id":"1331317822","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331317811":["hashtag1","hashtag2"]},{"1331317822":["hashtag1","hashtag2"]},{"1331317801":["hashtag1","hashtag2"]},{"1331317842":["hashtag1","hashtag2"]},{"1331317848":["hashtag1","hashtag2"]},{"1331317815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331317811, 1331317822, 1331317801, 1331317842, 1331317848, 1331317815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.02155590057373 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 11:42:22.011402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/46/image_25012025_10_46_02_283529_0001.jpg', '/home/pi/Desktop/images/25012025/10/46/image_25012025_10_46_02_283529_0002.jpg', '/home/pi/Desktop/images/25012025/10/46/image_25012025_10_46_02_283529_0003.jpg', '/home/pi/Desktop/images/25012025/10/47/image_25012025_10_47_02_524760_0000.jpg', '/home/pi/Desktop/images/25012025/10/47/image_25012025_10_47_02_524760_0001.jpg', '/home/pi/Desktop/images/25012025/10/47/image_25012025_10_47_02_524760_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/46/image_25012025_10_46_02_283529_0001.jpg
/home/pi/Desktop/images/25012025/10/46/image_25012025_10_46_02_283529_0002.jpg
/home/pi/Desktop/images/25012025/10/46/image_25012025_10_46_02_283529_0003.jpg
/home/pi/Desktop/images/25012025/10/47/image_25012025_10_47_02_524760_0000.jpg
/home/pi/Desktop/images/25012025/10/47/image_25012025_10_47_02_524760_0001.jpg
/home/pi/Desktop/images/25012025/10/47/image_25012025_10_47_02_524760_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 [200]>
b'{"photo_ids":["1331317865","1331317888","1331317881","1331317884","1331317878","1331317872"],"photo_ids_order":["1331317865","1331317872","1331317878","1331317881","1331317884","1331317888"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b115595736aeeea47615faae411de6d4.jpg","text":"TemporaryFile(/tmp/multipartBody7500578125458109956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801818813,"filename":"image_25012025_10_46_02_283529_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/03df08e48b7cbd4101e5587f65fed54b.jpg","text":"TemporaryFile(/tmp/multipartBody3217714521959499393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801818813,"filename":"image_25012025_10_47_02_524760_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b751cf81f0c23a8b0e74edf76f51b882.jpg","text":"TemporaryFile(/tmp/multipartBody3623405320099866417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801818813,"filename":"image_25012025_10_47_02_524760_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/15de64640a531ad8b7b1d4f44ef14140.jpg","text":"TemporaryFile(/tmp/multipartBody8701490635229078046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801818813,"filename":"image_25012025_10_47_02_524760_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aef5218cc5227524065ef6cee7f5f4e4.jpg","text":"TemporaryFile(/tmp/multipartBody8319843541065853803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801818813,"filename":"image_25012025_10_46_02_283529_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4837413f5bbfe017b63661817a1fcd7e.jpg","text":"TemporaryFile(/tmp/multipartBody4037940460324005000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801818813,"filename":"image_25012025_10_46_02_283529_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331317878","file1":"1331317872","file0":"1331317865","file4":"1331317884","file5":"1331317888","file3":"1331317881"},"map_files_photo_id_array":[{"photo_id":"1331317888","filename":"file5"},{"photo_id":"1331317878","filename":"file2"},{"photo_id":"1331317884","filename":"file4"},{"photo_id":"1331317872","filename":"file1"},{"photo_id":"1331317865","filename":"file0"},{"photo_id":"1331317881","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331317865":["hashtag1","hashtag2"]},{"1331317888":["hashtag1","hashtag2"]},{"1331317881":["hashtag1","hashtag2"]},{"1331317884":["hashtag1","hashtag2"]},{"1331317878":["hashtag1","hashtag2"]},{"1331317872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331317865, 1331317888, 1331317881, 1331317884, 1331317878, 1331317872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.63405966758728 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 11:43:22.258314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/47/image_25012025_10_47_02_524760_0003.jpg', '/home/pi/Desktop/images/25012025/10/48/image_25012025_10_48_02_701861_0000.jpg', '/home/pi/Desktop/images/25012025/10/48/image_25012025_10_48_02_701861_0001.jpg', '/home/pi/Desktop/images/25012025/10/48/image_25012025_10_48_02_701861_0002.jpg', '/home/pi/Desktop/images/25012025/10/48/image_25012025_10_48_02_701861_0003.jpg', '/home/pi/Desktop/images/25012025/10/49/image_25012025_10_49_02_807956_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/47/image_25012025_10_47_02_524760_0003.jpg
/home/pi/Desktop/images/25012025/10/48/image_25012025_10_48_02_701861_0000.jpg
/home/pi/Desktop/images/25012025/10/48/image_25012025_10_48_02_701861_0001.jpg
/home/pi/Desktop/images/25012025/10/48/image_25012025_10_48_02_701861_0002.jpg
/home/pi/Desktop/images/25012025/10/48/image_25012025_10_48_02_701861_0003.jpg
/home/pi/Desktop/images/25012025/10/49/image_25012025_10_49_02_807956_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 [200]>
b'{"photo_ids":["1331317961","1331317955","1331317957","1331317939","1331317941","1331317929"],"photo_ids_order":["1331317929","1331317939","1331317941","1331317955","1331317957","1331317961"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0069117c87987c5614ef6117f996c53a.jpg","text":"TemporaryFile(/tmp/multipartBody1021738769848815155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801879517,"filename":"image_25012025_10_49_02_807956_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1f9c55cba0bf74b8d86053819ed37bad.jpg","text":"TemporaryFile(/tmp/multipartBody101423543497372144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801879517,"filename":"image_25012025_10_48_02_701861_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fdb6822919d78b9e3f3e6ed511748fb6.jpg","text":"TemporaryFile(/tmp/multipartBody1623622946091501468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801879517,"filename":"image_25012025_10_48_02_701861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/200df6bc82e5a5e0d775eccb8dac0ea6.jpg","text":"TemporaryFile(/tmp/multipartBody1302919428464646533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801879517,"filename":"image_25012025_10_48_02_701861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f36f43e3faac0bce21ff32a42c812cf2.jpg","text":"TemporaryFile(/tmp/multipartBody4272992959727903482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801879517,"filename":"image_25012025_10_48_02_701861_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bd7dad3b75da555c6c4be22d09ccf75f.jpg","text":"TemporaryFile(/tmp/multipartBody6242250516773279951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801879517,"filename":"image_25012025_10_47_02_524760_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331317941","file1":"1331317939","file0":"1331317929","file4":"1331317957","file5":"1331317961","file3":"1331317955"},"map_files_photo_id_array":[{"photo_id":"1331317961","filename":"file5"},{"photo_id":"1331317941","filename":"file2"},{"photo_id":"1331317957","filename":"file4"},{"photo_id":"1331317939","filename":"file1"},{"photo_id":"1331317929","filename":"file0"},{"photo_id":"1331317955","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331317961":["hashtag1","hashtag2"]},{"1331317955":["hashtag1","hashtag2"]},{"1331317957":["hashtag1","hashtag2"]},{"1331317939":["hashtag1","hashtag2"]},{"1331317941":["hashtag1","hashtag2"]},{"1331317929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331317961, 1331317955, 1331317957, 1331317939, 1331317941, 1331317929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.59004211425781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 11:44:22.500943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/49/image_25012025_10_49_02_807956_0001.jpg', '/home/pi/Desktop/images/25012025/10/49/image_25012025_10_49_02_807956_0002.jpg', '/home/pi/Desktop/images/25012025/10/49/image_25012025_10_49_02_807956_0003.jpg', '/home/pi/Desktop/images/25012025/10/50/image_25012025_10_50_03_001899_0000.jpg', '/home/pi/Desktop/images/25012025/10/50/image_25012025_10_50_03_001899_0001.jpg', '/home/pi/Desktop/images/25012025/10/50/image_25012025_10_50_03_001899_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/49/image_25012025_10_49_02_807956_0001.jpg
/home/pi/Desktop/images/25012025/10/49/image_25012025_10_49_02_807956_0002.jpg
/home/pi/Desktop/images/25012025/10/49/image_25012025_10_49_02_807956_0003.jpg
/home/pi/Desktop/images/25012025/10/50/image_25012025_10_50_03_001899_0000.jpg
/home/pi/Desktop/images/25012025/10/50/image_25012025_10_50_03_001899_0001.jpg
/home/pi/Desktop/images/25012025/10/50/image_25012025_10_50_03_001899_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 [200]>
b'{"photo_ids":["1331318000","1331317996","1331318008","1331318005","1331317989","1331318010"],"photo_ids_order":["1331317989","1331317996","1331318000","1331318005","1331318008","1331318010"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/538e0760b984b1d5b0af7c013a1ab486.jpg","text":"TemporaryFile(/tmp/multipartBody32022663560845969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801938967,"filename":"image_25012025_10_49_02_807956_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ba84b88d17d2bf42fb0c0f42ffef146a.jpg","text":"TemporaryFile(/tmp/multipartBody2680663493224735705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801938967,"filename":"image_25012025_10_49_02_807956_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5f82788e0341812b62c4aabc42262a5a.jpg","text":"TemporaryFile(/tmp/multipartBody6661376218765995766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801938967,"filename":"image_25012025_10_50_03_001899_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fce5a02b5b252c6ab1d679b2f6301ade.jpg","text":"TemporaryFile(/tmp/multipartBody3946637943735749882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801938967,"filename":"image_25012025_10_50_03_001899_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e1a369b297b58560e15afc3ceefcb486.jpg","text":"TemporaryFile(/tmp/multipartBody7756507063042256021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801938967,"filename":"image_25012025_10_49_02_807956_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2f8a826abab6f438490ce51d47ec7ee2.jpg","text":"TemporaryFile(/tmp/multipartBody2655349843969182175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801938967,"filename":"image_25012025_10_50_03_001899_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331318000","file1":"1331317996","file0":"1331317989","file4":"1331318008","file5":"1331318010","file3":"1331318005"},"map_files_photo_id_array":[{"photo_id":"1331318010","filename":"file5"},{"photo_id":"1331318000","filename":"file2"},{"photo_id":"1331318008","filename":"file4"},{"photo_id":"1331317996","filename":"file1"},{"photo_id":"1331317989","filename":"file0"},{"photo_id":"1331318005","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331318000":["hashtag1","hashtag2"]},{"1331317996":["hashtag1","hashtag2"]},{"1331318008":["hashtag1","hashtag2"]},{"1331318005":["hashtag1","hashtag2"]},{"1331317989":["hashtag1","hashtag2"]},{"1331318010":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331318000, 1331317996, 1331318008, 1331318005, 1331317989, 1331318010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.608969926834106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 11:45:22.613854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/50/image_25012025_10_50_03_001899_0003.jpg', '/home/pi/Desktop/images/25012025/10/51/image_25012025_10_51_02_220339_0000.jpg', '/home/pi/Desktop/images/25012025/10/51/image_25012025_10_51_02_220339_0001.jpg', '/home/pi/Desktop/images/25012025/10/51/image_25012025_10_51_02_220339_0002.jpg', '/home/pi/Desktop/images/25012025/10/51/image_25012025_10_51_02_220339_0003.jpg', '/home/pi/Desktop/images/25012025/10/52/image_25012025_10_52_02_458953_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/50/image_25012025_10_50_03_001899_0003.jpg
/home/pi/Desktop/images/25012025/10/51/image_25012025_10_51_02_220339_0000.jpg
/home/pi/Desktop/images/25012025/10/51/image_25012025_10_51_02_220339_0001.jpg
/home/pi/Desktop/images/25012025/10/51/image_25012025_10_51_02_220339_0002.jpg
/home/pi/Desktop/images/25012025/10/51/image_25012025_10_51_02_220339_0003.jpg
/home/pi/Desktop/images/25012025/10/52/image_25012025_10_52_02_458953_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 [200]>
b'{"photo_ids":["1331318234","1331318089","1331318083","1331318233","1331318136","1331318078"],"photo_ids_order":["1331318078","1331318083","1331318089","1331318136","1331318233","1331318234"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bcde1d267234690ccb7f908478d9ef5d.jpg","text":"TemporaryFile(/tmp/multipartBody930863071244844490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801999023,"filename":"image_25012025_10_52_02_458953_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/23f80a1b54ef0494b7c2c5c39ddf9f02.jpg","text":"TemporaryFile(/tmp/multipartBody4478800680401231965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801999023,"filename":"image_25012025_10_51_02_220339_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5cffc7e86490bad5513fbc368e076022.jpg","text":"TemporaryFile(/tmp/multipartBody2006664389510300676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801999023,"filename":"image_25012025_10_51_02_220339_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bc1dda9a4272abff4ec97c13b6f56515.jpg","text":"TemporaryFile(/tmp/multipartBody7633414568330021305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801999023,"filename":"image_25012025_10_51_02_220339_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/178a44568e14e23034200f5dbdd26dac.jpg","text":"TemporaryFile(/tmp/multipartBody8043061416252525202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801999023,"filename":"image_25012025_10_51_02_220339_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/10cfc84f781b1ff785f4f5b5e5e95bcd.jpg","text":"TemporaryFile(/tmp/multipartBody8814915722327502271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737801999023,"filename":"image_25012025_10_50_03_001899_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331318089","file1":"1331318083","file0":"1331318078","file4":"1331318233","file5":"1331318234","file3":"1331318136"},"map_files_photo_id_array":[{"photo_id":"1331318234","filename":"file5"},{"photo_id":"1331318089","filename":"file2"},{"photo_id":"1331318233","filename":"file4"},{"photo_id":"1331318083","filename":"file1"},{"photo_id":"1331318078","filename":"file0"},{"photo_id":"1331318136","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331318234":["hashtag1","hashtag2"]},{"1331318089":["hashtag1","hashtag2"]},{"1331318083":["hashtag1","hashtag2"]},{"1331318233":["hashtag1","hashtag2"]},{"1331318136":["hashtag1","hashtag2"]},{"1331318078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331318234, 1331318089, 1331318083, 1331318233, 1331318136, 1331318078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.12404417991638 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 11:46:21.788311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/52/image_25012025_10_52_02_458953_0001.jpg', '/home/pi/Desktop/images/25012025/10/52/image_25012025_10_52_02_458953_0002.jpg', '/home/pi/Desktop/images/25012025/10/52/image_25012025_10_52_02_458953_0003.jpg', '/home/pi/Desktop/images/25012025/10/53/image_25012025_10_53_02_635447_0000.jpg', '/home/pi/Desktop/images/25012025/10/53/image_25012025_10_53_02_635447_0001.jpg', '/home/pi/Desktop/images/25012025/10/53/image_25012025_10_53_02_635447_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/52/image_25012025_10_52_02_458953_0001.jpg
/home/pi/Desktop/images/25012025/10/52/image_25012025_10_52_02_458953_0002.jpg
/home/pi/Desktop/images/25012025/10/52/image_25012025_10_52_02_458953_0003.jpg
/home/pi/Desktop/images/25012025/10/53/image_25012025_10_53_02_635447_0000.jpg
/home/pi/Desktop/images/25012025/10/53/image_25012025_10_53_02_635447_0001.jpg
/home/pi/Desktop/images/25012025/10/53/image_25012025_10_53_02_635447_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: 16.493826627731323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 11:46:41.846336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/52/image_25012025_10_52_02_458953_0001.jpg', '/home/pi/Desktop/images/25012025/10/52/image_25012025_10_52_02_458953_0002.jpg', '/home/pi/Desktop/images/25012025/10/52/image_25012025_10_52_02_458953_0003.jpg', '/home/pi/Desktop/images/25012025/10/53/image_25012025_10_53_02_635447_0000.jpg', '/home/pi/Desktop/images/25012025/10/53/image_25012025_10_53_02_635447_0001.jpg', '/home/pi/Desktop/images/25012025/10/53/image_25012025_10_53_02_635447_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/52/image_25012025_10_52_02_458953_0001.jpg
/home/pi/Desktop/images/25012025/10/52/image_25012025_10_52_02_458953_0002.jpg
/home/pi/Desktop/images/25012025/10/52/image_25012025_10_52_02_458953_0003.jpg
/home/pi/Desktop/images/25012025/10/53/image_25012025_10_53_02_635447_0000.jpg
/home/pi/Desktop/images/25012025/10/53/image_25012025_10_53_02_635447_0001.jpg
/home/pi/Desktop/images/25012025/10/53/image_25012025_10_53_02_635447_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 [200]>
b'{"photo_ids":["1331319017","1331319019","1331318965","1331318970","1331319063","1331318975"],"photo_ids_order":["1331318965","1331318970","1331318975","1331319017","1331319019","1331319063"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9ff6228b9d38c67750909c1cf15bf1cb.jpg","text":"TemporaryFile(/tmp/multipartBody1245059605916202095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802078731,"filename":"image_25012025_10_53_02_635447_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d8fb37f6e6a8b0415a31fc7aba55d837.jpg","text":"TemporaryFile(/tmp/multipartBody5856269502237407878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802078731,"filename":"image_25012025_10_53_02_635447_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/97f67c14362496cc8430918db1726703.jpg","text":"TemporaryFile(/tmp/multipartBody3819576236544510489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802078731,"filename":"image_25012025_10_52_02_458953_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f385f2dd5d512badd23d2f4e622bedec.jpg","text":"TemporaryFile(/tmp/multipartBody3188593496336804378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802078731,"filename":"image_25012025_10_52_02_458953_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2cf14a537316b56e6d1851a409d2549d.jpg","text":"TemporaryFile(/tmp/multipartBody7987050180928542631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802078731,"filename":"image_25012025_10_53_02_635447_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f6b58c9a1c4c848fe56a03cd770461ec.jpg","text":"TemporaryFile(/tmp/multipartBody2220967779990556948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802078731,"filename":"image_25012025_10_52_02_458953_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331318975","file1":"1331318970","file0":"1331318965","file4":"1331319019","file5":"1331319063","file3":"1331319017"},"map_files_photo_id_array":[{"photo_id":"1331319063","filename":"file5"},{"photo_id":"1331318975","filename":"file2"},{"photo_id":"1331319019","filename":"file4"},{"photo_id":"1331318970","filename":"file1"},{"photo_id":"1331318965","filename":"file0"},{"photo_id":"1331319017","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331319017":["hashtag1","hashtag2"]},{"1331319019":["hashtag1","hashtag2"]},{"1331318965":["hashtag1","hashtag2"]},{"1331318970":["hashtag1","hashtag2"]},{"1331319063":["hashtag1","hashtag2"]},{"1331318975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331319017, 1331319019, 1331318965, 1331318970, 1331319063, 1331318975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.11534857749939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 11:47:42.052621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/53/image_25012025_10_53_02_635447_0003.jpg', '/home/pi/Desktop/images/25012025/10/54/image_25012025_10_54_02_700832_0000.jpg', '/home/pi/Desktop/images/25012025/10/54/image_25012025_10_54_02_700832_0001.jpg', '/home/pi/Desktop/images/25012025/10/54/image_25012025_10_54_02_700832_0002.jpg', '/home/pi/Desktop/images/25012025/10/54/image_25012025_10_54_02_700832_0003.jpg', '/home/pi/Desktop/images/25012025/10/55/image_25012025_10_55_02_934310_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/53/image_25012025_10_53_02_635447_0003.jpg
/home/pi/Desktop/images/25012025/10/54/image_25012025_10_54_02_700832_0000.jpg
/home/pi/Desktop/images/25012025/10/54/image_25012025_10_54_02_700832_0001.jpg
/home/pi/Desktop/images/25012025/10/54/image_25012025_10_54_02_700832_0002.jpg
/home/pi/Desktop/images/25012025/10/54/image_25012025_10_54_02_700832_0003.jpg
/home/pi/Desktop/images/25012025/10/55/image_25012025_10_55_02_934310_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 [200]>
b'{"photo_ids":["1331319221","1331319215","1331319209","1331319205","1331319218","1331319212"],"photo_ids_order":["1331319205","1331319209","1331319212","1331319215","1331319218","1331319221"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c46f48c2e851a36f7d13edd21f047cf4.jpg","text":"TemporaryFile(/tmp/multipartBody5632984303462898880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802138856,"filename":"image_25012025_10_55_02_934310_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c7b98f3c4e792dd6e86c60dd2dd2a5d.jpg","text":"TemporaryFile(/tmp/multipartBody2638538159321571450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802138856,"filename":"image_25012025_10_54_02_700832_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2bc336ca4e2c4a659a47fd8a032556c2.jpg","text":"TemporaryFile(/tmp/multipartBody6425422376670880619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802138856,"filename":"image_25012025_10_54_02_700832_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ca698e0e86c5ee1bebe56e60ebabfaa7.jpg","text":"TemporaryFile(/tmp/multipartBody7484697022506777678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802138856,"filename":"image_25012025_10_53_02_635447_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/903b7b3490ff18cd09543b9ab3b3f2c5.jpg","text":"TemporaryFile(/tmp/multipartBody8939783316058385476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802138856,"filename":"image_25012025_10_54_02_700832_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d4b5afdb0d85562e500f75b57c6619a6.jpg","text":"TemporaryFile(/tmp/multipartBody7208192156415932723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802138856,"filename":"image_25012025_10_54_02_700832_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331319212","file1":"1331319209","file0":"1331319205","file4":"1331319218","file5":"1331319221","file3":"1331319215"},"map_files_photo_id_array":[{"photo_id":"1331319221","filename":"file5"},{"photo_id":"1331319212","filename":"file2"},{"photo_id":"1331319218","filename":"file4"},{"photo_id":"1331319209","filename":"file1"},{"photo_id":"1331319205","filename":"file0"},{"photo_id":"1331319215","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331319221":["hashtag1","hashtag2"]},{"1331319215":["hashtag1","hashtag2"]},{"1331319209":["hashtag1","hashtag2"]},{"1331319205":["hashtag1","hashtag2"]},{"1331319218":["hashtag1","hashtag2"]},{"1331319212":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331319221, 1331319215, 1331319209, 1331319205, 1331319218, 1331319212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.70593571662903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 11:48:42.301021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/55/image_25012025_10_55_02_934310_0001.jpg', '/home/pi/Desktop/images/25012025/10/55/image_25012025_10_55_02_934310_0002.jpg', '/home/pi/Desktop/images/25012025/10/55/image_25012025_10_55_02_934310_0003.jpg', '/home/pi/Desktop/images/25012025/10/56/image_25012025_10_56_03_158127_0000.jpg', '/home/pi/Desktop/images/25012025/10/56/image_25012025_10_56_03_158127_0001.jpg', '/home/pi/Desktop/images/25012025/10/56/image_25012025_10_56_03_158127_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/55/image_25012025_10_55_02_934310_0001.jpg
/home/pi/Desktop/images/25012025/10/55/image_25012025_10_55_02_934310_0002.jpg
/home/pi/Desktop/images/25012025/10/55/image_25012025_10_55_02_934310_0003.jpg
/home/pi/Desktop/images/25012025/10/56/image_25012025_10_56_03_158127_0000.jpg
/home/pi/Desktop/images/25012025/10/56/image_25012025_10_56_03_158127_0001.jpg
/home/pi/Desktop/images/25012025/10/56/image_25012025_10_56_03_158127_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 [200]>
b'{"photo_ids":["1331319397","1331319391","1331319412","1331319424","1331319438","1331319260"],"photo_ids_order":["1331319260","1331319391","1331319397","1331319412","1331319424","1331319438"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d96a1681afb3bbf5ead5fe9b04bcd8ee.jpg","text":"TemporaryFile(/tmp/multipartBody1778762191081457989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802199060,"filename":"image_25012025_10_55_02_934310_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6ec3604762f3b2a863933da406f3540a.jpg","text":"TemporaryFile(/tmp/multipartBody4072555533344775291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802199060,"filename":"image_25012025_10_55_02_934310_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6e29180b65b58f47d8f5cd44ef8eda61.jpg","text":"TemporaryFile(/tmp/multipartBody8938391534387425780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802199060,"filename":"image_25012025_10_56_03_158127_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1fd808b5f7cdad60d32a5cc141bb3afc.jpg","text":"TemporaryFile(/tmp/multipartBody5580448009971459155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802199060,"filename":"image_25012025_10_56_03_158127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2e01d8cd486a11ba0901e7e1c4cf30f9.jpg","text":"TemporaryFile(/tmp/multipartBody97215644814612819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802199060,"filename":"image_25012025_10_56_03_158127_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/df650b151b2415d209df4195622a21d6.jpg","text":"TemporaryFile(/tmp/multipartBody1123027636557765230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802199060,"filename":"image_25012025_10_55_02_934310_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331319397","file1":"1331319391","file0":"1331319260","file4":"1331319424","file5":"1331319438","file3":"1331319412"},"map_files_photo_id_array":[{"photo_id":"1331319438","filename":"file5"},{"photo_id":"1331319397","filename":"file2"},{"photo_id":"1331319424","filename":"file4"},{"photo_id":"1331319391","filename":"file1"},{"photo_id":"1331319260","filename":"file0"},{"photo_id":"1331319412","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331319397":["hashtag1","hashtag2"]},{"1331319391":["hashtag1","hashtag2"]},{"1331319412":["hashtag1","hashtag2"]},{"1331319424":["hashtag1","hashtag2"]},{"1331319438":["hashtag1","hashtag2"]},{"1331319260":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331319397, 1331319391, 1331319412, 1331319424, 1331319438, 1331319260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.40877604484558 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 11:49:42.449024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/56/image_25012025_10_56_03_158127_0003.jpg', '/home/pi/Desktop/images/25012025/10/57/image_25012025_10_57_02_222175_0000.jpg', '/home/pi/Desktop/images/25012025/10/57/image_25012025_10_57_02_222175_0001.jpg', '/home/pi/Desktop/images/25012025/10/57/image_25012025_10_57_02_222175_0002.jpg', '/home/pi/Desktop/images/25012025/10/57/image_25012025_10_57_02_222175_0003.jpg', '/home/pi/Desktop/images/25012025/10/58/image_25012025_10_58_02_426278_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/56/image_25012025_10_56_03_158127_0003.jpg
/home/pi/Desktop/images/25012025/10/57/image_25012025_10_57_02_222175_0000.jpg
/home/pi/Desktop/images/25012025/10/57/image_25012025_10_57_02_222175_0001.jpg
/home/pi/Desktop/images/25012025/10/57/image_25012025_10_57_02_222175_0002.jpg
/home/pi/Desktop/images/25012025/10/57/image_25012025_10_57_02_222175_0003.jpg
/home/pi/Desktop/images/25012025/10/58/image_25012025_10_58_02_426278_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 [200]>
b'{"photo_ids":["1331319496","1331319561","1331319498","1331319476","1331319602","1331319493"],"photo_ids_order":["1331319476","1331319493","1331319496","1331319498","1331319561","1331319602"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/86dca9ead52e89a96a7e7202e327c6bd.jpg","text":"TemporaryFile(/tmp/multipartBody1142750367826826520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802258299,"filename":"image_25012025_10_57_02_222175_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/afa4fae2af13318712f060a17dafda77.jpg","text":"TemporaryFile(/tmp/multipartBody5540246956325051553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802258299,"filename":"image_25012025_10_57_02_222175_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/de0c8de21c3f0af15100ee04514d82bb.jpg","text":"TemporaryFile(/tmp/multipartBody1388186754515043750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802258299,"filename":"image_25012025_10_57_02_222175_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/22e8d388009e0836707a58bfed7079a3.jpg","text":"TemporaryFile(/tmp/multipartBody4388859501848558435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802258299,"filename":"image_25012025_10_56_03_158127_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2f5471cfd561658914ad919d0111cb0e.jpg","text":"TemporaryFile(/tmp/multipartBody2602942236686389668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802258299,"filename":"image_25012025_10_58_02_426278_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/204bcf5ee3a29d19d3c2da5c11916254.jpg","text":"TemporaryFile(/tmp/multipartBody2051570384338721928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802258299,"filename":"image_25012025_10_57_02_222175_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331319496","file1":"1331319493","file0":"1331319476","file4":"1331319561","file5":"1331319602","file3":"1331319498"},"map_files_photo_id_array":[{"photo_id":"1331319602","filename":"file5"},{"photo_id":"1331319496","filename":"file2"},{"photo_id":"1331319561","filename":"file4"},{"photo_id":"1331319493","filename":"file1"},{"photo_id":"1331319476","filename":"file0"},{"photo_id":"1331319498","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331319496":["hashtag1","hashtag2"]},{"1331319561":["hashtag1","hashtag2"]},{"1331319498":["hashtag1","hashtag2"]},{"1331319476":["hashtag1","hashtag2"]},{"1331319602":["hashtag1","hashtag2"]},{"1331319493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331319496, 1331319561, 1331319498, 1331319476, 1331319602, 1331319493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.181660413742065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 11:50:42.624362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/58/image_25012025_10_58_02_426278_0001.jpg', '/home/pi/Desktop/images/25012025/10/58/image_25012025_10_58_02_426278_0002.jpg', '/home/pi/Desktop/images/25012025/10/58/image_25012025_10_58_02_426278_0003.jpg', '/home/pi/Desktop/images/25012025/10/59/image_25012025_10_59_02_614031_0000.jpg', '/home/pi/Desktop/images/25012025/10/59/image_25012025_10_59_02_614031_0001.jpg', '/home/pi/Desktop/images/25012025/10/59/image_25012025_10_59_02_614031_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/58/image_25012025_10_58_02_426278_0001.jpg
/home/pi/Desktop/images/25012025/10/58/image_25012025_10_58_02_426278_0002.jpg
/home/pi/Desktop/images/25012025/10/58/image_25012025_10_58_02_426278_0003.jpg
/home/pi/Desktop/images/25012025/10/59/image_25012025_10_59_02_614031_0000.jpg
/home/pi/Desktop/images/25012025/10/59/image_25012025_10_59_02_614031_0001.jpg
/home/pi/Desktop/images/25012025/10/59/image_25012025_10_59_02_614031_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 [200]>
b'{"photo_ids":["1331319760","1331319771","1331319750","1331319747","1331319764","1331319755"],"photo_ids_order":["1331319747","1331319750","1331319755","1331319760","1331319764","1331319771"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/58c1b2ccd496cbb7f41acdd5c248569b.jpg","text":"TemporaryFile(/tmp/multipartBody8947852394614491015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802319648,"filename":"image_25012025_10_59_02_614031_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6794f519662df1ba1c039aad34a3aa1a.jpg","text":"TemporaryFile(/tmp/multipartBody3551877906378595845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802319648,"filename":"image_25012025_10_59_02_614031_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/43f8a90704f9e1631ce1224bbb4c467b.jpg","text":"TemporaryFile(/tmp/multipartBody7843141627239112313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802319648,"filename":"image_25012025_10_58_02_426278_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d50b072efc136fc72e204138146487f7.jpg","text":"TemporaryFile(/tmp/multipartBody9059487306438554091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802319648,"filename":"image_25012025_10_58_02_426278_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b9e853ae72eee7bb09b90e309eb70d2e.jpg","text":"TemporaryFile(/tmp/multipartBody7509438017218420349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802319648,"filename":"image_25012025_10_59_02_614031_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/389294bd409aca823949ee0190e5064c.jpg","text":"TemporaryFile(/tmp/multipartBody2229777869605539650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802319648,"filename":"image_25012025_10_58_02_426278_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331319755","file1":"1331319750","file0":"1331319747","file4":"1331319764","file5":"1331319771","file3":"1331319760"},"map_files_photo_id_array":[{"photo_id":"1331319771","filename":"file5"},{"photo_id":"1331319755","filename":"file2"},{"photo_id":"1331319764","filename":"file4"},{"photo_id":"1331319750","filename":"file1"},{"photo_id":"1331319747","filename":"file0"},{"photo_id":"1331319760","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331319760":["hashtag1","hashtag2"]},{"1331319771":["hashtag1","hashtag2"]},{"1331319750":["hashtag1","hashtag2"]},{"1331319747":["hashtag1","hashtag2"]},{"1331319764":["hashtag1","hashtag2"]},{"1331319755":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331319760, 1331319771, 1331319750, 1331319747, 1331319764, 1331319755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.87203550338745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 11:51:42.740914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/10/59/image_25012025_10_59_02_614031_0003.jpg', '/home/pi/Desktop/images/25012025/11/00/image_25012025_11_00_02_791591_0000.jpg', '/home/pi/Desktop/images/25012025/11/00/image_25012025_11_00_02_791591_0001.jpg', '/home/pi/Desktop/images/25012025/11/00/image_25012025_11_00_02_791591_0002.jpg', '/home/pi/Desktop/images/25012025/11/00/image_25012025_11_00_02_791591_0003.jpg', '/home/pi/Desktop/images/25012025/11/01/image_25012025_11_01_02_941434_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/10/59/image_25012025_10_59_02_614031_0003.jpg
/home/pi/Desktop/images/25012025/11/00/image_25012025_11_00_02_791591_0000.jpg
/home/pi/Desktop/images/25012025/11/00/image_25012025_11_00_02_791591_0001.jpg
/home/pi/Desktop/images/25012025/11/00/image_25012025_11_00_02_791591_0002.jpg
/home/pi/Desktop/images/25012025/11/00/image_25012025_11_00_02_791591_0003.jpg
/home/pi/Desktop/images/25012025/11/01/image_25012025_11_01_02_941434_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 [200]>
b'{"photo_ids":["1331319805","1331319814","1331319802","1331319819","1331319785","1331319809"],"photo_ids_order":["1331319785","1331319802","1331319805","1331319809","1331319814","1331319819"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d6cc0f224612866a7dca9170ca6f2378.jpg","text":"TemporaryFile(/tmp/multipartBody8911480723364764310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802380407,"filename":"image_25012025_11_00_02_791591_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7559834116538a2749619dd5846d1440.jpg","text":"TemporaryFile(/tmp/multipartBody8662092350130225632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802380407,"filename":"image_25012025_11_00_02_791591_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/efe6c61befbc206b817024585a73cb7b.jpg","text":"TemporaryFile(/tmp/multipartBody7872793950658843720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802380407,"filename":"image_25012025_11_00_02_791591_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/244af6c037dfda29acbac32e75fd843d.jpg","text":"TemporaryFile(/tmp/multipartBody4153154831482306181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802380407,"filename":"image_25012025_11_01_02_941434_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/505d8d0251a48a68c26b2493eadad452.jpg","text":"TemporaryFile(/tmp/multipartBody6822093613706869056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802380407,"filename":"image_25012025_10_59_02_614031_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b8f0f72fbb0beb3e5363c1a806a80722.jpg","text":"TemporaryFile(/tmp/multipartBody3516101578518617537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802380407,"filename":"image_25012025_11_00_02_791591_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331319805","file1":"1331319802","file0":"1331319785","file4":"1331319814","file5":"1331319819","file3":"1331319809"},"map_files_photo_id_array":[{"photo_id":"1331319819","filename":"file5"},{"photo_id":"1331319805","filename":"file2"},{"photo_id":"1331319814","filename":"file4"},{"photo_id":"1331319802","filename":"file1"},{"photo_id":"1331319785","filename":"file0"},{"photo_id":"1331319809","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331319805":["hashtag1","hashtag2"]},{"1331319814":["hashtag1","hashtag2"]},{"1331319802":["hashtag1","hashtag2"]},{"1331319819":["hashtag1","hashtag2"]},{"1331319785":["hashtag1","hashtag2"]},{"1331319809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331319805, 1331319814, 1331319802, 1331319819, 1331319785, 1331319809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.42996573448181 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 11:52:41.914648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/01/image_25012025_11_01_02_941434_0001.jpg', '/home/pi/Desktop/images/25012025/11/01/image_25012025_11_01_02_941434_0002.jpg', '/home/pi/Desktop/images/25012025/11/01/image_25012025_11_01_02_941434_0003.jpg', '/home/pi/Desktop/images/25012025/11/02/image_25012025_11_02_03_177386_0000.jpg', '/home/pi/Desktop/images/25012025/11/02/image_25012025_11_02_03_177386_0001.jpg', '/home/pi/Desktop/images/25012025/11/02/image_25012025_11_02_03_177386_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/01/image_25012025_11_01_02_941434_0001.jpg
/home/pi/Desktop/images/25012025/11/01/image_25012025_11_01_02_941434_0002.jpg
/home/pi/Desktop/images/25012025/11/01/image_25012025_11_01_02_941434_0003.jpg
/home/pi/Desktop/images/25012025/11/02/image_25012025_11_02_03_177386_0000.jpg
/home/pi/Desktop/images/25012025/11/02/image_25012025_11_02_03_177386_0001.jpg
/home/pi/Desktop/images/25012025/11/02/image_25012025_11_02_03_177386_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 [200]>
b'{"photo_ids":["1331319886","1331319882","1331319867","1331319875","1331319860","1331319863"],"photo_ids_order":["1331319860","1331319863","1331319867","1331319875","1331319882","1331319886"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c47f1e5ef78309671c976ed944f9431a.jpg","text":"TemporaryFile(/tmp/multipartBody5056188797664968635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802439111,"filename":"image_25012025_11_02_03_177386_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4c5f16f52be6994e07ceef66795f587f.jpg","text":"TemporaryFile(/tmp/multipartBody7423976309898983784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802439111,"filename":"image_25012025_11_02_03_177386_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/308b377b56d7af896d2961ab1a54ffd5.jpg","text":"TemporaryFile(/tmp/multipartBody1462031867995890090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802439111,"filename":"image_25012025_11_01_02_941434_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b6c597fd7c805fb6ad9ecfdaa46f02cf.jpg","text":"TemporaryFile(/tmp/multipartBody8678301562658988572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802439111,"filename":"image_25012025_11_02_03_177386_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/65bd459715e4b640b46ead42cbdfdc0d.jpg","text":"TemporaryFile(/tmp/multipartBody2156559567872422346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802439111,"filename":"image_25012025_11_01_02_941434_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b6f08baaa6d67b165108d4d57aa75941.jpg","text":"TemporaryFile(/tmp/multipartBody2657991322982586526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802439111,"filename":"image_25012025_11_01_02_941434_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331319867","file1":"1331319863","file0":"1331319860","file4":"1331319882","file5":"1331319886","file3":"1331319875"},"map_files_photo_id_array":[{"photo_id":"1331319886","filename":"file5"},{"photo_id":"1331319867","filename":"file2"},{"photo_id":"1331319882","filename":"file4"},{"photo_id":"1331319863","filename":"file1"},{"photo_id":"1331319860","filename":"file0"},{"photo_id":"1331319875","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331319886":["hashtag1","hashtag2"]},{"1331319882":["hashtag1","hashtag2"]},{"1331319867":["hashtag1","hashtag2"]},{"1331319875":["hashtag1","hashtag2"]},{"1331319860":["hashtag1","hashtag2"]},{"1331319863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331319886, 1331319882, 1331319867, 1331319875, 1331319860, 1331319863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.70847010612488 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 11:53:42.153206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/02/image_25012025_11_02_03_177386_0003.jpg', '/home/pi/Desktop/images/25012025/11/03/image_25012025_11_03_02_283503_0000.jpg', '/home/pi/Desktop/images/25012025/11/03/image_25012025_11_03_02_283503_0001.jpg', '/home/pi/Desktop/images/25012025/11/03/image_25012025_11_03_02_283503_0002.jpg', '/home/pi/Desktop/images/25012025/11/03/image_25012025_11_03_02_283503_0003.jpg', '/home/pi/Desktop/images/25012025/11/04/image_25012025_11_04_02_445155_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/02/image_25012025_11_02_03_177386_0003.jpg
/home/pi/Desktop/images/25012025/11/03/image_25012025_11_03_02_283503_0000.jpg
/home/pi/Desktop/images/25012025/11/03/image_25012025_11_03_02_283503_0001.jpg
/home/pi/Desktop/images/25012025/11/03/image_25012025_11_03_02_283503_0002.jpg
/home/pi/Desktop/images/25012025/11/03/image_25012025_11_03_02_283503_0003.jpg
/home/pi/Desktop/images/25012025/11/04/image_25012025_11_04_02_445155_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 [200]>
b'{"photo_ids":["1331319919","1331319936","1331319923","1331319932","1331319926","1331319929"],"photo_ids_order":["1331319919","1331319923","1331319926","1331319929","1331319932","1331319936"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/203641c908d3902f0844782385b5a26a.jpg","text":"TemporaryFile(/tmp/multipartBody5948563983773386904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802499216,"filename":"image_25012025_11_02_03_177386_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b01ef91250d47f47d9e784636bbcd81d.jpg","text":"TemporaryFile(/tmp/multipartBody5548954825549336478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802499216,"filename":"image_25012025_11_04_02_445155_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/54a0d2228010be91f02a2aa63701fe52.jpg","text":"TemporaryFile(/tmp/multipartBody3026991036102510866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802499216,"filename":"image_25012025_11_03_02_283503_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/66d3132e97ae2a8188f9e395d15cc0bb.jpg","text":"TemporaryFile(/tmp/multipartBody1880325461134364435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802499216,"filename":"image_25012025_11_03_02_283503_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/212c9289bc394edc618a9441a7d47091.jpg","text":"TemporaryFile(/tmp/multipartBody3446096136041847107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802499216,"filename":"image_25012025_11_03_02_283503_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8509aa8c2582405cd2b1bf999d8f9ac0.jpg","text":"TemporaryFile(/tmp/multipartBody7641154573848827941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802499216,"filename":"image_25012025_11_03_02_283503_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331319926","file1":"1331319923","file0":"1331319919","file4":"1331319932","file5":"1331319936","file3":"1331319929"},"map_files_photo_id_array":[{"photo_id":"1331319936","filename":"file5"},{"photo_id":"1331319926","filename":"file2"},{"photo_id":"1331319932","filename":"file4"},{"photo_id":"1331319923","filename":"file1"},{"photo_id":"1331319919","filename":"file0"},{"photo_id":"1331319929","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331319919":["hashtag1","hashtag2"]},{"1331319936":["hashtag1","hashtag2"]},{"1331319923":["hashtag1","hashtag2"]},{"1331319932":["hashtag1","hashtag2"]},{"1331319926":["hashtag1","hashtag2"]},{"1331319929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331319919, 1331319936, 1331319923, 1331319932, 1331319926, 1331319929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.63037180900574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 11:54:42.319532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/04/image_25012025_11_04_02_445155_0001.jpg', '/home/pi/Desktop/images/25012025/11/04/image_25012025_11_04_02_445155_0002.jpg', '/home/pi/Desktop/images/25012025/11/04/image_25012025_11_04_02_445155_0003.jpg', '/home/pi/Desktop/images/25012025/11/05/image_25012025_11_05_02_601449_0000.jpg', '/home/pi/Desktop/images/25012025/11/05/image_25012025_11_05_02_601449_0001.jpg', '/home/pi/Desktop/images/25012025/11/05/image_25012025_11_05_02_601449_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/04/image_25012025_11_04_02_445155_0001.jpg
/home/pi/Desktop/images/25012025/11/04/image_25012025_11_04_02_445155_0002.jpg
/home/pi/Desktop/images/25012025/11/04/image_25012025_11_04_02_445155_0003.jpg
/home/pi/Desktop/images/25012025/11/05/image_25012025_11_05_02_601449_0000.jpg
/home/pi/Desktop/images/25012025/11/05/image_25012025_11_05_02_601449_0001.jpg
/home/pi/Desktop/images/25012025/11/05/image_25012025_11_05_02_601449_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: 16.287211418151855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 11:55:03.122783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/04/image_25012025_11_04_02_445155_0001.jpg', '/home/pi/Desktop/images/25012025/11/04/image_25012025_11_04_02_445155_0002.jpg', '/home/pi/Desktop/images/25012025/11/04/image_25012025_11_04_02_445155_0003.jpg', '/home/pi/Desktop/images/25012025/11/05/image_25012025_11_05_02_601449_0000.jpg', '/home/pi/Desktop/images/25012025/11/05/image_25012025_11_05_02_601449_0001.jpg', '/home/pi/Desktop/images/25012025/11/05/image_25012025_11_05_02_601449_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/04/image_25012025_11_04_02_445155_0001.jpg
/home/pi/Desktop/images/25012025/11/04/image_25012025_11_04_02_445155_0002.jpg
/home/pi/Desktop/images/25012025/11/04/image_25012025_11_04_02_445155_0003.jpg
/home/pi/Desktop/images/25012025/11/05/image_25012025_11_05_02_601449_0000.jpg
/home/pi/Desktop/images/25012025/11/05/image_25012025_11_05_02_601449_0001.jpg
/home/pi/Desktop/images/25012025/11/05/image_25012025_11_05_02_601449_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 [200]>
b'{"photo_ids":["1331320046","1331320211","1331320113","1331320107","1331320215","1331320175"],"photo_ids_order":["1331320046","1331320107","1331320113","1331320175","1331320211","1331320215"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8c7abf3dd312d33f0c7d064c61c5311d.jpg","text":"TemporaryFile(/tmp/multipartBody8870649583469350069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802579854,"filename":"image_25012025_11_04_02_445155_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9d22874ebd569dcfb615cb9b0fb26e48.jpg","text":"TemporaryFile(/tmp/multipartBody7530684551322154147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802579854,"filename":"image_25012025_11_05_02_601449_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/07cf28e769ae75db96d3b17ffda39ab3.jpg","text":"TemporaryFile(/tmp/multipartBody45883874470560704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802579854,"filename":"image_25012025_11_04_02_445155_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b8631a999835199652285092d25ceb6b.jpg","text":"TemporaryFile(/tmp/multipartBody4116303877616455667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802579854,"filename":"image_25012025_11_04_02_445155_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2facc314125031356ff407f565b987f2.jpg","text":"TemporaryFile(/tmp/multipartBody3616842944646419457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802579854,"filename":"image_25012025_11_05_02_601449_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3069ac46eaca9dbcea713b43bd5c5ee7.jpg","text":"TemporaryFile(/tmp/multipartBody6220180927035427079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802579854,"filename":"image_25012025_11_05_02_601449_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331320113","file1":"1331320107","file0":"1331320046","file4":"1331320211","file5":"1331320215","file3":"1331320175"},"map_files_photo_id_array":[{"photo_id":"1331320215","filename":"file5"},{"photo_id":"1331320113","filename":"file2"},{"photo_id":"1331320211","filename":"file4"},{"photo_id":"1331320107","filename":"file1"},{"photo_id":"1331320046","filename":"file0"},{"photo_id":"1331320175","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331320046":["hashtag1","hashtag2"]},{"1331320211":["hashtag1","hashtag2"]},{"1331320113":["hashtag1","hashtag2"]},{"1331320107":["hashtag1","hashtag2"]},{"1331320215":["hashtag1","hashtag2"]},{"1331320175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331320046, 1331320211, 1331320113, 1331320107, 1331320215, 1331320175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.74894642829895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 11:56:03.066069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/05/image_25012025_11_05_02_601449_0003.jpg', '/home/pi/Desktop/images/25012025/11/06/image_25012025_11_06_02_770200_0000.jpg', '/home/pi/Desktop/images/25012025/11/06/image_25012025_11_06_02_770200_0001.jpg', '/home/pi/Desktop/images/25012025/11/06/image_25012025_11_06_02_770200_0002.jpg', '/home/pi/Desktop/images/25012025/11/06/image_25012025_11_06_02_770200_0003.jpg', '/home/pi/Desktop/images/25012025/11/07/image_25012025_11_07_02_938683_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/05/image_25012025_11_05_02_601449_0003.jpg
/home/pi/Desktop/images/25012025/11/06/image_25012025_11_06_02_770200_0000.jpg
/home/pi/Desktop/images/25012025/11/06/image_25012025_11_06_02_770200_0001.jpg
/home/pi/Desktop/images/25012025/11/06/image_25012025_11_06_02_770200_0002.jpg
/home/pi/Desktop/images/25012025/11/06/image_25012025_11_06_02_770200_0003.jpg
/home/pi/Desktop/images/25012025/11/07/image_25012025_11_07_02_938683_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 [200]>
b'{"photo_ids":["1331320244","1331320255","1331320249","1331320228","1331320239","1331320233"],"photo_ids_order":["1331320228","1331320233","1331320239","1331320244","1331320249","1331320255"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/73a5fa98e936f50cfa76c94de03be9b3.jpg","text":"TemporaryFile(/tmp/multipartBody7835573270326139734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802639891,"filename":"image_25012025_11_06_02_770200_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/51479d8033085c2a95e963d7bf7ea3a0.jpg","text":"TemporaryFile(/tmp/multipartBody4499700984221692928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802639891,"filename":"image_25012025_11_07_02_938683_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/23047c435d4061f2abc83669753bc19d.jpg","text":"TemporaryFile(/tmp/multipartBody5773448070665359814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802639891,"filename":"image_25012025_11_06_02_770200_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e70c17601295452e24c4ee4e92b3b75e.jpg","text":"TemporaryFile(/tmp/multipartBody7455204070936466955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802639891,"filename":"image_25012025_11_05_02_601449_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7df5f0eed460bc4b0c10f7fae2e98a0a.jpg","text":"TemporaryFile(/tmp/multipartBody1488676947047160617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802639891,"filename":"image_25012025_11_06_02_770200_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a5d526d5cbad11291a92468bddcefd98.jpg","text":"TemporaryFile(/tmp/multipartBody8431039623518043235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802639891,"filename":"image_25012025_11_06_02_770200_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331320239","file1":"1331320233","file0":"1331320228","file4":"1331320249","file5":"1331320255","file3":"1331320244"},"map_files_photo_id_array":[{"photo_id":"1331320255","filename":"file5"},{"photo_id":"1331320239","filename":"file2"},{"photo_id":"1331320249","filename":"file4"},{"photo_id":"1331320233","filename":"file1"},{"photo_id":"1331320228","filename":"file0"},{"photo_id":"1331320244","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331320244":["hashtag1","hashtag2"]},{"1331320255":["hashtag1","hashtag2"]},{"1331320249":["hashtag1","hashtag2"]},{"1331320228":["hashtag1","hashtag2"]},{"1331320239":["hashtag1","hashtag2"]},{"1331320233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331320244, 1331320255, 1331320249, 1331320228, 1331320239, 1331320233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.04135179519653 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 11:57:02.480661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/07/image_25012025_11_07_02_938683_0001.jpg', '/home/pi/Desktop/images/25012025/11/07/image_25012025_11_07_02_938683_0002.jpg', '/home/pi/Desktop/images/25012025/11/07/image_25012025_11_07_02_938683_0003.jpg', '/home/pi/Desktop/images/25012025/11/08/image_25012025_11_08_03_048049_0000.jpg', '/home/pi/Desktop/images/25012025/11/08/image_25012025_11_08_03_048049_0001.jpg', '/home/pi/Desktop/images/25012025/11/08/image_25012025_11_08_03_048049_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/07/image_25012025_11_07_02_938683_0001.jpg
/home/pi/Desktop/images/25012025/11/07/image_25012025_11_07_02_938683_0002.jpg
/home/pi/Desktop/images/25012025/11/07/image_25012025_11_07_02_938683_0003.jpg
/home/pi/Desktop/images/25012025/11/08/image_25012025_11_08_03_048049_0000.jpg
/home/pi/Desktop/images/25012025/11/08/image_25012025_11_08_03_048049_0001.jpg
/home/pi/Desktop/images/25012025/11/08/image_25012025_11_08_03_048049_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 [200]>
b'{"photo_ids":["1331320402","1331320368","1331320397","1331320391","1331320385","1331320364"],"photo_ids_order":["1331320364","1331320368","1331320385","1331320391","1331320397","1331320402"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d6a8b4bbc0e429bfc90e545aa179a74a.jpg","text":"TemporaryFile(/tmp/multipartBody7766245827328343217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802699502,"filename":"image_25012025_11_08_03_048049_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e250e81c2742f6865cc740a97883429a.jpg","text":"TemporaryFile(/tmp/multipartBody4055309459224505085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802699502,"filename":"image_25012025_11_07_02_938683_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/93e3375c8d1186c5c619420ab8b03676.jpg","text":"TemporaryFile(/tmp/multipartBody8320408822694945483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802699502,"filename":"image_25012025_11_08_03_048049_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/94db446b925db5b8f180b7c7672a5e30.jpg","text":"TemporaryFile(/tmp/multipartBody4029175936526705869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802699502,"filename":"image_25012025_11_08_03_048049_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e3c1e4c3d280a16b9fc2191fccba8257.jpg","text":"TemporaryFile(/tmp/multipartBody7231362758493855422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802699502,"filename":"image_25012025_11_07_02_938683_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/71e45db5bcf15f0efda9b8c53161291c.jpg","text":"TemporaryFile(/tmp/multipartBody3009337384667771550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802699502,"filename":"image_25012025_11_07_02_938683_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331320385","file1":"1331320368","file0":"1331320364","file4":"1331320397","file5":"1331320402","file3":"1331320391"},"map_files_photo_id_array":[{"photo_id":"1331320402","filename":"file5"},{"photo_id":"1331320385","filename":"file2"},{"photo_id":"1331320397","filename":"file4"},{"photo_id":"1331320368","filename":"file1"},{"photo_id":"1331320364","filename":"file0"},{"photo_id":"1331320391","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331320402":["hashtag1","hashtag2"]},{"1331320368":["hashtag1","hashtag2"]},{"1331320397":["hashtag1","hashtag2"]},{"1331320391":["hashtag1","hashtag2"]},{"1331320385":["hashtag1","hashtag2"]},{"1331320364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331320402, 1331320368, 1331320397, 1331320391, 1331320385, 1331320364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.26227283477783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 11:59:02.836192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/08/image_25012025_11_08_03_048049_0003.jpg', '/home/pi/Desktop/images/25012025/11/09/image_25012025_11_09_02_212997_0000.jpg', '/home/pi/Desktop/images/25012025/11/09/image_25012025_11_09_02_212997_0001.jpg', '/home/pi/Desktop/images/25012025/11/09/image_25012025_11_09_02_212997_0002.jpg', '/home/pi/Desktop/images/25012025/11/09/image_25012025_11_09_02_212997_0003.jpg', '/home/pi/Desktop/images/25012025/11/10/image_25012025_11_10_02_383491_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/08/image_25012025_11_08_03_048049_0003.jpg
/home/pi/Desktop/images/25012025/11/09/image_25012025_11_09_02_212997_0000.jpg
/home/pi/Desktop/images/25012025/11/09/image_25012025_11_09_02_212997_0001.jpg
/home/pi/Desktop/images/25012025/11/09/image_25012025_11_09_02_212997_0002.jpg
/home/pi/Desktop/images/25012025/11/09/image_25012025_11_09_02_212997_0003.jpg
/home/pi/Desktop/images/25012025/11/10/image_25012025_11_10_02_383491_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! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 12:01:19.989491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/08/image_25012025_11_08_03_048049_0003.jpg', '/home/pi/Desktop/images/25012025/11/09/image_25012025_11_09_02_212997_0000.jpg', '/home/pi/Desktop/images/25012025/11/09/image_25012025_11_09_02_212997_0001.jpg', '/home/pi/Desktop/images/25012025/11/09/image_25012025_11_09_02_212997_0002.jpg', '/home/pi/Desktop/images/25012025/11/09/image_25012025_11_09_02_212997_0003.jpg', '/home/pi/Desktop/images/25012025/11/10/image_25012025_11_10_02_383491_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/08/image_25012025_11_08_03_048049_0003.jpg
/home/pi/Desktop/images/25012025/11/09/image_25012025_11_09_02_212997_0000.jpg
/home/pi/Desktop/images/25012025/11/09/image_25012025_11_09_02_212997_0001.jpg
/home/pi/Desktop/images/25012025/11/09/image_25012025_11_09_02_212997_0002.jpg
/home/pi/Desktop/images/25012025/11/09/image_25012025_11_09_02_212997_0003.jpg
/home/pi/Desktop/images/25012025/11/10/image_25012025_11_10_02_383491_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331320687","1331320678","1331320674","1331320691","1331320682","1331320685"],"photo_ids_order":["1331320674","1331320678","1331320682","1331320685","1331320687","1331320691"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7040c3ffe1fce30da8f29cfe6c737d5c.jpg","text":"TemporaryFile(/tmp/multipartBody6516347953078269771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802957490,"filename":"image_25012025_11_09_02_212997_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/db8527c0931f684e367d771628e1a498.jpg","text":"TemporaryFile(/tmp/multipartBody193183838034865607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802957490,"filename":"image_25012025_11_09_02_212997_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cc15ced2172d2f32cb6d88aa1c9cac23.jpg","text":"TemporaryFile(/tmp/multipartBody6314952489072487268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802957490,"filename":"image_25012025_11_08_03_048049_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a96fc0548943720945049c7a78957b60.jpg","text":"TemporaryFile(/tmp/multipartBody8168403020752056007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802957490,"filename":"image_25012025_11_10_02_383491_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/94082c3e8a40731dced2af67fe70ed6f.jpg","text":"TemporaryFile(/tmp/multipartBody3504380187318089244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802957490,"filename":"image_25012025_11_09_02_212997_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ff2c49de1924883ecdc3616212ffe1e7.jpg","text":"TemporaryFile(/tmp/multipartBody3047100853673254816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737802957490,"filename":"image_25012025_11_09_02_212997_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331320682","file1":"1331320678","file0":"1331320674","file4":"1331320687","file5":"1331320691","file3":"1331320685"},"map_files_photo_id_array":[{"photo_id":"1331320691","filename":"file5"},{"photo_id":"1331320682","filename":"file2"},{"photo_id":"1331320687","filename":"file4"},{"photo_id":"1331320678","filename":"file1"},{"photo_id":"1331320674","filename":"file0"},{"photo_id":"1331320685","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331320687":["hashtag1","hashtag2"]},{"1331320678":["hashtag1","hashtag2"]},{"1331320674":["hashtag1","hashtag2"]},{"1331320691":["hashtag1","hashtag2"]},{"1331320682":["hashtag1","hashtag2"]},{"1331320685":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331320687, 1331320678, 1331320674, 1331320691, 1331320682, 1331320685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.10105872154236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 12:02:22.404722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/10/image_25012025_11_10_02_383491_0001.jpg', '/home/pi/Desktop/images/25012025/11/10/image_25012025_11_10_02_383491_0002.jpg', '/home/pi/Desktop/images/25012025/11/10/image_25012025_11_10_02_383491_0003.jpg', '/home/pi/Desktop/images/25012025/11/11/image_25012025_11_11_02_647576_0000.jpg', '/home/pi/Desktop/images/25012025/11/11/image_25012025_11_11_02_647576_0001.jpg', '/home/pi/Desktop/images/25012025/11/11/image_25012025_11_11_02_647576_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/10/image_25012025_11_10_02_383491_0001.jpg
/home/pi/Desktop/images/25012025/11/10/image_25012025_11_10_02_383491_0002.jpg
/home/pi/Desktop/images/25012025/11/10/image_25012025_11_10_02_383491_0003.jpg
/home/pi/Desktop/images/25012025/11/11/image_25012025_11_11_02_647576_0000.jpg
/home/pi/Desktop/images/25012025/11/11/image_25012025_11_11_02_647576_0001.jpg
/home/pi/Desktop/images/25012025/11/11/image_25012025_11_11_02_647576_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 [200]>
b'{"photo_ids":["1331321912","1331321443","1331321101","1331321780","1331321921","1331321915"],"photo_ids_order":["1331321101","1331321443","1331321780","1331321912","1331321915","1331321921"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5025ace6f3f47915b80a1b5e5dac3349.jpg","text":"TemporaryFile(/tmp/multipartBody863594646312776086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803018663,"filename":"image_25012025_11_11_02_647576_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b0354e72282378e3efe427395adde2fb.jpg","text":"TemporaryFile(/tmp/multipartBody3981799758739170628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803018663,"filename":"image_25012025_11_10_02_383491_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/28c89b27422944a8eb914315648277a1.jpg","text":"TemporaryFile(/tmp/multipartBody6689594956729900385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803018663,"filename":"image_25012025_11_10_02_383491_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/216197aba6b38376b4699ef077729bd6.jpg","text":"TemporaryFile(/tmp/multipartBody1264331748126239131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803018663,"filename":"image_25012025_11_10_02_383491_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/99c880b1ac0816fb7b146d71aeba7111.jpg","text":"TemporaryFile(/tmp/multipartBody8711455514100740289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803018663,"filename":"image_25012025_11_11_02_647576_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/be9f4abf086c1dd399efbb9e4de552ff.jpg","text":"TemporaryFile(/tmp/multipartBody1632850811795540264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803018663,"filename":"image_25012025_11_11_02_647576_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331321780","file1":"1331321443","file0":"1331321101","file4":"1331321915","file5":"1331321921","file3":"1331321912"},"map_files_photo_id_array":[{"photo_id":"1331321921","filename":"file5"},{"photo_id":"1331321780","filename":"file2"},{"photo_id":"1331321915","filename":"file4"},{"photo_id":"1331321443","filename":"file1"},{"photo_id":"1331321101","filename":"file0"},{"photo_id":"1331321912","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331321912":["hashtag1","hashtag2"]},{"1331321443":["hashtag1","hashtag2"]},{"1331321101":["hashtag1","hashtag2"]},{"1331321780":["hashtag1","hashtag2"]},{"1331321921":["hashtag1","hashtag2"]},{"1331321915":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331321912, 1331321443, 1331321101, 1331321780, 1331321921, 1331321915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.35687518119812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 12:03:22.540267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/11/image_25012025_11_11_02_647576_0003.jpg', '/home/pi/Desktop/images/25012025/11/12/image_25012025_11_12_02_782767_0000.jpg', '/home/pi/Desktop/images/25012025/11/12/image_25012025_11_12_02_782767_0001.jpg', '/home/pi/Desktop/images/25012025/11/12/image_25012025_11_12_02_782767_0002.jpg', '/home/pi/Desktop/images/25012025/11/12/image_25012025_11_12_02_782767_0003.jpg', '/home/pi/Desktop/images/25012025/11/13/image_25012025_11_13_03_002449_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/11/image_25012025_11_11_02_647576_0003.jpg
/home/pi/Desktop/images/25012025/11/12/image_25012025_11_12_02_782767_0000.jpg
/home/pi/Desktop/images/25012025/11/12/image_25012025_11_12_02_782767_0001.jpg
/home/pi/Desktop/images/25012025/11/12/image_25012025_11_12_02_782767_0002.jpg
/home/pi/Desktop/images/25012025/11/12/image_25012025_11_12_02_782767_0003.jpg
/home/pi/Desktop/images/25012025/11/13/image_25012025_11_13_03_002449_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 [200]>
b'{"photo_ids":["1331321953","1331321955","1331321949","1331321946","1331321951","1331321942"],"photo_ids_order":["1331321942","1331321946","1331321949","1331321951","1331321953","1331321955"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3feb25aef31ce1d8858407f28d681c8b.jpg","text":"TemporaryFile(/tmp/multipartBody4504594914185842711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803079558,"filename":"image_25012025_11_12_02_782767_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3482c6f32fbeeaca00aa431d0dc15a3f.jpg","text":"TemporaryFile(/tmp/multipartBody5475337928509298782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803079558,"filename":"image_25012025_11_13_03_002449_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fb4985de5f254886514c4268a0b68324.jpg","text":"TemporaryFile(/tmp/multipartBody6766571584113269822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803079558,"filename":"image_25012025_11_12_02_782767_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/237a5c811c03052aec593d6d7f333831.jpg","text":"TemporaryFile(/tmp/multipartBody2175934308138857088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803079558,"filename":"image_25012025_11_12_02_782767_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/85cbcf5a9a87c8aaaeb2690e0c3a5be6.jpg","text":"TemporaryFile(/tmp/multipartBody280005695533513192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803079558,"filename":"image_25012025_11_12_02_782767_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/447df87b7e0f7e9171773e6faa942115.jpg","text":"TemporaryFile(/tmp/multipartBody5838699517648830619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803079558,"filename":"image_25012025_11_11_02_647576_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331321949","file1":"1331321946","file0":"1331321942","file4":"1331321953","file5":"1331321955","file3":"1331321951"},"map_files_photo_id_array":[{"photo_id":"1331321955","filename":"file5"},{"photo_id":"1331321949","filename":"file2"},{"photo_id":"1331321953","filename":"file4"},{"photo_id":"1331321946","filename":"file1"},{"photo_id":"1331321942","filename":"file0"},{"photo_id":"1331321951","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331321953":["hashtag1","hashtag2"]},{"1331321955":["hashtag1","hashtag2"]},{"1331321949":["hashtag1","hashtag2"]},{"1331321946":["hashtag1","hashtag2"]},{"1331321951":["hashtag1","hashtag2"]},{"1331321942":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331321953, 1331321955, 1331321949, 1331321946, 1331321951, 1331321942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.186776876449585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 12:04:21.803931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/13/image_25012025_11_13_03_002449_0001.jpg', '/home/pi/Desktop/images/25012025/11/13/image_25012025_11_13_03_002449_0002.jpg', '/home/pi/Desktop/images/25012025/11/13/image_25012025_11_13_03_002449_0003.jpg', '/home/pi/Desktop/images/25012025/11/14/image_25012025_11_14_02_205947_0000.jpg', '/home/pi/Desktop/images/25012025/11/14/image_25012025_11_14_02_205947_0001.jpg', '/home/pi/Desktop/images/25012025/11/14/image_25012025_11_14_02_205947_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/13/image_25012025_11_13_03_002449_0001.jpg
/home/pi/Desktop/images/25012025/11/13/image_25012025_11_13_03_002449_0002.jpg
/home/pi/Desktop/images/25012025/11/13/image_25012025_11_13_03_002449_0003.jpg
/home/pi/Desktop/images/25012025/11/14/image_25012025_11_14_02_205947_0000.jpg
/home/pi/Desktop/images/25012025/11/14/image_25012025_11_14_02_205947_0001.jpg
/home/pi/Desktop/images/25012025/11/14/image_25012025_11_14_02_205947_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 [200]>
b'{"photo_ids":["1331322433","1331321974","1331322888","1331322062","1331323319","1331321978"],"photo_ids_order":["1331321974","1331321978","1331322062","1331322433","1331322888","1331323319"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/887ec15a56067e755b627f01080a0de1.jpg","text":"TemporaryFile(/tmp/multipartBody1598398747437041882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803138551,"filename":"image_25012025_11_14_02_205947_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e7f631a58ae18f93318a130ea82290df.jpg","text":"TemporaryFile(/tmp/multipartBody7123491408868288098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803138551,"filename":"image_25012025_11_13_03_002449_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c799d7c9251b405720102647fbb25bd1.jpg","text":"TemporaryFile(/tmp/multipartBody1794327988559387140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803138551,"filename":"image_25012025_11_14_02_205947_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a625ab1ac2ab7955e447364027462045.jpg","text":"TemporaryFile(/tmp/multipartBody8144487179018803095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803138551,"filename":"image_25012025_11_13_03_002449_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/345518523f2dbf5c5023be2f47d15848.jpg","text":"TemporaryFile(/tmp/multipartBody3153760572756321837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803138551,"filename":"image_25012025_11_14_02_205947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/14b1fea709a2d25aac6338dde858340f.jpg","text":"TemporaryFile(/tmp/multipartBody6403312408367077774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803138551,"filename":"image_25012025_11_13_03_002449_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331322062","file1":"1331321978","file0":"1331321974","file4":"1331322888","file5":"1331323319","file3":"1331322433"},"map_files_photo_id_array":[{"photo_id":"1331323319","filename":"file5"},{"photo_id":"1331322062","filename":"file2"},{"photo_id":"1331322888","filename":"file4"},{"photo_id":"1331321978","filename":"file1"},{"photo_id":"1331321974","filename":"file0"},{"photo_id":"1331322433","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331322433":["hashtag1","hashtag2"]},{"1331321974":["hashtag1","hashtag2"]},{"1331322888":["hashtag1","hashtag2"]},{"1331322062":["hashtag1","hashtag2"]},{"1331323319":["hashtag1","hashtag2"]},{"1331321978":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331322433, 1331321974, 1331322888, 1331322062, 1331323319, 1331321978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.69538140296936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 12:05:22.082983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/14/image_25012025_11_14_02_205947_0003.jpg', '/home/pi/Desktop/images/25012025/11/15/image_25012025_11_15_02_389293_0000.jpg', '/home/pi/Desktop/images/25012025/11/15/image_25012025_11_15_02_389293_0001.jpg', '/home/pi/Desktop/images/25012025/11/15/image_25012025_11_15_02_389293_0002.jpg', '/home/pi/Desktop/images/25012025/11/15/image_25012025_11_15_02_389293_0003.jpg', '/home/pi/Desktop/images/25012025/11/16/image_25012025_11_16_02_556761_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/14/image_25012025_11_14_02_205947_0003.jpg
/home/pi/Desktop/images/25012025/11/15/image_25012025_11_15_02_389293_0000.jpg
/home/pi/Desktop/images/25012025/11/15/image_25012025_11_15_02_389293_0001.jpg
/home/pi/Desktop/images/25012025/11/15/image_25012025_11_15_02_389293_0002.jpg
/home/pi/Desktop/images/25012025/11/15/image_25012025_11_15_02_389293_0003.jpg
/home/pi/Desktop/images/25012025/11/16/image_25012025_11_16_02_556761_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 [200]>
b'{"photo_ids":["1331323698","1331323644","1331323719","1331323648","1331323540","1331323834"],"photo_ids_order":["1331323540","1331323644","1331323648","1331323698","1331323719","1331323834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1b0534580a43b12703bf5b4c50b8a9e0.jpg","text":"TemporaryFile(/tmp/multipartBody7286637733564564560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803198620,"filename":"image_25012025_11_15_02_389293_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cea50a2c0da526fc57bdd823eecbc2bd.jpg","text":"TemporaryFile(/tmp/multipartBody297685224681767844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803198620,"filename":"image_25012025_11_15_02_389293_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f254c50753a135b525917a41a4934af6.jpg","text":"TemporaryFile(/tmp/multipartBody4942484325569978002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803198620,"filename":"image_25012025_11_15_02_389293_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b35286b68c664541115bffd6d18bfa62.jpg","text":"TemporaryFile(/tmp/multipartBody4573631342733579284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803198620,"filename":"image_25012025_11_15_02_389293_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/58151797c2625bf39fddcdc7233e6ddb.jpg","text":"TemporaryFile(/tmp/multipartBody7220061195268411261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803198620,"filename":"image_25012025_11_14_02_205947_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e1632fa60ea12cab850a95e30791c283.jpg","text":"TemporaryFile(/tmp/multipartBody5994305030472290517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803198620,"filename":"image_25012025_11_16_02_556761_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331323648","file1":"1331323644","file0":"1331323540","file4":"1331323719","file5":"1331323834","file3":"1331323698"},"map_files_photo_id_array":[{"photo_id":"1331323834","filename":"file5"},{"photo_id":"1331323648","filename":"file2"},{"photo_id":"1331323719","filename":"file4"},{"photo_id":"1331323644","filename":"file1"},{"photo_id":"1331323540","filename":"file0"},{"photo_id":"1331323698","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331323698":["hashtag1","hashtag2"]},{"1331323644":["hashtag1","hashtag2"]},{"1331323719":["hashtag1","hashtag2"]},{"1331323648":["hashtag1","hashtag2"]},{"1331323540":["hashtag1","hashtag2"]},{"1331323834":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331323698, 1331323644, 1331323719, 1331323648, 1331323540, 1331323834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.693843364715576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 12:06:22.197021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/16/image_25012025_11_16_02_556761_0001.jpg', '/home/pi/Desktop/images/25012025/11/16/image_25012025_11_16_02_556761_0002.jpg', '/home/pi/Desktop/images/25012025/11/16/image_25012025_11_16_02_556761_0003.jpg', '/home/pi/Desktop/images/25012025/11/17/image_25012025_11_17_02_792856_0000.jpg', '/home/pi/Desktop/images/25012025/11/17/image_25012025_11_17_02_792856_0001.jpg', '/home/pi/Desktop/images/25012025/11/17/image_25012025_11_17_02_792856_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/16/image_25012025_11_16_02_556761_0001.jpg
/home/pi/Desktop/images/25012025/11/16/image_25012025_11_16_02_556761_0002.jpg
/home/pi/Desktop/images/25012025/11/16/image_25012025_11_16_02_556761_0003.jpg
/home/pi/Desktop/images/25012025/11/17/image_25012025_11_17_02_792856_0000.jpg
/home/pi/Desktop/images/25012025/11/17/image_25012025_11_17_02_792856_0001.jpg
/home/pi/Desktop/images/25012025/11/17/image_25012025_11_17_02_792856_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 [200]>
b'{"photo_ids":["1331324109","1331324080","1331324083","1331324097","1331324104","1331324067"],"photo_ids_order":["1331324067","1331324080","1331324083","1331324097","1331324104","1331324109"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ca5d8bddb89d998b9e6a4d6930be2e13.jpg","text":"TemporaryFile(/tmp/multipartBody3772297980586113995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803258742,"filename":"image_25012025_11_17_02_792856_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eac3ae2f932cd6d46a2a29476b1eff85.jpg","text":"TemporaryFile(/tmp/multipartBody455664837068671359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803258742,"filename":"image_25012025_11_16_02_556761_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7712bb1b5a6fb0faf5ae80953343caa3.jpg","text":"TemporaryFile(/tmp/multipartBody1103663689341074165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803258742,"filename":"image_25012025_11_16_02_556761_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ee76f2e866917424ad62fe974ff51a27.jpg","text":"TemporaryFile(/tmp/multipartBody8693254019810829153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803258742,"filename":"image_25012025_11_17_02_792856_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c13583893eebc9f8b1e1e961b86568ac.jpg","text":"TemporaryFile(/tmp/multipartBody2951426164683294983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803258742,"filename":"image_25012025_11_17_02_792856_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3e399e2b2fb51e9a8be6c40f83a25ee2.jpg","text":"TemporaryFile(/tmp/multipartBody2166838833462439909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803258742,"filename":"image_25012025_11_16_02_556761_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331324083","file1":"1331324080","file0":"1331324067","file4":"1331324104","file5":"1331324109","file3":"1331324097"},"map_files_photo_id_array":[{"photo_id":"1331324109","filename":"file5"},{"photo_id":"1331324083","filename":"file2"},{"photo_id":"1331324104","filename":"file4"},{"photo_id":"1331324080","filename":"file1"},{"photo_id":"1331324067","filename":"file0"},{"photo_id":"1331324097","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331324109":["hashtag1","hashtag2"]},{"1331324080":["hashtag1","hashtag2"]},{"1331324083":["hashtag1","hashtag2"]},{"1331324097":["hashtag1","hashtag2"]},{"1331324104":["hashtag1","hashtag2"]},{"1331324067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331324109, 1331324080, 1331324083, 1331324097, 1331324104, 1331324067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.121896266937256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 12:07:22.390032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/17/image_25012025_11_17_02_792856_0003.jpg', '/home/pi/Desktop/images/25012025/11/18/image_25012025_11_18_02_911841_0000.jpg', '/home/pi/Desktop/images/25012025/11/18/image_25012025_11_18_02_911841_0001.jpg', '/home/pi/Desktop/images/25012025/11/18/image_25012025_11_18_02_911841_0002.jpg', '/home/pi/Desktop/images/25012025/11/18/image_25012025_11_18_02_911841_0003.jpg', '/home/pi/Desktop/images/25012025/11/19/image_25012025_11_19_03_113095_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/17/image_25012025_11_17_02_792856_0003.jpg
/home/pi/Desktop/images/25012025/11/18/image_25012025_11_18_02_911841_0000.jpg
/home/pi/Desktop/images/25012025/11/18/image_25012025_11_18_02_911841_0001.jpg
/home/pi/Desktop/images/25012025/11/18/image_25012025_11_18_02_911841_0002.jpg
/home/pi/Desktop/images/25012025/11/18/image_25012025_11_18_02_911841_0003.jpg
/home/pi/Desktop/images/25012025/11/19/image_25012025_11_19_03_113095_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 [200]>
b'{"photo_ids":["1331324220","1331324211","1331324205","1331324207","1331324201","1331324204"],"photo_ids_order":["1331324201","1331324204","1331324205","1331324207","1331324211","1331324220"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5e892b12cecf3df11da7c894fa291d64.jpg","text":"TemporaryFile(/tmp/multipartBody3254810975143486636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803319310,"filename":"image_25012025_11_19_03_113095_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b15d8f0124972d7c447c644cb4c23a9c.jpg","text":"TemporaryFile(/tmp/multipartBody4666701708624342714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803319310,"filename":"image_25012025_11_18_02_911841_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/34bbf3377cd8ddb5260737ffa9039f3e.jpg","text":"TemporaryFile(/tmp/multipartBody9192640960300889239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803319310,"filename":"image_25012025_11_18_02_911841_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c1255e386caf5181712c1ecdc6381eef.jpg","text":"TemporaryFile(/tmp/multipartBody9082325637871263393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803319310,"filename":"image_25012025_11_18_02_911841_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0bfdb91c1c4f50d5c098034ebfe0541f.jpg","text":"TemporaryFile(/tmp/multipartBody3658127300834025906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803319310,"filename":"image_25012025_11_17_02_792856_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c2bd08e768985c21d4fe8676ef37e695.jpg","text":"TemporaryFile(/tmp/multipartBody106550739879222395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803319310,"filename":"image_25012025_11_18_02_911841_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331324205","file1":"1331324204","file0":"1331324201","file4":"1331324211","file5":"1331324220","file3":"1331324207"},"map_files_photo_id_array":[{"photo_id":"1331324220","filename":"file5"},{"photo_id":"1331324205","filename":"file2"},{"photo_id":"1331324211","filename":"file4"},{"photo_id":"1331324204","filename":"file1"},{"photo_id":"1331324201","filename":"file0"},{"photo_id":"1331324207","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331324220":["hashtag1","hashtag2"]},{"1331324211":["hashtag1","hashtag2"]},{"1331324205":["hashtag1","hashtag2"]},{"1331324207":["hashtag1","hashtag2"]},{"1331324201":["hashtag1","hashtag2"]},{"1331324204":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331324220, 1331324211, 1331324205, 1331324207, 1331324201, 1331324204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.18561577796936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 12:08:22.553112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/19/image_25012025_11_19_03_113095_0001.jpg', '/home/pi/Desktop/images/25012025/11/19/image_25012025_11_19_03_113095_0002.jpg', '/home/pi/Desktop/images/25012025/11/19/image_25012025_11_19_03_113095_0003.jpg', '/home/pi/Desktop/images/25012025/11/20/image_25012025_11_20_02_235232_0000.jpg', '/home/pi/Desktop/images/25012025/11/20/image_25012025_11_20_02_235232_0001.jpg', '/home/pi/Desktop/images/25012025/11/20/image_25012025_11_20_02_235232_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/19/image_25012025_11_19_03_113095_0001.jpg
/home/pi/Desktop/images/25012025/11/19/image_25012025_11_19_03_113095_0002.jpg
/home/pi/Desktop/images/25012025/11/19/image_25012025_11_19_03_113095_0003.jpg
/home/pi/Desktop/images/25012025/11/20/image_25012025_11_20_02_235232_0000.jpg
/home/pi/Desktop/images/25012025/11/20/image_25012025_11_20_02_235232_0001.jpg
/home/pi/Desktop/images/25012025/11/20/image_25012025_11_20_02_235232_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331324282","1331324287","1331324446","1331324515","1331324509","1331324350"],"photo_ids_order":["1331324282","1331324287","1331324350","1331324446","1331324509","1331324515"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ba2e76c698a47eea55d256a00fb76bcb.jpg","text":"TemporaryFile(/tmp/multipartBody2524657465029296945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803379304,"filename":"image_25012025_11_19_03_113095_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/45c9a3303d52ce4f7f3492e504970de3.jpg","text":"TemporaryFile(/tmp/multipartBody5723307329488615096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803379304,"filename":"image_25012025_11_19_03_113095_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5fc607fcb8d4695055be175b35820d2c.jpg","text":"TemporaryFile(/tmp/multipartBody6397228888824307153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803379304,"filename":"image_25012025_11_20_02_235232_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/14fd8e90ff877fa4269db0258dc7d2e0.jpg","text":"TemporaryFile(/tmp/multipartBody8535963345739435964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803379304,"filename":"image_25012025_11_20_02_235232_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4c17e0404c5443d0b5610a6340009b6e.jpg","text":"TemporaryFile(/tmp/multipartBody5897747922641456899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803379304,"filename":"image_25012025_11_20_02_235232_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fa47ed26851761ef96c53c58f3bd13f5.jpg","text":"TemporaryFile(/tmp/multipartBody2460953110837647852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803379304,"filename":"image_25012025_11_19_03_113095_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331324350","file1":"1331324287","file0":"1331324282","file4":"1331324509","file5":"1331324515","file3":"1331324446"},"map_files_photo_id_array":[{"photo_id":"1331324515","filename":"file5"},{"photo_id":"1331324350","filename":"file2"},{"photo_id":"1331324509","filename":"file4"},{"photo_id":"1331324287","filename":"file1"},{"photo_id":"1331324282","filename":"file0"},{"photo_id":"1331324446","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331324282":["hashtag1","hashtag2"]},{"1331324287":["hashtag1","hashtag2"]},{"1331324446":["hashtag1","hashtag2"]},{"1331324515":["hashtag1","hashtag2"]},{"1331324509":["hashtag1","hashtag2"]},{"1331324350":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331324282, 1331324287, 1331324446, 1331324515, 1331324509, 1331324350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.38346076011658 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:09:32.658207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/20/image_25012025_11_20_02_235232_0003.jpg', '/home/pi/Desktop/images/25012025/11/21/image_25012025_11_21_02_482765_0000.jpg', '/home/pi/Desktop/images/25012025/11/21/image_25012025_11_21_02_482765_0001.jpg', '/home/pi/Desktop/images/25012025/11/21/image_25012025_11_21_02_482765_0002.jpg', '/home/pi/Desktop/images/25012025/11/21/image_25012025_11_21_02_482765_0003.jpg', '/home/pi/Desktop/images/25012025/11/22/image_25012025_11_22_02_665674_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/20/image_25012025_11_20_02_235232_0003.jpg
/home/pi/Desktop/images/25012025/11/21/image_25012025_11_21_02_482765_0000.jpg
/home/pi/Desktop/images/25012025/11/21/image_25012025_11_21_02_482765_0001.jpg
/home/pi/Desktop/images/25012025/11/21/image_25012025_11_21_02_482765_0002.jpg
/home/pi/Desktop/images/25012025/11/21/image_25012025_11_21_02_482765_0003.jpg
/home/pi/Desktop/images/25012025/11/22/image_25012025_11_22_02_665674_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 [200]>
b'{"photo_ids":["1331324607","1331324588","1331324603","1331324600","1331324595","1331324598"],"photo_ids_order":["1331324588","1331324595","1331324598","1331324600","1331324603","1331324607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6ab5bf2e7166b883b74e9110f7b9e05c.jpg","text":"TemporaryFile(/tmp/multipartBody7501978945222060159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803449547,"filename":"image_25012025_11_22_02_665674_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9d4c527ee3b29a6a15d381a710bbf8e1.jpg","text":"TemporaryFile(/tmp/multipartBody3629233462315174578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803449547,"filename":"image_25012025_11_20_02_235232_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d4e2a8fe56c3e9c77bad1cdde2ea938c.jpg","text":"TemporaryFile(/tmp/multipartBody4546549524865792784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803449547,"filename":"image_25012025_11_21_02_482765_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/36c576e56a5b68743fa7f03a7419af97.jpg","text":"TemporaryFile(/tmp/multipartBody7572134509744040045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803449547,"filename":"image_25012025_11_21_02_482765_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/06870d49a5a19f18fde18708f478c71b.jpg","text":"TemporaryFile(/tmp/multipartBody5054058639583714231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803449547,"filename":"image_25012025_11_21_02_482765_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a1156190925f62e02939d81143cc03b3.jpg","text":"TemporaryFile(/tmp/multipartBody550224599449070210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803449547,"filename":"image_25012025_11_21_02_482765_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331324598","file1":"1331324595","file0":"1331324588","file4":"1331324603","file5":"1331324607","file3":"1331324600"},"map_files_photo_id_array":[{"photo_id":"1331324607","filename":"file5"},{"photo_id":"1331324598","filename":"file2"},{"photo_id":"1331324603","filename":"file4"},{"photo_id":"1331324595","filename":"file1"},{"photo_id":"1331324588","filename":"file0"},{"photo_id":"1331324600","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331324607":["hashtag1","hashtag2"]},{"1331324588":["hashtag1","hashtag2"]},{"1331324603":["hashtag1","hashtag2"]},{"1331324600":["hashtag1","hashtag2"]},{"1331324595":["hashtag1","hashtag2"]},{"1331324598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331324607, 1331324588, 1331324603, 1331324600, 1331324595, 1331324598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.226844787597656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:10:31.712331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/22/image_25012025_11_22_02_665674_0001.jpg', '/home/pi/Desktop/images/25012025/11/22/image_25012025_11_22_02_665674_0002.jpg', '/home/pi/Desktop/images/25012025/11/22/image_25012025_11_22_02_665674_0003.jpg', '/home/pi/Desktop/images/25012025/11/23/image_25012025_11_23_02_890655_0000.jpg', '/home/pi/Desktop/images/25012025/11/23/image_25012025_11_23_02_890655_0001.jpg', '/home/pi/Desktop/images/25012025/11/23/image_25012025_11_23_02_890655_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/22/image_25012025_11_22_02_665674_0001.jpg
/home/pi/Desktop/images/25012025/11/22/image_25012025_11_22_02_665674_0002.jpg
/home/pi/Desktop/images/25012025/11/22/image_25012025_11_22_02_665674_0003.jpg
/home/pi/Desktop/images/25012025/11/23/image_25012025_11_23_02_890655_0000.jpg
/home/pi/Desktop/images/25012025/11/23/image_25012025_11_23_02_890655_0001.jpg
/home/pi/Desktop/images/25012025/11/23/image_25012025_11_23_02_890655_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 [200]>
b'{"photo_ids":["1331324673","1331324667","1331324682","1331324676","1331324679","1331324670"],"photo_ids_order":["1331324667","1331324670","1331324673","1331324676","1331324679","1331324682"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e5853daaea19c6455a8cef4556cbc964.jpg","text":"TemporaryFile(/tmp/multipartBody9204972847642101326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803508303,"filename":"image_25012025_11_22_02_665674_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e82758b5f3b18fc723b44009188d8157.jpg","text":"TemporaryFile(/tmp/multipartBody8402811429930472320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803508303,"filename":"image_25012025_11_22_02_665674_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b71563b83e070f22b76eec144a2500c0.jpg","text":"TemporaryFile(/tmp/multipartBody6202512735972667806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803508303,"filename":"image_25012025_11_23_02_890655_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e6d21e17aa5110bbeef0bccba775c090.jpg","text":"TemporaryFile(/tmp/multipartBody6306722341585579449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803508303,"filename":"image_25012025_11_23_02_890655_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ba43c105a88303dda51fd2a98a2de15a.jpg","text":"TemporaryFile(/tmp/multipartBody4349944912504403439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803508303,"filename":"image_25012025_11_23_02_890655_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b0e4d9008334ea49f87ec647cd0d48c7.jpg","text":"TemporaryFile(/tmp/multipartBody1963226498083321484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803508303,"filename":"image_25012025_11_22_02_665674_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331324673","file1":"1331324670","file0":"1331324667","file4":"1331324679","file5":"1331324682","file3":"1331324676"},"map_files_photo_id_array":[{"photo_id":"1331324682","filename":"file5"},{"photo_id":"1331324673","filename":"file2"},{"photo_id":"1331324679","filename":"file4"},{"photo_id":"1331324670","filename":"file1"},{"photo_id":"1331324667","filename":"file0"},{"photo_id":"1331324676","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331324673":["hashtag1","hashtag2"]},{"1331324667":["hashtag1","hashtag2"]},{"1331324682":["hashtag1","hashtag2"]},{"1331324676":["hashtag1","hashtag2"]},{"1331324679":["hashtag1","hashtag2"]},{"1331324670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331324673, 1331324667, 1331324682, 1331324676, 1331324679, 1331324670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.37878727912903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:11:32.011893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/23/image_25012025_11_23_02_890655_0003.jpg', '/home/pi/Desktop/images/25012025/11/24/image_25012025_11_24_03_035796_0000.jpg', '/home/pi/Desktop/images/25012025/11/24/image_25012025_11_24_03_035796_0001.jpg', '/home/pi/Desktop/images/25012025/11/24/image_25012025_11_24_03_035796_0002.jpg', '/home/pi/Desktop/images/25012025/11/24/image_25012025_11_24_03_035796_0003.jpg', '/home/pi/Desktop/images/25012025/11/25/image_25012025_11_25_02_100676_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/23/image_25012025_11_23_02_890655_0003.jpg
/home/pi/Desktop/images/25012025/11/24/image_25012025_11_24_03_035796_0000.jpg
/home/pi/Desktop/images/25012025/11/24/image_25012025_11_24_03_035796_0001.jpg
/home/pi/Desktop/images/25012025/11/24/image_25012025_11_24_03_035796_0002.jpg
/home/pi/Desktop/images/25012025/11/24/image_25012025_11_24_03_035796_0003.jpg
/home/pi/Desktop/images/25012025/11/25/image_25012025_11_25_02_100676_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 [200]>
b'{"photo_ids":["1331324700","1331324732","1331324702","1331324707","1331324716","1331324704"],"photo_ids_order":["1331324700","1331324702","1331324704","1331324707","1331324716","1331324732"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a00543cb2a621d39531b7043a2210912.jpg","text":"TemporaryFile(/tmp/multipartBody5548021709654677818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803568800,"filename":"image_25012025_11_23_02_890655_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ed2c24ddad3faf413d604ba6e2aff6d6.jpg","text":"TemporaryFile(/tmp/multipartBody5885493965887029497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803568800,"filename":"image_25012025_11_25_02_100676_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8e58b0ca6fa4872d49c302109847c83a.jpg","text":"TemporaryFile(/tmp/multipartBody2361741877295474010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803568800,"filename":"image_25012025_11_24_03_035796_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8d2b8563f67de3b0b82af55324327e67.jpg","text":"TemporaryFile(/tmp/multipartBody5558803013740888465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803568800,"filename":"image_25012025_11_24_03_035796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8d0426cfd8ca192415e9f9686d1184e4.jpg","text":"TemporaryFile(/tmp/multipartBody8658916907217141047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803568800,"filename":"image_25012025_11_24_03_035796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/183c9c520a191263398352627a81d240.jpg","text":"TemporaryFile(/tmp/multipartBody5191765344739770010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803568800,"filename":"image_25012025_11_24_03_035796_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331324704","file1":"1331324702","file0":"1331324700","file4":"1331324716","file5":"1331324732","file3":"1331324707"},"map_files_photo_id_array":[{"photo_id":"1331324732","filename":"file5"},{"photo_id":"1331324704","filename":"file2"},{"photo_id":"1331324716","filename":"file4"},{"photo_id":"1331324702","filename":"file1"},{"photo_id":"1331324700","filename":"file0"},{"photo_id":"1331324707","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331324700":["hashtag1","hashtag2"]},{"1331324732":["hashtag1","hashtag2"]},{"1331324702":["hashtag1","hashtag2"]},{"1331324707":["hashtag1","hashtag2"]},{"1331324716":["hashtag1","hashtag2"]},{"1331324704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331324700, 1331324732, 1331324702, 1331324707, 1331324716, 1331324704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.22798228263855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:12:32.238916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/25/image_25012025_11_25_02_100676_0001.jpg', '/home/pi/Desktop/images/25012025/11/25/image_25012025_11_25_02_100676_0002.jpg', '/home/pi/Desktop/images/25012025/11/25/image_25012025_11_25_02_100676_0003.jpg', '/home/pi/Desktop/images/25012025/11/26/image_25012025_11_26_02_391251_0000.jpg', '/home/pi/Desktop/images/25012025/11/26/image_25012025_11_26_02_391251_0001.jpg', '/home/pi/Desktop/images/25012025/11/26/image_25012025_11_26_02_391251_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/25/image_25012025_11_25_02_100676_0001.jpg
/home/pi/Desktop/images/25012025/11/25/image_25012025_11_25_02_100676_0002.jpg
/home/pi/Desktop/images/25012025/11/25/image_25012025_11_25_02_100676_0003.jpg
/home/pi/Desktop/images/25012025/11/26/image_25012025_11_26_02_391251_0000.jpg
/home/pi/Desktop/images/25012025/11/26/image_25012025_11_26_02_391251_0001.jpg
/home/pi/Desktop/images/25012025/11/26/image_25012025_11_26_02_391251_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 [200]>
b'{"photo_ids":["1331324937","1331324944","1331324932","1331324929","1331324940","1331324934"],"photo_ids_order":["1331324929","1331324932","1331324934","1331324937","1331324940","1331324944"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e4125888646190dd1987334e1722da9b.jpg","text":"TemporaryFile(/tmp/multipartBody6369079306499791251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803628845,"filename":"image_25012025_11_26_02_391251_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8309e8cf7d6a1d52dd1f2d200740f30b.jpg","text":"TemporaryFile(/tmp/multipartBody3495138694980111266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803628845,"filename":"image_25012025_11_26_02_391251_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2b0efb1eaa537f29d9a71b931088b21a.jpg","text":"TemporaryFile(/tmp/multipartBody6154440409098157629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803628845,"filename":"image_25012025_11_25_02_100676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1a3657faa089323e2f22102dcb4200d0.jpg","text":"TemporaryFile(/tmp/multipartBody5684243280747197368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803628845,"filename":"image_25012025_11_25_02_100676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f345f9c73afd64a605408afe9421e7d8.jpg","text":"TemporaryFile(/tmp/multipartBody8351646248932460112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803628845,"filename":"image_25012025_11_26_02_391251_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/da285c91bad8f652465f1d882a27d38b.jpg","text":"TemporaryFile(/tmp/multipartBody7369651527199205160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803628845,"filename":"image_25012025_11_25_02_100676_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331324934","file1":"1331324932","file0":"1331324929","file4":"1331324940","file5":"1331324944","file3":"1331324937"},"map_files_photo_id_array":[{"photo_id":"1331324944","filename":"file5"},{"photo_id":"1331324934","filename":"file2"},{"photo_id":"1331324940","filename":"file4"},{"photo_id":"1331324932","filename":"file1"},{"photo_id":"1331324929","filename":"file0"},{"photo_id":"1331324937","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331324937":["hashtag1","hashtag2"]},{"1331324944":["hashtag1","hashtag2"]},{"1331324932":["hashtag1","hashtag2"]},{"1331324929":["hashtag1","hashtag2"]},{"1331324940":["hashtag1","hashtag2"]},{"1331324934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331324937, 1331324944, 1331324932, 1331324929, 1331324940, 1331324934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.53037786483765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:13:32.376697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/26/image_25012025_11_26_02_391251_0003.jpg', '/home/pi/Desktop/images/25012025/11/27/image_25012025_11_27_02_537372_0000.jpg', '/home/pi/Desktop/images/25012025/11/27/image_25012025_11_27_02_537372_0001.jpg', '/home/pi/Desktop/images/25012025/11/27/image_25012025_11_27_02_537372_0002.jpg', '/home/pi/Desktop/images/25012025/11/27/image_25012025_11_27_02_537372_0003.jpg', '/home/pi/Desktop/images/25012025/11/28/image_25012025_11_28_02_694025_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/26/image_25012025_11_26_02_391251_0003.jpg
/home/pi/Desktop/images/25012025/11/27/image_25012025_11_27_02_537372_0000.jpg
/home/pi/Desktop/images/25012025/11/27/image_25012025_11_27_02_537372_0001.jpg
/home/pi/Desktop/images/25012025/11/27/image_25012025_11_27_02_537372_0002.jpg
/home/pi/Desktop/images/25012025/11/27/image_25012025_11_27_02_537372_0003.jpg
/home/pi/Desktop/images/25012025/11/28/image_25012025_11_28_02_694025_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 [200]>
b'{"photo_ids":["1331325167","1331325179","1331325170","1331325160","1331325183","1331325174"],"photo_ids_order":["1331325160","1331325167","1331325170","1331325174","1331325179","1331325183"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3699e99a6b1606c60bc00eaa35d81885.jpg","text":"TemporaryFile(/tmp/multipartBody4758364308658507773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803689037,"filename":"image_25012025_11_27_02_537372_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a0ed23fb2494952c87ddfa0e95f55abd.jpg","text":"TemporaryFile(/tmp/multipartBody5664395277155078045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803689037,"filename":"image_25012025_11_27_02_537372_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3ee1773c67042d78e1b5cea541db0b62.jpg","text":"TemporaryFile(/tmp/multipartBody8921731629882139676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803689037,"filename":"image_25012025_11_27_02_537372_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9ad1b05b7ee8817eec8fef870c6bd132.jpg","text":"TemporaryFile(/tmp/multipartBody1159539831507364237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803689037,"filename":"image_25012025_11_26_02_391251_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a7630be4540f0bae155076162cf637cc.jpg","text":"TemporaryFile(/tmp/multipartBody1730099774263174758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803689037,"filename":"image_25012025_11_28_02_694025_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9f448bc810beac04b7c07b6e2419af3e.jpg","text":"TemporaryFile(/tmp/multipartBody3103958391988938247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803689037,"filename":"image_25012025_11_27_02_537372_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331325170","file1":"1331325167","file0":"1331325160","file4":"1331325179","file5":"1331325183","file3":"1331325174"},"map_files_photo_id_array":[{"photo_id":"1331325183","filename":"file5"},{"photo_id":"1331325170","filename":"file2"},{"photo_id":"1331325179","filename":"file4"},{"photo_id":"1331325167","filename":"file1"},{"photo_id":"1331325160","filename":"file0"},{"photo_id":"1331325174","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331325167":["hashtag1","hashtag2"]},{"1331325179":["hashtag1","hashtag2"]},{"1331325170":["hashtag1","hashtag2"]},{"1331325160":["hashtag1","hashtag2"]},{"1331325183":["hashtag1","hashtag2"]},{"1331325174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331325167, 1331325179, 1331325170, 1331325160, 1331325183, 1331325174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.930620431900024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:14:32.600868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/28/image_25012025_11_28_02_694025_0001.jpg', '/home/pi/Desktop/images/25012025/11/28/image_25012025_11_28_02_694025_0002.jpg', '/home/pi/Desktop/images/25012025/11/28/image_25012025_11_28_02_694025_0003.jpg', '/home/pi/Desktop/images/25012025/11/29/image_25012025_11_29_02_922513_0000.jpg', '/home/pi/Desktop/images/25012025/11/29/image_25012025_11_29_02_922513_0001.jpg', '/home/pi/Desktop/images/25012025/11/29/image_25012025_11_29_02_922513_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/28/image_25012025_11_28_02_694025_0001.jpg
/home/pi/Desktop/images/25012025/11/28/image_25012025_11_28_02_694025_0002.jpg
/home/pi/Desktop/images/25012025/11/28/image_25012025_11_28_02_694025_0003.jpg
/home/pi/Desktop/images/25012025/11/29/image_25012025_11_29_02_922513_0000.jpg
/home/pi/Desktop/images/25012025/11/29/image_25012025_11_29_02_922513_0001.jpg
/home/pi/Desktop/images/25012025/11/29/image_25012025_11_29_02_922513_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 [200]>
b'{"photo_ids":["1331325219","1331325212","1331325215","1331325202","1331325205","1331325208"],"photo_ids_order":["1331325202","1331325205","1331325208","1331325212","1331325215","1331325219"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/509c53faf10afcffa4ffb16a82a8fc8b.jpg","text":"TemporaryFile(/tmp/multipartBody9119390532827119035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803749290,"filename":"image_25012025_11_29_02_922513_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0719784d7eb13d5dd766f186c2a5cd7b.jpg","text":"TemporaryFile(/tmp/multipartBody6422681116453925024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803749290,"filename":"image_25012025_11_29_02_922513_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8c3175721c0e4aa81fc2c6235fc93eb7.jpg","text":"TemporaryFile(/tmp/multipartBody5006024510912253745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803749290,"filename":"image_25012025_11_29_02_922513_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ad53245950648b6b77f5250359791624.jpg","text":"TemporaryFile(/tmp/multipartBody8237611872202134460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803749290,"filename":"image_25012025_11_28_02_694025_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e6995a10f4282e0a4d4b022a87efe2ee.jpg","text":"TemporaryFile(/tmp/multipartBody6146192603951621036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803749290,"filename":"image_25012025_11_28_02_694025_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/802dd33683eaa5669222bbccafdd2aa0.jpg","text":"TemporaryFile(/tmp/multipartBody8339014251154163053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803749290,"filename":"image_25012025_11_28_02_694025_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331325208","file1":"1331325205","file0":"1331325202","file4":"1331325215","file5":"1331325219","file3":"1331325212"},"map_files_photo_id_array":[{"photo_id":"1331325219","filename":"file5"},{"photo_id":"1331325208","filename":"file2"},{"photo_id":"1331325215","filename":"file4"},{"photo_id":"1331325205","filename":"file1"},{"photo_id":"1331325202","filename":"file0"},{"photo_id":"1331325212","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331325219":["hashtag1","hashtag2"]},{"1331325212":["hashtag1","hashtag2"]},{"1331325215":["hashtag1","hashtag2"]},{"1331325202":["hashtag1","hashtag2"]},{"1331325205":["hashtag1","hashtag2"]},{"1331325208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331325219, 1331325212, 1331325215, 1331325202, 1331325205, 1331325208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.001243591308594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:15:31.849910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/29/image_25012025_11_29_02_922513_0003.jpg', '/home/pi/Desktop/images/25012025/11/30/image_25012025_11_30_03_030342_0000.jpg', '/home/pi/Desktop/images/25012025/11/30/image_25012025_11_30_03_030342_0001.jpg', '/home/pi/Desktop/images/25012025/11/30/image_25012025_11_30_03_030342_0002.jpg', '/home/pi/Desktop/images/25012025/11/30/image_25012025_11_30_03_030342_0003.jpg', '/home/pi/Desktop/images/25012025/11/31/image_25012025_11_31_02_262809_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/29/image_25012025_11_29_02_922513_0003.jpg
/home/pi/Desktop/images/25012025/11/30/image_25012025_11_30_03_030342_0000.jpg
/home/pi/Desktop/images/25012025/11/30/image_25012025_11_30_03_030342_0001.jpg
/home/pi/Desktop/images/25012025/11/30/image_25012025_11_30_03_030342_0002.jpg
/home/pi/Desktop/images/25012025/11/30/image_25012025_11_30_03_030342_0003.jpg
/home/pi/Desktop/images/25012025/11/31/image_25012025_11_31_02_262809_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: 16.439646005630493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:15:51.765662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/29/image_25012025_11_29_02_922513_0003.jpg', '/home/pi/Desktop/images/25012025/11/30/image_25012025_11_30_03_030342_0000.jpg', '/home/pi/Desktop/images/25012025/11/30/image_25012025_11_30_03_030342_0001.jpg', '/home/pi/Desktop/images/25012025/11/30/image_25012025_11_30_03_030342_0002.jpg', '/home/pi/Desktop/images/25012025/11/30/image_25012025_11_30_03_030342_0003.jpg', '/home/pi/Desktop/images/25012025/11/31/image_25012025_11_31_02_262809_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/29/image_25012025_11_29_02_922513_0003.jpg
/home/pi/Desktop/images/25012025/11/30/image_25012025_11_30_03_030342_0000.jpg
/home/pi/Desktop/images/25012025/11/30/image_25012025_11_30_03_030342_0001.jpg
/home/pi/Desktop/images/25012025/11/30/image_25012025_11_30_03_030342_0002.jpg
/home/pi/Desktop/images/25012025/11/30/image_25012025_11_30_03_030342_0003.jpg
/home/pi/Desktop/images/25012025/11/31/image_25012025_11_31_02_262809_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 [200]>
b'{"photo_ids":["1331325725","1331325674","1331325707","1331325670","1331325678","1331325714"],"photo_ids_order":["1331325670","1331325674","1331325678","1331325707","1331325714","1331325725"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/55a9664808799176f7d3d10782e38fc5.jpg","text":"TemporaryFile(/tmp/multipartBody1550471103548947565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803828503,"filename":"image_25012025_11_31_02_262809_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8865c0809ced0a77501e39a438e36afa.jpg","text":"TemporaryFile(/tmp/multipartBody2332956876759235282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803828503,"filename":"image_25012025_11_30_03_030342_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/880af95b9ecc07d2e87044ddf4db33e0.jpg","text":"TemporaryFile(/tmp/multipartBody1515754218282259304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803828503,"filename":"image_25012025_11_30_03_030342_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3e34ac060f0912e439f2984395517969.jpg","text":"TemporaryFile(/tmp/multipartBody6553029247461911212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803828503,"filename":"image_25012025_11_29_02_922513_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b2ffc6d3ee04c54816bf1001d21fde7e.jpg","text":"TemporaryFile(/tmp/multipartBody1112815034016928676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803828503,"filename":"image_25012025_11_30_03_030342_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ef9f710e24f19fb707a0de406d764150.jpg","text":"TemporaryFile(/tmp/multipartBody1208222051445514107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803828503,"filename":"image_25012025_11_30_03_030342_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331325678","file1":"1331325674","file0":"1331325670","file4":"1331325714","file5":"1331325725","file3":"1331325707"},"map_files_photo_id_array":[{"photo_id":"1331325725","filename":"file5"},{"photo_id":"1331325678","filename":"file2"},{"photo_id":"1331325714","filename":"file4"},{"photo_id":"1331325674","filename":"file1"},{"photo_id":"1331325670","filename":"file0"},{"photo_id":"1331325707","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331325725":["hashtag1","hashtag2"]},{"1331325674":["hashtag1","hashtag2"]},{"1331325707":["hashtag1","hashtag2"]},{"1331325670":["hashtag1","hashtag2"]},{"1331325678":["hashtag1","hashtag2"]},{"1331325714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331325725, 1331325674, 1331325707, 1331325670, 1331325678, 1331325714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.82548666000366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:16:51.963347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/31/image_25012025_11_31_02_262809_0001.jpg', '/home/pi/Desktop/images/25012025/11/31/image_25012025_11_31_02_262809_0002.jpg', '/home/pi/Desktop/images/25012025/11/31/image_25012025_11_31_02_262809_0003.jpg', '/home/pi/Desktop/images/25012025/11/32/image_25012025_11_32_02_373561_0000.jpg', '/home/pi/Desktop/images/25012025/11/32/image_25012025_11_32_02_373561_0001.jpg', '/home/pi/Desktop/images/25012025/11/32/image_25012025_11_32_02_373561_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/31/image_25012025_11_31_02_262809_0001.jpg
/home/pi/Desktop/images/25012025/11/31/image_25012025_11_31_02_262809_0002.jpg
/home/pi/Desktop/images/25012025/11/31/image_25012025_11_31_02_262809_0003.jpg
/home/pi/Desktop/images/25012025/11/32/image_25012025_11_32_02_373561_0000.jpg
/home/pi/Desktop/images/25012025/11/32/image_25012025_11_32_02_373561_0001.jpg
/home/pi/Desktop/images/25012025/11/32/image_25012025_11_32_02_373561_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: 15.713158369064331 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 12:17:22.178193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/31/image_25012025_11_31_02_262809_0001.jpg', '/home/pi/Desktop/images/25012025/11/31/image_25012025_11_31_02_262809_0002.jpg', '/home/pi/Desktop/images/25012025/11/31/image_25012025_11_31_02_262809_0003.jpg', '/home/pi/Desktop/images/25012025/11/32/image_25012025_11_32_02_373561_0000.jpg', '/home/pi/Desktop/images/25012025/11/32/image_25012025_11_32_02_373561_0001.jpg', '/home/pi/Desktop/images/25012025/11/32/image_25012025_11_32_02_373561_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/31/image_25012025_11_31_02_262809_0001.jpg
/home/pi/Desktop/images/25012025/11/31/image_25012025_11_31_02_262809_0002.jpg
/home/pi/Desktop/images/25012025/11/31/image_25012025_11_31_02_262809_0003.jpg
/home/pi/Desktop/images/25012025/11/32/image_25012025_11_32_02_373561_0000.jpg
/home/pi/Desktop/images/25012025/11/32/image_25012025_11_32_02_373561_0001.jpg
/home/pi/Desktop/images/25012025/11/32/image_25012025_11_32_02_373561_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 [200]>
b'{"photo_ids":["1331325807","1331325799","1331325802","1331325805","1331325814","1331325810"],"photo_ids_order":["1331325799","1331325802","1331325805","1331325807","1331325810","1331325814"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e2162990bbc0bc67efba85d2e228a890.jpg","text":"TemporaryFile(/tmp/multipartBody7379726530030575985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803918145,"filename":"image_25012025_11_32_02_373561_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8f01692e0c94c652be2f5b60ca4401c0.jpg","text":"TemporaryFile(/tmp/multipartBody1889770928847171518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803918145,"filename":"image_25012025_11_31_02_262809_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3064e790baf0b55c3be361ca2d999b30.jpg","text":"TemporaryFile(/tmp/multipartBody2397566314626160842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803918145,"filename":"image_25012025_11_31_02_262809_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7790e5d23bc8b1cec6319fd3d096d552.jpg","text":"TemporaryFile(/tmp/multipartBody9193506091389358976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803918145,"filename":"image_25012025_11_31_02_262809_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/548a6ff88897a4aeae971bb6532493db.jpg","text":"TemporaryFile(/tmp/multipartBody5476162956033447890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803918145,"filename":"image_25012025_11_32_02_373561_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/915e089147771f460d54bd9ca49247dd.jpg","text":"TemporaryFile(/tmp/multipartBody4960034062079415341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803918145,"filename":"image_25012025_11_32_02_373561_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331325805","file1":"1331325802","file0":"1331325799","file4":"1331325810","file5":"1331325814","file3":"1331325807"},"map_files_photo_id_array":[{"photo_id":"1331325814","filename":"file5"},{"photo_id":"1331325805","filename":"file2"},{"photo_id":"1331325810","filename":"file4"},{"photo_id":"1331325802","filename":"file1"},{"photo_id":"1331325799","filename":"file0"},{"photo_id":"1331325807","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331325807":["hashtag1","hashtag2"]},{"1331325799":["hashtag1","hashtag2"]},{"1331325802":["hashtag1","hashtag2"]},{"1331325805":["hashtag1","hashtag2"]},{"1331325814":["hashtag1","hashtag2"]},{"1331325810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331325807, 1331325799, 1331325802, 1331325805, 1331325814, 1331325810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.62324380874634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 12:18:22.363600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/32/image_25012025_11_32_02_373561_0003.jpg', '/home/pi/Desktop/images/25012025/11/33/image_25012025_11_33_02_649129_0000.jpg', '/home/pi/Desktop/images/25012025/11/33/image_25012025_11_33_02_649129_0001.jpg', '/home/pi/Desktop/images/25012025/11/33/image_25012025_11_33_02_649129_0002.jpg', '/home/pi/Desktop/images/25012025/11/33/image_25012025_11_33_02_649129_0003.jpg', '/home/pi/Desktop/images/25012025/11/34/image_25012025_11_34_02_707709_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/32/image_25012025_11_32_02_373561_0003.jpg
/home/pi/Desktop/images/25012025/11/33/image_25012025_11_33_02_649129_0000.jpg
/home/pi/Desktop/images/25012025/11/33/image_25012025_11_33_02_649129_0001.jpg
/home/pi/Desktop/images/25012025/11/33/image_25012025_11_33_02_649129_0002.jpg
/home/pi/Desktop/images/25012025/11/33/image_25012025_11_33_02_649129_0003.jpg
/home/pi/Desktop/images/25012025/11/34/image_25012025_11_34_02_707709_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 [200]>
b'{"photo_ids":["1331325830","1331325841","1331325835","1331325850","1331325852","1331325846"],"photo_ids_order":["1331325830","1331325835","1331325841","1331325846","1331325850","1331325852"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5cdf1fd699bb41c9e09ca324813bb659.jpg","text":"TemporaryFile(/tmp/multipartBody150621946387531631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803979163,"filename":"image_25012025_11_32_02_373561_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/12020aa23ea09b8a6738324af0fff746.jpg","text":"TemporaryFile(/tmp/multipartBody7642826378513925876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803979163,"filename":"image_25012025_11_33_02_649129_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/73ea198d43bfb19258258b40ce382ac2.jpg","text":"TemporaryFile(/tmp/multipartBody4400329061609159744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803979163,"filename":"image_25012025_11_33_02_649129_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0d2226c0212f5ca611f806b357083103.jpg","text":"TemporaryFile(/tmp/multipartBody628647829195077756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803979163,"filename":"image_25012025_11_33_02_649129_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b76b894aba0dd9a1225ac0cb0f4ce007.jpg","text":"TemporaryFile(/tmp/multipartBody8916304131824166164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803979163,"filename":"image_25012025_11_34_02_707709_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/63fec8c6a8f67411421ba4ed2e64924c.jpg","text":"TemporaryFile(/tmp/multipartBody7652266499713902117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737803979163,"filename":"image_25012025_11_33_02_649129_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331325841","file1":"1331325835","file0":"1331325830","file4":"1331325850","file5":"1331325852","file3":"1331325846"},"map_files_photo_id_array":[{"photo_id":"1331325852","filename":"file5"},{"photo_id":"1331325841","filename":"file2"},{"photo_id":"1331325850","filename":"file4"},{"photo_id":"1331325835","filename":"file1"},{"photo_id":"1331325830","filename":"file0"},{"photo_id":"1331325846","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331325830":["hashtag1","hashtag2"]},{"1331325841":["hashtag1","hashtag2"]},{"1331325835":["hashtag1","hashtag2"]},{"1331325850":["hashtag1","hashtag2"]},{"1331325852":["hashtag1","hashtag2"]},{"1331325846":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331325830, 1331325841, 1331325835, 1331325850, 1331325852, 1331325846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.941304206848145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 12:19:22.524411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/34/image_25012025_11_34_02_707709_0001.jpg', '/home/pi/Desktop/images/25012025/11/34/image_25012025_11_34_02_707709_0002.jpg', '/home/pi/Desktop/images/25012025/11/34/image_25012025_11_34_02_707709_0003.jpg', '/home/pi/Desktop/images/25012025/11/35/image_25012025_11_35_02_888174_0000.jpg', '/home/pi/Desktop/images/25012025/11/35/image_25012025_11_35_02_888174_0001.jpg', '/home/pi/Desktop/images/25012025/11/35/image_25012025_11_35_02_888174_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/34/image_25012025_11_34_02_707709_0001.jpg
/home/pi/Desktop/images/25012025/11/34/image_25012025_11_34_02_707709_0002.jpg
/home/pi/Desktop/images/25012025/11/34/image_25012025_11_34_02_707709_0003.jpg
/home/pi/Desktop/images/25012025/11/35/image_25012025_11_35_02_888174_0000.jpg
/home/pi/Desktop/images/25012025/11/35/image_25012025_11_35_02_888174_0001.jpg
/home/pi/Desktop/images/25012025/11/35/image_25012025_11_35_02_888174_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 [200]>
b'{"photo_ids":["1331325917","1331325920","1331325914","1331325910","1331325907","1331325903"],"photo_ids_order":["1331325903","1331325907","1331325910","1331325914","1331325917","1331325920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fecd79a2077fe8f4bb2b048794f40129.jpg","text":"TemporaryFile(/tmp/multipartBody1437909609262129494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804039209,"filename":"image_25012025_11_35_02_888174_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b36923a47146a770dfaa3fbd2d6fda38.jpg","text":"TemporaryFile(/tmp/multipartBody7303072587009193500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804039209,"filename":"image_25012025_11_35_02_888174_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cf9da7f71129a9350897484178270fed.jpg","text":"TemporaryFile(/tmp/multipartBody7948213157375831263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804039209,"filename":"image_25012025_11_35_02_888174_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9306c7cec6c14638b7925bfeec83124f.jpg","text":"TemporaryFile(/tmp/multipartBody3946312265081489745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804039209,"filename":"image_25012025_11_34_02_707709_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5f248273b8437efd9d4ea7b045e21636.jpg","text":"TemporaryFile(/tmp/multipartBody1117864614834450421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804039209,"filename":"image_25012025_11_34_02_707709_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/98e6706b6ede5c21dbb4bb3b8222f03a.jpg","text":"TemporaryFile(/tmp/multipartBody8876506467865635806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804039209,"filename":"image_25012025_11_34_02_707709_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331325910","file1":"1331325907","file0":"1331325903","file4":"1331325917","file5":"1331325920","file3":"1331325914"},"map_files_photo_id_array":[{"photo_id":"1331325920","filename":"file5"},{"photo_id":"1331325910","filename":"file2"},{"photo_id":"1331325917","filename":"file4"},{"photo_id":"1331325907","filename":"file1"},{"photo_id":"1331325903","filename":"file0"},{"photo_id":"1331325914","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331325917":["hashtag1","hashtag2"]},{"1331325920":["hashtag1","hashtag2"]},{"1331325914":["hashtag1","hashtag2"]},{"1331325910":["hashtag1","hashtag2"]},{"1331325907":["hashtag1","hashtag2"]},{"1331325903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331325917, 1331325920, 1331325914, 1331325910, 1331325907, 1331325903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.29748868942261 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 12:20:22.725903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/35/image_25012025_11_35_02_888174_0003.jpg', '/home/pi/Desktop/images/25012025/11/36/image_25012025_11_36_03_022519_0000.jpg', '/home/pi/Desktop/images/25012025/11/36/image_25012025_11_36_03_022519_0001.jpg', '/home/pi/Desktop/images/25012025/11/36/image_25012025_11_36_03_022519_0002.jpg', '/home/pi/Desktop/images/25012025/11/36/image_25012025_11_36_03_022519_0003.jpg', '/home/pi/Desktop/images/25012025/11/37/image_25012025_11_37_02_205049_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/35/image_25012025_11_35_02_888174_0003.jpg
/home/pi/Desktop/images/25012025/11/36/image_25012025_11_36_03_022519_0000.jpg
/home/pi/Desktop/images/25012025/11/36/image_25012025_11_36_03_022519_0001.jpg
/home/pi/Desktop/images/25012025/11/36/image_25012025_11_36_03_022519_0002.jpg
/home/pi/Desktop/images/25012025/11/36/image_25012025_11_36_03_022519_0003.jpg
/home/pi/Desktop/images/25012025/11/37/image_25012025_11_37_02_205049_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 [200]>
b'{"photo_ids":["1331326090","1331326084","1331326087","1331326075","1331326089","1331326080"],"photo_ids_order":["1331326075","1331326080","1331326084","1331326087","1331326089","1331326090"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/557a8490f43fdfee1e1cbfe58ef1c588.jpg","text":"TemporaryFile(/tmp/multipartBody4044254801245492074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804099189,"filename":"image_25012025_11_37_02_205049_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9ef28397e1465796bfb2b4576b05ed74.jpg","text":"TemporaryFile(/tmp/multipartBody331135071586430683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804099189,"filename":"image_25012025_11_36_03_022519_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/82a29b02179e879e5d3e6b4bc20ffeed.jpg","text":"TemporaryFile(/tmp/multipartBody5249372277226879571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804099189,"filename":"image_25012025_11_36_03_022519_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/968c27d5bc3568ddcc8c82afdca17d45.jpg","text":"TemporaryFile(/tmp/multipartBody1222722044924951938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804099189,"filename":"image_25012025_11_35_02_888174_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1ee351e0c3e00ff6e388f7b8787695de.jpg","text":"TemporaryFile(/tmp/multipartBody117519348598122278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804099189,"filename":"image_25012025_11_36_03_022519_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fec5e39d75c9c503a83a3c6109d0cd94.jpg","text":"TemporaryFile(/tmp/multipartBody1129274411384065755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804099189,"filename":"image_25012025_11_36_03_022519_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331326084","file1":"1331326080","file0":"1331326075","file4":"1331326089","file5":"1331326090","file3":"1331326087"},"map_files_photo_id_array":[{"photo_id":"1331326090","filename":"file5"},{"photo_id":"1331326084","filename":"file2"},{"photo_id":"1331326089","filename":"file4"},{"photo_id":"1331326080","filename":"file1"},{"photo_id":"1331326075","filename":"file0"},{"photo_id":"1331326087","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331326090":["hashtag1","hashtag2"]},{"1331326084":["hashtag1","hashtag2"]},{"1331326087":["hashtag1","hashtag2"]},{"1331326075":["hashtag1","hashtag2"]},{"1331326089":["hashtag1","hashtag2"]},{"1331326080":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331326090, 1331326084, 1331326087, 1331326075, 1331326089, 1331326080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.59144449234009 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 12:21:21.841831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/37/image_25012025_11_37_02_205049_0001.jpg', '/home/pi/Desktop/images/25012025/11/37/image_25012025_11_37_02_205049_0002.jpg', '/home/pi/Desktop/images/25012025/11/37/image_25012025_11_37_02_205049_0003.jpg', '/home/pi/Desktop/images/25012025/11/38/image_25012025_11_38_02_403786_0000.jpg', '/home/pi/Desktop/images/25012025/11/38/image_25012025_11_38_02_403786_0001.jpg', '/home/pi/Desktop/images/25012025/11/38/image_25012025_11_38_02_403786_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/37/image_25012025_11_37_02_205049_0001.jpg
/home/pi/Desktop/images/25012025/11/37/image_25012025_11_37_02_205049_0002.jpg
/home/pi/Desktop/images/25012025/11/37/image_25012025_11_37_02_205049_0003.jpg
/home/pi/Desktop/images/25012025/11/38/image_25012025_11_38_02_403786_0000.jpg
/home/pi/Desktop/images/25012025/11/38/image_25012025_11_38_02_403786_0001.jpg
/home/pi/Desktop/images/25012025/11/38/image_25012025_11_38_02_403786_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331326121","1331326100","1331326114","1331326108","1331326119","1331326116"],"photo_ids_order":["1331326100","1331326108","1331326114","1331326116","1331326119","1331326121"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/62948dd2f1e63bb673fee50065af2e24.jpg","text":"TemporaryFile(/tmp/multipartBody2502532420122812838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804158716,"filename":"image_25012025_11_38_02_403786_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/862a3ba7e6e67f77a6ee5d578536b3a3.jpg","text":"TemporaryFile(/tmp/multipartBody6729738640046482811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804158716,"filename":"image_25012025_11_37_02_205049_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c232904c784ba6c97cf93fcfccb10259.jpg","text":"TemporaryFile(/tmp/multipartBody7448586496521071911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804158716,"filename":"image_25012025_11_37_02_205049_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/806f56eb691811818b3e46ac8403f350.jpg","text":"TemporaryFile(/tmp/multipartBody9208527765612130400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804158716,"filename":"image_25012025_11_37_02_205049_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0682f5a4b77cd93bf6a80e46cd5e952a.jpg","text":"TemporaryFile(/tmp/multipartBody843355095482117631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804158716,"filename":"image_25012025_11_38_02_403786_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/705002781802d5eb463c5a4632527cce.jpg","text":"TemporaryFile(/tmp/multipartBody5130514112783309935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804158716,"filename":"image_25012025_11_38_02_403786_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331326114","file1":"1331326108","file0":"1331326100","file4":"1331326119","file5":"1331326121","file3":"1331326116"},"map_files_photo_id_array":[{"photo_id":"1331326121","filename":"file5"},{"photo_id":"1331326114","filename":"file2"},{"photo_id":"1331326119","filename":"file4"},{"photo_id":"1331326108","filename":"file1"},{"photo_id":"1331326100","filename":"file0"},{"photo_id":"1331326116","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331326121":["hashtag1","hashtag2"]},{"1331326100":["hashtag1","hashtag2"]},{"1331326114":["hashtag1","hashtag2"]},{"1331326108":["hashtag1","hashtag2"]},{"1331326119":["hashtag1","hashtag2"]},{"1331326116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331326121, 1331326100, 1331326114, 1331326108, 1331326119, 1331326116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.8204231262207 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:22:32.072479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/38/image_25012025_11_38_02_403786_0003.jpg', '/home/pi/Desktop/images/25012025/11/39/image_25012025_11_39_02_574482_0000.jpg', '/home/pi/Desktop/images/25012025/11/39/image_25012025_11_39_02_574482_0001.jpg', '/home/pi/Desktop/images/25012025/11/39/image_25012025_11_39_02_574482_0002.jpg', '/home/pi/Desktop/images/25012025/11/39/image_25012025_11_39_02_574482_0003.jpg', '/home/pi/Desktop/images/25012025/11/40/image_25012025_11_40_02_822893_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/38/image_25012025_11_38_02_403786_0003.jpg
/home/pi/Desktop/images/25012025/11/39/image_25012025_11_39_02_574482_0000.jpg
/home/pi/Desktop/images/25012025/11/39/image_25012025_11_39_02_574482_0001.jpg
/home/pi/Desktop/images/25012025/11/39/image_25012025_11_39_02_574482_0002.jpg
/home/pi/Desktop/images/25012025/11/39/image_25012025_11_39_02_574482_0003.jpg
/home/pi/Desktop/images/25012025/11/40/image_25012025_11_40_02_822893_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 [200]>
b'{"photo_ids":["1331326334","1331326343","1331326357","1331326173","1331326176","1331326170"],"photo_ids_order":["1331326170","1331326173","1331326176","1331326334","1331326343","1331326357"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4cd67f8f015722ff3e03905f7e5588db.jpg","text":"TemporaryFile(/tmp/multipartBody8623925459713441573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804229301,"filename":"image_25012025_11_39_02_574482_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8f30e62480eef9379f29f1c16f35e31e.jpg","text":"TemporaryFile(/tmp/multipartBody3705250960108288228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804229301,"filename":"image_25012025_11_39_02_574482_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0bf5adcd864ff47bed19cd767bd713f1.jpg","text":"TemporaryFile(/tmp/multipartBody1014497100453111961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804229301,"filename":"image_25012025_11_40_02_822893_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5de19d01f4146f36b2a82fc7b77fb795.jpg","text":"TemporaryFile(/tmp/multipartBody6078056930560649274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804229301,"filename":"image_25012025_11_39_02_574482_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/01f7d32709a4abe9e22ad00f563fa769.jpg","text":"TemporaryFile(/tmp/multipartBody7439353233483611933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804229301,"filename":"image_25012025_11_39_02_574482_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dedccc48c1732edd8ad60a40e36495c6.jpg","text":"TemporaryFile(/tmp/multipartBody1741087789136044498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804229301,"filename":"image_25012025_11_38_02_403786_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331326176","file1":"1331326173","file0":"1331326170","file4":"1331326343","file5":"1331326357","file3":"1331326334"},"map_files_photo_id_array":[{"photo_id":"1331326357","filename":"file5"},{"photo_id":"1331326176","filename":"file2"},{"photo_id":"1331326343","filename":"file4"},{"photo_id":"1331326173","filename":"file1"},{"photo_id":"1331326170","filename":"file0"},{"photo_id":"1331326334","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331326334":["hashtag1","hashtag2"]},{"1331326343":["hashtag1","hashtag2"]},{"1331326357":["hashtag1","hashtag2"]},{"1331326173":["hashtag1","hashtag2"]},{"1331326176":["hashtag1","hashtag2"]},{"1331326170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331326334, 1331326343, 1331326357, 1331326173, 1331326176, 1331326170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.91950702667236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:23:32.265440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/40/image_25012025_11_40_02_822893_0001.jpg', '/home/pi/Desktop/images/25012025/11/40/image_25012025_11_40_02_822893_0002.jpg', '/home/pi/Desktop/images/25012025/11/40/image_25012025_11_40_02_822893_0003.jpg', '/home/pi/Desktop/images/25012025/11/41/image_25012025_11_41_02_966274_0000.jpg', '/home/pi/Desktop/images/25012025/11/41/image_25012025_11_41_02_966274_0001.jpg', '/home/pi/Desktop/images/25012025/11/41/image_25012025_11_41_02_966274_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/40/image_25012025_11_40_02_822893_0001.jpg
/home/pi/Desktop/images/25012025/11/40/image_25012025_11_40_02_822893_0002.jpg
/home/pi/Desktop/images/25012025/11/40/image_25012025_11_40_02_822893_0003.jpg
/home/pi/Desktop/images/25012025/11/41/image_25012025_11_41_02_966274_0000.jpg
/home/pi/Desktop/images/25012025/11/41/image_25012025_11_41_02_966274_0001.jpg
/home/pi/Desktop/images/25012025/11/41/image_25012025_11_41_02_966274_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 [200]>
b'{"photo_ids":["1331326400","1331326403","1331326408","1331326394","1331326397","1331326391"],"photo_ids_order":["1331326391","1331326394","1331326397","1331326400","1331326403","1331326408"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9492d0a2dcbd1ef1fdd9eed9bedb9df8.jpg","text":"TemporaryFile(/tmp/multipartBody4501133909132457350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804288306,"filename":"image_25012025_11_41_02_966274_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c34da3ea6d4ae8a4c62227ce22b8f47f.jpg","text":"TemporaryFile(/tmp/multipartBody2337557979402074040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804288306,"filename":"image_25012025_11_41_02_966274_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fc074fdae5e281fa2a566bb8b302953a.jpg","text":"TemporaryFile(/tmp/multipartBody8904501535000422282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804288306,"filename":"image_25012025_11_41_02_966274_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bcad3d04fe7ef18b62d9f62d8192a7b8.jpg","text":"TemporaryFile(/tmp/multipartBody8623249144535476755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804288306,"filename":"image_25012025_11_40_02_822893_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/897c58bcda17750bdeaa8c769ad2ad2f.jpg","text":"TemporaryFile(/tmp/multipartBody1340741380470664709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804288306,"filename":"image_25012025_11_40_02_822893_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/406b4eac440afa061b43e910c4d6d7e3.jpg","text":"TemporaryFile(/tmp/multipartBody3735463107948341331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804288306,"filename":"image_25012025_11_40_02_822893_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331326397","file1":"1331326394","file0":"1331326391","file4":"1331326403","file5":"1331326408","file3":"1331326400"},"map_files_photo_id_array":[{"photo_id":"1331326408","filename":"file5"},{"photo_id":"1331326397","filename":"file2"},{"photo_id":"1331326403","filename":"file4"},{"photo_id":"1331326394","filename":"file1"},{"photo_id":"1331326391","filename":"file0"},{"photo_id":"1331326400","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331326400":["hashtag1","hashtag2"]},{"1331326403":["hashtag1","hashtag2"]},{"1331326408":["hashtag1","hashtag2"]},{"1331326394":["hashtag1","hashtag2"]},{"1331326397":["hashtag1","hashtag2"]},{"1331326391":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331326400, 1331326403, 1331326408, 1331326394, 1331326397, 1331326391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.38706636428833 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:24:32.405319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/41/image_25012025_11_41_02_966274_0003.jpg', '/home/pi/Desktop/images/25012025/11/42/image_25012025_11_42_02_182286_0000.jpg', '/home/pi/Desktop/images/25012025/11/42/image_25012025_11_42_02_182286_0001.jpg', '/home/pi/Desktop/images/25012025/11/42/image_25012025_11_42_02_182286_0002.jpg', '/home/pi/Desktop/images/25012025/11/42/image_25012025_11_42_02_182286_0003.jpg', '/home/pi/Desktop/images/25012025/11/43/image_25012025_11_43_02_405227_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/41/image_25012025_11_41_02_966274_0003.jpg
/home/pi/Desktop/images/25012025/11/42/image_25012025_11_42_02_182286_0000.jpg
/home/pi/Desktop/images/25012025/11/42/image_25012025_11_42_02_182286_0001.jpg
/home/pi/Desktop/images/25012025/11/42/image_25012025_11_42_02_182286_0002.jpg
/home/pi/Desktop/images/25012025/11/42/image_25012025_11_42_02_182286_0003.jpg
/home/pi/Desktop/images/25012025/11/43/image_25012025_11_43_02_405227_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 [200]>
b'{"photo_ids":["1331326436","1331326441","1331326432","1331326429","1331326446","1331326451"],"photo_ids_order":["1331326429","1331326432","1331326436","1331326441","1331326446","1331326451"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/68a1fa50968133498fac74248f0e192c.jpg","text":"TemporaryFile(/tmp/multipartBody5535439853777107420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804349169,"filename":"image_25012025_11_42_02_182286_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7e0b84e604b65d4850f6c1670645e417.jpg","text":"TemporaryFile(/tmp/multipartBody6042649425848303195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804349169,"filename":"image_25012025_11_42_02_182286_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c6254ad393b0fa5d9b8c9ddcb16af3cd.jpg","text":"TemporaryFile(/tmp/multipartBody3925901233857393471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804349169,"filename":"image_25012025_11_42_02_182286_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f09f7c679ff26c6ff83c1be282035ae2.jpg","text":"TemporaryFile(/tmp/multipartBody8153676005433707031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804349169,"filename":"image_25012025_11_41_02_966274_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/15f65599904647d9fb082362c456a455.jpg","text":"TemporaryFile(/tmp/multipartBody5746871781176718886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804349169,"filename":"image_25012025_11_42_02_182286_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/78e4f16b6274c383aca1d998c4100027.jpg","text":"TemporaryFile(/tmp/multipartBody5853472727582488359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804349169,"filename":"image_25012025_11_43_02_405227_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331326436","file1":"1331326432","file0":"1331326429","file4":"1331326446","file5":"1331326451","file3":"1331326441"},"map_files_photo_id_array":[{"photo_id":"1331326451","filename":"file5"},{"photo_id":"1331326436","filename":"file2"},{"photo_id":"1331326446","filename":"file4"},{"photo_id":"1331326432","filename":"file1"},{"photo_id":"1331326429","filename":"file0"},{"photo_id":"1331326441","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331326436":["hashtag1","hashtag2"]},{"1331326441":["hashtag1","hashtag2"]},{"1331326432":["hashtag1","hashtag2"]},{"1331326429":["hashtag1","hashtag2"]},{"1331326446":["hashtag1","hashtag2"]},{"1331326451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331326436, 1331326441, 1331326432, 1331326429, 1331326446, 1331326451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.03878355026245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:25:32.558274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/43/image_25012025_11_43_02_405227_0001.jpg', '/home/pi/Desktop/images/25012025/11/43/image_25012025_11_43_02_405227_0002.jpg', '/home/pi/Desktop/images/25012025/11/43/image_25012025_11_43_02_405227_0003.jpg', '/home/pi/Desktop/images/25012025/11/44/image_25012025_11_44_02_617106_0000.jpg', '/home/pi/Desktop/images/25012025/11/44/image_25012025_11_44_02_617106_0001.jpg', '/home/pi/Desktop/images/25012025/11/44/image_25012025_11_44_02_617106_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/43/image_25012025_11_43_02_405227_0001.jpg
/home/pi/Desktop/images/25012025/11/43/image_25012025_11_43_02_405227_0002.jpg
/home/pi/Desktop/images/25012025/11/43/image_25012025_11_43_02_405227_0003.jpg
/home/pi/Desktop/images/25012025/11/44/image_25012025_11_44_02_617106_0000.jpg
/home/pi/Desktop/images/25012025/11/44/image_25012025_11_44_02_617106_0001.jpg
/home/pi/Desktop/images/25012025/11/44/image_25012025_11_44_02_617106_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 [200]>
b'{"photo_ids":["1331326651","1331326660","1331326663","1331326647","1331326655","1331326643"],"photo_ids_order":["1331326643","1331326647","1331326651","1331326655","1331326660","1331326663"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/970652ac2e586553923e467785ece3bb.jpg","text":"TemporaryFile(/tmp/multipartBody6580037798618775251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804408856,"filename":"image_25012025_11_43_02_405227_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2c3d10e610c5f3b0a1f2404d2ad52ac2.jpg","text":"TemporaryFile(/tmp/multipartBody2095065666983809372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804408856,"filename":"image_25012025_11_44_02_617106_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a154b2c9fa5d8256302c2c973cccca6f.jpg","text":"TemporaryFile(/tmp/multipartBody3929569621872145910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804408856,"filename":"image_25012025_11_44_02_617106_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0400299bf1178a0ef45730e838a06df9.jpg","text":"TemporaryFile(/tmp/multipartBody5283003078418343403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804408856,"filename":"image_25012025_11_43_02_405227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dbeff986c632d1d451d3c25a0b568687.jpg","text":"TemporaryFile(/tmp/multipartBody2893230422082768983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804408856,"filename":"image_25012025_11_44_02_617106_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1b322c2c198a932c8d745756bb41afc8.jpg","text":"TemporaryFile(/tmp/multipartBody2632694992884577691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804408856,"filename":"image_25012025_11_43_02_405227_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331326651","file1":"1331326647","file0":"1331326643","file4":"1331326660","file5":"1331326663","file3":"1331326655"},"map_files_photo_id_array":[{"photo_id":"1331326663","filename":"file5"},{"photo_id":"1331326651","filename":"file2"},{"photo_id":"1331326660","filename":"file4"},{"photo_id":"1331326647","filename":"file1"},{"photo_id":"1331326643","filename":"file0"},{"photo_id":"1331326655","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331326651":["hashtag1","hashtag2"]},{"1331326660":["hashtag1","hashtag2"]},{"1331326663":["hashtag1","hashtag2"]},{"1331326647":["hashtag1","hashtag2"]},{"1331326655":["hashtag1","hashtag2"]},{"1331326643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331326651, 1331326660, 1331326663, 1331326647, 1331326655, 1331326643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.367939710617065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:26:31.776502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/44/image_25012025_11_44_02_617106_0003.jpg', '/home/pi/Desktop/images/25012025/11/45/image_25012025_11_45_02_793790_0000.jpg', '/home/pi/Desktop/images/25012025/11/45/image_25012025_11_45_02_793790_0001.jpg', '/home/pi/Desktop/images/25012025/11/45/image_25012025_11_45_02_793790_0002.jpg', '/home/pi/Desktop/images/25012025/11/45/image_25012025_11_45_02_793790_0003.jpg', '/home/pi/Desktop/images/25012025/11/46/image_25012025_11_46_02_984940_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/44/image_25012025_11_44_02_617106_0003.jpg
/home/pi/Desktop/images/25012025/11/45/image_25012025_11_45_02_793790_0000.jpg
/home/pi/Desktop/images/25012025/11/45/image_25012025_11_45_02_793790_0001.jpg
/home/pi/Desktop/images/25012025/11/45/image_25012025_11_45_02_793790_0002.jpg
/home/pi/Desktop/images/25012025/11/45/image_25012025_11_45_02_793790_0003.jpg
/home/pi/Desktop/images/25012025/11/46/image_25012025_11_46_02_984940_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 [200]>
b'{"photo_ids":["1331326680","1331326683","1331326677","1331326691","1331326694","1331326688"],"photo_ids_order":["1331326677","1331326680","1331326683","1331326688","1331326691","1331326694"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9e5d39956395e61e6189c5a734511086.jpg","text":"TemporaryFile(/tmp/multipartBody8334265212705711998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804468726,"filename":"image_25012025_11_45_02_793790_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/320fbbc0c2dfa741a2aba806cfec5bea.jpg","text":"TemporaryFile(/tmp/multipartBody5506233119405281359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804468726,"filename":"image_25012025_11_45_02_793790_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/581007b5f81ed457edebafa33f3166ce.jpg","text":"TemporaryFile(/tmp/multipartBody180568785883259855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804468726,"filename":"image_25012025_11_44_02_617106_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2d77ed5297448c4684d7dbf173ade354.jpg","text":"TemporaryFile(/tmp/multipartBody3838590894849690186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804468726,"filename":"image_25012025_11_45_02_793790_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/72caad6bb91111910178d7834e871b22.jpg","text":"TemporaryFile(/tmp/multipartBody174680279693411718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804468726,"filename":"image_25012025_11_46_02_984940_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/de4fdba1bc5a594ce0183b62366093a6.jpg","text":"TemporaryFile(/tmp/multipartBody2721225007190984798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804468726,"filename":"image_25012025_11_45_02_793790_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331326683","file1":"1331326680","file0":"1331326677","file4":"1331326691","file5":"1331326694","file3":"1331326688"},"map_files_photo_id_array":[{"photo_id":"1331326694","filename":"file5"},{"photo_id":"1331326683","filename":"file2"},{"photo_id":"1331326691","filename":"file4"},{"photo_id":"1331326680","filename":"file1"},{"photo_id":"1331326677","filename":"file0"},{"photo_id":"1331326688","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331326680":["hashtag1","hashtag2"]},{"1331326683":["hashtag1","hashtag2"]},{"1331326677":["hashtag1","hashtag2"]},{"1331326691":["hashtag1","hashtag2"]},{"1331326694":["hashtag1","hashtag2"]},{"1331326688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331326680, 1331326683, 1331326677, 1331326691, 1331326694, 1331326688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.844584226608276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:27:31.939807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/46/image_25012025_11_46_02_984940_0001.jpg', '/home/pi/Desktop/images/25012025/11/46/image_25012025_11_46_02_984940_0002.jpg', '/home/pi/Desktop/images/25012025/11/46/image_25012025_11_46_02_984940_0003.jpg', '/home/pi/Desktop/images/25012025/11/47/image_25012025_11_47_02_164958_0000.jpg', '/home/pi/Desktop/images/25012025/11/47/image_25012025_11_47_02_164958_0001.jpg', '/home/pi/Desktop/images/25012025/11/47/image_25012025_11_47_02_164958_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/46/image_25012025_11_46_02_984940_0001.jpg
/home/pi/Desktop/images/25012025/11/46/image_25012025_11_46_02_984940_0002.jpg
/home/pi/Desktop/images/25012025/11/46/image_25012025_11_46_02_984940_0003.jpg
/home/pi/Desktop/images/25012025/11/47/image_25012025_11_47_02_164958_0000.jpg
/home/pi/Desktop/images/25012025/11/47/image_25012025_11_47_02_164958_0001.jpg
/home/pi/Desktop/images/25012025/11/47/image_25012025_11_47_02_164958_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 [200]>
b'{"photo_ids":["1331326712","1331326715","1331326717","1331326728","1331326722","1331326736"],"photo_ids_order":["1331326712","1331326715","1331326717","1331326722","1331326728","1331326736"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ced9132305e004d2b46f414aa7abb84b.jpg","text":"TemporaryFile(/tmp/multipartBody8074610923259661992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804528721,"filename":"image_25012025_11_46_02_984940_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/485c3d837d5d0259f76a2e55a1bdfad6.jpg","text":"TemporaryFile(/tmp/multipartBody2183913041471683182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804528721,"filename":"image_25012025_11_46_02_984940_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c3fd22a43e5bc354b4243a9002880da.jpg","text":"TemporaryFile(/tmp/multipartBody1960243712367956608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804528721,"filename":"image_25012025_11_46_02_984940_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eeedc1488b7a6867c7484e2d4cffae8b.jpg","text":"TemporaryFile(/tmp/multipartBody2951068848396159753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804528721,"filename":"image_25012025_11_47_02_164958_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a27b7c7fc7c40752b9a0f75c4098f0d4.jpg","text":"TemporaryFile(/tmp/multipartBody9213794965671713251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804528721,"filename":"image_25012025_11_47_02_164958_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/97a76198b6d9b9b0dbcdb4802e1de7db.jpg","text":"TemporaryFile(/tmp/multipartBody7372977071509009234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804528721,"filename":"image_25012025_11_47_02_164958_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331326717","file1":"1331326715","file0":"1331326712","file4":"1331326728","file5":"1331326736","file3":"1331326722"},"map_files_photo_id_array":[{"photo_id":"1331326736","filename":"file5"},{"photo_id":"1331326717","filename":"file2"},{"photo_id":"1331326728","filename":"file4"},{"photo_id":"1331326715","filename":"file1"},{"photo_id":"1331326712","filename":"file0"},{"photo_id":"1331326722","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331326712":["hashtag1","hashtag2"]},{"1331326715":["hashtag1","hashtag2"]},{"1331326717":["hashtag1","hashtag2"]},{"1331326728":["hashtag1","hashtag2"]},{"1331326722":["hashtag1","hashtag2"]},{"1331326736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331326712, 1331326715, 1331326717, 1331326728, 1331326722, 1331326736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.55644392967224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:28:32.129985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/47/image_25012025_11_47_02_164958_0003.jpg', '/home/pi/Desktop/images/25012025/11/48/image_25012025_11_48_02_389746_0000.jpg', '/home/pi/Desktop/images/25012025/11/48/image_25012025_11_48_02_389746_0001.jpg', '/home/pi/Desktop/images/25012025/11/48/image_25012025_11_48_02_389746_0002.jpg', '/home/pi/Desktop/images/25012025/11/48/image_25012025_11_48_02_389746_0003.jpg', '/home/pi/Desktop/images/25012025/11/49/image_25012025_11_49_02_623158_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/47/image_25012025_11_47_02_164958_0003.jpg
/home/pi/Desktop/images/25012025/11/48/image_25012025_11_48_02_389746_0000.jpg
/home/pi/Desktop/images/25012025/11/48/image_25012025_11_48_02_389746_0001.jpg
/home/pi/Desktop/images/25012025/11/48/image_25012025_11_48_02_389746_0002.jpg
/home/pi/Desktop/images/25012025/11/48/image_25012025_11_48_02_389746_0003.jpg
/home/pi/Desktop/images/25012025/11/49/image_25012025_11_49_02_623158_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 [200]>
b'{"photo_ids":["1331326850","1331326795","1331327059","1331327053","1331326825","1331326804"],"photo_ids_order":["1331326795","1331326804","1331326825","1331326850","1331327053","1331327059"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/24f37bfff8bef646e6840c3bc2d85fe2.jpg","text":"TemporaryFile(/tmp/multipartBody616482875190937205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804588931,"filename":"image_25012025_11_48_02_389746_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a0c2878e6d6985823754cea6ad6b3167.jpg","text":"TemporaryFile(/tmp/multipartBody5734697023777711388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804588931,"filename":"image_25012025_11_47_02_164958_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ad608d9c62dac930e0114894ab657517.jpg","text":"TemporaryFile(/tmp/multipartBody536829720079306340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804588931,"filename":"image_25012025_11_49_02_623158_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1d2f44b49fa5bed0731c9f7a7428c3a2.jpg","text":"TemporaryFile(/tmp/multipartBody5696221230628854199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804588931,"filename":"image_25012025_11_48_02_389746_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/beb9e70800656dc781484ff0a1bfb89d.jpg","text":"TemporaryFile(/tmp/multipartBody489858268961269485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804588931,"filename":"image_25012025_11_48_02_389746_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cba0ec6f8ac2cdc34ec7480223dc1b92.jpg","text":"TemporaryFile(/tmp/multipartBody1082665657206011330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804588931,"filename":"image_25012025_11_48_02_389746_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331326825","file1":"1331326804","file0":"1331326795","file4":"1331327053","file5":"1331327059","file3":"1331326850"},"map_files_photo_id_array":[{"photo_id":"1331327059","filename":"file5"},{"photo_id":"1331326825","filename":"file2"},{"photo_id":"1331327053","filename":"file4"},{"photo_id":"1331326804","filename":"file1"},{"photo_id":"1331326795","filename":"file0"},{"photo_id":"1331326850","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331326850":["hashtag1","hashtag2"]},{"1331326795":["hashtag1","hashtag2"]},{"1331327059":["hashtag1","hashtag2"]},{"1331327053":["hashtag1","hashtag2"]},{"1331326825":["hashtag1","hashtag2"]},{"1331326804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331326850, 1331326795, 1331327059, 1331327053, 1331326825, 1331326804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.1979079246521 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:29:32.340904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/49/image_25012025_11_49_02_623158_0001.jpg', '/home/pi/Desktop/images/25012025/11/49/image_25012025_11_49_02_623158_0002.jpg', '/home/pi/Desktop/images/25012025/11/49/image_25012025_11_49_02_623158_0003.jpg', '/home/pi/Desktop/images/25012025/11/50/image_25012025_11_50_02_811443_0000.jpg', '/home/pi/Desktop/images/25012025/11/50/image_25012025_11_50_02_811443_0001.jpg', '/home/pi/Desktop/images/25012025/11/50/image_25012025_11_50_02_811443_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/49/image_25012025_11_49_02_623158_0001.jpg
/home/pi/Desktop/images/25012025/11/49/image_25012025_11_49_02_623158_0002.jpg
/home/pi/Desktop/images/25012025/11/49/image_25012025_11_49_02_623158_0003.jpg
/home/pi/Desktop/images/25012025/11/50/image_25012025_11_50_02_811443_0000.jpg
/home/pi/Desktop/images/25012025/11/50/image_25012025_11_50_02_811443_0001.jpg
/home/pi/Desktop/images/25012025/11/50/image_25012025_11_50_02_811443_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 [200]>
b'{"photo_ids":["1331327155","1331327137","1331327128","1331327151","1331327124","1331327147"],"photo_ids_order":["1331327124","1331327128","1331327137","1331327147","1331327151","1331327155"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fa1f9336e3971b7aae0ea09cc58281f5.jpg","text":"TemporaryFile(/tmp/multipartBody200692201365288362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804648602,"filename":"image_25012025_11_50_02_811443_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/052a25ff2cf6cf0f2ed81fd3d3ab3523.jpg","text":"TemporaryFile(/tmp/multipartBody4467430045482781276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804648602,"filename":"image_25012025_11_49_02_623158_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a1461ad3d42ffa593a68f9b632d8aa8c.jpg","text":"TemporaryFile(/tmp/multipartBody2851705329247150436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804648602,"filename":"image_25012025_11_49_02_623158_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0424e53ca0b8fac5ebc6ce3b9005b015.jpg","text":"TemporaryFile(/tmp/multipartBody7243228026643007076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804648602,"filename":"image_25012025_11_50_02_811443_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/06f878d3f085160b054895211f774c86.jpg","text":"TemporaryFile(/tmp/multipartBody3972014935116435595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804648602,"filename":"image_25012025_11_49_02_623158_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a591371a76aa5950f3e039d143aa56c3.jpg","text":"TemporaryFile(/tmp/multipartBody6777973735528480502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804648602,"filename":"image_25012025_11_50_02_811443_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331327137","file1":"1331327128","file0":"1331327124","file4":"1331327151","file5":"1331327155","file3":"1331327147"},"map_files_photo_id_array":[{"photo_id":"1331327155","filename":"file5"},{"photo_id":"1331327137","filename":"file2"},{"photo_id":"1331327151","filename":"file4"},{"photo_id":"1331327128","filename":"file1"},{"photo_id":"1331327124","filename":"file0"},{"photo_id":"1331327147","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331327155":["hashtag1","hashtag2"]},{"1331327137":["hashtag1","hashtag2"]},{"1331327128":["hashtag1","hashtag2"]},{"1331327151":["hashtag1","hashtag2"]},{"1331327124":["hashtag1","hashtag2"]},{"1331327147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331327155, 1331327137, 1331327128, 1331327151, 1331327124, 1331327147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.32153081893921 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:30:32.474816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/50/image_25012025_11_50_02_811443_0003.jpg', '/home/pi/Desktop/images/25012025/11/51/image_25012025_11_51_03_010321_0000.jpg', '/home/pi/Desktop/images/25012025/11/51/image_25012025_11_51_03_010321_0001.jpg', '/home/pi/Desktop/images/25012025/11/51/image_25012025_11_51_03_010321_0002.jpg', '/home/pi/Desktop/images/25012025/11/51/image_25012025_11_51_03_010321_0003.jpg', '/home/pi/Desktop/images/25012025/11/52/image_25012025_11_52_03_187913_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/50/image_25012025_11_50_02_811443_0003.jpg
/home/pi/Desktop/images/25012025/11/51/image_25012025_11_51_03_010321_0000.jpg
/home/pi/Desktop/images/25012025/11/51/image_25012025_11_51_03_010321_0001.jpg
/home/pi/Desktop/images/25012025/11/51/image_25012025_11_51_03_010321_0002.jpg
/home/pi/Desktop/images/25012025/11/51/image_25012025_11_51_03_010321_0003.jpg
/home/pi/Desktop/images/25012025/11/52/image_25012025_11_52_03_187913_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 [200]>
b'{"photo_ids":["1331327569","1331327323","1331327506","1331327314","1331327364","1331327328"],"photo_ids_order":["1331327314","1331327323","1331327328","1331327364","1331327506","1331327569"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/72474ec15b588b01c2d8fe56769e01ba.jpg","text":"TemporaryFile(/tmp/multipartBody4701035406705118495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804709041,"filename":"image_25012025_11_52_03_187913_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5edd5ab3aa3d05db9063e571398085b8.jpg","text":"TemporaryFile(/tmp/multipartBody1918569155028283859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804709041,"filename":"image_25012025_11_51_03_010321_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2d1ecabc7a1aa38e4aeb50ad1863b679.jpg","text":"TemporaryFile(/tmp/multipartBody4099173296472559039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804709041,"filename":"image_25012025_11_51_03_010321_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c249c5438219e14fbd7da56e807f46d.jpg","text":"TemporaryFile(/tmp/multipartBody922629410333493300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804709041,"filename":"image_25012025_11_50_02_811443_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/61c742951ef59e339dadd696a4833c47.jpg","text":"TemporaryFile(/tmp/multipartBody8940299858356073790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804709041,"filename":"image_25012025_11_51_03_010321_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/812c6f4a1e18f1982432fea9dbf116bf.jpg","text":"TemporaryFile(/tmp/multipartBody5597867359095067419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804709041,"filename":"image_25012025_11_51_03_010321_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331327328","file1":"1331327323","file0":"1331327314","file4":"1331327506","file5":"1331327569","file3":"1331327364"},"map_files_photo_id_array":[{"photo_id":"1331327569","filename":"file5"},{"photo_id":"1331327328","filename":"file2"},{"photo_id":"1331327506","filename":"file4"},{"photo_id":"1331327323","filename":"file1"},{"photo_id":"1331327314","filename":"file0"},{"photo_id":"1331327364","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331327569":["hashtag1","hashtag2"]},{"1331327323":["hashtag1","hashtag2"]},{"1331327506":["hashtag1","hashtag2"]},{"1331327314":["hashtag1","hashtag2"]},{"1331327364":["hashtag1","hashtag2"]},{"1331327328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331327569, 1331327323, 1331327506, 1331327314, 1331327364, 1331327328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.43825078010559 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:31:32.658665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/52/image_25012025_11_52_03_187913_0001.jpg', '/home/pi/Desktop/images/25012025/11/52/image_25012025_11_52_03_187913_0002.jpg', '/home/pi/Desktop/images/25012025/11/52/image_25012025_11_52_03_187913_0003.jpg', '/home/pi/Desktop/images/25012025/11/53/image_25012025_11_53_02_314861_0000.jpg', '/home/pi/Desktop/images/25012025/11/53/image_25012025_11_53_02_314861_0001.jpg', '/home/pi/Desktop/images/25012025/11/53/image_25012025_11_53_02_314861_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/52/image_25012025_11_52_03_187913_0001.jpg
/home/pi/Desktop/images/25012025/11/52/image_25012025_11_52_03_187913_0002.jpg
/home/pi/Desktop/images/25012025/11/52/image_25012025_11_52_03_187913_0003.jpg
/home/pi/Desktop/images/25012025/11/53/image_25012025_11_53_02_314861_0000.jpg
/home/pi/Desktop/images/25012025/11/53/image_25012025_11_53_02_314861_0001.jpg
/home/pi/Desktop/images/25012025/11/53/image_25012025_11_53_02_314861_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 [200]>
b'{"photo_ids":["1331327785","1331327770","1331327778","1331327781","1331327775","1331327692"],"photo_ids_order":["1331327692","1331327770","1331327775","1331327778","1331327781","1331327785"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e9ebc88189f9fb1f328eb95398d12e0f.jpg","text":"TemporaryFile(/tmp/multipartBody6204238036655387719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804769058,"filename":"image_25012025_11_53_02_314861_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/886c0cef696739365de43dec34c3eefb.jpg","text":"TemporaryFile(/tmp/multipartBody3737273281831435883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804769058,"filename":"image_25012025_11_52_03_187913_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/130a2b97a94c02b3d84f76c6139b6d47.jpg","text":"TemporaryFile(/tmp/multipartBody7821999665697824833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804769058,"filename":"image_25012025_11_53_02_314861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/84588c233a2abf1075a078758d924a37.jpg","text":"TemporaryFile(/tmp/multipartBody248204309077133588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804769058,"filename":"image_25012025_11_53_02_314861_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7da1ae854c40772ea8cb9253123c6bbd.jpg","text":"TemporaryFile(/tmp/multipartBody1902732804516745333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804769058,"filename":"image_25012025_11_52_03_187913_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/84baf3e5bc8188a85e6f4f1f010e56dd.jpg","text":"TemporaryFile(/tmp/multipartBody8910038469008454004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804769058,"filename":"image_25012025_11_52_03_187913_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331327775","file1":"1331327770","file0":"1331327692","file4":"1331327781","file5":"1331327785","file3":"1331327778"},"map_files_photo_id_array":[{"photo_id":"1331327785","filename":"file5"},{"photo_id":"1331327775","filename":"file2"},{"photo_id":"1331327781","filename":"file4"},{"photo_id":"1331327770","filename":"file1"},{"photo_id":"1331327692","filename":"file0"},{"photo_id":"1331327778","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331327785":["hashtag1","hashtag2"]},{"1331327770":["hashtag1","hashtag2"]},{"1331327778":["hashtag1","hashtag2"]},{"1331327781":["hashtag1","hashtag2"]},{"1331327775":["hashtag1","hashtag2"]},{"1331327692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331327785, 1331327770, 1331327778, 1331327781, 1331327775, 1331327692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.64577865600586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:32:31.857908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/53/image_25012025_11_53_02_314861_0003.jpg', '/home/pi/Desktop/images/25012025/11/54/image_25012025_11_54_02_608160_0000.jpg', '/home/pi/Desktop/images/25012025/11/54/image_25012025_11_54_02_608160_0001.jpg', '/home/pi/Desktop/images/25012025/11/54/image_25012025_11_54_02_608160_0002.jpg', '/home/pi/Desktop/images/25012025/11/54/image_25012025_11_54_02_608160_0003.jpg', '/home/pi/Desktop/images/25012025/11/55/image_25012025_11_55_02_694100_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/53/image_25012025_11_53_02_314861_0003.jpg
/home/pi/Desktop/images/25012025/11/54/image_25012025_11_54_02_608160_0000.jpg
/home/pi/Desktop/images/25012025/11/54/image_25012025_11_54_02_608160_0001.jpg
/home/pi/Desktop/images/25012025/11/54/image_25012025_11_54_02_608160_0002.jpg
/home/pi/Desktop/images/25012025/11/54/image_25012025_11_54_02_608160_0003.jpg
/home/pi/Desktop/images/25012025/11/55/image_25012025_11_55_02_694100_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 [200]>
b'{"photo_ids":["1331327799","1331327802","1331327805","1331327808","1331327813","1331327816"],"photo_ids_order":["1331327799","1331327802","1331327805","1331327808","1331327813","1331327816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/900d4e6937c71fda9fddd92a71f1a0aa.jpg","text":"TemporaryFile(/tmp/multipartBody2812032555185698524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804829042,"filename":"image_25012025_11_53_02_314861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0ce6b90cd2bd1159fea2831f97668ec2.jpg","text":"TemporaryFile(/tmp/multipartBody2868639125317665401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804829042,"filename":"image_25012025_11_54_02_608160_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ba289a66182b468d31ed8690d2e432c9.jpg","text":"TemporaryFile(/tmp/multipartBody1156107968376560827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804829042,"filename":"image_25012025_11_54_02_608160_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ccc3e136c2367a5ee4aabd9d39594ad3.jpg","text":"TemporaryFile(/tmp/multipartBody5664047379859519803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804829042,"filename":"image_25012025_11_54_02_608160_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2a8f5d3044bd07c2a87ee7eacfd2a475.jpg","text":"TemporaryFile(/tmp/multipartBody2031699078158598274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804829042,"filename":"image_25012025_11_54_02_608160_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/858da5b8237548671cba7209db0e1b76.jpg","text":"TemporaryFile(/tmp/multipartBody1655273638687053069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804829042,"filename":"image_25012025_11_55_02_694100_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331327805","file1":"1331327802","file0":"1331327799","file4":"1331327813","file5":"1331327816","file3":"1331327808"},"map_files_photo_id_array":[{"photo_id":"1331327816","filename":"file5"},{"photo_id":"1331327805","filename":"file2"},{"photo_id":"1331327813","filename":"file4"},{"photo_id":"1331327802","filename":"file1"},{"photo_id":"1331327799","filename":"file0"},{"photo_id":"1331327808","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331327799":["hashtag1","hashtag2"]},{"1331327802":["hashtag1","hashtag2"]},{"1331327805":["hashtag1","hashtag2"]},{"1331327808":["hashtag1","hashtag2"]},{"1331327813":["hashtag1","hashtag2"]},{"1331327816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331327799, 1331327802, 1331327805, 1331327808, 1331327813, 1331327816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.149462938308716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:33:32.021616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/55/image_25012025_11_55_02_694100_0001.jpg', '/home/pi/Desktop/images/25012025/11/55/image_25012025_11_55_02_694100_0002.jpg', '/home/pi/Desktop/images/25012025/11/55/image_25012025_11_55_02_694100_0003.jpg', '/home/pi/Desktop/images/25012025/11/56/image_25012025_11_56_02_875868_0000.jpg', '/home/pi/Desktop/images/25012025/11/56/image_25012025_11_56_02_875868_0001.jpg', '/home/pi/Desktop/images/25012025/11/56/image_25012025_11_56_02_875868_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/55/image_25012025_11_55_02_694100_0001.jpg
/home/pi/Desktop/images/25012025/11/55/image_25012025_11_55_02_694100_0002.jpg
/home/pi/Desktop/images/25012025/11/55/image_25012025_11_55_02_694100_0003.jpg
/home/pi/Desktop/images/25012025/11/56/image_25012025_11_56_02_875868_0000.jpg
/home/pi/Desktop/images/25012025/11/56/image_25012025_11_56_02_875868_0001.jpg
/home/pi/Desktop/images/25012025/11/56/image_25012025_11_56_02_875868_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 [200]>
b'{"photo_ids":["1331327923","1331327928","1331327925","1331327954","1331327933","1331327921"],"photo_ids_order":["1331327921","1331327923","1331327925","1331327928","1331327933","1331327954"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e7c5de8c44786e4687c961660e67ba42.jpg","text":"TemporaryFile(/tmp/multipartBody2603875089212862198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804889082,"filename":"image_25012025_11_55_02_694100_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3a6adf3255a94681d5c09be6c76fec1b.jpg","text":"TemporaryFile(/tmp/multipartBody7957347179989764844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804889082,"filename":"image_25012025_11_56_02_875868_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7bd2ef01f3d770ab86f76dfa9f0be48a.jpg","text":"TemporaryFile(/tmp/multipartBody562310139619429385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804889082,"filename":"image_25012025_11_55_02_694100_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d3837bdc052af5a29675dffa05b9dbe2.jpg","text":"TemporaryFile(/tmp/multipartBody3237784456325530848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804889082,"filename":"image_25012025_11_56_02_875868_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/50460436b5ee7154a74789c07d1fa1ba.jpg","text":"TemporaryFile(/tmp/multipartBody7484869505899249943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804889082,"filename":"image_25012025_11_56_02_875868_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4e3eb81a9d1a80e9eac977e79ffad0b3.jpg","text":"TemporaryFile(/tmp/multipartBody8643417901208154756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804889082,"filename":"image_25012025_11_55_02_694100_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331327925","file1":"1331327923","file0":"1331327921","file4":"1331327933","file5":"1331327954","file3":"1331327928"},"map_files_photo_id_array":[{"photo_id":"1331327954","filename":"file5"},{"photo_id":"1331327925","filename":"file2"},{"photo_id":"1331327933","filename":"file4"},{"photo_id":"1331327923","filename":"file1"},{"photo_id":"1331327921","filename":"file0"},{"photo_id":"1331327928","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331327923":["hashtag1","hashtag2"]},{"1331327928":["hashtag1","hashtag2"]},{"1331327925":["hashtag1","hashtag2"]},{"1331327954":["hashtag1","hashtag2"]},{"1331327933":["hashtag1","hashtag2"]},{"1331327921":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331327923, 1331327928, 1331327925, 1331327954, 1331327933, 1331327921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.65200448036194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:34:32.219167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/56/image_25012025_11_56_02_875868_0003.jpg', '/home/pi/Desktop/images/25012025/11/57/image_25012025_11_57_03_075795_0000.jpg', '/home/pi/Desktop/images/25012025/11/57/image_25012025_11_57_03_075795_0001.jpg', '/home/pi/Desktop/images/25012025/11/57/image_25012025_11_57_03_075795_0002.jpg', '/home/pi/Desktop/images/25012025/11/57/image_25012025_11_57_03_075795_0003.jpg', '/home/pi/Desktop/images/25012025/11/58/image_25012025_11_58_02_243555_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/56/image_25012025_11_56_02_875868_0003.jpg
/home/pi/Desktop/images/25012025/11/57/image_25012025_11_57_03_075795_0000.jpg
/home/pi/Desktop/images/25012025/11/57/image_25012025_11_57_03_075795_0001.jpg
/home/pi/Desktop/images/25012025/11/57/image_25012025_11_57_03_075795_0002.jpg
/home/pi/Desktop/images/25012025/11/57/image_25012025_11_57_03_075795_0003.jpg
/home/pi/Desktop/images/25012025/11/58/image_25012025_11_58_02_243555_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331328027","1331328021","1331328024","1331328011","1331328029","1331328017"],"photo_ids_order":["1331328011","1331328017","1331328021","1331328024","1331328027","1331328029"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2597159fa9edbe54a7e22e7a8ae10868.jpg","text":"TemporaryFile(/tmp/multipartBody6619657182283796031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804949102,"filename":"image_25012025_11_57_03_075795_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4384cdccaf259f7bfcef5b9c7d3bfc27.jpg","text":"TemporaryFile(/tmp/multipartBody2907891840668890554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804949102,"filename":"image_25012025_11_57_03_075795_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/33b9fffaff97efce476737ea892fbdb1.jpg","text":"TemporaryFile(/tmp/multipartBody2145246560260263954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804949102,"filename":"image_25012025_11_57_03_075795_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/81c56164a8ae4071ce5790423f9f9bbf.jpg","text":"TemporaryFile(/tmp/multipartBody6135342167023430671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804949102,"filename":"image_25012025_11_56_02_875868_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4cd22c9a574212848b8dc9cde542ae21.jpg","text":"TemporaryFile(/tmp/multipartBody5362412272844927372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804949102,"filename":"image_25012025_11_58_02_243555_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4b7f15b242208316fbba97c8ba0d1c6d.jpg","text":"TemporaryFile(/tmp/multipartBody3504726732560607673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737804949102,"filename":"image_25012025_11_57_03_075795_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331328021","file1":"1331328017","file0":"1331328011","file4":"1331328027","file5":"1331328029","file3":"1331328024"},"map_files_photo_id_array":[{"photo_id":"1331328029","filename":"file5"},{"photo_id":"1331328021","filename":"file2"},{"photo_id":"1331328027","filename":"file4"},{"photo_id":"1331328017","filename":"file1"},{"photo_id":"1331328011","filename":"file0"},{"photo_id":"1331328024","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331328027":["hashtag1","hashtag2"]},{"1331328021":["hashtag1","hashtag2"]},{"1331328024":["hashtag1","hashtag2"]},{"1331328011":["hashtag1","hashtag2"]},{"1331328029":["hashtag1","hashtag2"]},{"1331328017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331328027, 1331328021, 1331328024, 1331328011, 1331328029, 1331328017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.59748196601868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 12:35:42.389117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/58/image_25012025_11_58_02_243555_0001.jpg', '/home/pi/Desktop/images/25012025/11/58/image_25012025_11_58_02_243555_0002.jpg', '/home/pi/Desktop/images/25012025/11/58/image_25012025_11_58_02_243555_0003.jpg', '/home/pi/Desktop/images/25012025/11/59/image_25012025_11_59_02_459342_0000.jpg', '/home/pi/Desktop/images/25012025/11/59/image_25012025_11_59_02_459342_0001.jpg', '/home/pi/Desktop/images/25012025/11/59/image_25012025_11_59_02_459342_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/58/image_25012025_11_58_02_243555_0001.jpg
/home/pi/Desktop/images/25012025/11/58/image_25012025_11_58_02_243555_0002.jpg
/home/pi/Desktop/images/25012025/11/58/image_25012025_11_58_02_243555_0003.jpg
/home/pi/Desktop/images/25012025/11/59/image_25012025_11_59_02_459342_0000.jpg
/home/pi/Desktop/images/25012025/11/59/image_25012025_11_59_02_459342_0001.jpg
/home/pi/Desktop/images/25012025/11/59/image_25012025_11_59_02_459342_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 [200]>
b'{"photo_ids":["1331328058","1331328046","1331328054","1331328048","1331328050","1331328052"],"photo_ids_order":["1331328046","1331328048","1331328050","1331328052","1331328054","1331328058"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d5d43c05a2c4a1c5ed11bf3070fc8fe3.jpg","text":"TemporaryFile(/tmp/multipartBody535074611095083045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805018814,"filename":"image_25012025_11_59_02_459342_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/13c380eb6629da66321c72fe9dd9f40b.jpg","text":"TemporaryFile(/tmp/multipartBody849347597128081109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805018814,"filename":"image_25012025_11_58_02_243555_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ceb16ea1a5ff3ac3475b578c3544e8a1.jpg","text":"TemporaryFile(/tmp/multipartBody7719340778711206549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805018814,"filename":"image_25012025_11_59_02_459342_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d08e4f046f121a6124a89b6347515ac7.jpg","text":"TemporaryFile(/tmp/multipartBody7655043341589374465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805018814,"filename":"image_25012025_11_58_02_243555_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/86863cf12b3ccec85b49f9af7dac3f1c.jpg","text":"TemporaryFile(/tmp/multipartBody2258788223689736286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805018814,"filename":"image_25012025_11_58_02_243555_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c2b65546413b55dff451359576fc7e86.jpg","text":"TemporaryFile(/tmp/multipartBody1976014045455447237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805018814,"filename":"image_25012025_11_59_02_459342_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331328050","file1":"1331328048","file0":"1331328046","file4":"1331328054","file5":"1331328058","file3":"1331328052"},"map_files_photo_id_array":[{"photo_id":"1331328058","filename":"file5"},{"photo_id":"1331328050","filename":"file2"},{"photo_id":"1331328054","filename":"file4"},{"photo_id":"1331328048","filename":"file1"},{"photo_id":"1331328046","filename":"file0"},{"photo_id":"1331328052","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331328058":["hashtag1","hashtag2"]},{"1331328046":["hashtag1","hashtag2"]},{"1331328054":["hashtag1","hashtag2"]},{"1331328048":["hashtag1","hashtag2"]},{"1331328050":["hashtag1","hashtag2"]},{"1331328052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331328058, 1331328046, 1331328054, 1331328048, 1331328050, 1331328052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.037484884262085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 12:36:42.546434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/59/image_25012025_11_59_02_459342_0003.jpg', '/home/pi/Desktop/images/25012025/12/00/image_25012025_12_00_02_657986_0000.jpg', '/home/pi/Desktop/images/25012025/12/00/image_25012025_12_00_02_657986_0001.jpg', '/home/pi/Desktop/images/25012025/12/00/image_25012025_12_00_02_657986_0002.jpg', '/home/pi/Desktop/images/25012025/12/00/image_25012025_12_00_02_657986_0003.jpg', '/home/pi/Desktop/images/25012025/12/02/image_25012025_12_02_18_547613_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/59/image_25012025_11_59_02_459342_0003.jpg
/home/pi/Desktop/images/25012025/12/00/image_25012025_12_00_02_657986_0000.jpg
/home/pi/Desktop/images/25012025/12/00/image_25012025_12_00_02_657986_0001.jpg
/home/pi/Desktop/images/25012025/12/00/image_25012025_12_00_02_657986_0002.jpg
/home/pi/Desktop/images/25012025/12/00/image_25012025_12_00_02_657986_0003.jpg
/home/pi/Desktop/images/25012025/12/02/image_25012025_12_02_18_547613_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: 16.344806671142578 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 12:37:03.402966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/11/59/image_25012025_11_59_02_459342_0003.jpg', '/home/pi/Desktop/images/25012025/12/00/image_25012025_12_00_02_657986_0000.jpg', '/home/pi/Desktop/images/25012025/12/00/image_25012025_12_00_02_657986_0001.jpg', '/home/pi/Desktop/images/25012025/12/00/image_25012025_12_00_02_657986_0002.jpg', '/home/pi/Desktop/images/25012025/12/00/image_25012025_12_00_02_657986_0003.jpg', '/home/pi/Desktop/images/25012025/12/02/image_25012025_12_02_18_547613_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/11/59/image_25012025_11_59_02_459342_0003.jpg
/home/pi/Desktop/images/25012025/12/00/image_25012025_12_00_02_657986_0000.jpg
/home/pi/Desktop/images/25012025/12/00/image_25012025_12_00_02_657986_0001.jpg
/home/pi/Desktop/images/25012025/12/00/image_25012025_12_00_02_657986_0002.jpg
/home/pi/Desktop/images/25012025/12/00/image_25012025_12_00_02_657986_0003.jpg
/home/pi/Desktop/images/25012025/12/02/image_25012025_12_02_18_547613_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331328202","1331328252","1331328225","1331328248","1331328230","1331328265"],"photo_ids_order":["1331328202","1331328225","1331328230","1331328248","1331328252","1331328265"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a2183fb83a9a588bc50a6a47e7e6bc74.jpg","text":"TemporaryFile(/tmp/multipartBody1255974452435537021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805100209,"filename":"image_25012025_11_59_02_459342_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/117c7d180f76d626457cb845bca2c95d.jpg","text":"TemporaryFile(/tmp/multipartBody8775337568441503880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805100209,"filename":"image_25012025_12_00_02_657986_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6ee667a973ba2af46d31a24da547f028.jpg","text":"TemporaryFile(/tmp/multipartBody1602840075228893207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805100209,"filename":"image_25012025_12_00_02_657986_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7804fe61bdd512b4bedb7bf03769d278.jpg","text":"TemporaryFile(/tmp/multipartBody5630597842610439084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805100209,"filename":"image_25012025_12_00_02_657986_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d0042b73989227ed9361210ed25b24a3.jpg","text":"TemporaryFile(/tmp/multipartBody4042928815765880189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805100209,"filename":"image_25012025_12_00_02_657986_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ad1c03ed37d7733d12679a71f10b3a6c.jpg","text":"TemporaryFile(/tmp/multipartBody2534978198302628299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805100209,"filename":"image_25012025_12_02_18_547613_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331328230","file1":"1331328225","file0":"1331328202","file4":"1331328252","file5":"1331328265","file3":"1331328248"},"map_files_photo_id_array":[{"photo_id":"1331328265","filename":"file5"},{"photo_id":"1331328230","filename":"file2"},{"photo_id":"1331328252","filename":"file4"},{"photo_id":"1331328225","filename":"file1"},{"photo_id":"1331328202","filename":"file0"},{"photo_id":"1331328248","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331328202":["hashtag1","hashtag2"]},{"1331328252":["hashtag1","hashtag2"]},{"1331328225":["hashtag1","hashtag2"]},{"1331328248":["hashtag1","hashtag2"]},{"1331328230":["hashtag1","hashtag2"]},{"1331328265":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331328202, 1331328252, 1331328225, 1331328248, 1331328230, 1331328265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.20944356918335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 12:38:21.882752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/02/image_25012025_12_02_18_547613_0001.jpg', '/home/pi/Desktop/images/25012025/12/02/image_25012025_12_02_18_547613_0002.jpg', '/home/pi/Desktop/images/25012025/12/02/image_25012025_12_02_18_547613_0003.jpg', '/home/pi/Desktop/images/25012025/12/04/image_25012025_12_04_02_879911_0000.jpg', '/home/pi/Desktop/images/25012025/12/04/image_25012025_12_04_02_879911_0001.jpg', '/home/pi/Desktop/images/25012025/12/04/image_25012025_12_04_02_879911_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/02/image_25012025_12_02_18_547613_0001.jpg
/home/pi/Desktop/images/25012025/12/02/image_25012025_12_02_18_547613_0002.jpg
/home/pi/Desktop/images/25012025/12/02/image_25012025_12_02_18_547613_0003.jpg
/home/pi/Desktop/images/25012025/12/04/image_25012025_12_04_02_879911_0000.jpg
/home/pi/Desktop/images/25012025/12/04/image_25012025_12_04_02_879911_0001.jpg
/home/pi/Desktop/images/25012025/12/04/image_25012025_12_04_02_879911_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: 16.181442499160767 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 12:38:41.837895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/02/image_25012025_12_02_18_547613_0001.jpg', '/home/pi/Desktop/images/25012025/12/02/image_25012025_12_02_18_547613_0002.jpg', '/home/pi/Desktop/images/25012025/12/02/image_25012025_12_02_18_547613_0003.jpg', '/home/pi/Desktop/images/25012025/12/04/image_25012025_12_04_02_879911_0000.jpg', '/home/pi/Desktop/images/25012025/12/04/image_25012025_12_04_02_879911_0001.jpg', '/home/pi/Desktop/images/25012025/12/04/image_25012025_12_04_02_879911_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/02/image_25012025_12_02_18_547613_0001.jpg
/home/pi/Desktop/images/25012025/12/02/image_25012025_12_02_18_547613_0002.jpg
/home/pi/Desktop/images/25012025/12/02/image_25012025_12_02_18_547613_0003.jpg
/home/pi/Desktop/images/25012025/12/04/image_25012025_12_04_02_879911_0000.jpg
/home/pi/Desktop/images/25012025/12/04/image_25012025_12_04_02_879911_0001.jpg
/home/pi/Desktop/images/25012025/12/04/image_25012025_12_04_02_879911_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 [200]>
b'{"photo_ids":["1331328328","1331328319","1331328312","1331328315","1331328323","1331328295"],"photo_ids_order":["1331328295","1331328312","1331328315","1331328319","1331328323","1331328328"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/29de44d7789f72de1b425ec579cb13b8.jpg","text":"TemporaryFile(/tmp/multipartBody3079905171037260509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805198422,"filename":"image_25012025_12_04_02_879911_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ffe74a759c570986261c17c2a60b8491.jpg","text":"TemporaryFile(/tmp/multipartBody4554992787450678093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805198422,"filename":"image_25012025_12_04_02_879911_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e40ffd5aae756f1827c5a0b1262086e9.jpg","text":"TemporaryFile(/tmp/multipartBody2272948003941683785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805198422,"filename":"image_25012025_12_02_18_547613_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e5f91f4a55e545b4e12651ae9ed7b892.jpg","text":"TemporaryFile(/tmp/multipartBody7457863479230100918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805198422,"filename":"image_25012025_12_02_18_547613_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1144e6ab52c24197db8c2994492a48f0.jpg","text":"TemporaryFile(/tmp/multipartBody8626245734702348915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805198422,"filename":"image_25012025_12_04_02_879911_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0d4d7f9d80c09e953abd5f98b68b5666.jpg","text":"TemporaryFile(/tmp/multipartBody5207183823998200573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805198422,"filename":"image_25012025_12_02_18_547613_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331328315","file1":"1331328312","file0":"1331328295","file4":"1331328323","file5":"1331328328","file3":"1331328319"},"map_files_photo_id_array":[{"photo_id":"1331328328","filename":"file5"},{"photo_id":"1331328315","filename":"file2"},{"photo_id":"1331328323","filename":"file4"},{"photo_id":"1331328312","filename":"file1"},{"photo_id":"1331328295","filename":"file0"},{"photo_id":"1331328319","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331328328":["hashtag1","hashtag2"]},{"1331328319":["hashtag1","hashtag2"]},{"1331328312":["hashtag1","hashtag2"]},{"1331328315":["hashtag1","hashtag2"]},{"1331328323":["hashtag1","hashtag2"]},{"1331328295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331328328, 1331328319, 1331328312, 1331328315, 1331328323, 1331328295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.352134466171265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 12:39:42.016991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/04/image_25012025_12_04_02_879911_0003.jpg', '/home/pi/Desktop/images/25012025/12/05/image_25012025_12_05_02_145946_0000.jpg', '/home/pi/Desktop/images/25012025/12/05/image_25012025_12_05_02_145946_0001.jpg', '/home/pi/Desktop/images/25012025/12/05/image_25012025_12_05_02_145946_0002.jpg', '/home/pi/Desktop/images/25012025/12/05/image_25012025_12_05_02_145946_0003.jpg', '/home/pi/Desktop/images/25012025/12/06/image_25012025_12_06_02_403970_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/04/image_25012025_12_04_02_879911_0003.jpg
/home/pi/Desktop/images/25012025/12/05/image_25012025_12_05_02_145946_0000.jpg
/home/pi/Desktop/images/25012025/12/05/image_25012025_12_05_02_145946_0001.jpg
/home/pi/Desktop/images/25012025/12/05/image_25012025_12_05_02_145946_0002.jpg
/home/pi/Desktop/images/25012025/12/05/image_25012025_12_05_02_145946_0003.jpg
/home/pi/Desktop/images/25012025/12/06/image_25012025_12_06_02_403970_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: 16.038641929626465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 12:40:02.678114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/04/image_25012025_12_04_02_879911_0003.jpg', '/home/pi/Desktop/images/25012025/12/05/image_25012025_12_05_02_145946_0000.jpg', '/home/pi/Desktop/images/25012025/12/05/image_25012025_12_05_02_145946_0001.jpg', '/home/pi/Desktop/images/25012025/12/05/image_25012025_12_05_02_145946_0002.jpg', '/home/pi/Desktop/images/25012025/12/05/image_25012025_12_05_02_145946_0003.jpg', '/home/pi/Desktop/images/25012025/12/06/image_25012025_12_06_02_403970_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/04/image_25012025_12_04_02_879911_0003.jpg
/home/pi/Desktop/images/25012025/12/05/image_25012025_12_05_02_145946_0000.jpg
/home/pi/Desktop/images/25012025/12/05/image_25012025_12_05_02_145946_0001.jpg
/home/pi/Desktop/images/25012025/12/05/image_25012025_12_05_02_145946_0002.jpg
/home/pi/Desktop/images/25012025/12/05/image_25012025_12_05_02_145946_0003.jpg
/home/pi/Desktop/images/25012025/12/06/image_25012025_12_06_02_403970_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331328403","1331328363","1331328383","1331328353","1331328391","1331328358"],"photo_ids_order":["1331328353","1331328358","1331328363","1331328383","1331328391","1331328403"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b4b25aca27c7130305f77a55acd45614.jpg","text":"TemporaryFile(/tmp/multipartBody4127903954570143646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805279178,"filename":"image_25012025_12_06_02_403970_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4fb3dc0bf68de9e14b8f3e815cb4cf34.jpg","text":"TemporaryFile(/tmp/multipartBody4754363711492527567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805279178,"filename":"image_25012025_12_05_02_145946_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/815a16fcbc23eb358d7048997cbdb5fb.jpg","text":"TemporaryFile(/tmp/multipartBody4721251702718591272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805279178,"filename":"image_25012025_12_05_02_145946_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ba88525ec6ce8bdbd519249a0d8932ad.jpg","text":"TemporaryFile(/tmp/multipartBody3369664440805702921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805279178,"filename":"image_25012025_12_04_02_879911_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e848660641c1370ee7ba7cc3d3e23e34.jpg","text":"TemporaryFile(/tmp/multipartBody6072250975120673913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805279178,"filename":"image_25012025_12_05_02_145946_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/034fe618ab325251f9d8dcf41bc9732c.jpg","text":"TemporaryFile(/tmp/multipartBody5959618728227915214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805279178,"filename":"image_25012025_12_05_02_145946_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331328363","file1":"1331328358","file0":"1331328353","file4":"1331328391","file5":"1331328403","file3":"1331328383"},"map_files_photo_id_array":[{"photo_id":"1331328403","filename":"file5"},{"photo_id":"1331328363","filename":"file2"},{"photo_id":"1331328391","filename":"file4"},{"photo_id":"1331328358","filename":"file1"},{"photo_id":"1331328353","filename":"file0"},{"photo_id":"1331328383","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331328403":["hashtag1","hashtag2"]},{"1331328363":["hashtag1","hashtag2"]},{"1331328383":["hashtag1","hashtag2"]},{"1331328353":["hashtag1","hashtag2"]},{"1331328391":["hashtag1","hashtag2"]},{"1331328358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331328403, 1331328363, 1331328383, 1331328353, 1331328391, 1331328358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.63481831550598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 12:41:22.387038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/06/image_25012025_12_06_02_403970_0001.jpg', '/home/pi/Desktop/images/25012025/12/06/image_25012025_12_06_02_403970_0002.jpg', '/home/pi/Desktop/images/25012025/12/06/image_25012025_12_06_02_403970_0003.jpg', '/home/pi/Desktop/images/25012025/12/07/image_25012025_12_07_02_578323_0000.jpg', '/home/pi/Desktop/images/25012025/12/07/image_25012025_12_07_02_578323_0001.jpg', '/home/pi/Desktop/images/25012025/12/07/image_25012025_12_07_02_578323_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/06/image_25012025_12_06_02_403970_0001.jpg
/home/pi/Desktop/images/25012025/12/06/image_25012025_12_06_02_403970_0002.jpg
/home/pi/Desktop/images/25012025/12/06/image_25012025_12_06_02_403970_0003.jpg
/home/pi/Desktop/images/25012025/12/07/image_25012025_12_07_02_578323_0000.jpg
/home/pi/Desktop/images/25012025/12/07/image_25012025_12_07_02_578323_0001.jpg
/home/pi/Desktop/images/25012025/12/07/image_25012025_12_07_02_578323_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 [200]>
b'{"photo_ids":["1331328567","1331328576","1331328563","1331328572","1331328569","1331328565"],"photo_ids_order":["1331328563","1331328565","1331328567","1331328569","1331328572","1331328576"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ccec8cf58df75685b62dd7122f257fd6.jpg","text":"TemporaryFile(/tmp/multipartBody1763671892969290396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805358531,"filename":"image_25012025_12_06_02_403970_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/83ef0153d9a020f681fc555b84abdeeb.jpg","text":"TemporaryFile(/tmp/multipartBody6047236229744454381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805358531,"filename":"image_25012025_12_07_02_578323_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1f037950cfa4a371c60369c3bb03d838.jpg","text":"TemporaryFile(/tmp/multipartBody8076737450850990602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805358531,"filename":"image_25012025_12_06_02_403970_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a532d6345932642e9473f4e82f8b60ac.jpg","text":"TemporaryFile(/tmp/multipartBody6246823449925664777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805358531,"filename":"image_25012025_12_07_02_578323_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e42df1f0e1ef28922ce4291523477150.jpg","text":"TemporaryFile(/tmp/multipartBody8885293817416568439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805358531,"filename":"image_25012025_12_07_02_578323_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4b6918152b9c6684e4ad0a5e300e120e.jpg","text":"TemporaryFile(/tmp/multipartBody6824526981382295118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805358531,"filename":"image_25012025_12_06_02_403970_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331328567","file1":"1331328565","file0":"1331328563","file4":"1331328572","file5":"1331328576","file3":"1331328569"},"map_files_photo_id_array":[{"photo_id":"1331328576","filename":"file5"},{"photo_id":"1331328567","filename":"file2"},{"photo_id":"1331328572","filename":"file4"},{"photo_id":"1331328565","filename":"file1"},{"photo_id":"1331328563","filename":"file0"},{"photo_id":"1331328569","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331328567":["hashtag1","hashtag2"]},{"1331328576":["hashtag1","hashtag2"]},{"1331328563":["hashtag1","hashtag2"]},{"1331328572":["hashtag1","hashtag2"]},{"1331328569":["hashtag1","hashtag2"]},{"1331328565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331328567, 1331328576, 1331328563, 1331328572, 1331328569, 1331328565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.48917245864868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 12:42:22.614136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/07/image_25012025_12_07_02_578323_0003.jpg', '/home/pi/Desktop/images/25012025/12/08/image_25012025_12_08_02_708976_0000.jpg', '/home/pi/Desktop/images/25012025/12/08/image_25012025_12_08_02_708976_0001.jpg', '/home/pi/Desktop/images/25012025/12/08/image_25012025_12_08_02_708976_0002.jpg', '/home/pi/Desktop/images/25012025/12/08/image_25012025_12_08_02_708976_0003.jpg', '/home/pi/Desktop/images/25012025/12/09/image_25012025_12_09_02_929323_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/07/image_25012025_12_07_02_578323_0003.jpg
/home/pi/Desktop/images/25012025/12/08/image_25012025_12_08_02_708976_0000.jpg
/home/pi/Desktop/images/25012025/12/08/image_25012025_12_08_02_708976_0001.jpg
/home/pi/Desktop/images/25012025/12/08/image_25012025_12_08_02_708976_0002.jpg
/home/pi/Desktop/images/25012025/12/08/image_25012025_12_08_02_708976_0003.jpg
/home/pi/Desktop/images/25012025/12/09/image_25012025_12_09_02_929323_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 [200]>
b'{"photo_ids":["1331328601","1331328591","1331328612","1331328598","1331328605","1331328595"],"photo_ids_order":["1331328591","1331328595","1331328598","1331328601","1331328605","1331328612"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ed17efdf7dfff5e687c8cc899673ec75.jpg","text":"TemporaryFile(/tmp/multipartBody8776258145355026673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805419279,"filename":"image_25012025_12_08_02_708976_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/65ea3dfcba36d465ced35e5f1ef1c72b.jpg","text":"TemporaryFile(/tmp/multipartBody5844161755585336359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805419279,"filename":"image_25012025_12_07_02_578323_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e5573e63c405052464060b7a5f477919.jpg","text":"TemporaryFile(/tmp/multipartBody3066746644013739891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805419279,"filename":"image_25012025_12_09_02_929323_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/85abba1ad285e430a5ccb17c6560baf6.jpg","text":"TemporaryFile(/tmp/multipartBody429919448256800846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805419279,"filename":"image_25012025_12_08_02_708976_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/44d9fea9f22e502ebfcac5cd606e2939.jpg","text":"TemporaryFile(/tmp/multipartBody9192401036456934812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805419279,"filename":"image_25012025_12_08_02_708976_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c63b6d42ff785c3c45fc13970b7d7e69.jpg","text":"TemporaryFile(/tmp/multipartBody5105320175177918821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805419279,"filename":"image_25012025_12_08_02_708976_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331328598","file1":"1331328595","file0":"1331328591","file4":"1331328605","file5":"1331328612","file3":"1331328601"},"map_files_photo_id_array":[{"photo_id":"1331328612","filename":"file5"},{"photo_id":"1331328598","filename":"file2"},{"photo_id":"1331328605","filename":"file4"},{"photo_id":"1331328595","filename":"file1"},{"photo_id":"1331328591","filename":"file0"},{"photo_id":"1331328601","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331328601":["hashtag1","hashtag2"]},{"1331328591":["hashtag1","hashtag2"]},{"1331328612":["hashtag1","hashtag2"]},{"1331328598":["hashtag1","hashtag2"]},{"1331328605":["hashtag1","hashtag2"]},{"1331328595":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331328601, 1331328591, 1331328612, 1331328598, 1331328605, 1331328595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.26268672943115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 12:43:22.854674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/09/image_25012025_12_09_02_929323_0001.jpg', '/home/pi/Desktop/images/25012025/12/09/image_25012025_12_09_02_929323_0002.jpg', '/home/pi/Desktop/images/25012025/12/09/image_25012025_12_09_02_929323_0003.jpg', '/home/pi/Desktop/images/25012025/12/10/image_25012025_12_10_03_094926_0000.jpg', '/home/pi/Desktop/images/25012025/12/10/image_25012025_12_10_03_094926_0001.jpg', '/home/pi/Desktop/images/25012025/12/10/image_25012025_12_10_03_094926_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/09/image_25012025_12_09_02_929323_0001.jpg
/home/pi/Desktop/images/25012025/12/09/image_25012025_12_09_02_929323_0002.jpg
/home/pi/Desktop/images/25012025/12/09/image_25012025_12_09_02_929323_0003.jpg
/home/pi/Desktop/images/25012025/12/10/image_25012025_12_10_03_094926_0000.jpg
/home/pi/Desktop/images/25012025/12/10/image_25012025_12_10_03_094926_0001.jpg
/home/pi/Desktop/images/25012025/12/10/image_25012025_12_10_03_094926_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331328674","1331328662","1331328665","1331328659","1331328667","1331328670"],"photo_ids_order":["1331328659","1331328662","1331328665","1331328667","1331328670","1331328674"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/38b73374087b5e959a1789c1477fb6da.jpg","text":"TemporaryFile(/tmp/multipartBody4588991249033304069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805479457,"filename":"image_25012025_12_10_03_094926_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a795fe0bec05e8e77983dfe3d175a7ef.jpg","text":"TemporaryFile(/tmp/multipartBody532078898659003739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805479457,"filename":"image_25012025_12_09_02_929323_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9212db4eceb3b9be2e78676a60100e91.jpg","text":"TemporaryFile(/tmp/multipartBody7074046795271411212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805479457,"filename":"image_25012025_12_09_02_929323_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/74a340936093dea82d7b8ba68d638f27.jpg","text":"TemporaryFile(/tmp/multipartBody3159979491540636370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805479457,"filename":"image_25012025_12_09_02_929323_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c21f6ed3022e18c74e762daf810f986f.jpg","text":"TemporaryFile(/tmp/multipartBody2323263477311057254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805479457,"filename":"image_25012025_12_10_03_094926_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9bcef5fe859529efcee5269ac4095413.jpg","text":"TemporaryFile(/tmp/multipartBody1582493826384662632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805479457,"filename":"image_25012025_12_10_03_094926_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331328665","file1":"1331328662","file0":"1331328659","file4":"1331328670","file5":"1331328674","file3":"1331328667"},"map_files_photo_id_array":[{"photo_id":"1331328674","filename":"file5"},{"photo_id":"1331328665","filename":"file2"},{"photo_id":"1331328670","filename":"file4"},{"photo_id":"1331328662","filename":"file1"},{"photo_id":"1331328659","filename":"file0"},{"photo_id":"1331328667","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331328674":["hashtag1","hashtag2"]},{"1331328662":["hashtag1","hashtag2"]},{"1331328665":["hashtag1","hashtag2"]},{"1331328659":["hashtag1","hashtag2"]},{"1331328667":["hashtag1","hashtag2"]},{"1331328670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331328674, 1331328662, 1331328665, 1331328659, 1331328667, 1331328670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.93831181526184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:44:31.926519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/10/image_25012025_12_10_03_094926_0003.jpg', '/home/pi/Desktop/images/25012025/12/11/image_25012025_12_11_02_260145_0000.jpg', '/home/pi/Desktop/images/25012025/12/11/image_25012025_12_11_02_260145_0001.jpg', '/home/pi/Desktop/images/25012025/12/11/image_25012025_12_11_02_260145_0002.jpg', '/home/pi/Desktop/images/25012025/12/11/image_25012025_12_11_02_260145_0003.jpg', '/home/pi/Desktop/images/25012025/12/12/image_25012025_12_12_02_421376_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/10/image_25012025_12_10_03_094926_0003.jpg
/home/pi/Desktop/images/25012025/12/11/image_25012025_12_11_02_260145_0000.jpg
/home/pi/Desktop/images/25012025/12/11/image_25012025_12_11_02_260145_0001.jpg
/home/pi/Desktop/images/25012025/12/11/image_25012025_12_11_02_260145_0002.jpg
/home/pi/Desktop/images/25012025/12/11/image_25012025_12_11_02_260145_0003.jpg
/home/pi/Desktop/images/25012025/12/12/image_25012025_12_12_02_421376_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 [200]>
b'{"photo_ids":["1331328712","1331328708","1331328725","1331328719","1331328710","1331328716"],"photo_ids_order":["1331328708","1331328710","1331328712","1331328716","1331328719","1331328725"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ad8487e10b80f07e2ab5d88a1a18502e.jpg","text":"TemporaryFile(/tmp/multipartBody3720662918307665016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805548459,"filename":"image_25012025_12_11_02_260145_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/07ed7154b54d0faef928accd79003a93.jpg","text":"TemporaryFile(/tmp/multipartBody6734298760659390301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805548459,"filename":"image_25012025_12_10_03_094926_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7b53653b515bc60890c396eaf9a005f7.jpg","text":"TemporaryFile(/tmp/multipartBody3227126850329355893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805548459,"filename":"image_25012025_12_12_02_421376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1139bcfcf98fbc407ec0b38d42cacc1a.jpg","text":"TemporaryFile(/tmp/multipartBody5525928080488340440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805548459,"filename":"image_25012025_12_11_02_260145_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/89aeb4392fbf33acd43e63e21290dd86.jpg","text":"TemporaryFile(/tmp/multipartBody6939565707692381255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805548459,"filename":"image_25012025_12_11_02_260145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/16b4180d225f8de70126887e4f832d8f.jpg","text":"TemporaryFile(/tmp/multipartBody8710805576631733818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805548459,"filename":"image_25012025_12_11_02_260145_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331328712","file1":"1331328710","file0":"1331328708","file4":"1331328719","file5":"1331328725","file3":"1331328716"},"map_files_photo_id_array":[{"photo_id":"1331328725","filename":"file5"},{"photo_id":"1331328712","filename":"file2"},{"photo_id":"1331328719","filename":"file4"},{"photo_id":"1331328710","filename":"file1"},{"photo_id":"1331328708","filename":"file0"},{"photo_id":"1331328716","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331328712":["hashtag1","hashtag2"]},{"1331328708":["hashtag1","hashtag2"]},{"1331328725":["hashtag1","hashtag2"]},{"1331328719":["hashtag1","hashtag2"]},{"1331328710":["hashtag1","hashtag2"]},{"1331328716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331328712, 1331328708, 1331328725, 1331328719, 1331328710, 1331328716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.16620326042175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:45:32.035389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/12/image_25012025_12_12_02_421376_0001.jpg', '/home/pi/Desktop/images/25012025/12/12/image_25012025_12_12_02_421376_0002.jpg', '/home/pi/Desktop/images/25012025/12/12/image_25012025_12_12_02_421376_0003.jpg', '/home/pi/Desktop/images/25012025/12/13/image_25012025_12_13_02_580565_0000.jpg', '/home/pi/Desktop/images/25012025/12/13/image_25012025_12_13_02_580565_0001.jpg', '/home/pi/Desktop/images/25012025/12/13/image_25012025_12_13_02_580565_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/12/image_25012025_12_12_02_421376_0001.jpg
/home/pi/Desktop/images/25012025/12/12/image_25012025_12_12_02_421376_0002.jpg
/home/pi/Desktop/images/25012025/12/12/image_25012025_12_12_02_421376_0003.jpg
/home/pi/Desktop/images/25012025/12/13/image_25012025_12_13_02_580565_0000.jpg
/home/pi/Desktop/images/25012025/12/13/image_25012025_12_13_02_580565_0001.jpg
/home/pi/Desktop/images/25012025/12/13/image_25012025_12_13_02_580565_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 [200]>
b'{"photo_ids":["1331328771","1331328755","1331328743","1331328746","1331328751","1331328748"],"photo_ids_order":["1331328743","1331328746","1331328748","1331328751","1331328755","1331328771"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e482b359c980576428dc6b24c0fe0d5f.jpg","text":"TemporaryFile(/tmp/multipartBody1732622112650525558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805608675,"filename":"image_25012025_12_13_02_580565_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7af57f3005c3010830b3067eade7236a.jpg","text":"TemporaryFile(/tmp/multipartBody4044227548633279950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805608675,"filename":"image_25012025_12_13_02_580565_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f9c02f670ee1ef562ba4337daeb81fa7.jpg","text":"TemporaryFile(/tmp/multipartBody4223817991845747566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805608675,"filename":"image_25012025_12_12_02_421376_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/705c14d92940a18afd17f73387e2ab45.jpg","text":"TemporaryFile(/tmp/multipartBody5030318468379754635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805608675,"filename":"image_25012025_12_12_02_421376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c0aa2a4556c34c0c5c92407c1b07e28.jpg","text":"TemporaryFile(/tmp/multipartBody5241316662261311196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805608675,"filename":"image_25012025_12_13_02_580565_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d2a9482c6913738c6bf98ee91197efe0.jpg","text":"TemporaryFile(/tmp/multipartBody4857675183554334157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805608675,"filename":"image_25012025_12_12_02_421376_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331328748","file1":"1331328746","file0":"1331328743","file4":"1331328755","file5":"1331328771","file3":"1331328751"},"map_files_photo_id_array":[{"photo_id":"1331328771","filename":"file5"},{"photo_id":"1331328748","filename":"file2"},{"photo_id":"1331328755","filename":"file4"},{"photo_id":"1331328746","filename":"file1"},{"photo_id":"1331328743","filename":"file0"},{"photo_id":"1331328751","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331328771":["hashtag1","hashtag2"]},{"1331328755":["hashtag1","hashtag2"]},{"1331328743":["hashtag1","hashtag2"]},{"1331328746":["hashtag1","hashtag2"]},{"1331328751":["hashtag1","hashtag2"]},{"1331328748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331328771, 1331328755, 1331328743, 1331328746, 1331328751, 1331328748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.57930660247803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:46:32.289198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/13/image_25012025_12_13_02_580565_0003.jpg', '/home/pi/Desktop/images/25012025/12/14/image_25012025_12_14_02_856539_0000.jpg', '/home/pi/Desktop/images/25012025/12/14/image_25012025_12_14_02_856539_0001.jpg', '/home/pi/Desktop/images/25012025/12/14/image_25012025_12_14_02_856539_0002.jpg', '/home/pi/Desktop/images/25012025/12/14/image_25012025_12_14_02_856539_0003.jpg', '/home/pi/Desktop/images/25012025/12/15/image_25012025_12_15_03_054101_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/13/image_25012025_12_13_02_580565_0003.jpg
/home/pi/Desktop/images/25012025/12/14/image_25012025_12_14_02_856539_0000.jpg
/home/pi/Desktop/images/25012025/12/14/image_25012025_12_14_02_856539_0001.jpg
/home/pi/Desktop/images/25012025/12/14/image_25012025_12_14_02_856539_0002.jpg
/home/pi/Desktop/images/25012025/12/14/image_25012025_12_14_02_856539_0003.jpg
/home/pi/Desktop/images/25012025/12/15/image_25012025_12_15_03_054101_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 [200]>
b'{"photo_ids":["1331328808","1331329088","1331329274","1331329291","1331329285","1331329279"],"photo_ids_order":["1331328808","1331329088","1331329274","1331329279","1331329285","1331329291"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e094b0db0af58afa76a67743ccb3d4b9.jpg","text":"TemporaryFile(/tmp/multipartBody7222815275520412139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805669191,"filename":"image_25012025_12_13_02_580565_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/60c06d6c7229c9896c8b5f173402752e.jpg","text":"TemporaryFile(/tmp/multipartBody6153287695538376851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805669191,"filename":"image_25012025_12_14_02_856539_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/688d41bc61afd20840d0434169866ecf.jpg","text":"TemporaryFile(/tmp/multipartBody9046353006906485098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805669191,"filename":"image_25012025_12_14_02_856539_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/81bd989f252df681b963637e3dce60c4.jpg","text":"TemporaryFile(/tmp/multipartBody8993927690379123899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805669191,"filename":"image_25012025_12_15_03_054101_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ddc32fb432331d1942902b673315ff07.jpg","text":"TemporaryFile(/tmp/multipartBody8381801035112601121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805669191,"filename":"image_25012025_12_14_02_856539_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2d734391301736233f8cb1ab14717057.jpg","text":"TemporaryFile(/tmp/multipartBody4967416585634304978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805669191,"filename":"image_25012025_12_14_02_856539_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331329274","file1":"1331329088","file0":"1331328808","file4":"1331329285","file5":"1331329291","file3":"1331329279"},"map_files_photo_id_array":[{"photo_id":"1331329291","filename":"file5"},{"photo_id":"1331329274","filename":"file2"},{"photo_id":"1331329285","filename":"file4"},{"photo_id":"1331329088","filename":"file1"},{"photo_id":"1331328808","filename":"file0"},{"photo_id":"1331329279","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331328808":["hashtag1","hashtag2"]},{"1331329088":["hashtag1","hashtag2"]},{"1331329274":["hashtag1","hashtag2"]},{"1331329291":["hashtag1","hashtag2"]},{"1331329285":["hashtag1","hashtag2"]},{"1331329279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331328808, 1331329088, 1331329274, 1331329291, 1331329285, 1331329279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.28343343734741 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:47:32.459313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/15/image_25012025_12_15_03_054101_0001.jpg', '/home/pi/Desktop/images/25012025/12/15/image_25012025_12_15_03_054101_0002.jpg', '/home/pi/Desktop/images/25012025/12/15/image_25012025_12_15_03_054101_0003.jpg', '/home/pi/Desktop/images/25012025/12/16/image_25012025_12_16_02_124120_0000.jpg', '/home/pi/Desktop/images/25012025/12/16/image_25012025_12_16_02_124120_0001.jpg', '/home/pi/Desktop/images/25012025/12/16/image_25012025_12_16_02_124120_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/15/image_25012025_12_15_03_054101_0001.jpg
/home/pi/Desktop/images/25012025/12/15/image_25012025_12_15_03_054101_0002.jpg
/home/pi/Desktop/images/25012025/12/15/image_25012025_12_15_03_054101_0003.jpg
/home/pi/Desktop/images/25012025/12/16/image_25012025_12_16_02_124120_0000.jpg
/home/pi/Desktop/images/25012025/12/16/image_25012025_12_16_02_124120_0001.jpg
/home/pi/Desktop/images/25012025/12/16/image_25012025_12_16_02_124120_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 [200]>
b'{"photo_ids":["1331329499","1331329591","1331329585","1331329502","1331329504","1331329581"],"photo_ids_order":["1331329499","1331329502","1331329504","1331329581","1331329585","1331329591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/91e526f73a6a554d796f970dfa9f57d1.jpg","text":"TemporaryFile(/tmp/multipartBody3898575957568094967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805729351,"filename":"image_25012025_12_15_03_054101_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e83fdcc05fc8ea3281e510a3359e5854.jpg","text":"TemporaryFile(/tmp/multipartBody1162895612339018580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805729351,"filename":"image_25012025_12_16_02_124120_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dd5d56cf36dbf43503a37209f57c505f.jpg","text":"TemporaryFile(/tmp/multipartBody8296454656148976856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805729351,"filename":"image_25012025_12_16_02_124120_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b1d6301293148b3139ddd605c79a4fa.jpg","text":"TemporaryFile(/tmp/multipartBody4654324439335909460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805729351,"filename":"image_25012025_12_15_03_054101_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3c5e7a9ebe5d84cf25d4923a2efcae3a.jpg","text":"TemporaryFile(/tmp/multipartBody3487133673709402000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805729351,"filename":"image_25012025_12_15_03_054101_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8cca52e298bd8f141ac20b9402bb7ba7.jpg","text":"TemporaryFile(/tmp/multipartBody8469088725504943754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805729351,"filename":"image_25012025_12_16_02_124120_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331329504","file1":"1331329502","file0":"1331329499","file4":"1331329585","file5":"1331329591","file3":"1331329581"},"map_files_photo_id_array":[{"photo_id":"1331329591","filename":"file5"},{"photo_id":"1331329504","filename":"file2"},{"photo_id":"1331329585","filename":"file4"},{"photo_id":"1331329502","filename":"file1"},{"photo_id":"1331329499","filename":"file0"},{"photo_id":"1331329581","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331329499":["hashtag1","hashtag2"]},{"1331329591":["hashtag1","hashtag2"]},{"1331329585":["hashtag1","hashtag2"]},{"1331329502":["hashtag1","hashtag2"]},{"1331329504":["hashtag1","hashtag2"]},{"1331329581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331329499, 1331329591, 1331329585, 1331329502, 1331329504, 1331329581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.70023226737976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:48:32.661678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/16/image_25012025_12_16_02_124120_0003.jpg', '/home/pi/Desktop/images/25012025/12/17/image_25012025_12_17_02_411375_0000.jpg', '/home/pi/Desktop/images/25012025/12/17/image_25012025_12_17_02_411375_0001.jpg', '/home/pi/Desktop/images/25012025/12/17/image_25012025_12_17_02_411375_0002.jpg', '/home/pi/Desktop/images/25012025/12/17/image_25012025_12_17_02_411375_0003.jpg', '/home/pi/Desktop/images/25012025/12/18/image_25012025_12_18_02_542452_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/16/image_25012025_12_16_02_124120_0003.jpg
/home/pi/Desktop/images/25012025/12/17/image_25012025_12_17_02_411375_0000.jpg
/home/pi/Desktop/images/25012025/12/17/image_25012025_12_17_02_411375_0001.jpg
/home/pi/Desktop/images/25012025/12/17/image_25012025_12_17_02_411375_0002.jpg
/home/pi/Desktop/images/25012025/12/17/image_25012025_12_17_02_411375_0003.jpg
/home/pi/Desktop/images/25012025/12/18/image_25012025_12_18_02_542452_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 [200]>
b'{"photo_ids":["1331329625","1331329621","1331329615","1331329630","1331329618","1331329612"],"photo_ids_order":["1331329612","1331329615","1331329618","1331329621","1331329625","1331329630"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/876fcea411f76740ffabf3ccad5ba02f.jpg","text":"TemporaryFile(/tmp/multipartBody5749467896897227148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805789539,"filename":"image_25012025_12_17_02_411375_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d81635c342e713f7c626e6f03e5057bd.jpg","text":"TemporaryFile(/tmp/multipartBody7755564949158394802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805789539,"filename":"image_25012025_12_17_02_411375_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/90a79bb6b18434dc85d034c1a3c3cd7f.jpg","text":"TemporaryFile(/tmp/multipartBody2707010569939071677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805789539,"filename":"image_25012025_12_17_02_411375_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a07bc074700ce3689a166311890331a4.jpg","text":"TemporaryFile(/tmp/multipartBody5367067021602964636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805789539,"filename":"image_25012025_12_18_02_542452_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8e3f9259d89a413b733f88af660e1f06.jpg","text":"TemporaryFile(/tmp/multipartBody4881690872225772953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805789539,"filename":"image_25012025_12_17_02_411375_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7b00778b3fed806f3505b30d13e8c34e.jpg","text":"TemporaryFile(/tmp/multipartBody5087238691381974382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805789539,"filename":"image_25012025_12_16_02_124120_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331329618","file1":"1331329615","file0":"1331329612","file4":"1331329625","file5":"1331329630","file3":"1331329621"},"map_files_photo_id_array":[{"photo_id":"1331329630","filename":"file5"},{"photo_id":"1331329618","filename":"file2"},{"photo_id":"1331329625","filename":"file4"},{"photo_id":"1331329615","filename":"file1"},{"photo_id":"1331329612","filename":"file0"},{"photo_id":"1331329621","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331329625":["hashtag1","hashtag2"]},{"1331329621":["hashtag1","hashtag2"]},{"1331329615":["hashtag1","hashtag2"]},{"1331329630":["hashtag1","hashtag2"]},{"1331329618":["hashtag1","hashtag2"]},{"1331329612":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331329625, 1331329621, 1331329615, 1331329630, 1331329618, 1331329612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.319074869155884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:49:31.841794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/18/image_25012025_12_18_02_542452_0001.jpg', '/home/pi/Desktop/images/25012025/12/18/image_25012025_12_18_02_542452_0002.jpg', '/home/pi/Desktop/images/25012025/12/18/image_25012025_12_18_02_542452_0003.jpg', '/home/pi/Desktop/images/25012025/12/19/image_25012025_12_19_02_667882_0000.jpg', '/home/pi/Desktop/images/25012025/12/19/image_25012025_12_19_02_667882_0001.jpg', '/home/pi/Desktop/images/25012025/12/19/image_25012025_12_19_02_667882_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/18/image_25012025_12_18_02_542452_0001.jpg
/home/pi/Desktop/images/25012025/12/18/image_25012025_12_18_02_542452_0002.jpg
/home/pi/Desktop/images/25012025/12/18/image_25012025_12_18_02_542452_0003.jpg
/home/pi/Desktop/images/25012025/12/19/image_25012025_12_19_02_667882_0000.jpg
/home/pi/Desktop/images/25012025/12/19/image_25012025_12_19_02_667882_0001.jpg
/home/pi/Desktop/images/25012025/12/19/image_25012025_12_19_02_667882_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 [200]>
b'{"photo_ids":["1331329650","1331329697","1331329700","1331329693","1331329672","1331329675"],"photo_ids_order":["1331329650","1331329672","1331329675","1331329693","1331329697","1331329700"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/445905df45cd58a96b32b556d4aae8e7.jpg","text":"TemporaryFile(/tmp/multipartBody510538149783908573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805848968,"filename":"image_25012025_12_18_02_542452_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7df1d427aa4c77ebabad30c24e6bd63e.jpg","text":"TemporaryFile(/tmp/multipartBody6236783303788090048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805848968,"filename":"image_25012025_12_19_02_667882_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1c29b1ca819460f46b5f458289733d63.jpg","text":"TemporaryFile(/tmp/multipartBody8913524923899975462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805848968,"filename":"image_25012025_12_19_02_667882_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bd236a6468efa1e71a8078dd5571712e.jpg","text":"TemporaryFile(/tmp/multipartBody7314582447833154837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805848968,"filename":"image_25012025_12_19_02_667882_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9f0e7ba875a7dee622d02091e883c7e5.jpg","text":"TemporaryFile(/tmp/multipartBody3108683441413786739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805848968,"filename":"image_25012025_12_18_02_542452_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e997c63c1432963f331f1b00b5d2e068.jpg","text":"TemporaryFile(/tmp/multipartBody8883681088697502378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805848968,"filename":"image_25012025_12_18_02_542452_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331329675","file1":"1331329672","file0":"1331329650","file4":"1331329697","file5":"1331329700","file3":"1331329693"},"map_files_photo_id_array":[{"photo_id":"1331329700","filename":"file5"},{"photo_id":"1331329675","filename":"file2"},{"photo_id":"1331329697","filename":"file4"},{"photo_id":"1331329672","filename":"file1"},{"photo_id":"1331329650","filename":"file0"},{"photo_id":"1331329693","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331329650":["hashtag1","hashtag2"]},{"1331329697":["hashtag1","hashtag2"]},{"1331329700":["hashtag1","hashtag2"]},{"1331329693":["hashtag1","hashtag2"]},{"1331329672":["hashtag1","hashtag2"]},{"1331329675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331329650, 1331329697, 1331329700, 1331329693, 1331329672, 1331329675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.207289695739746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 12:50:32.005135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/19/image_25012025_12_19_02_667882_0003.jpg', '/home/pi/Desktop/images/25012025/12/20/image_25012025_12_20_02_873442_0000.jpg', '/home/pi/Desktop/images/25012025/12/20/image_25012025_12_20_02_873442_0001.jpg', '/home/pi/Desktop/images/25012025/12/20/image_25012025_12_20_02_873442_0002.jpg', '/home/pi/Desktop/images/25012025/12/20/image_25012025_12_20_02_873442_0003.jpg', '/home/pi/Desktop/images/25012025/12/21/image_25012025_12_21_03_020377_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/19/image_25012025_12_19_02_667882_0003.jpg
/home/pi/Desktop/images/25012025/12/20/image_25012025_12_20_02_873442_0000.jpg
/home/pi/Desktop/images/25012025/12/20/image_25012025_12_20_02_873442_0001.jpg
/home/pi/Desktop/images/25012025/12/20/image_25012025_12_20_02_873442_0002.jpg
/home/pi/Desktop/images/25012025/12/20/image_25012025_12_20_02_873442_0003.jpg
/home/pi/Desktop/images/25012025/12/21/image_25012025_12_21_03_020377_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331329743","1331329722","1331329727","1331329732","1331329738","1331329717"],"photo_ids_order":["1331329717","1331329722","1331329727","1331329732","1331329738","1331329743"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fa35dd957e2a820d4dc3131709df8be5.jpg","text":"TemporaryFile(/tmp/multipartBody8645982234241046468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805908884,"filename":"image_25012025_12_21_03_020377_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6076c3dc4708ef2723237494b9ad9c3d.jpg","text":"TemporaryFile(/tmp/multipartBody3699722889969802380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805908884,"filename":"image_25012025_12_20_02_873442_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/707f4ce863c39c72e2182cc8c11e95ba.jpg","text":"TemporaryFile(/tmp/multipartBody3450710638930612962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805908884,"filename":"image_25012025_12_20_02_873442_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ec04c348b3b9844e991df6fe6ddb2cce.jpg","text":"TemporaryFile(/tmp/multipartBody2824462626840396530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805908884,"filename":"image_25012025_12_20_02_873442_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b94e039c71bff0af3626baa1c96ed14b.jpg","text":"TemporaryFile(/tmp/multipartBody4913656296753953830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805908884,"filename":"image_25012025_12_20_02_873442_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/36009f8473a552e6f084e60e19ed49b6.jpg","text":"TemporaryFile(/tmp/multipartBody1915685120009728556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805908884,"filename":"image_25012025_12_19_02_667882_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331329727","file1":"1331329722","file0":"1331329717","file4":"1331329738","file5":"1331329743","file3":"1331329732"},"map_files_photo_id_array":[{"photo_id":"1331329743","filename":"file5"},{"photo_id":"1331329727","filename":"file2"},{"photo_id":"1331329738","filename":"file4"},{"photo_id":"1331329722","filename":"file1"},{"photo_id":"1331329717","filename":"file0"},{"photo_id":"1331329732","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331329743":["hashtag1","hashtag2"]},{"1331329722":["hashtag1","hashtag2"]},{"1331329727":["hashtag1","hashtag2"]},{"1331329732":["hashtag1","hashtag2"]},{"1331329738":["hashtag1","hashtag2"]},{"1331329717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331329743, 1331329722, 1331329727, 1331329732, 1331329738, 1331329717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.557430267333984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 12:51:42.225591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/21/image_25012025_12_21_03_020377_0001.jpg', '/home/pi/Desktop/images/25012025/12/21/image_25012025_12_21_03_020377_0002.jpg', '/home/pi/Desktop/images/25012025/12/21/image_25012025_12_21_03_020377_0003.jpg', '/home/pi/Desktop/images/25012025/12/22/image_25012025_12_22_02_350054_0000.jpg', '/home/pi/Desktop/images/25012025/12/22/image_25012025_12_22_02_350054_0001.jpg', '/home/pi/Desktop/images/25012025/12/22/image_25012025_12_22_02_350054_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/21/image_25012025_12_21_03_020377_0001.jpg
/home/pi/Desktop/images/25012025/12/21/image_25012025_12_21_03_020377_0002.jpg
/home/pi/Desktop/images/25012025/12/21/image_25012025_12_21_03_020377_0003.jpg
/home/pi/Desktop/images/25012025/12/22/image_25012025_12_22_02_350054_0000.jpg
/home/pi/Desktop/images/25012025/12/22/image_25012025_12_22_02_350054_0001.jpg
/home/pi/Desktop/images/25012025/12/22/image_25012025_12_22_02_350054_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: 16.312674045562744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 12:52:02.960972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/21/image_25012025_12_21_03_020377_0001.jpg', '/home/pi/Desktop/images/25012025/12/21/image_25012025_12_21_03_020377_0002.jpg', '/home/pi/Desktop/images/25012025/12/21/image_25012025_12_21_03_020377_0003.jpg', '/home/pi/Desktop/images/25012025/12/22/image_25012025_12_22_02_350054_0000.jpg', '/home/pi/Desktop/images/25012025/12/22/image_25012025_12_22_02_350054_0001.jpg', '/home/pi/Desktop/images/25012025/12/22/image_25012025_12_22_02_350054_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/21/image_25012025_12_21_03_020377_0001.jpg
/home/pi/Desktop/images/25012025/12/21/image_25012025_12_21_03_020377_0002.jpg
/home/pi/Desktop/images/25012025/12/21/image_25012025_12_21_03_020377_0003.jpg
/home/pi/Desktop/images/25012025/12/22/image_25012025_12_22_02_350054_0000.jpg
/home/pi/Desktop/images/25012025/12/22/image_25012025_12_22_02_350054_0001.jpg
/home/pi/Desktop/images/25012025/12/22/image_25012025_12_22_02_350054_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 [200]>
b'{"photo_ids":["1331329799","1331329778","1331329775","1331329769","1331329811","1331329785"],"photo_ids_order":["1331329769","1331329775","1331329778","1331329785","1331329799","1331329811"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4b692652ea6d8e137697c2b20a4e7af2.jpg","text":"TemporaryFile(/tmp/multipartBody8668335308449202574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805999714,"filename":"image_25012025_12_22_02_350054_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ab97083d68533ac0b73526462b0690e2.jpg","text":"TemporaryFile(/tmp/multipartBody6633952964665815124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805999714,"filename":"image_25012025_12_21_03_020377_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8ff334fad923d77945fa32dbf67ee467.jpg","text":"TemporaryFile(/tmp/multipartBody8943163741185844289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805999714,"filename":"image_25012025_12_21_03_020377_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0174d58591fa815e113fbc5bd7c37e9d.jpg","text":"TemporaryFile(/tmp/multipartBody9196531698879191980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805999714,"filename":"image_25012025_12_21_03_020377_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c0792bb32b5af1abfbfd2cc81815a126.jpg","text":"TemporaryFile(/tmp/multipartBody8109521628289127455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805999714,"filename":"image_25012025_12_22_02_350054_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c336524e65c7aa71da9092e4a7c9bdd2.jpg","text":"TemporaryFile(/tmp/multipartBody160775623750390727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737805999714,"filename":"image_25012025_12_22_02_350054_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331329778","file1":"1331329775","file0":"1331329769","file4":"1331329799","file5":"1331329811","file3":"1331329785"},"map_files_photo_id_array":[{"photo_id":"1331329811","filename":"file5"},{"photo_id":"1331329778","filename":"file2"},{"photo_id":"1331329799","filename":"file4"},{"photo_id":"1331329775","filename":"file1"},{"photo_id":"1331329769","filename":"file0"},{"photo_id":"1331329785","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331329799":["hashtag1","hashtag2"]},{"1331329778":["hashtag1","hashtag2"]},{"1331329775":["hashtag1","hashtag2"]},{"1331329769":["hashtag1","hashtag2"]},{"1331329811":["hashtag1","hashtag2"]},{"1331329785":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331329799, 1331329778, 1331329775, 1331329769, 1331329811, 1331329785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.81697225570679 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 12:53:03.188753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/22/image_25012025_12_22_02_350054_0003.jpg', '/home/pi/Desktop/images/25012025/12/23/image_25012025_12_23_02_459473_0000.jpg', '/home/pi/Desktop/images/25012025/12/23/image_25012025_12_23_02_459473_0001.jpg', '/home/pi/Desktop/images/25012025/12/23/image_25012025_12_23_02_459473_0002.jpg', '/home/pi/Desktop/images/25012025/12/23/image_25012025_12_23_02_459473_0003.jpg', '/home/pi/Desktop/images/25012025/12/24/image_25012025_12_24_02_616941_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/22/image_25012025_12_22_02_350054_0003.jpg
/home/pi/Desktop/images/25012025/12/23/image_25012025_12_23_02_459473_0000.jpg
/home/pi/Desktop/images/25012025/12/23/image_25012025_12_23_02_459473_0001.jpg
/home/pi/Desktop/images/25012025/12/23/image_25012025_12_23_02_459473_0002.jpg
/home/pi/Desktop/images/25012025/12/23/image_25012025_12_23_02_459473_0003.jpg
/home/pi/Desktop/images/25012025/12/24/image_25012025_12_24_02_616941_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.22455644607544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 12:53:22.678451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/22/image_25012025_12_22_02_350054_0003.jpg', '/home/pi/Desktop/images/25012025/12/23/image_25012025_12_23_02_459473_0000.jpg', '/home/pi/Desktop/images/25012025/12/23/image_25012025_12_23_02_459473_0001.jpg', '/home/pi/Desktop/images/25012025/12/23/image_25012025_12_23_02_459473_0002.jpg', '/home/pi/Desktop/images/25012025/12/23/image_25012025_12_23_02_459473_0003.jpg', '/home/pi/Desktop/images/25012025/12/24/image_25012025_12_24_02_616941_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/22/image_25012025_12_22_02_350054_0003.jpg
/home/pi/Desktop/images/25012025/12/23/image_25012025_12_23_02_459473_0000.jpg
/home/pi/Desktop/images/25012025/12/23/image_25012025_12_23_02_459473_0001.jpg
/home/pi/Desktop/images/25012025/12/23/image_25012025_12_23_02_459473_0002.jpg
/home/pi/Desktop/images/25012025/12/23/image_25012025_12_23_02_459473_0003.jpg
/home/pi/Desktop/images/25012025/12/24/image_25012025_12_24_02_616941_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 [200]>
b'{"photo_ids":["1331329860","1331329878","1331329889","1331329880","1331329891","1331329893"],"photo_ids_order":["1331329860","1331329878","1331329880","1331329889","1331329891","1331329893"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2e5eaf0af89091c68b877127fb89970e.jpg","text":"TemporaryFile(/tmp/multipartBody7606430301523929809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806079208,"filename":"image_25012025_12_22_02_350054_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b30b08ca3b769824b290de7e58e41dda.jpg","text":"TemporaryFile(/tmp/multipartBody1511179675423520827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806079208,"filename":"image_25012025_12_23_02_459473_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ee8cf223e0cfe03e48f3711ff7765a07.jpg","text":"TemporaryFile(/tmp/multipartBody3214660221841326652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806079208,"filename":"image_25012025_12_23_02_459473_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4695f6557f93e3d8f467753f89c1bc3c.jpg","text":"TemporaryFile(/tmp/multipartBody6907981992119063882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806079208,"filename":"image_25012025_12_23_02_459473_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bb99d501db34e952d8d6910975b5a272.jpg","text":"TemporaryFile(/tmp/multipartBody8413664356034527859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806079208,"filename":"image_25012025_12_23_02_459473_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4fb7cff80ad97d29a5177c7ea6e9e86e.jpg","text":"TemporaryFile(/tmp/multipartBody6953727687266979749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806079208,"filename":"image_25012025_12_24_02_616941_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331329880","file1":"1331329878","file0":"1331329860","file4":"1331329891","file5":"1331329893","file3":"1331329889"},"map_files_photo_id_array":[{"photo_id":"1331329893","filename":"file5"},{"photo_id":"1331329880","filename":"file2"},{"photo_id":"1331329891","filename":"file4"},{"photo_id":"1331329878","filename":"file1"},{"photo_id":"1331329860","filename":"file0"},{"photo_id":"1331329889","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331329860":["hashtag1","hashtag2"]},{"1331329878":["hashtag1","hashtag2"]},{"1331329889":["hashtag1","hashtag2"]},{"1331329880":["hashtag1","hashtag2"]},{"1331329891":["hashtag1","hashtag2"]},{"1331329893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331329860, 1331329878, 1331329889, 1331329880, 1331329891, 1331329893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.41224193572998 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 12:54:21.833048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/24/image_25012025_12_24_02_616941_0001.jpg', '/home/pi/Desktop/images/25012025/12/24/image_25012025_12_24_02_616941_0002.jpg', '/home/pi/Desktop/images/25012025/12/24/image_25012025_12_24_02_616941_0003.jpg', '/home/pi/Desktop/images/25012025/12/25/image_25012025_12_25_02_804366_0000.jpg', '/home/pi/Desktop/images/25012025/12/25/image_25012025_12_25_02_804366_0001.jpg', '/home/pi/Desktop/images/25012025/12/25/image_25012025_12_25_02_804366_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/24/image_25012025_12_24_02_616941_0001.jpg
/home/pi/Desktop/images/25012025/12/24/image_25012025_12_24_02_616941_0002.jpg
/home/pi/Desktop/images/25012025/12/24/image_25012025_12_24_02_616941_0003.jpg
/home/pi/Desktop/images/25012025/12/25/image_25012025_12_25_02_804366_0000.jpg
/home/pi/Desktop/images/25012025/12/25/image_25012025_12_25_02_804366_0001.jpg
/home/pi/Desktop/images/25012025/12/25/image_25012025_12_25_02_804366_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 [200]>
b'{"photo_ids":["1331329929","1331329920","1331329905","1331329925","1331329915","1331329909"],"photo_ids_order":["1331329905","1331329909","1331329915","1331329920","1331329925","1331329929"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8681427eef115cb5ff137739cad2dbb1.jpg","text":"TemporaryFile(/tmp/multipartBody8014406060344106525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806138958,"filename":"image_25012025_12_25_02_804366_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/26078a65d8b142c106ed2efe29d10de7.jpg","text":"TemporaryFile(/tmp/multipartBody4122849084236939702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806138958,"filename":"image_25012025_12_25_02_804366_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a5aabcfb90e9ed71b928a2c229943e46.jpg","text":"TemporaryFile(/tmp/multipartBody6656287284425866347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806138958,"filename":"image_25012025_12_24_02_616941_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/17f6b186eb01235f821e777e135ba774.jpg","text":"TemporaryFile(/tmp/multipartBody7167992917494526148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806138958,"filename":"image_25012025_12_25_02_804366_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6a063e534410cd0e178a352d28da598a.jpg","text":"TemporaryFile(/tmp/multipartBody6669832457230466394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806138958,"filename":"image_25012025_12_24_02_616941_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c15c4ad82005dc6a6fe5d88d9fce2e62.jpg","text":"TemporaryFile(/tmp/multipartBody7097445284392226193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806138958,"filename":"image_25012025_12_24_02_616941_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331329915","file1":"1331329909","file0":"1331329905","file4":"1331329925","file5":"1331329929","file3":"1331329920"},"map_files_photo_id_array":[{"photo_id":"1331329929","filename":"file5"},{"photo_id":"1331329915","filename":"file2"},{"photo_id":"1331329925","filename":"file4"},{"photo_id":"1331329909","filename":"file1"},{"photo_id":"1331329905","filename":"file0"},{"photo_id":"1331329920","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331329929":["hashtag1","hashtag2"]},{"1331329920":["hashtag1","hashtag2"]},{"1331329905":["hashtag1","hashtag2"]},{"1331329925":["hashtag1","hashtag2"]},{"1331329915":["hashtag1","hashtag2"]},{"1331329909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331329929, 1331329920, 1331329905, 1331329925, 1331329915, 1331329909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.950129985809326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 12:55:22.075204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/25/image_25012025_12_25_02_804366_0003.jpg', '/home/pi/Desktop/images/25012025/12/26/image_25012025_12_26_02_936247_0000.jpg', '/home/pi/Desktop/images/25012025/12/26/image_25012025_12_26_02_936247_0001.jpg', '/home/pi/Desktop/images/25012025/12/26/image_25012025_12_26_02_936247_0002.jpg', '/home/pi/Desktop/images/25012025/12/26/image_25012025_12_26_02_936247_0003.jpg', '/home/pi/Desktop/images/25012025/12/27/image_25012025_12_27_02_138507_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/25/image_25012025_12_25_02_804366_0003.jpg
/home/pi/Desktop/images/25012025/12/26/image_25012025_12_26_02_936247_0000.jpg
/home/pi/Desktop/images/25012025/12/26/image_25012025_12_26_02_936247_0001.jpg
/home/pi/Desktop/images/25012025/12/26/image_25012025_12_26_02_936247_0002.jpg
/home/pi/Desktop/images/25012025/12/26/image_25012025_12_26_02_936247_0003.jpg
/home/pi/Desktop/images/25012025/12/27/image_25012025_12_27_02_138507_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 [200]>
b'{"photo_ids":["1331330206","1331330202","1331330081","1331330198","1331330204","1331330044"],"photo_ids_order":["1331330044","1331330081","1331330198","1331330202","1331330204","1331330206"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ed15e3abf00b45a27b03c8372b71af9c.jpg","text":"TemporaryFile(/tmp/multipartBody5563152515000272565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806198417,"filename":"image_25012025_12_27_02_138507_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/db79e71900253b7da52dc35a54e829c0.jpg","text":"TemporaryFile(/tmp/multipartBody6354786885336909543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806198417,"filename":"image_25012025_12_26_02_936247_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/595313c13ab44eac5c1423b4da18e112.jpg","text":"TemporaryFile(/tmp/multipartBody6830469315547744275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806198417,"filename":"image_25012025_12_26_02_936247_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/92ac3978d87c96b480d6a6755cd23364.jpg","text":"TemporaryFile(/tmp/multipartBody7680331325224474104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806198417,"filename":"image_25012025_12_26_02_936247_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c71527d512644a49f0bd48f31a1dbec.jpg","text":"TemporaryFile(/tmp/multipartBody645682316267542602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806198417,"filename":"image_25012025_12_26_02_936247_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b8b83c850a89d31cec65678601644f69.jpg","text":"TemporaryFile(/tmp/multipartBody8688064070060345739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806198417,"filename":"image_25012025_12_25_02_804366_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331330198","file1":"1331330081","file0":"1331330044","file4":"1331330204","file5":"1331330206","file3":"1331330202"},"map_files_photo_id_array":[{"photo_id":"1331330206","filename":"file5"},{"photo_id":"1331330198","filename":"file2"},{"photo_id":"1331330204","filename":"file4"},{"photo_id":"1331330081","filename":"file1"},{"photo_id":"1331330044","filename":"file0"},{"photo_id":"1331330202","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331330206":["hashtag1","hashtag2"]},{"1331330202":["hashtag1","hashtag2"]},{"1331330081":["hashtag1","hashtag2"]},{"1331330198":["hashtag1","hashtag2"]},{"1331330204":["hashtag1","hashtag2"]},{"1331330044":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331330206, 1331330202, 1331330081, 1331330198, 1331330204, 1331330044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.68486833572388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 12:56:22.287696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/27/image_25012025_12_27_02_138507_0001.jpg', '/home/pi/Desktop/images/25012025/12/27/image_25012025_12_27_02_138507_0002.jpg', '/home/pi/Desktop/images/25012025/12/27/image_25012025_12_27_02_138507_0003.jpg', '/home/pi/Desktop/images/25012025/12/28/image_25012025_12_28_02_359645_0000.jpg', '/home/pi/Desktop/images/25012025/12/28/image_25012025_12_28_02_359645_0001.jpg', '/home/pi/Desktop/images/25012025/12/28/image_25012025_12_28_02_359645_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/27/image_25012025_12_27_02_138507_0001.jpg
/home/pi/Desktop/images/25012025/12/27/image_25012025_12_27_02_138507_0002.jpg
/home/pi/Desktop/images/25012025/12/27/image_25012025_12_27_02_138507_0003.jpg
/home/pi/Desktop/images/25012025/12/28/image_25012025_12_28_02_359645_0000.jpg
/home/pi/Desktop/images/25012025/12/28/image_25012025_12_28_02_359645_0001.jpg
/home/pi/Desktop/images/25012025/12/28/image_25012025_12_28_02_359645_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 [200]>
b'{"photo_ids":["1331330239","1331330224","1331330229","1331330220","1331330237","1331330234"],"photo_ids_order":["1331330220","1331330224","1331330229","1331330234","1331330237","1331330239"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/375eeb04a2920df7f15eb39b3f7bef22.jpg","text":"TemporaryFile(/tmp/multipartBody6766797754754418804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806258405,"filename":"image_25012025_12_28_02_359645_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9ab943b4ecaa3cfe7ee5461034326877.jpg","text":"TemporaryFile(/tmp/multipartBody2853373753591167155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806258405,"filename":"image_25012025_12_27_02_138507_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/521a06bef3dd0de0b1f5d721d0896105.jpg","text":"TemporaryFile(/tmp/multipartBody4832490288325415400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806258405,"filename":"image_25012025_12_27_02_138507_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/639b1dde1e0685b5df349a73fe292e80.jpg","text":"TemporaryFile(/tmp/multipartBody6110055647760224040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806258405,"filename":"image_25012025_12_27_02_138507_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/debe12b82960bc2c192ea47c2bd70c92.jpg","text":"TemporaryFile(/tmp/multipartBody8207160333535168030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806258405,"filename":"image_25012025_12_28_02_359645_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d6567d727e71399075a45fd84bfd0f60.jpg","text":"TemporaryFile(/tmp/multipartBody4309289143489753369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806258405,"filename":"image_25012025_12_28_02_359645_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331330229","file1":"1331330224","file0":"1331330220","file4":"1331330237","file5":"1331330239","file3":"1331330234"},"map_files_photo_id_array":[{"photo_id":"1331330239","filename":"file5"},{"photo_id":"1331330229","filename":"file2"},{"photo_id":"1331330237","filename":"file4"},{"photo_id":"1331330224","filename":"file1"},{"photo_id":"1331330220","filename":"file0"},{"photo_id":"1331330234","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331330239":["hashtag1","hashtag2"]},{"1331330224":["hashtag1","hashtag2"]},{"1331330229":["hashtag1","hashtag2"]},{"1331330220":["hashtag1","hashtag2"]},{"1331330237":["hashtag1","hashtag2"]},{"1331330234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331330239, 1331330224, 1331330229, 1331330220, 1331330237, 1331330234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.71989321708679 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 12:57:22.435663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/28/image_25012025_12_28_02_359645_0003.jpg', '/home/pi/Desktop/images/25012025/12/29/image_25012025_12_29_02_484580_0000.jpg', '/home/pi/Desktop/images/25012025/12/29/image_25012025_12_29_02_484580_0001.jpg', '/home/pi/Desktop/images/25012025/12/29/image_25012025_12_29_02_484580_0002.jpg', '/home/pi/Desktop/images/25012025/12/29/image_25012025_12_29_02_484580_0003.jpg', '/home/pi/Desktop/images/25012025/12/30/image_25012025_12_30_02_782838_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/28/image_25012025_12_28_02_359645_0003.jpg
/home/pi/Desktop/images/25012025/12/29/image_25012025_12_29_02_484580_0000.jpg
/home/pi/Desktop/images/25012025/12/29/image_25012025_12_29_02_484580_0001.jpg
/home/pi/Desktop/images/25012025/12/29/image_25012025_12_29_02_484580_0002.jpg
/home/pi/Desktop/images/25012025/12/29/image_25012025_12_29_02_484580_0003.jpg
/home/pi/Desktop/images/25012025/12/30/image_25012025_12_30_02_782838_0000.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-25 12:59:02.462250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/28/image_25012025_12_28_02_359645_0003.jpg', '/home/pi/Desktop/images/25012025/12/29/image_25012025_12_29_02_484580_0000.jpg', '/home/pi/Desktop/images/25012025/12/29/image_25012025_12_29_02_484580_0001.jpg', '/home/pi/Desktop/images/25012025/12/29/image_25012025_12_29_02_484580_0002.jpg', '/home/pi/Desktop/images/25012025/12/29/image_25012025_12_29_02_484580_0003.jpg', '/home/pi/Desktop/images/25012025/12/30/image_25012025_12_30_02_782838_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/28/image_25012025_12_28_02_359645_0003.jpg
/home/pi/Desktop/images/25012025/12/29/image_25012025_12_29_02_484580_0000.jpg
/home/pi/Desktop/images/25012025/12/29/image_25012025_12_29_02_484580_0001.jpg
/home/pi/Desktop/images/25012025/12/29/image_25012025_12_29_02_484580_0002.jpg
/home/pi/Desktop/images/25012025/12/29/image_25012025_12_29_02_484580_0003.jpg
/home/pi/Desktop/images/25012025/12/30/image_25012025_12_30_02_782838_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 [200]>
b'{"photo_ids":["1331330458","1331330469","1331330463","1331330466","1331330477","1331330473"],"photo_ids_order":["1331330458","1331330463","1331330466","1331330469","1331330473","1331330477"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/660f28a16c73ed003df40df5c183cf6d.jpg","text":"TemporaryFile(/tmp/multipartBody3512180437490256185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806418674,"filename":"image_25012025_12_28_02_359645_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c9f426ad51875f85755059427090eb95.jpg","text":"TemporaryFile(/tmp/multipartBody5210899647911098970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806418674,"filename":"image_25012025_12_29_02_484580_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/764ef204c577bc11030d808a3796ed33.jpg","text":"TemporaryFile(/tmp/multipartBody3564046750188690061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806418674,"filename":"image_25012025_12_29_02_484580_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/65fde1d3b0850ece2b0038ce088949a3.jpg","text":"TemporaryFile(/tmp/multipartBody1116120760579290764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806418674,"filename":"image_25012025_12_29_02_484580_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/82400d858bd745f0a1434d7935091393.jpg","text":"TemporaryFile(/tmp/multipartBody2342596401724636388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806418674,"filename":"image_25012025_12_30_02_782838_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/04955b8dd662329967877ddf76f0cad8.jpg","text":"TemporaryFile(/tmp/multipartBody4626414282962984061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806418674,"filename":"image_25012025_12_29_02_484580_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331330466","file1":"1331330463","file0":"1331330458","file4":"1331330473","file5":"1331330477","file3":"1331330469"},"map_files_photo_id_array":[{"photo_id":"1331330477","filename":"file5"},{"photo_id":"1331330466","filename":"file2"},{"photo_id":"1331330473","filename":"file4"},{"photo_id":"1331330463","filename":"file1"},{"photo_id":"1331330458","filename":"file0"},{"photo_id":"1331330469","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331330458":["hashtag1","hashtag2"]},{"1331330469":["hashtag1","hashtag2"]},{"1331330463":["hashtag1","hashtag2"]},{"1331330466":["hashtag1","hashtag2"]},{"1331330477":["hashtag1","hashtag2"]},{"1331330473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331330458, 1331330469, 1331330463, 1331330466, 1331330477, 1331330473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.87352395057678 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 13:00:02.376243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/30/image_25012025_12_30_02_782838_0001.jpg', '/home/pi/Desktop/images/25012025/12/30/image_25012025_12_30_02_782838_0002.jpg', '/home/pi/Desktop/images/25012025/12/30/image_25012025_12_30_02_782838_0003.jpg', '/home/pi/Desktop/images/25012025/12/31/image_25012025_12_31_02_851796_0000.jpg', '/home/pi/Desktop/images/25012025/12/31/image_25012025_12_31_02_851796_0001.jpg', '/home/pi/Desktop/images/25012025/12/31/image_25012025_12_31_02_851796_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/30/image_25012025_12_30_02_782838_0001.jpg
/home/pi/Desktop/images/25012025/12/30/image_25012025_12_30_02_782838_0002.jpg
/home/pi/Desktop/images/25012025/12/30/image_25012025_12_30_02_782838_0003.jpg
/home/pi/Desktop/images/25012025/12/31/image_25012025_12_31_02_851796_0000.jpg
/home/pi/Desktop/images/25012025/12/31/image_25012025_12_31_02_851796_0001.jpg
/home/pi/Desktop/images/25012025/12/31/image_25012025_12_31_02_851796_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 [200]>
b'{"photo_ids":["1331330500","1331330506","1331330516","1331330510","1331330504","1331330513"],"photo_ids_order":["1331330500","1331330504","1331330506","1331330510","1331330513","1331330516"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c01e49768deb657102bccaa994ec4d8d.jpg","text":"TemporaryFile(/tmp/multipartBody6861932563438500085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806479186,"filename":"image_25012025_12_30_02_782838_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7428c4e318e4ed0cd68c330eae9eea32.jpg","text":"TemporaryFile(/tmp/multipartBody2267251432763760101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806479186,"filename":"image_25012025_12_30_02_782838_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e951a4db27a524b709f86ee784541cdb.jpg","text":"TemporaryFile(/tmp/multipartBody9116167741922481758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806479186,"filename":"image_25012025_12_31_02_851796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7804e66e5be163078f3af8ea289bdede.jpg","text":"TemporaryFile(/tmp/multipartBody4360600637360689092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806479186,"filename":"image_25012025_12_31_02_851796_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f5137c22bf58c2aeba267d1852389699.jpg","text":"TemporaryFile(/tmp/multipartBody1066333377814274082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806479186,"filename":"image_25012025_12_30_02_782838_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e980cac025cd3d6bf1534f1ee71ae1ec.jpg","text":"TemporaryFile(/tmp/multipartBody298423569268127929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806479186,"filename":"image_25012025_12_31_02_851796_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331330506","file1":"1331330504","file0":"1331330500","file4":"1331330513","file5":"1331330516","file3":"1331330510"},"map_files_photo_id_array":[{"photo_id":"1331330516","filename":"file5"},{"photo_id":"1331330506","filename":"file2"},{"photo_id":"1331330513","filename":"file4"},{"photo_id":"1331330504","filename":"file1"},{"photo_id":"1331330500","filename":"file0"},{"photo_id":"1331330510","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331330500":["hashtag1","hashtag2"]},{"1331330506":["hashtag1","hashtag2"]},{"1331330516":["hashtag1","hashtag2"]},{"1331330510":["hashtag1","hashtag2"]},{"1331330504":["hashtag1","hashtag2"]},{"1331330513":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331330500, 1331330506, 1331330516, 1331330510, 1331330504, 1331330513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.55585694313049 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 13:01:02.826698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/31/image_25012025_12_31_02_851796_0003.jpg', '/home/pi/Desktop/images/25012025/12/32/image_25012025_12_32_03_017410_0000.jpg', '/home/pi/Desktop/images/25012025/12/32/image_25012025_12_32_03_017410_0001.jpg', '/home/pi/Desktop/images/25012025/12/32/image_25012025_12_32_03_017410_0002.jpg', '/home/pi/Desktop/images/25012025/12/32/image_25012025_12_32_03_017410_0003.jpg', '/home/pi/Desktop/images/25012025/12/33/image_25012025_12_33_02_132722_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/31/image_25012025_12_31_02_851796_0003.jpg
/home/pi/Desktop/images/25012025/12/32/image_25012025_12_32_03_017410_0000.jpg
/home/pi/Desktop/images/25012025/12/32/image_25012025_12_32_03_017410_0001.jpg
/home/pi/Desktop/images/25012025/12/32/image_25012025_12_32_03_017410_0002.jpg
/home/pi/Desktop/images/25012025/12/32/image_25012025_12_32_03_017410_0003.jpg
/home/pi/Desktop/images/25012025/12/33/image_25012025_12_33_02_132722_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 [200]>
b'{"photo_ids":["1331331489","1331331477","1331331485","1331331012","1331331481","1331331387"],"photo_ids_order":["1331331012","1331331387","1331331477","1331331481","1331331485","1331331489"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/206b92ca17f9a32f40f8d437a3637e6e.jpg","text":"TemporaryFile(/tmp/multipartBody8415545349491886164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806539714,"filename":"image_25012025_12_33_02_132722_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/36a9ee443d02cb10c71e177af4556124.jpg","text":"TemporaryFile(/tmp/multipartBody7002786723583931155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806539714,"filename":"image_25012025_12_32_03_017410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d15c40c55741aa741c8d5504b9761ec4.jpg","text":"TemporaryFile(/tmp/multipartBody7504604036702309054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806539714,"filename":"image_25012025_12_32_03_017410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5096f379c4e7d38fb4ffd5b8e1be46aa.jpg","text":"TemporaryFile(/tmp/multipartBody2653721997320488462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806539714,"filename":"image_25012025_12_31_02_851796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/95c93c1bc953730b2dca72ea695c2fed.jpg","text":"TemporaryFile(/tmp/multipartBody6325054834017981690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806539714,"filename":"image_25012025_12_32_03_017410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fafbbb82588c2185312e19b3d85e234e.jpg","text":"TemporaryFile(/tmp/multipartBody9116545415564014601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806539714,"filename":"image_25012025_12_32_03_017410_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331331477","file1":"1331331387","file0":"1331331012","file4":"1331331485","file5":"1331331489","file3":"1331331481"},"map_files_photo_id_array":[{"photo_id":"1331331489","filename":"file5"},{"photo_id":"1331331477","filename":"file2"},{"photo_id":"1331331485","filename":"file4"},{"photo_id":"1331331387","filename":"file1"},{"photo_id":"1331331012","filename":"file0"},{"photo_id":"1331331481","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331331489":["hashtag1","hashtag2"]},{"1331331477":["hashtag1","hashtag2"]},{"1331331485":["hashtag1","hashtag2"]},{"1331331012":["hashtag1","hashtag2"]},{"1331331481":["hashtag1","hashtag2"]},{"1331331387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331331489, 1331331477, 1331331485, 1331331012, 1331331481, 1331331387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.67019486427307 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 13:02:02.853281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/33/image_25012025_12_33_02_132722_0001.jpg', '/home/pi/Desktop/images/25012025/12/33/image_25012025_12_33_02_132722_0002.jpg', '/home/pi/Desktop/images/25012025/12/33/image_25012025_12_33_02_132722_0003.jpg', '/home/pi/Desktop/images/25012025/12/34/image_25012025_12_34_02_367166_0000.jpg', '/home/pi/Desktop/images/25012025/12/34/image_25012025_12_34_02_367166_0001.jpg', '/home/pi/Desktop/images/25012025/12/34/image_25012025_12_34_02_367166_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/33/image_25012025_12_33_02_132722_0001.jpg
/home/pi/Desktop/images/25012025/12/33/image_25012025_12_33_02_132722_0002.jpg
/home/pi/Desktop/images/25012025/12/33/image_25012025_12_33_02_132722_0003.jpg
/home/pi/Desktop/images/25012025/12/34/image_25012025_12_34_02_367166_0000.jpg
/home/pi/Desktop/images/25012025/12/34/image_25012025_12_34_02_367166_0001.jpg
/home/pi/Desktop/images/25012025/12/34/image_25012025_12_34_02_367166_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 [200]>
b'{"photo_ids":["1331331539","1331331550","1331331544","1331331706","1331331535","1331331699"],"photo_ids_order":["1331331535","1331331539","1331331544","1331331550","1331331699","1331331706"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e2ed15bdada007f60bb865e64fe534c4.jpg","text":"TemporaryFile(/tmp/multipartBody8662798345285261825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806599174,"filename":"image_25012025_12_33_02_132722_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3142091a11f602463517b28c8f7273d3.jpg","text":"TemporaryFile(/tmp/multipartBody6735939287702841567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806599174,"filename":"image_25012025_12_34_02_367166_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b350d5eb0115f8a77bb179ff69c60e0b.jpg","text":"TemporaryFile(/tmp/multipartBody52839680968293871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806599174,"filename":"image_25012025_12_33_02_132722_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4001aa087e65eaf7374828d82a7b4e80.jpg","text":"TemporaryFile(/tmp/multipartBody4569096213520469241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806599174,"filename":"image_25012025_12_34_02_367166_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/68c9a22b7e477197e84ba950a9dce29e.jpg","text":"TemporaryFile(/tmp/multipartBody6255687860649412046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806599174,"filename":"image_25012025_12_33_02_132722_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a249c53d4403c236ce283438d9f1d953.jpg","text":"TemporaryFile(/tmp/multipartBody4975588561481834536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806599174,"filename":"image_25012025_12_34_02_367166_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331331544","file1":"1331331539","file0":"1331331535","file4":"1331331699","file5":"1331331706","file3":"1331331550"},"map_files_photo_id_array":[{"photo_id":"1331331706","filename":"file5"},{"photo_id":"1331331544","filename":"file2"},{"photo_id":"1331331699","filename":"file4"},{"photo_id":"1331331539","filename":"file1"},{"photo_id":"1331331535","filename":"file0"},{"photo_id":"1331331550","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331331539":["hashtag1","hashtag2"]},{"1331331550":["hashtag1","hashtag2"]},{"1331331544":["hashtag1","hashtag2"]},{"1331331706":["hashtag1","hashtag2"]},{"1331331535":["hashtag1","hashtag2"]},{"1331331699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331331539, 1331331550, 1331331544, 1331331706, 1331331535, 1331331699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.7829065322876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 13:03:03.200120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/34/image_25012025_12_34_02_367166_0003.jpg', '/home/pi/Desktop/images/25012025/12/35/image_25012025_12_35_02_567300_0000.jpg', '/home/pi/Desktop/images/25012025/12/35/image_25012025_12_35_02_567300_0001.jpg', '/home/pi/Desktop/images/25012025/12/35/image_25012025_12_35_02_567300_0002.jpg', '/home/pi/Desktop/images/25012025/12/35/image_25012025_12_35_02_567300_0003.jpg', '/home/pi/Desktop/images/25012025/12/36/image_25012025_12_36_02_789643_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/34/image_25012025_12_34_02_367166_0003.jpg
/home/pi/Desktop/images/25012025/12/35/image_25012025_12_35_02_567300_0000.jpg
/home/pi/Desktop/images/25012025/12/35/image_25012025_12_35_02_567300_0001.jpg
/home/pi/Desktop/images/25012025/12/35/image_25012025_12_35_02_567300_0002.jpg
/home/pi/Desktop/images/25012025/12/35/image_25012025_12_35_02_567300_0003.jpg
/home/pi/Desktop/images/25012025/12/36/image_25012025_12_36_02_789643_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.18982720375061 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:03:22.622603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/34/image_25012025_12_34_02_367166_0003.jpg', '/home/pi/Desktop/images/25012025/12/35/image_25012025_12_35_02_567300_0000.jpg', '/home/pi/Desktop/images/25012025/12/35/image_25012025_12_35_02_567300_0001.jpg', '/home/pi/Desktop/images/25012025/12/35/image_25012025_12_35_02_567300_0002.jpg', '/home/pi/Desktop/images/25012025/12/35/image_25012025_12_35_02_567300_0003.jpg', '/home/pi/Desktop/images/25012025/12/36/image_25012025_12_36_02_789643_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/34/image_25012025_12_34_02_367166_0003.jpg
/home/pi/Desktop/images/25012025/12/35/image_25012025_12_35_02_567300_0000.jpg
/home/pi/Desktop/images/25012025/12/35/image_25012025_12_35_02_567300_0001.jpg
/home/pi/Desktop/images/25012025/12/35/image_25012025_12_35_02_567300_0002.jpg
/home/pi/Desktop/images/25012025/12/35/image_25012025_12_35_02_567300_0003.jpg
/home/pi/Desktop/images/25012025/12/36/image_25012025_12_36_02_789643_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 [200]>
b'{"photo_ids":["1331332967","1331333194","1331333062","1331332925","1331332960","1331332971"],"photo_ids_order":["1331332925","1331332960","1331332967","1331332971","1331333062","1331333194"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cdf85e6dbdf42281be3966cdbe2d1675.jpg","text":"TemporaryFile(/tmp/multipartBody942784577825280806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806679101,"filename":"image_25012025_12_35_02_567300_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f440e2a5e0ada9124d4afd5d0a93a748.jpg","text":"TemporaryFile(/tmp/multipartBody3042751142514699610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806679101,"filename":"image_25012025_12_36_02_789643_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9fb3188aa468ff26e3a559b6ad79f36d.jpg","text":"TemporaryFile(/tmp/multipartBody5528306684551282020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806679101,"filename":"image_25012025_12_35_02_567300_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d0e45084244dc143b8262205cfdffbbe.jpg","text":"TemporaryFile(/tmp/multipartBody5660565476530736000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806679101,"filename":"image_25012025_12_34_02_367166_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/28cad9470fc942b98d78684fb4d5a3b0.jpg","text":"TemporaryFile(/tmp/multipartBody4404454721888391781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806679101,"filename":"image_25012025_12_35_02_567300_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/94dbb9fabb20741a6aa272515e8a9e0f.jpg","text":"TemporaryFile(/tmp/multipartBody1681319999202275796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806679101,"filename":"image_25012025_12_35_02_567300_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331332967","file1":"1331332960","file0":"1331332925","file4":"1331333062","file5":"1331333194","file3":"1331332971"},"map_files_photo_id_array":[{"photo_id":"1331333194","filename":"file5"},{"photo_id":"1331332967","filename":"file2"},{"photo_id":"1331333062","filename":"file4"},{"photo_id":"1331332960","filename":"file1"},{"photo_id":"1331332925","filename":"file0"},{"photo_id":"1331332971","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331332967":["hashtag1","hashtag2"]},{"1331333194":["hashtag1","hashtag2"]},{"1331333062":["hashtag1","hashtag2"]},{"1331332925":["hashtag1","hashtag2"]},{"1331332960":["hashtag1","hashtag2"]},{"1331332971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331332967, 1331333194, 1331333062, 1331332925, 1331332960, 1331332971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.01239895820618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:04:22.756804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/36/image_25012025_12_36_02_789643_0001.jpg', '/home/pi/Desktop/images/25012025/12/36/image_25012025_12_36_02_789643_0002.jpg', '/home/pi/Desktop/images/25012025/12/36/image_25012025_12_36_02_789643_0003.jpg', '/home/pi/Desktop/images/25012025/12/37/image_25012025_12_37_02_886298_0000.jpg', '/home/pi/Desktop/images/25012025/12/37/image_25012025_12_37_02_886298_0001.jpg', '/home/pi/Desktop/images/25012025/12/37/image_25012025_12_37_02_886298_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/36/image_25012025_12_36_02_789643_0001.jpg
/home/pi/Desktop/images/25012025/12/36/image_25012025_12_36_02_789643_0002.jpg
/home/pi/Desktop/images/25012025/12/36/image_25012025_12_36_02_789643_0003.jpg
/home/pi/Desktop/images/25012025/12/37/image_25012025_12_37_02_886298_0000.jpg
/home/pi/Desktop/images/25012025/12/37/image_25012025_12_37_02_886298_0001.jpg
/home/pi/Desktop/images/25012025/12/37/image_25012025_12_37_02_886298_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 [200]>
b'{"photo_ids":["1331333282","1331333339","1331333290","1331333350","1331333308","1331333325"],"photo_ids_order":["1331333282","1331333290","1331333308","1331333325","1331333339","1331333350"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0119b25178a7300abdeaf9608fbc5bd7.jpg","text":"TemporaryFile(/tmp/multipartBody8200983691317835488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806739451,"filename":"image_25012025_12_36_02_789643_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b4e98102c162ba79b236b6259d8f0b6a.jpg","text":"TemporaryFile(/tmp/multipartBody542555854184434761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806739451,"filename":"image_25012025_12_37_02_886298_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4634987cac1beead2a39856cb97e93d5.jpg","text":"TemporaryFile(/tmp/multipartBody5466914582521625616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806739451,"filename":"image_25012025_12_36_02_789643_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6f729a02e9ea0a6a55a2463dbbb8964d.jpg","text":"TemporaryFile(/tmp/multipartBody7229245679044240387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806739451,"filename":"image_25012025_12_37_02_886298_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d8e1c0155f3a8fd51a645b5166c3f64e.jpg","text":"TemporaryFile(/tmp/multipartBody4633543407658813536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806739451,"filename":"image_25012025_12_36_02_789643_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f3e4ef1c0446798e8863c2a116568123.jpg","text":"TemporaryFile(/tmp/multipartBody5449843790367601140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806739451,"filename":"image_25012025_12_37_02_886298_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331333308","file1":"1331333290","file0":"1331333282","file4":"1331333339","file5":"1331333350","file3":"1331333325"},"map_files_photo_id_array":[{"photo_id":"1331333350","filename":"file5"},{"photo_id":"1331333308","filename":"file2"},{"photo_id":"1331333339","filename":"file4"},{"photo_id":"1331333290","filename":"file1"},{"photo_id":"1331333282","filename":"file0"},{"photo_id":"1331333325","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331333282":["hashtag1","hashtag2"]},{"1331333339":["hashtag1","hashtag2"]},{"1331333290":["hashtag1","hashtag2"]},{"1331333350":["hashtag1","hashtag2"]},{"1331333308":["hashtag1","hashtag2"]},{"1331333325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331333282, 1331333339, 1331333290, 1331333350, 1331333308, 1331333325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.449010133743286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:05:21.904217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/37/image_25012025_12_37_02_886298_0003.jpg', '/home/pi/Desktop/images/25012025/12/38/image_25012025_12_38_03_186244_0000.jpg', '/home/pi/Desktop/images/25012025/12/38/image_25012025_12_38_03_186244_0001.jpg', '/home/pi/Desktop/images/25012025/12/38/image_25012025_12_38_03_186244_0002.jpg', '/home/pi/Desktop/images/25012025/12/38/image_25012025_12_38_03_186244_0003.jpg', '/home/pi/Desktop/images/25012025/12/39/image_25012025_12_39_02_217008_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/37/image_25012025_12_37_02_886298_0003.jpg
/home/pi/Desktop/images/25012025/12/38/image_25012025_12_38_03_186244_0000.jpg
/home/pi/Desktop/images/25012025/12/38/image_25012025_12_38_03_186244_0001.jpg
/home/pi/Desktop/images/25012025/12/38/image_25012025_12_38_03_186244_0002.jpg
/home/pi/Desktop/images/25012025/12/38/image_25012025_12_38_03_186244_0003.jpg
/home/pi/Desktop/images/25012025/12/39/image_25012025_12_39_02_217008_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 [200]>
b'{"photo_ids":["1331333392","1331333389","1331333385","1331333379","1331333370","1331333412"],"photo_ids_order":["1331333370","1331333379","1331333385","1331333389","1331333392","1331333412"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d181de95de95c9a6307272fd216dc0b1.jpg","text":"TemporaryFile(/tmp/multipartBody3335216589499000293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806798554,"filename":"image_25012025_12_38_03_186244_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4235f3eb93cf1b515f8b92dfe1c7b36f.jpg","text":"TemporaryFile(/tmp/multipartBody8119031792204662624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806798554,"filename":"image_25012025_12_38_03_186244_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f1e82a5bab17f4ebced47a68dcc392d6.jpg","text":"TemporaryFile(/tmp/multipartBody8856233970030403129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806798554,"filename":"image_25012025_12_38_03_186244_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/035ac1cef5f533d5668d9c84f51d2783.jpg","text":"TemporaryFile(/tmp/multipartBody6130302767744148744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806798554,"filename":"image_25012025_12_38_03_186244_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eaf5ae421332ebbbc9c927a6900a00e9.jpg","text":"TemporaryFile(/tmp/multipartBody3465214833582938376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806798554,"filename":"image_25012025_12_37_02_886298_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e29e1c0b039cc8f438ddfbf181a6169d.jpg","text":"TemporaryFile(/tmp/multipartBody3279005190119423289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806798554,"filename":"image_25012025_12_39_02_217008_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331333385","file1":"1331333379","file0":"1331333370","file4":"1331333392","file5":"1331333412","file3":"1331333389"},"map_files_photo_id_array":[{"photo_id":"1331333412","filename":"file5"},{"photo_id":"1331333385","filename":"file2"},{"photo_id":"1331333392","filename":"file4"},{"photo_id":"1331333379","filename":"file1"},{"photo_id":"1331333370","filename":"file0"},{"photo_id":"1331333389","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331333392":["hashtag1","hashtag2"]},{"1331333389":["hashtag1","hashtag2"]},{"1331333385":["hashtag1","hashtag2"]},{"1331333379":["hashtag1","hashtag2"]},{"1331333370":["hashtag1","hashtag2"]},{"1331333412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331333392, 1331333389, 1331333385, 1331333379, 1331333370, 1331333412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.721328020095825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:06:22.151265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/39/image_25012025_12_39_02_217008_0001.jpg', '/home/pi/Desktop/images/25012025/12/39/image_25012025_12_39_02_217008_0002.jpg', '/home/pi/Desktop/images/25012025/12/39/image_25012025_12_39_02_217008_0003.jpg', '/home/pi/Desktop/images/25012025/12/40/image_25012025_12_40_02_427825_0000.jpg', '/home/pi/Desktop/images/25012025/12/40/image_25012025_12_40_02_427825_0001.jpg', '/home/pi/Desktop/images/25012025/12/40/image_25012025_12_40_02_427825_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/39/image_25012025_12_39_02_217008_0001.jpg
/home/pi/Desktop/images/25012025/12/39/image_25012025_12_39_02_217008_0002.jpg
/home/pi/Desktop/images/25012025/12/39/image_25012025_12_39_02_217008_0003.jpg
/home/pi/Desktop/images/25012025/12/40/image_25012025_12_40_02_427825_0000.jpg
/home/pi/Desktop/images/25012025/12/40/image_25012025_12_40_02_427825_0001.jpg
/home/pi/Desktop/images/25012025/12/40/image_25012025_12_40_02_427825_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 [200]>
b'{"photo_ids":["1331333453","1331333464","1331333467","1331333460","1331333457","1331333472"],"photo_ids_order":["1331333453","1331333457","1331333460","1331333464","1331333467","1331333472"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/908e697f004accf7fa2ecf40ba3c770c.jpg","text":"TemporaryFile(/tmp/multipartBody2356632089388664312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806858480,"filename":"image_25012025_12_39_02_217008_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/22d29c5575551ef463bd4f3edd03b519.jpg","text":"TemporaryFile(/tmp/multipartBody6796886402943475298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806858480,"filename":"image_25012025_12_40_02_427825_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/76d206db905576c93be6f943bb93581e.jpg","text":"TemporaryFile(/tmp/multipartBody6622117580615053218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806858480,"filename":"image_25012025_12_40_02_427825_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5fe759ee21dcef30e02e340e10547e30.jpg","text":"TemporaryFile(/tmp/multipartBody7618488479641830126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806858480,"filename":"image_25012025_12_39_02_217008_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f70f3dd73adea5b2be5337e4fba5df03.jpg","text":"TemporaryFile(/tmp/multipartBody5228725919890199749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806858480,"filename":"image_25012025_12_39_02_217008_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b5c8a2a8c0ef29960d355b89da668c9c.jpg","text":"TemporaryFile(/tmp/multipartBody6785960056874981133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806858480,"filename":"image_25012025_12_40_02_427825_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331333460","file1":"1331333457","file0":"1331333453","file4":"1331333467","file5":"1331333472","file3":"1331333464"},"map_files_photo_id_array":[{"photo_id":"1331333472","filename":"file5"},{"photo_id":"1331333460","filename":"file2"},{"photo_id":"1331333467","filename":"file4"},{"photo_id":"1331333457","filename":"file1"},{"photo_id":"1331333453","filename":"file0"},{"photo_id":"1331333464","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331333453":["hashtag1","hashtag2"]},{"1331333464":["hashtag1","hashtag2"]},{"1331333467":["hashtag1","hashtag2"]},{"1331333460":["hashtag1","hashtag2"]},{"1331333457":["hashtag1","hashtag2"]},{"1331333472":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331333453, 1331333464, 1331333467, 1331333460, 1331333457, 1331333472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.15908622741699 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:07:22.351828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/40/image_25012025_12_40_02_427825_0003.jpg', '/home/pi/Desktop/images/25012025/12/41/image_25012025_12_41_02_622752_0000.jpg', '/home/pi/Desktop/images/25012025/12/41/image_25012025_12_41_02_622752_0001.jpg', '/home/pi/Desktop/images/25012025/12/41/image_25012025_12_41_02_622752_0002.jpg', '/home/pi/Desktop/images/25012025/12/41/image_25012025_12_41_02_622752_0003.jpg', '/home/pi/Desktop/images/25012025/12/42/image_25012025_12_42_02_737931_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/40/image_25012025_12_40_02_427825_0003.jpg
/home/pi/Desktop/images/25012025/12/41/image_25012025_12_41_02_622752_0000.jpg
/home/pi/Desktop/images/25012025/12/41/image_25012025_12_41_02_622752_0001.jpg
/home/pi/Desktop/images/25012025/12/41/image_25012025_12_41_02_622752_0002.jpg
/home/pi/Desktop/images/25012025/12/41/image_25012025_12_41_02_622752_0003.jpg
/home/pi/Desktop/images/25012025/12/42/image_25012025_12_42_02_737931_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 [200]>
b'{"photo_ids":["1331333535","1331333538","1331333523","1331333532","1331333526","1331333529"],"photo_ids_order":["1331333523","1331333526","1331333529","1331333532","1331333535","1331333538"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ce00e57b1d691ddb1127dfcb249e93fe.jpg","text":"TemporaryFile(/tmp/multipartBody5716199907906064421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806919053,"filename":"image_25012025_12_41_02_622752_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b57d56e4582526ee5c5f51a3cb8af1a7.jpg","text":"TemporaryFile(/tmp/multipartBody3821712657421043559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806919053,"filename":"image_25012025_12_42_02_737931_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/879759197ca0391a367dc2978d889614.jpg","text":"TemporaryFile(/tmp/multipartBody1770734338798762968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806919053,"filename":"image_25012025_12_40_02_427825_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/224db373923fd0c4e5925075eae8b071.jpg","text":"TemporaryFile(/tmp/multipartBody2150148304011099738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806919053,"filename":"image_25012025_12_41_02_622752_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1e15044502bd382ddf4a2c57eb62256a.jpg","text":"TemporaryFile(/tmp/multipartBody2317250995666016631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806919053,"filename":"image_25012025_12_41_02_622752_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e54938dba8d9dd00797a7e2272eb4b8e.jpg","text":"TemporaryFile(/tmp/multipartBody1546004552029717509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806919053,"filename":"image_25012025_12_41_02_622752_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331333529","file1":"1331333526","file0":"1331333523","file4":"1331333535","file5":"1331333538","file3":"1331333532"},"map_files_photo_id_array":[{"photo_id":"1331333538","filename":"file5"},{"photo_id":"1331333529","filename":"file2"},{"photo_id":"1331333535","filename":"file4"},{"photo_id":"1331333526","filename":"file1"},{"photo_id":"1331333523","filename":"file0"},{"photo_id":"1331333532","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331333535":["hashtag1","hashtag2"]},{"1331333538":["hashtag1","hashtag2"]},{"1331333523":["hashtag1","hashtag2"]},{"1331333532":["hashtag1","hashtag2"]},{"1331333526":["hashtag1","hashtag2"]},{"1331333529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331333535, 1331333538, 1331333523, 1331333532, 1331333526, 1331333529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.248544216156006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:08:22.487257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/42/image_25012025_12_42_02_737931_0001.jpg', '/home/pi/Desktop/images/25012025/12/42/image_25012025_12_42_02_737931_0002.jpg', '/home/pi/Desktop/images/25012025/12/42/image_25012025_12_42_02_737931_0003.jpg', '/home/pi/Desktop/images/25012025/12/43/image_25012025_12_43_02_993675_0000.jpg', '/home/pi/Desktop/images/25012025/12/43/image_25012025_12_43_02_993675_0001.jpg', '/home/pi/Desktop/images/25012025/12/43/image_25012025_12_43_02_993675_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/42/image_25012025_12_42_02_737931_0001.jpg
/home/pi/Desktop/images/25012025/12/42/image_25012025_12_42_02_737931_0002.jpg
/home/pi/Desktop/images/25012025/12/42/image_25012025_12_42_02_737931_0003.jpg
/home/pi/Desktop/images/25012025/12/43/image_25012025_12_43_02_993675_0000.jpg
/home/pi/Desktop/images/25012025/12/43/image_25012025_12_43_02_993675_0001.jpg
/home/pi/Desktop/images/25012025/12/43/image_25012025_12_43_02_993675_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 [200]>
b'{"photo_ids":["1331333651","1331333645","1331333654","1331333657","1331333596","1331333553"],"photo_ids_order":["1331333553","1331333596","1331333645","1331333651","1331333654","1331333657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9e679856091ccd20b38f71883a9d61de.jpg","text":"TemporaryFile(/tmp/multipartBody1226401681660898565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806979385,"filename":"image_25012025_12_43_02_993675_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9669b090c8fec1d56aac81e8ab0b5d78.jpg","text":"TemporaryFile(/tmp/multipartBody5755602873869795672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806979385,"filename":"image_25012025_12_42_02_737931_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/466b2ae938bc481b369e613fac753182.jpg","text":"TemporaryFile(/tmp/multipartBody5483293178860703623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806979385,"filename":"image_25012025_12_43_02_993675_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/814aa137a477eaef59e36e0a9b6823a6.jpg","text":"TemporaryFile(/tmp/multipartBody3940076449521761394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806979385,"filename":"image_25012025_12_43_02_993675_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/697bf59a49ff336913ad51f730b0a55b.jpg","text":"TemporaryFile(/tmp/multipartBody1786469954084137177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806979385,"filename":"image_25012025_12_42_02_737931_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/62a9d682d7f9bff6e75a76bf84b2a118.jpg","text":"TemporaryFile(/tmp/multipartBody7516179735871371921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737806979385,"filename":"image_25012025_12_42_02_737931_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331333645","file1":"1331333596","file0":"1331333553","file4":"1331333654","file5":"1331333657","file3":"1331333651"},"map_files_photo_id_array":[{"photo_id":"1331333657","filename":"file5"},{"photo_id":"1331333645","filename":"file2"},{"photo_id":"1331333654","filename":"file4"},{"photo_id":"1331333596","filename":"file1"},{"photo_id":"1331333553","filename":"file0"},{"photo_id":"1331333651","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331333651":["hashtag1","hashtag2"]},{"1331333645":["hashtag1","hashtag2"]},{"1331333654":["hashtag1","hashtag2"]},{"1331333657":["hashtag1","hashtag2"]},{"1331333596":["hashtag1","hashtag2"]},{"1331333553":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331333651, 1331333645, 1331333654, 1331333657, 1331333596, 1331333553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.24249267578125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:09:22.704177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/43/image_25012025_12_43_02_993675_0003.jpg', '/home/pi/Desktop/images/25012025/12/44/image_25012025_12_44_03_143384_0000.jpg', '/home/pi/Desktop/images/25012025/12/44/image_25012025_12_44_03_143384_0001.jpg', '/home/pi/Desktop/images/25012025/12/44/image_25012025_12_44_03_143384_0002.jpg', '/home/pi/Desktop/images/25012025/12/44/image_25012025_12_44_03_143384_0003.jpg', '/home/pi/Desktop/images/25012025/12/45/image_25012025_12_45_02_281743_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/43/image_25012025_12_43_02_993675_0003.jpg
/home/pi/Desktop/images/25012025/12/44/image_25012025_12_44_03_143384_0000.jpg
/home/pi/Desktop/images/25012025/12/44/image_25012025_12_44_03_143384_0001.jpg
/home/pi/Desktop/images/25012025/12/44/image_25012025_12_44_03_143384_0002.jpg
/home/pi/Desktop/images/25012025/12/44/image_25012025_12_44_03_143384_0003.jpg
/home/pi/Desktop/images/25012025/12/45/image_25012025_12_45_02_281743_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 [200]>
b'{"photo_ids":["1331333687","1331333669","1331333685","1331333673","1331333681","1331333678"],"photo_ids_order":["1331333669","1331333673","1331333678","1331333681","1331333685","1331333687"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4b3dac17e17985b30d6e2a8af97c63db.jpg","text":"TemporaryFile(/tmp/multipartBody280761490529691456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807038634,"filename":"image_25012025_12_45_02_281743_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bda2309ad1fabec2c11efa155412014b.jpg","text":"TemporaryFile(/tmp/multipartBody5918774110219617223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807038634,"filename":"image_25012025_12_43_02_993675_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8797db6b6c1c5d9cde689af68fdb39ed.jpg","text":"TemporaryFile(/tmp/multipartBody8619799445471224678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807038634,"filename":"image_25012025_12_44_03_143384_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8ad371fcc0244d0139c931901ee36646.jpg","text":"TemporaryFile(/tmp/multipartBody393197068240544938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807038634,"filename":"image_25012025_12_44_03_143384_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/935155d107a1881fac43fb6e4496dd6b.jpg","text":"TemporaryFile(/tmp/multipartBody4340604449382617130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807038634,"filename":"image_25012025_12_44_03_143384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aa6f0d4536345facb94d7b0098f045e7.jpg","text":"TemporaryFile(/tmp/multipartBody999552637370291813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807038634,"filename":"image_25012025_12_44_03_143384_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331333678","file1":"1331333673","file0":"1331333669","file4":"1331333685","file5":"1331333687","file3":"1331333681"},"map_files_photo_id_array":[{"photo_id":"1331333687","filename":"file5"},{"photo_id":"1331333678","filename":"file2"},{"photo_id":"1331333685","filename":"file4"},{"photo_id":"1331333673","filename":"file1"},{"photo_id":"1331333669","filename":"file0"},{"photo_id":"1331333681","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331333687":["hashtag1","hashtag2"]},{"1331333669":["hashtag1","hashtag2"]},{"1331333685":["hashtag1","hashtag2"]},{"1331333673":["hashtag1","hashtag2"]},{"1331333681":["hashtag1","hashtag2"]},{"1331333678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331333687, 1331333669, 1331333685, 1331333673, 1331333681, 1331333678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.25995445251465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:10:21.887024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/45/image_25012025_12_45_02_281743_0001.jpg', '/home/pi/Desktop/images/25012025/12/45/image_25012025_12_45_02_281743_0002.jpg', '/home/pi/Desktop/images/25012025/12/45/image_25012025_12_45_02_281743_0003.jpg', '/home/pi/Desktop/images/25012025/12/46/image_25012025_12_46_02_591390_0000.jpg', '/home/pi/Desktop/images/25012025/12/46/image_25012025_12_46_02_591390_0001.jpg', '/home/pi/Desktop/images/25012025/12/46/image_25012025_12_46_02_591390_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/45/image_25012025_12_45_02_281743_0001.jpg
/home/pi/Desktop/images/25012025/12/45/image_25012025_12_45_02_281743_0002.jpg
/home/pi/Desktop/images/25012025/12/45/image_25012025_12_45_02_281743_0003.jpg
/home/pi/Desktop/images/25012025/12/46/image_25012025_12_46_02_591390_0000.jpg
/home/pi/Desktop/images/25012025/12/46/image_25012025_12_46_02_591390_0001.jpg
/home/pi/Desktop/images/25012025/12/46/image_25012025_12_46_02_591390_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 [200]>
b'{"photo_ids":["1331333801","1331333810","1331333794","1331333806","1331333814","1331333798"],"photo_ids_order":["1331333794","1331333798","1331333801","1331333806","1331333810","1331333814"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0e145af48f2308848c51709bd75545fb.jpg","text":"TemporaryFile(/tmp/multipartBody4541697120741041296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807097947,"filename":"image_25012025_12_45_02_281743_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cf4f9d04d3ee4a94180e0456fe054cf6.jpg","text":"TemporaryFile(/tmp/multipartBody1019336573105272385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807097947,"filename":"image_25012025_12_46_02_591390_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0a062f073e74a6a19ffab8bbad490ded.jpg","text":"TemporaryFile(/tmp/multipartBody8168182141656569747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807097947,"filename":"image_25012025_12_45_02_281743_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/95ed273256120e5785d699b5781c3ec7.jpg","text":"TemporaryFile(/tmp/multipartBody1624862001400788992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807097947,"filename":"image_25012025_12_46_02_591390_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d346e7f1b4f4b4220c5f3325a8f0226d.jpg","text":"TemporaryFile(/tmp/multipartBody1976489933157980982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807097947,"filename":"image_25012025_12_46_02_591390_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e6e6e924441911b1d2a65bcfeecfedd1.jpg","text":"TemporaryFile(/tmp/multipartBody4879146894695841808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807097947,"filename":"image_25012025_12_45_02_281743_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331333801","file1":"1331333798","file0":"1331333794","file4":"1331333810","file5":"1331333814","file3":"1331333806"},"map_files_photo_id_array":[{"photo_id":"1331333814","filename":"file5"},{"photo_id":"1331333801","filename":"file2"},{"photo_id":"1331333810","filename":"file4"},{"photo_id":"1331333798","filename":"file1"},{"photo_id":"1331333794","filename":"file0"},{"photo_id":"1331333806","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331333801":["hashtag1","hashtag2"]},{"1331333810":["hashtag1","hashtag2"]},{"1331333794":["hashtag1","hashtag2"]},{"1331333806":["hashtag1","hashtag2"]},{"1331333814":["hashtag1","hashtag2"]},{"1331333798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331333801, 1331333810, 1331333794, 1331333806, 1331333814, 1331333798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.68454623222351 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:11:22.070198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/46/image_25012025_12_46_02_591390_0003.jpg', '/home/pi/Desktop/images/25012025/12/47/image_25012025_12_47_02_668506_0000.jpg', '/home/pi/Desktop/images/25012025/12/47/image_25012025_12_47_02_668506_0001.jpg', '/home/pi/Desktop/images/25012025/12/47/image_25012025_12_47_02_668506_0003.jpg', '/home/pi/Desktop/images/25012025/12/48/image_25012025_12_48_02_842777_0000.jpg', '/home/pi/Desktop/images/25012025/12/48/image_25012025_12_48_02_842777_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/46/image_25012025_12_46_02_591390_0003.jpg
/home/pi/Desktop/images/25012025/12/47/image_25012025_12_47_02_668506_0000.jpg
/home/pi/Desktop/images/25012025/12/47/image_25012025_12_47_02_668506_0001.jpg
/home/pi/Desktop/images/25012025/12/47/image_25012025_12_47_02_668506_0003.jpg
/home/pi/Desktop/images/25012025/12/48/image_25012025_12_48_02_842777_0000.jpg
/home/pi/Desktop/images/25012025/12/48/image_25012025_12_48_02_842777_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":["1331333843","1331333846","1331333849","1331333854","1331333836","1331333839"],"photo_ids_order":["1331333836","1331333839","1331333843","1331333846","1331333849","1331333854"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c67b06aaeded6f80397a477a6c137d1f.jpg","text":"TemporaryFile(/tmp/multipartBody3971533121737320831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807158004,"filename":"image_25012025_12_47_02_668506_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c1edb8d5ee9b28e9b7419dd11a1b382f.jpg","text":"TemporaryFile(/tmp/multipartBody7148512429514131217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807158004,"filename":"image_25012025_12_47_02_668506_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/91c358e88739a617ed9bda3e81100e41.jpg","text":"TemporaryFile(/tmp/multipartBody2279242899948058461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807158004,"filename":"image_25012025_12_48_02_842777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a0c789ed3e73112ceeef1510f7a9dc56.jpg","text":"TemporaryFile(/tmp/multipartBody1323485341144443156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807158004,"filename":"image_25012025_12_48_02_842777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4d83ba130b11b831ec49e9128caa640b.jpg","text":"TemporaryFile(/tmp/multipartBody8596247023434335778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807158004,"filename":"image_25012025_12_46_02_591390_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6310f75e76189b2bf87d7d0018757f84.jpg","text":"TemporaryFile(/tmp/multipartBody9102720673688892753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807158004,"filename":"image_25012025_12_47_02_668506_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331333843","file1":"1331333839","file0":"1331333836","file4":"1331333849","file5":"1331333854","file3":"1331333846"},"map_files_photo_id_array":[{"photo_id":"1331333854","filename":"file5"},{"photo_id":"1331333843","filename":"file2"},{"photo_id":"1331333849","filename":"file4"},{"photo_id":"1331333839","filename":"file1"},{"photo_id":"1331333836","filename":"file0"},{"photo_id":"1331333846","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331333843":["hashtag1","hashtag2"]},{"1331333846":["hashtag1","hashtag2"]},{"1331333849":["hashtag1","hashtag2"]},{"1331333854":["hashtag1","hashtag2"]},{"1331333836":["hashtag1","hashtag2"]},{"1331333839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331333843, 1331333846, 1331333849, 1331333854, 1331333836, 1331333839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.73622250556946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:12:22.231728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/48/image_25012025_12_48_02_842777_0003.jpg', '/home/pi/Desktop/images/25012025/12/49/image_25012025_12_49_03_096336_0001.jpg', '/home/pi/Desktop/images/25012025/12/49/image_25012025_12_49_03_096336_0002.jpg', '/home/pi/Desktop/images/25012025/12/49/image_25012025_12_49_03_096336_0003.jpg', '/home/pi/Desktop/images/25012025/12/50/image_25012025_12_50_02_209500_0001.jpg', '/home/pi/Desktop/images/25012025/12/50/image_25012025_12_50_02_209500_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/48/image_25012025_12_48_02_842777_0003.jpg
/home/pi/Desktop/images/25012025/12/49/image_25012025_12_49_03_096336_0001.jpg
/home/pi/Desktop/images/25012025/12/49/image_25012025_12_49_03_096336_0002.jpg
/home/pi/Desktop/images/25012025/12/49/image_25012025_12_49_03_096336_0003.jpg
/home/pi/Desktop/images/25012025/12/50/image_25012025_12_50_02_209500_0001.jpg
/home/pi/Desktop/images/25012025/12/50/image_25012025_12_50_02_209500_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 [200]>
b'{"photo_ids":["1331333879","1331333890","1331333884","1331333875","1331333886","1331333882"],"photo_ids_order":["1331333875","1331333879","1331333882","1331333884","1331333886","1331333890"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5ede4e35d6af0cbafcf030cc689192c0.jpg","text":"TemporaryFile(/tmp/multipartBody7257404960174274739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807218186,"filename":"image_25012025_12_49_03_096336_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/58a9e3189cf885a919d9c7d52791d949.jpg","text":"TemporaryFile(/tmp/multipartBody3975859209256701241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807218186,"filename":"image_25012025_12_50_02_209500_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/53c837458c7af6cc2c89eb528be81538.jpg","text":"TemporaryFile(/tmp/multipartBody1549493506352850782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807218186,"filename":"image_25012025_12_49_03_096336_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/62c2a9a8b89069631e9b3d9897423cc1.jpg","text":"TemporaryFile(/tmp/multipartBody6834988700553027276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807218186,"filename":"image_25012025_12_48_02_842777_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ca9d9686b057b8829fff2a06c43bf9af.jpg","text":"TemporaryFile(/tmp/multipartBody5393586698115474155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807218186,"filename":"image_25012025_12_50_02_209500_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/950de4bdd0fcb3d79300917e392d616f.jpg","text":"TemporaryFile(/tmp/multipartBody6691901057175955406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807218186,"filename":"image_25012025_12_49_03_096336_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331333882","file1":"1331333879","file0":"1331333875","file4":"1331333886","file5":"1331333890","file3":"1331333884"},"map_files_photo_id_array":[{"photo_id":"1331333890","filename":"file5"},{"photo_id":"1331333882","filename":"file2"},{"photo_id":"1331333886","filename":"file4"},{"photo_id":"1331333879","filename":"file1"},{"photo_id":"1331333875","filename":"file0"},{"photo_id":"1331333884","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331333879":["hashtag1","hashtag2"]},{"1331333890":["hashtag1","hashtag2"]},{"1331333884":["hashtag1","hashtag2"]},{"1331333875":["hashtag1","hashtag2"]},{"1331333886":["hashtag1","hashtag2"]},{"1331333882":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331333879, 1331333890, 1331333884, 1331333875, 1331333886, 1331333882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.28923296928406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:13:22.537088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/50/image_25012025_12_50_02_209500_0003.jpg', '/home/pi/Desktop/images/25012025/12/51/image_25012025_12_51_02_420801_0000.jpg', '/home/pi/Desktop/images/25012025/12/51/image_25012025_12_51_02_420801_0001.jpg', '/home/pi/Desktop/images/25012025/12/51/image_25012025_12_51_02_420801_0002.jpg', '/home/pi/Desktop/images/25012025/12/51/image_25012025_12_51_02_420801_0003.jpg', '/home/pi/Desktop/images/25012025/12/52/image_25012025_12_52_02_612896_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/50/image_25012025_12_50_02_209500_0003.jpg
/home/pi/Desktop/images/25012025/12/51/image_25012025_12_51_02_420801_0000.jpg
/home/pi/Desktop/images/25012025/12/51/image_25012025_12_51_02_420801_0001.jpg
/home/pi/Desktop/images/25012025/12/51/image_25012025_12_51_02_420801_0002.jpg
/home/pi/Desktop/images/25012025/12/51/image_25012025_12_51_02_420801_0003.jpg
/home/pi/Desktop/images/25012025/12/52/image_25012025_12_52_02_612896_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":["1331333984","1331333989","1331333980","1331333977","1331333982","1331333958"],"photo_ids_order":["1331333958","1331333977","1331333980","1331333982","1331333984","1331333989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ff2d3fec0b29364635c55647474cc7fa.jpg","text":"TemporaryFile(/tmp/multipartBody7832040062758850911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807278493,"filename":"image_25012025_12_51_02_420801_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/70ff3a3651a5adf6abb289afeab905d1.jpg","text":"TemporaryFile(/tmp/multipartBody3658349128962179884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807278493,"filename":"image_25012025_12_52_02_612896_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2e3f227bfa9913ce53306260622cc348.jpg","text":"TemporaryFile(/tmp/multipartBody2030005408324300494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807278493,"filename":"image_25012025_12_51_02_420801_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1f244aa00ff0b165c8f6dfa22e9d7266.jpg","text":"TemporaryFile(/tmp/multipartBody3925907308745821827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807278493,"filename":"image_25012025_12_51_02_420801_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8bc994bf423b68315ddb5bb65534e83e.jpg","text":"TemporaryFile(/tmp/multipartBody4820040387243677149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807278493,"filename":"image_25012025_12_51_02_420801_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/08225bf43bd54e6664d0a9d43aee8dbe.jpg","text":"TemporaryFile(/tmp/multipartBody6209679528666323011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807278493,"filename":"image_25012025_12_50_02_209500_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331333980","file1":"1331333977","file0":"1331333958","file4":"1331333984","file5":"1331333989","file3":"1331333982"},"map_files_photo_id_array":[{"photo_id":"1331333989","filename":"file5"},{"photo_id":"1331333980","filename":"file2"},{"photo_id":"1331333984","filename":"file4"},{"photo_id":"1331333977","filename":"file1"},{"photo_id":"1331333958","filename":"file0"},{"photo_id":"1331333982","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331333984":["hashtag1","hashtag2"]},{"1331333989":["hashtag1","hashtag2"]},{"1331333980":["hashtag1","hashtag2"]},{"1331333977":["hashtag1","hashtag2"]},{"1331333982":["hashtag1","hashtag2"]},{"1331333958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331333984, 1331333989, 1331333980, 1331333977, 1331333982, 1331333958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.02588510513306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:14:22.712957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/52/image_25012025_12_52_02_612896_0003.jpg', '/home/pi/Desktop/images/25012025/12/53/image_25012025_12_53_02_819129_0000.jpg', '/home/pi/Desktop/images/25012025/12/53/image_25012025_12_53_02_819129_0001.jpg', '/home/pi/Desktop/images/25012025/12/53/image_25012025_12_53_02_819129_0003.jpg', '/home/pi/Desktop/images/25012025/12/54/image_25012025_12_54_03_004507_0000.jpg', '/home/pi/Desktop/images/25012025/12/54/image_25012025_12_54_03_004507_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/52/image_25012025_12_52_02_612896_0003.jpg
/home/pi/Desktop/images/25012025/12/53/image_25012025_12_53_02_819129_0000.jpg
/home/pi/Desktop/images/25012025/12/53/image_25012025_12_53_02_819129_0001.jpg
/home/pi/Desktop/images/25012025/12/53/image_25012025_12_53_02_819129_0003.jpg
/home/pi/Desktop/images/25012025/12/54/image_25012025_12_54_03_004507_0000.jpg
/home/pi/Desktop/images/25012025/12/54/image_25012025_12_54_03_004507_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":["1331334020","1331334022","1331334012","1331334015","1331334024","1331334018"],"photo_ids_order":["1331334012","1331334015","1331334018","1331334020","1331334022","1331334024"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ba57b250d2c04c32b3ec51f7982f0061.jpg","text":"TemporaryFile(/tmp/multipartBody593819182034674076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807338660,"filename":"image_25012025_12_53_02_819129_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c6fa7566de9824a29cbb844c26e5ade0.jpg","text":"TemporaryFile(/tmp/multipartBody550038181357627825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807338660,"filename":"image_25012025_12_54_03_004507_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/29517a1b5d7de9d6212ecfc97cf7914b.jpg","text":"TemporaryFile(/tmp/multipartBody3450079533793590010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807338660,"filename":"image_25012025_12_52_02_612896_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4e1daf95e5593e639f9f2557954628cf.jpg","text":"TemporaryFile(/tmp/multipartBody1968710288212559475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807338660,"filename":"image_25012025_12_53_02_819129_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/47a47ae2d3728857f9c6f801fe5c3684.jpg","text":"TemporaryFile(/tmp/multipartBody2014424078761841094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807338660,"filename":"image_25012025_12_54_03_004507_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f8b047c8d541135e037520dae897eadb.jpg","text":"TemporaryFile(/tmp/multipartBody515157689268447559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807338660,"filename":"image_25012025_12_53_02_819129_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331334018","file1":"1331334015","file0":"1331334012","file4":"1331334022","file5":"1331334024","file3":"1331334020"},"map_files_photo_id_array":[{"photo_id":"1331334024","filename":"file5"},{"photo_id":"1331334018","filename":"file2"},{"photo_id":"1331334022","filename":"file4"},{"photo_id":"1331334015","filename":"file1"},{"photo_id":"1331334012","filename":"file0"},{"photo_id":"1331334020","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331334020":["hashtag1","hashtag2"]},{"1331334022":["hashtag1","hashtag2"]},{"1331334012":["hashtag1","hashtag2"]},{"1331334015":["hashtag1","hashtag2"]},{"1331334024":["hashtag1","hashtag2"]},{"1331334018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331334020, 1331334022, 1331334012, 1331334015, 1331334024, 1331334018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.74777340888977 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:15:21.845890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/54/image_25012025_12_54_03_004507_0002.jpg', '/home/pi/Desktop/images/25012025/12/54/image_25012025_12_54_03_004507_0003.jpg', '/home/pi/Desktop/images/25012025/12/55/image_25012025_12_55_02_098643_0001.jpg', '/home/pi/Desktop/images/25012025/12/55/image_25012025_12_55_02_098643_0002.jpg', '/home/pi/Desktop/images/25012025/12/55/image_25012025_12_55_02_098643_0003.jpg', '/home/pi/Desktop/images/25012025/12/56/image_25012025_12_56_02_363297_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/54/image_25012025_12_54_03_004507_0002.jpg
/home/pi/Desktop/images/25012025/12/54/image_25012025_12_54_03_004507_0003.jpg
/home/pi/Desktop/images/25012025/12/55/image_25012025_12_55_02_098643_0001.jpg
/home/pi/Desktop/images/25012025/12/55/image_25012025_12_55_02_098643_0002.jpg
/home/pi/Desktop/images/25012025/12/55/image_25012025_12_55_02_098643_0003.jpg
/home/pi/Desktop/images/25012025/12/56/image_25012025_12_56_02_363297_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 [200]>
b'{"photo_ids":["1331334734","1331334859","1331334981","1331334471","1331334348","1331334611"],"photo_ids_order":["1331334348","1331334471","1331334611","1331334734","1331334859","1331334981"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0fa79eaa07baef8e5713f8ba30e54bc6.jpg","text":"TemporaryFile(/tmp/multipartBody8473098849972660936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807397791,"filename":"image_25012025_12_55_02_098643_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d260a94f1441726105db55cbcb68143d.jpg","text":"TemporaryFile(/tmp/multipartBody5024774302114568835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807397791,"filename":"image_25012025_12_55_02_098643_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/14d08887952190ff3b99c5fc6aeca4a6.jpg","text":"TemporaryFile(/tmp/multipartBody9093080915750794080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807397791,"filename":"image_25012025_12_56_02_363297_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/896bb35ade347a5d31f85af1de972c0e.jpg","text":"TemporaryFile(/tmp/multipartBody2148642862494902740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807397791,"filename":"image_25012025_12_54_03_004507_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e68d444623bf203b7e83c1af7a14df36.jpg","text":"TemporaryFile(/tmp/multipartBody2258166940969368604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807397791,"filename":"image_25012025_12_54_03_004507_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/87a30606b598d26c6ea2e8b7f1e9c20c.jpg","text":"TemporaryFile(/tmp/multipartBody2717936367439518585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807397791,"filename":"image_25012025_12_55_02_098643_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331334611","file1":"1331334471","file0":"1331334348","file4":"1331334859","file5":"1331334981","file3":"1331334734"},"map_files_photo_id_array":[{"photo_id":"1331334981","filename":"file5"},{"photo_id":"1331334611","filename":"file2"},{"photo_id":"1331334859","filename":"file4"},{"photo_id":"1331334471","filename":"file1"},{"photo_id":"1331334348","filename":"file0"},{"photo_id":"1331334734","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331334734":["hashtag1","hashtag2"]},{"1331334859":["hashtag1","hashtag2"]},{"1331334981":["hashtag1","hashtag2"]},{"1331334471":["hashtag1","hashtag2"]},{"1331334348":["hashtag1","hashtag2"]},{"1331334611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331334734, 1331334859, 1331334981, 1331334471, 1331334348, 1331334611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.367526054382324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:16:21.993652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/56/image_25012025_12_56_02_363297_0002.jpg', '/home/pi/Desktop/images/25012025/12/56/image_25012025_12_56_02_363297_0003.jpg', '/home/pi/Desktop/images/25012025/12/57/image_25012025_12_57_02_632316_0000.jpg', '/home/pi/Desktop/images/25012025/12/57/image_25012025_12_57_02_632316_0001.jpg', '/home/pi/Desktop/images/25012025/12/58/image_25012025_12_58_02_790578_0001.jpg', '/home/pi/Desktop/images/25012025/12/58/image_25012025_12_58_02_790578_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/56/image_25012025_12_56_02_363297_0002.jpg
/home/pi/Desktop/images/25012025/12/56/image_25012025_12_56_02_363297_0003.jpg
/home/pi/Desktop/images/25012025/12/57/image_25012025_12_57_02_632316_0000.jpg
/home/pi/Desktop/images/25012025/12/57/image_25012025_12_57_02_632316_0001.jpg
/home/pi/Desktop/images/25012025/12/58/image_25012025_12_58_02_790578_0001.jpg
/home/pi/Desktop/images/25012025/12/58/image_25012025_12_58_02_790578_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 [200]>
b'{"photo_ids":["1331335870","1331335867","1331335708","1331335947","1331335920","1331335832"],"photo_ids_order":["1331335708","1331335832","1331335867","1331335870","1331335920","1331335947"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1969d78a5f0695753401469fa95df3f4.jpg","text":"TemporaryFile(/tmp/multipartBody6106066527381606973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807457943,"filename":"image_25012025_12_57_02_632316_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4fa814c22b17d037b142e86c7bbfbb40.jpg","text":"TemporaryFile(/tmp/multipartBody1029195905017733599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807457943,"filename":"image_25012025_12_57_02_632316_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8aea276342488ce88da230d586acbb6b.jpg","text":"TemporaryFile(/tmp/multipartBody5841309563774429092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807457943,"filename":"image_25012025_12_56_02_363297_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c2b1d06d6df3eaeae39ae62219bdd301.jpg","text":"TemporaryFile(/tmp/multipartBody4898520628822951785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807457943,"filename":"image_25012025_12_58_02_790578_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/836d2c9c09d2681cf3f93448f50b62bd.jpg","text":"TemporaryFile(/tmp/multipartBody7604418831579949248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807457943,"filename":"image_25012025_12_58_02_790578_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3ba9a2180e2287c8ff417a26f5db0d84.jpg","text":"TemporaryFile(/tmp/multipartBody5513757377163651758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807457943,"filename":"image_25012025_12_56_02_363297_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331335867","file1":"1331335832","file0":"1331335708","file4":"1331335920","file5":"1331335947","file3":"1331335870"},"map_files_photo_id_array":[{"photo_id":"1331335947","filename":"file5"},{"photo_id":"1331335867","filename":"file2"},{"photo_id":"1331335920","filename":"file4"},{"photo_id":"1331335832","filename":"file1"},{"photo_id":"1331335708","filename":"file0"},{"photo_id":"1331335870","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331335870":["hashtag1","hashtag2"]},{"1331335867":["hashtag1","hashtag2"]},{"1331335708":["hashtag1","hashtag2"]},{"1331335947":["hashtag1","hashtag2"]},{"1331335920":["hashtag1","hashtag2"]},{"1331335832":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331335870, 1331335867, 1331335708, 1331335947, 1331335920, 1331335832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.83907675743103 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:17:22.295654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/12/58/image_25012025_12_58_02_790578_0003.jpg', '/home/pi/Desktop/images/25012025/12/59/image_25012025_12_59_02_950639_0000.jpg', '/home/pi/Desktop/images/25012025/12/59/image_25012025_12_59_02_950639_0001.jpg', '/home/pi/Desktop/images/25012025/12/59/image_25012025_12_59_02_950639_0002.jpg', '/home/pi/Desktop/images/25012025/12/59/image_25012025_12_59_02_950639_0003.jpg', '/home/pi/Desktop/images/25012025/13/00/image_25012025_13_00_02_144622_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/12/58/image_25012025_12_58_02_790578_0003.jpg
/home/pi/Desktop/images/25012025/12/59/image_25012025_12_59_02_950639_0000.jpg
/home/pi/Desktop/images/25012025/12/59/image_25012025_12_59_02_950639_0001.jpg
/home/pi/Desktop/images/25012025/12/59/image_25012025_12_59_02_950639_0002.jpg
/home/pi/Desktop/images/25012025/12/59/image_25012025_12_59_02_950639_0003.jpg
/home/pi/Desktop/images/25012025/13/00/image_25012025_13_00_02_144622_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 [200]>
b'{"photo_ids":["1331336346","1331336349","1331336354","1331336282","1331336162","1331336050"],"photo_ids_order":["1331336050","1331336162","1331336282","1331336346","1331336349","1331336354"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/13f257ffee5b2e08857a43d971d22f99.jpg","text":"TemporaryFile(/tmp/multipartBody2237969757550351741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807518257,"filename":"image_25012025_12_59_02_950639_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7e979357861d7ec0e207502eccf3b0ed.jpg","text":"TemporaryFile(/tmp/multipartBody797937716100989743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807518257,"filename":"image_25012025_12_59_02_950639_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/273752856f2a29d06216a04c20005d27.jpg","text":"TemporaryFile(/tmp/multipartBody693984625424277046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807518257,"filename":"image_25012025_13_00_02_144622_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/08380df7794fdfad9e8ab519056323be.jpg","text":"TemporaryFile(/tmp/multipartBody506284806380960773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807518257,"filename":"image_25012025_12_59_02_950639_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bb455f10599481229796254a17082059.jpg","text":"TemporaryFile(/tmp/multipartBody1944196366326550393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807518257,"filename":"image_25012025_12_59_02_950639_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1b2a3d9e52dd5801d15e155f8e52d0a0.jpg","text":"TemporaryFile(/tmp/multipartBody8379695289849957246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807518257,"filename":"image_25012025_12_58_02_790578_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331336282","file1":"1331336162","file0":"1331336050","file4":"1331336349","file5":"1331336354","file3":"1331336346"},"map_files_photo_id_array":[{"photo_id":"1331336354","filename":"file5"},{"photo_id":"1331336282","filename":"file2"},{"photo_id":"1331336349","filename":"file4"},{"photo_id":"1331336162","filename":"file1"},{"photo_id":"1331336050","filename":"file0"},{"photo_id":"1331336346","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331336346":["hashtag1","hashtag2"]},{"1331336349":["hashtag1","hashtag2"]},{"1331336354":["hashtag1","hashtag2"]},{"1331336282":["hashtag1","hashtag2"]},{"1331336162":["hashtag1","hashtag2"]},{"1331336050":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331336346, 1331336349, 1331336354, 1331336282, 1331336162, 1331336050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.682936906814575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:18:22.445032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/00/image_25012025_13_00_02_144622_0002.jpg', '/home/pi/Desktop/images/25012025/13/00/image_25012025_13_00_02_144622_0003.jpg', '/home/pi/Desktop/images/25012025/13/01/image_25012025_13_01_02_389946_0002.jpg', '/home/pi/Desktop/images/25012025/13/01/image_25012025_13_01_02_389946_0003.jpg', '/home/pi/Desktop/images/25012025/13/02/image_25012025_13_02_02_586610_0000.jpg', '/home/pi/Desktop/images/25012025/13/02/image_25012025_13_02_02_586610_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/00/image_25012025_13_00_02_144622_0002.jpg
/home/pi/Desktop/images/25012025/13/00/image_25012025_13_00_02_144622_0003.jpg
/home/pi/Desktop/images/25012025/13/01/image_25012025_13_01_02_389946_0002.jpg
/home/pi/Desktop/images/25012025/13/01/image_25012025_13_01_02_389946_0003.jpg
/home/pi/Desktop/images/25012025/13/02/image_25012025_13_02_02_586610_0000.jpg
/home/pi/Desktop/images/25012025/13/02/image_25012025_13_02_02_586610_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":["1331337363","1331336579","1331336590","1331336584","1331336737","1331337106"],"photo_ids_order":["1331336579","1331336584","1331336590","1331336737","1331337106","1331337363"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e22738d621822fb9318aaef5178b5075.jpg","text":"TemporaryFile(/tmp/multipartBody372301825299774485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807578656,"filename":"image_25012025_13_02_02_586610_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b926b2591676dc67c9ca1fbde3c0b86.jpg","text":"TemporaryFile(/tmp/multipartBody3636962936932981551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807578656,"filename":"image_25012025_13_00_02_144622_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/50ee0aeb5e4ccc1a3a574c3dcd5602b8.jpg","text":"TemporaryFile(/tmp/multipartBody6321733551549901284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807578656,"filename":"image_25012025_13_01_02_389946_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2cceb92c31d0f67d0e629592b34c4bbd.jpg","text":"TemporaryFile(/tmp/multipartBody2014591076467420608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807578656,"filename":"image_25012025_13_00_02_144622_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0125f1b4068739c849e789ade812efeb.jpg","text":"TemporaryFile(/tmp/multipartBody2896386988465137451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807578656,"filename":"image_25012025_13_01_02_389946_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e0004aa156276f3d9301332aa987273f.jpg","text":"TemporaryFile(/tmp/multipartBody8216841528956469781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807578656,"filename":"image_25012025_13_02_02_586610_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331336590","file1":"1331336584","file0":"1331336579","file4":"1331337106","file5":"1331337363","file3":"1331336737"},"map_files_photo_id_array":[{"photo_id":"1331337363","filename":"file5"},{"photo_id":"1331336590","filename":"file2"},{"photo_id":"1331337106","filename":"file4"},{"photo_id":"1331336584","filename":"file1"},{"photo_id":"1331336579","filename":"file0"},{"photo_id":"1331336737","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331337363":["hashtag1","hashtag2"]},{"1331336579":["hashtag1","hashtag2"]},{"1331336590":["hashtag1","hashtag2"]},{"1331336584":["hashtag1","hashtag2"]},{"1331336737":["hashtag1","hashtag2"]},{"1331337106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331337363, 1331336579, 1331336590, 1331336584, 1331336737, 1331337106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.200011014938354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:19:22.549148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/02/image_25012025_13_02_02_586610_0002.jpg', '/home/pi/Desktop/images/25012025/13/02/image_25012025_13_02_02_586610_0003.jpg', '/home/pi/Desktop/images/25012025/13/03/image_25012025_13_03_02_687152_0000.jpg', '/home/pi/Desktop/images/25012025/13/03/image_25012025_13_03_02_687152_0001.jpg', '/home/pi/Desktop/images/25012025/13/03/image_25012025_13_03_02_687152_0002.jpg', '/home/pi/Desktop/images/25012025/13/03/image_25012025_13_03_02_687152_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/02/image_25012025_13_02_02_586610_0002.jpg
/home/pi/Desktop/images/25012025/13/02/image_25012025_13_02_02_586610_0003.jpg
/home/pi/Desktop/images/25012025/13/03/image_25012025_13_03_02_687152_0000.jpg
/home/pi/Desktop/images/25012025/13/03/image_25012025_13_03_02_687152_0001.jpg
/home/pi/Desktop/images/25012025/13/03/image_25012025_13_03_02_687152_0002.jpg
/home/pi/Desktop/images/25012025/13/03/image_25012025_13_03_02_687152_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 [200]>
b'{"photo_ids":["1331337516","1331337389","1331337644","1331337632","1331337382","1331337393"],"photo_ids_order":["1331337382","1331337389","1331337393","1331337516","1331337632","1331337644"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/73637871d3fa4c91be95cbfe89ed10da.jpg","text":"TemporaryFile(/tmp/multipartBody3946358429160672479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807639181,"filename":"image_25012025_13_03_02_687152_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fd2026456ef1b629c4d20c29730c027c.jpg","text":"TemporaryFile(/tmp/multipartBody684926087771787366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807639181,"filename":"image_25012025_13_02_02_586610_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4eec8af7c7bc2012c9153fc53c0c49b0.jpg","text":"TemporaryFile(/tmp/multipartBody1661659280650055775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807639181,"filename":"image_25012025_13_03_02_687152_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/27adcc8871f3260fe7634377652974ae.jpg","text":"TemporaryFile(/tmp/multipartBody6298534139986409282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807639181,"filename":"image_25012025_13_03_02_687152_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b304326870a6aecedfdd310522cb15ce.jpg","text":"TemporaryFile(/tmp/multipartBody8332643915571561852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807639181,"filename":"image_25012025_13_02_02_586610_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/36c1f70daf86ef9f6baa4a0ed731b801.jpg","text":"TemporaryFile(/tmp/multipartBody5656212403329731008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807639181,"filename":"image_25012025_13_03_02_687152_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331337393","file1":"1331337389","file0":"1331337382","file4":"1331337632","file5":"1331337644","file3":"1331337516"},"map_files_photo_id_array":[{"photo_id":"1331337644","filename":"file5"},{"photo_id":"1331337393","filename":"file2"},{"photo_id":"1331337632","filename":"file4"},{"photo_id":"1331337389","filename":"file1"},{"photo_id":"1331337382","filename":"file0"},{"photo_id":"1331337516","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331337516":["hashtag1","hashtag2"]},{"1331337389":["hashtag1","hashtag2"]},{"1331337644":["hashtag1","hashtag2"]},{"1331337632":["hashtag1","hashtag2"]},{"1331337382":["hashtag1","hashtag2"]},{"1331337393":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331337516, 1331337389, 1331337644, 1331337632, 1331337382, 1331337393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.23919081687927 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:20:22.730883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/04/image_25012025_13_04_02_947212_0000.jpg', '/home/pi/Desktop/images/25012025/13/04/image_25012025_13_04_02_947212_0001.jpg', '/home/pi/Desktop/images/25012025/13/04/image_25012025_13_04_02_947212_0002.jpg', '/home/pi/Desktop/images/25012025/13/04/image_25012025_13_04_02_947212_0003.jpg', '/home/pi/Desktop/images/25012025/13/05/image_25012025_13_05_03_037737_0000.jpg', '/home/pi/Desktop/images/25012025/13/05/image_25012025_13_05_03_037737_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/04/image_25012025_13_04_02_947212_0000.jpg
/home/pi/Desktop/images/25012025/13/04/image_25012025_13_04_02_947212_0001.jpg
/home/pi/Desktop/images/25012025/13/04/image_25012025_13_04_02_947212_0002.jpg
/home/pi/Desktop/images/25012025/13/04/image_25012025_13_04_02_947212_0003.jpg
/home/pi/Desktop/images/25012025/13/05/image_25012025_13_05_03_037737_0000.jpg
/home/pi/Desktop/images/25012025/13/05/image_25012025_13_05_03_037737_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":["1331337983","1331337962","1331337799","1331337790","1331337784","1331337795"],"photo_ids_order":["1331337784","1331337790","1331337795","1331337799","1331337962","1331337983"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/29e26ad0bbb46fe61437ab8c048471d4.jpg","text":"TemporaryFile(/tmp/multipartBody829611191117104712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807699380,"filename":"image_25012025_13_05_03_037737_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cd73f4e19bfb90e5e645a8164d3de0fb.jpg","text":"TemporaryFile(/tmp/multipartBody1666287735985591344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807699380,"filename":"image_25012025_13_05_03_037737_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ef29975ca3ca04c3f1a3c334a00b56ba.jpg","text":"TemporaryFile(/tmp/multipartBody8897427672338406491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807699380,"filename":"image_25012025_13_04_02_947212_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cfd0cbb5d3ab4584f1703d734ecbf9dc.jpg","text":"TemporaryFile(/tmp/multipartBody7708777319532724200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807699380,"filename":"image_25012025_13_04_02_947212_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3d2855766476c2b0e5011b939f1cb660.jpg","text":"TemporaryFile(/tmp/multipartBody7355795407355598322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807699380,"filename":"image_25012025_13_04_02_947212_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3773f64e31c4a8f779deeaaec292f267.jpg","text":"TemporaryFile(/tmp/multipartBody1665819519349804818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807699380,"filename":"image_25012025_13_04_02_947212_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331337795","file1":"1331337790","file0":"1331337784","file4":"1331337962","file5":"1331337983","file3":"1331337799"},"map_files_photo_id_array":[{"photo_id":"1331337983","filename":"file5"},{"photo_id":"1331337795","filename":"file2"},{"photo_id":"1331337962","filename":"file4"},{"photo_id":"1331337790","filename":"file1"},{"photo_id":"1331337784","filename":"file0"},{"photo_id":"1331337799","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331337983":["hashtag1","hashtag2"]},{"1331337962":["hashtag1","hashtag2"]},{"1331337799":["hashtag1","hashtag2"]},{"1331337790":["hashtag1","hashtag2"]},{"1331337784":["hashtag1","hashtag2"]},{"1331337795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331337983, 1331337962, 1331337799, 1331337790, 1331337784, 1331337795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.30520987510681 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:21:21.928250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/05/image_25012025_13_05_03_037737_0002.jpg', '/home/pi/Desktop/images/25012025/13/05/image_25012025_13_05_03_037737_0003.jpg', '/home/pi/Desktop/images/25012025/13/06/image_25012025_13_06_02_272876_0000.jpg', '/home/pi/Desktop/images/25012025/13/06/image_25012025_13_06_02_272876_0001.jpg', '/home/pi/Desktop/images/25012025/13/06/image_25012025_13_06_02_272876_0002.jpg', '/home/pi/Desktop/images/25012025/13/06/image_25012025_13_06_02_272876_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/05/image_25012025_13_05_03_037737_0002.jpg
/home/pi/Desktop/images/25012025/13/05/image_25012025_13_05_03_037737_0003.jpg
/home/pi/Desktop/images/25012025/13/06/image_25012025_13_06_02_272876_0000.jpg
/home/pi/Desktop/images/25012025/13/06/image_25012025_13_06_02_272876_0001.jpg
/home/pi/Desktop/images/25012025/13/06/image_25012025_13_06_02_272876_0002.jpg
/home/pi/Desktop/images/25012025/13/06/image_25012025_13_06_02_272876_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 [200]>
b'{"photo_ids":["1331338005","1331338014","1331338016","1331338009","1331337999","1331338035"],"photo_ids_order":["1331337999","1331338005","1331338009","1331338014","1331338016","1331338035"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/612aafb99fe7041e4cb417a084b126b0.jpg","text":"TemporaryFile(/tmp/multipartBody5417214761395868816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807758716,"filename":"image_25012025_13_05_03_037737_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e2219270a4aa70baf3cecb1fc181bd72.jpg","text":"TemporaryFile(/tmp/multipartBody9159960504007402828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807758716,"filename":"image_25012025_13_06_02_272876_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3cee9fbf805a64744e14c31f289d7782.jpg","text":"TemporaryFile(/tmp/multipartBody5250874247336565870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807758716,"filename":"image_25012025_13_06_02_272876_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c40ae49ef7945eab840c157fd2870128.jpg","text":"TemporaryFile(/tmp/multipartBody184474128303312488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807758716,"filename":"image_25012025_13_06_02_272876_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/630452a490482f57da163ceda1e26e4d.jpg","text":"TemporaryFile(/tmp/multipartBody4736175368003575600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807758716,"filename":"image_25012025_13_05_03_037737_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/db6b74be4309eaed0c1489101aef6ea1.jpg","text":"TemporaryFile(/tmp/multipartBody4474763463653074916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807758716,"filename":"image_25012025_13_06_02_272876_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331338009","file1":"1331338005","file0":"1331337999","file4":"1331338016","file5":"1331338035","file3":"1331338014"},"map_files_photo_id_array":[{"photo_id":"1331338035","filename":"file5"},{"photo_id":"1331338009","filename":"file2"},{"photo_id":"1331338016","filename":"file4"},{"photo_id":"1331338005","filename":"file1"},{"photo_id":"1331337999","filename":"file0"},{"photo_id":"1331338014","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331338005":["hashtag1","hashtag2"]},{"1331338014":["hashtag1","hashtag2"]},{"1331338016":["hashtag1","hashtag2"]},{"1331338009":["hashtag1","hashtag2"]},{"1331337999":["hashtag1","hashtag2"]},{"1331338035":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331338005, 1331338014, 1331338016, 1331338009, 1331337999, 1331338035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.75334596633911 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:22:22.129028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/07/image_25012025_13_07_02_520414_0000.jpg', '/home/pi/Desktop/images/25012025/13/07/image_25012025_13_07_02_520414_0001.jpg', '/home/pi/Desktop/images/25012025/13/07/image_25012025_13_07_02_520414_0002.jpg', '/home/pi/Desktop/images/25012025/13/07/image_25012025_13_07_02_520414_0003.jpg', '/home/pi/Desktop/images/25012025/13/08/image_25012025_13_08_02_670357_0000.jpg', '/home/pi/Desktop/images/25012025/13/08/image_25012025_13_08_02_670357_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/07/image_25012025_13_07_02_520414_0000.jpg
/home/pi/Desktop/images/25012025/13/07/image_25012025_13_07_02_520414_0001.jpg
/home/pi/Desktop/images/25012025/13/07/image_25012025_13_07_02_520414_0002.jpg
/home/pi/Desktop/images/25012025/13/07/image_25012025_13_07_02_520414_0003.jpg
/home/pi/Desktop/images/25012025/13/08/image_25012025_13_08_02_670357_0000.jpg
/home/pi/Desktop/images/25012025/13/08/image_25012025_13_08_02_670357_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":["1331338061","1331338075","1331338071","1331338080","1331338068","1331338056"],"photo_ids_order":["1331338056","1331338061","1331338068","1331338071","1331338075","1331338080"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f8d89eaa04bfaf5aaa297d8f4e134d8d.jpg","text":"TemporaryFile(/tmp/multipartBody2011354287469730666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807818720,"filename":"image_25012025_13_07_02_520414_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0c0f1d007b55b2be0805335b1aa9c14f.jpg","text":"TemporaryFile(/tmp/multipartBody3642247539283578171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807818720,"filename":"image_25012025_13_08_02_670357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/596305f2d0addabfb40cae623a1faaa4.jpg","text":"TemporaryFile(/tmp/multipartBody2709627076058455535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807818720,"filename":"image_25012025_13_07_02_520414_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e561bb343e633b0a3e607c2df7cd0594.jpg","text":"TemporaryFile(/tmp/multipartBody8295101928129556809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807818720,"filename":"image_25012025_13_08_02_670357_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0ac929e269b8cd6c5dee21a5f6ea2cec.jpg","text":"TemporaryFile(/tmp/multipartBody1747975780642604168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807818720,"filename":"image_25012025_13_07_02_520414_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/515cc47dda5f52b0a9aab2a5f73461ab.jpg","text":"TemporaryFile(/tmp/multipartBody1932308344123036297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807818720,"filename":"image_25012025_13_07_02_520414_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331338068","file1":"1331338061","file0":"1331338056","file4":"1331338075","file5":"1331338080","file3":"1331338071"},"map_files_photo_id_array":[{"photo_id":"1331338080","filename":"file5"},{"photo_id":"1331338068","filename":"file2"},{"photo_id":"1331338075","filename":"file4"},{"photo_id":"1331338061","filename":"file1"},{"photo_id":"1331338056","filename":"file0"},{"photo_id":"1331338071","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331338061":["hashtag1","hashtag2"]},{"1331338075":["hashtag1","hashtag2"]},{"1331338071":["hashtag1","hashtag2"]},{"1331338080":["hashtag1","hashtag2"]},{"1331338068":["hashtag1","hashtag2"]},{"1331338056":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331338061, 1331338075, 1331338071, 1331338080, 1331338068, 1331338056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.25257229804993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:23:22.410412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/08/image_25012025_13_08_02_670357_0002.jpg', '/home/pi/Desktop/images/25012025/13/08/image_25012025_13_08_02_670357_0003.jpg', '/home/pi/Desktop/images/25012025/13/09/image_25012025_13_09_02_810932_0000.jpg', '/home/pi/Desktop/images/25012025/13/09/image_25012025_13_09_02_810932_0001.jpg', '/home/pi/Desktop/images/25012025/13/09/image_25012025_13_09_02_810932_0002.jpg', '/home/pi/Desktop/images/25012025/13/09/image_25012025_13_09_02_810932_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/08/image_25012025_13_08_02_670357_0002.jpg
/home/pi/Desktop/images/25012025/13/08/image_25012025_13_08_02_670357_0003.jpg
/home/pi/Desktop/images/25012025/13/09/image_25012025_13_09_02_810932_0000.jpg
/home/pi/Desktop/images/25012025/13/09/image_25012025_13_09_02_810932_0001.jpg
/home/pi/Desktop/images/25012025/13/09/image_25012025_13_09_02_810932_0002.jpg
/home/pi/Desktop/images/25012025/13/09/image_25012025_13_09_02_810932_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 [200]>
b'{"photo_ids":["1331338367","1331338376","1331338378","1331338380","1331338371","1331338374"],"photo_ids_order":["1331338367","1331338371","1331338374","1331338376","1331338378","1331338380"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1f8f1c7d951d40665d7d34f3af5ce6fb.jpg","text":"TemporaryFile(/tmp/multipartBody3222712096475032342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807879262,"filename":"image_25012025_13_08_02_670357_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eb3385d41f2c0ef99a35689b55358cba.jpg","text":"TemporaryFile(/tmp/multipartBody2204521032567109243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807879262,"filename":"image_25012025_13_09_02_810932_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7e55eaba1a95416f1d222fee47dfb631.jpg","text":"TemporaryFile(/tmp/multipartBody5471018268303008386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807879262,"filename":"image_25012025_13_09_02_810932_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a75d8dc1caeaeadeea91cd56ac6d6780.jpg","text":"TemporaryFile(/tmp/multipartBody6221651116578493983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807879262,"filename":"image_25012025_13_09_02_810932_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b5802e170a50273a31036d74cf04178c.jpg","text":"TemporaryFile(/tmp/multipartBody1241117596638284457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807879262,"filename":"image_25012025_13_08_02_670357_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/757888b61249704f1aac5b8f812838a3.jpg","text":"TemporaryFile(/tmp/multipartBody6561942524599634447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807879262,"filename":"image_25012025_13_09_02_810932_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331338374","file1":"1331338371","file0":"1331338367","file4":"1331338378","file5":"1331338380","file3":"1331338376"},"map_files_photo_id_array":[{"photo_id":"1331338380","filename":"file5"},{"photo_id":"1331338374","filename":"file2"},{"photo_id":"1331338378","filename":"file4"},{"photo_id":"1331338371","filename":"file1"},{"photo_id":"1331338367","filename":"file0"},{"photo_id":"1331338376","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331338367":["hashtag1","hashtag2"]},{"1331338376":["hashtag1","hashtag2"]},{"1331338378":["hashtag1","hashtag2"]},{"1331338380":["hashtag1","hashtag2"]},{"1331338371":["hashtag1","hashtag2"]},{"1331338374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331338367, 1331338376, 1331338378, 1331338380, 1331338371, 1331338374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.061352491378784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:24:22.580779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/10/image_25012025_13_10_03_015610_0000.jpg', '/home/pi/Desktop/images/25012025/13/10/image_25012025_13_10_03_015610_0001.jpg', '/home/pi/Desktop/images/25012025/13/10/image_25012025_13_10_03_015610_0002.jpg', '/home/pi/Desktop/images/25012025/13/10/image_25012025_13_10_03_015610_0003.jpg', '/home/pi/Desktop/images/25012025/13/11/image_25012025_13_11_02_229102_0000.jpg', '/home/pi/Desktop/images/25012025/13/11/image_25012025_13_11_02_229102_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/10/image_25012025_13_10_03_015610_0000.jpg
/home/pi/Desktop/images/25012025/13/10/image_25012025_13_10_03_015610_0001.jpg
/home/pi/Desktop/images/25012025/13/10/image_25012025_13_10_03_015610_0002.jpg
/home/pi/Desktop/images/25012025/13/10/image_25012025_13_10_03_015610_0003.jpg
/home/pi/Desktop/images/25012025/13/11/image_25012025_13_11_02_229102_0000.jpg
/home/pi/Desktop/images/25012025/13/11/image_25012025_13_11_02_229102_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":["1331338416","1331338410","1331338399","1331338403","1331338413","1331338407"],"photo_ids_order":["1331338399","1331338403","1331338407","1331338410","1331338413","1331338416"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/69b0d5a46b0612069c922ebdab18e532.jpg","text":"TemporaryFile(/tmp/multipartBody8245939736658250427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807938633,"filename":"image_25012025_13_11_02_229102_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/742704a2d282e1603c2905ec9e971d8d.jpg","text":"TemporaryFile(/tmp/multipartBody7811320348539731695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807938633,"filename":"image_25012025_13_10_03_015610_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/312812dbe2bf8064f5cdc3917cbe7503.jpg","text":"TemporaryFile(/tmp/multipartBody747071183163104112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807938633,"filename":"image_25012025_13_10_03_015610_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6112f62a5ac8b5d0b7e09cf73de113fa.jpg","text":"TemporaryFile(/tmp/multipartBody2371423438883899492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807938633,"filename":"image_25012025_13_10_03_015610_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d30bbb0e480d9c8cfc911efc114367ff.jpg","text":"TemporaryFile(/tmp/multipartBody4732973476724543315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807938633,"filename":"image_25012025_13_11_02_229102_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6846cc6cb8513eb77e0b8184c88d5647.jpg","text":"TemporaryFile(/tmp/multipartBody5882539686844912797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807938633,"filename":"image_25012025_13_10_03_015610_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331338407","file1":"1331338403","file0":"1331338399","file4":"1331338413","file5":"1331338416","file3":"1331338410"},"map_files_photo_id_array":[{"photo_id":"1331338416","filename":"file5"},{"photo_id":"1331338407","filename":"file2"},{"photo_id":"1331338413","filename":"file4"},{"photo_id":"1331338403","filename":"file1"},{"photo_id":"1331338399","filename":"file0"},{"photo_id":"1331338410","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331338416":["hashtag1","hashtag2"]},{"1331338410":["hashtag1","hashtag2"]},{"1331338399":["hashtag1","hashtag2"]},{"1331338403":["hashtag1","hashtag2"]},{"1331338413":["hashtag1","hashtag2"]},{"1331338407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331338416, 1331338410, 1331338399, 1331338403, 1331338413, 1331338407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.45412635803223 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:25:22.823434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/11/image_25012025_13_11_02_229102_0002.jpg', '/home/pi/Desktop/images/25012025/13/11/image_25012025_13_11_02_229102_0003.jpg', '/home/pi/Desktop/images/25012025/13/12/image_25012025_13_12_02_411108_0000.jpg', '/home/pi/Desktop/images/25012025/13/12/image_25012025_13_12_02_411108_0001.jpg', '/home/pi/Desktop/images/25012025/13/12/image_25012025_13_12_02_411108_0002.jpg', '/home/pi/Desktop/images/25012025/13/12/image_25012025_13_12_02_411108_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/11/image_25012025_13_11_02_229102_0002.jpg
/home/pi/Desktop/images/25012025/13/11/image_25012025_13_11_02_229102_0003.jpg
/home/pi/Desktop/images/25012025/13/12/image_25012025_13_12_02_411108_0000.jpg
/home/pi/Desktop/images/25012025/13/12/image_25012025_13_12_02_411108_0001.jpg
/home/pi/Desktop/images/25012025/13/12/image_25012025_13_12_02_411108_0002.jpg
/home/pi/Desktop/images/25012025/13/12/image_25012025_13_12_02_411108_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 [200]>
b'{"photo_ids":["1331338490","1331338495","1331338483","1331338492","1331338486","1331338501"],"photo_ids_order":["1331338483","1331338486","1331338490","1331338492","1331338495","1331338501"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8f6e601cb5115ef0f8efa8d4b4cad579.jpg","text":"TemporaryFile(/tmp/multipartBody3906183218695222411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807999153,"filename":"image_25012025_13_12_02_411108_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f78b8a98b26b972012ce095cea0f20d4.jpg","text":"TemporaryFile(/tmp/multipartBody6590985980259513072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807999153,"filename":"image_25012025_13_12_02_411108_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/95f32542afb981ecdd4a88aa217500b4.jpg","text":"TemporaryFile(/tmp/multipartBody8161359802783639278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807999153,"filename":"image_25012025_13_11_02_229102_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5725896107af1996d59a9e84d3ba9f24.jpg","text":"TemporaryFile(/tmp/multipartBody6803512925055252913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807999153,"filename":"image_25012025_13_12_02_411108_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6c8b01d987d9d83b21d828b4d233c1fd.jpg","text":"TemporaryFile(/tmp/multipartBody3132452830617184644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807999153,"filename":"image_25012025_13_11_02_229102_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0054003e6c309ee023383d1d5b0f3f12.jpg","text":"TemporaryFile(/tmp/multipartBody5518799751190963391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737807999153,"filename":"image_25012025_13_12_02_411108_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331338490","file1":"1331338486","file0":"1331338483","file4":"1331338495","file5":"1331338501","file3":"1331338492"},"map_files_photo_id_array":[{"photo_id":"1331338501","filename":"file5"},{"photo_id":"1331338490","filename":"file2"},{"photo_id":"1331338495","filename":"file4"},{"photo_id":"1331338486","filename":"file1"},{"photo_id":"1331338483","filename":"file0"},{"photo_id":"1331338492","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331338490":["hashtag1","hashtag2"]},{"1331338495":["hashtag1","hashtag2"]},{"1331338483":["hashtag1","hashtag2"]},{"1331338492":["hashtag1","hashtag2"]},{"1331338486":["hashtag1","hashtag2"]},{"1331338501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331338490, 1331338495, 1331338483, 1331338492, 1331338486, 1331338501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.3009033203125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:26:21.892081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/13/image_25012025_13_13_02_594720_0000.jpg', '/home/pi/Desktop/images/25012025/13/13/image_25012025_13_13_02_594720_0001.jpg', '/home/pi/Desktop/images/25012025/13/13/image_25012025_13_13_02_594720_0002.jpg', '/home/pi/Desktop/images/25012025/13/13/image_25012025_13_13_02_594720_0003.jpg', '/home/pi/Desktop/images/25012025/13/14/image_25012025_13_14_02_886512_0000.jpg', '/home/pi/Desktop/images/25012025/13/14/image_25012025_13_14_02_886512_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/13/image_25012025_13_13_02_594720_0000.jpg
/home/pi/Desktop/images/25012025/13/13/image_25012025_13_13_02_594720_0001.jpg
/home/pi/Desktop/images/25012025/13/13/image_25012025_13_13_02_594720_0002.jpg
/home/pi/Desktop/images/25012025/13/13/image_25012025_13_13_02_594720_0003.jpg
/home/pi/Desktop/images/25012025/13/14/image_25012025_13_14_02_886512_0000.jpg
/home/pi/Desktop/images/25012025/13/14/image_25012025_13_14_02_886512_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":["1331338521","1331338529","1331338523","1331338517","1331338526","1331338519"],"photo_ids_order":["1331338517","1331338519","1331338521","1331338523","1331338526","1331338529"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2653362792e8bc30a39658697b8265d9.jpg","text":"TemporaryFile(/tmp/multipartBody137355300320079314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808057688,"filename":"image_25012025_13_13_02_594720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a91bc195dfb0bf3ceaa4a0b8a7e46208.jpg","text":"TemporaryFile(/tmp/multipartBody255639540008766743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808057688,"filename":"image_25012025_13_14_02_886512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dfec22a108c7b5b062a8ad674d73d9d7.jpg","text":"TemporaryFile(/tmp/multipartBody4544426933458266288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808057688,"filename":"image_25012025_13_13_02_594720_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7ddfdd37d48a35a8c6e72ba8d02b5fbb.jpg","text":"TemporaryFile(/tmp/multipartBody6243729597776073623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808057688,"filename":"image_25012025_13_13_02_594720_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b8495dad417ac33ed7628dc1080af216.jpg","text":"TemporaryFile(/tmp/multipartBody3367220827106835550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808057688,"filename":"image_25012025_13_14_02_886512_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/608bf32977bc46ee2486b435b7abd469.jpg","text":"TemporaryFile(/tmp/multipartBody1195560074043799560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808057688,"filename":"image_25012025_13_13_02_594720_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331338521","file1":"1331338519","file0":"1331338517","file4":"1331338526","file5":"1331338529","file3":"1331338523"},"map_files_photo_id_array":[{"photo_id":"1331338529","filename":"file5"},{"photo_id":"1331338521","filename":"file2"},{"photo_id":"1331338526","filename":"file4"},{"photo_id":"1331338519","filename":"file1"},{"photo_id":"1331338517","filename":"file0"},{"photo_id":"1331338523","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331338521":["hashtag1","hashtag2"]},{"1331338529":["hashtag1","hashtag2"]},{"1331338523":["hashtag1","hashtag2"]},{"1331338517":["hashtag1","hashtag2"]},{"1331338526":["hashtag1","hashtag2"]},{"1331338519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331338521, 1331338529, 1331338523, 1331338517, 1331338526, 1331338519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.82595920562744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:27:22.101028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/14/image_25012025_13_14_02_886512_0002.jpg', '/home/pi/Desktop/images/25012025/13/14/image_25012025_13_14_02_886512_0003.jpg', '/home/pi/Desktop/images/25012025/13/15/image_25012025_13_15_02_988838_0000.jpg', '/home/pi/Desktop/images/25012025/13/15/image_25012025_13_15_02_988838_0001.jpg', '/home/pi/Desktop/images/25012025/13/15/image_25012025_13_15_02_988838_0002.jpg', '/home/pi/Desktop/images/25012025/13/15/image_25012025_13_15_02_988838_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/14/image_25012025_13_14_02_886512_0002.jpg
/home/pi/Desktop/images/25012025/13/14/image_25012025_13_14_02_886512_0003.jpg
/home/pi/Desktop/images/25012025/13/15/image_25012025_13_15_02_988838_0000.jpg
/home/pi/Desktop/images/25012025/13/15/image_25012025_13_15_02_988838_0001.jpg
/home/pi/Desktop/images/25012025/13/15/image_25012025_13_15_02_988838_0002.jpg
/home/pi/Desktop/images/25012025/13/15/image_25012025_13_15_02_988838_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 [200]>
b'{"photo_ids":["1331338588","1331338552","1331338593","1331338545","1331338554","1331338548"],"photo_ids_order":["1331338545","1331338548","1331338552","1331338554","1331338588","1331338593"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c7df9c3c8112305495f8c06728417860.jpg","text":"TemporaryFile(/tmp/multipartBody2101875963882698371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808118295,"filename":"image_25012025_13_15_02_988838_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/15b020d26bcf6b392514a0511d8a8c9b.jpg","text":"TemporaryFile(/tmp/multipartBody7321835811095208556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808118295,"filename":"image_25012025_13_15_02_988838_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6add8febae1562e05c21bb9f7754bfaf.jpg","text":"TemporaryFile(/tmp/multipartBody8708902600851224560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808118295,"filename":"image_25012025_13_15_02_988838_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/773f79afe35d0516ff27004472cade22.jpg","text":"TemporaryFile(/tmp/multipartBody578577015562947301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808118295,"filename":"image_25012025_13_14_02_886512_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b3a392f6f46aa56688127eddb76719af.jpg","text":"TemporaryFile(/tmp/multipartBody8311729401464458293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808118295,"filename":"image_25012025_13_15_02_988838_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/381d3705d73569e07a678130984cb5a1.jpg","text":"TemporaryFile(/tmp/multipartBody6894593542762003599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808118295,"filename":"image_25012025_13_14_02_886512_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331338552","file1":"1331338548","file0":"1331338545","file4":"1331338588","file5":"1331338593","file3":"1331338554"},"map_files_photo_id_array":[{"photo_id":"1331338593","filename":"file5"},{"photo_id":"1331338552","filename":"file2"},{"photo_id":"1331338588","filename":"file4"},{"photo_id":"1331338548","filename":"file1"},{"photo_id":"1331338545","filename":"file0"},{"photo_id":"1331338554","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331338588":["hashtag1","hashtag2"]},{"1331338552":["hashtag1","hashtag2"]},{"1331338593":["hashtag1","hashtag2"]},{"1331338545":["hashtag1","hashtag2"]},{"1331338554":["hashtag1","hashtag2"]},{"1331338548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331338588, 1331338552, 1331338593, 1331338545, 1331338554, 1331338548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.22440433502197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:28:22.335177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/16/image_25012025_13_16_02_165205_0000.jpg', '/home/pi/Desktop/images/25012025/13/16/image_25012025_13_16_02_165205_0001.jpg', '/home/pi/Desktop/images/25012025/13/16/image_25012025_13_16_02_165205_0002.jpg', '/home/pi/Desktop/images/25012025/13/16/image_25012025_13_16_02_165205_0003.jpg', '/home/pi/Desktop/images/25012025/13/17/image_25012025_13_17_02_442118_0000.jpg', '/home/pi/Desktop/images/25012025/13/17/image_25012025_13_17_02_442118_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/16/image_25012025_13_16_02_165205_0000.jpg
/home/pi/Desktop/images/25012025/13/16/image_25012025_13_16_02_165205_0001.jpg
/home/pi/Desktop/images/25012025/13/16/image_25012025_13_16_02_165205_0002.jpg
/home/pi/Desktop/images/25012025/13/16/image_25012025_13_16_02_165205_0003.jpg
/home/pi/Desktop/images/25012025/13/17/image_25012025_13_17_02_442118_0000.jpg
/home/pi/Desktop/images/25012025/13/17/image_25012025_13_17_02_442118_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":["1331338682","1331338675","1331338678","1331338686","1331338671","1331338680"],"photo_ids_order":["1331338671","1331338675","1331338678","1331338680","1331338682","1331338686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c8014433b35a283b09267cda4226a7ab.jpg","text":"TemporaryFile(/tmp/multipartBody734374390112918791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808179164,"filename":"image_25012025_13_17_02_442118_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d950c8f32d6d1e06848fb6b514575147.jpg","text":"TemporaryFile(/tmp/multipartBody5702917021229748721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808179164,"filename":"image_25012025_13_16_02_165205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7961e76d50db2e00ac99fb8ad1ccfae7.jpg","text":"TemporaryFile(/tmp/multipartBody440079560863781125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808179164,"filename":"image_25012025_13_16_02_165205_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/407319645c357578a2b7fa5388211825.jpg","text":"TemporaryFile(/tmp/multipartBody3983077267585554827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808179164,"filename":"image_25012025_13_17_02_442118_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/56c6705697e38bad70f0e2a146b7e770.jpg","text":"TemporaryFile(/tmp/multipartBody3540761407615676803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808179164,"filename":"image_25012025_13_16_02_165205_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7d66bf422e83c6d09154b5b3ee23c0b5.jpg","text":"TemporaryFile(/tmp/multipartBody1914825795720640400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808179164,"filename":"image_25012025_13_16_02_165205_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331338678","file1":"1331338675","file0":"1331338671","file4":"1331338682","file5":"1331338686","file3":"1331338680"},"map_files_photo_id_array":[{"photo_id":"1331338686","filename":"file5"},{"photo_id":"1331338678","filename":"file2"},{"photo_id":"1331338682","filename":"file4"},{"photo_id":"1331338675","filename":"file1"},{"photo_id":"1331338671","filename":"file0"},{"photo_id":"1331338680","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331338682":["hashtag1","hashtag2"]},{"1331338675":["hashtag1","hashtag2"]},{"1331338678":["hashtag1","hashtag2"]},{"1331338686":["hashtag1","hashtag2"]},{"1331338671":["hashtag1","hashtag2"]},{"1331338680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331338682, 1331338675, 1331338678, 1331338686, 1331338671, 1331338680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.57530760765076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:29:22.475495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/17/image_25012025_13_17_02_442118_0002.jpg', '/home/pi/Desktop/images/25012025/13/17/image_25012025_13_17_02_442118_0003.jpg', '/home/pi/Desktop/images/25012025/13/18/image_25012025_13_18_02_557655_0000.jpg', '/home/pi/Desktop/images/25012025/13/18/image_25012025_13_18_02_557655_0001.jpg', '/home/pi/Desktop/images/25012025/13/18/image_25012025_13_18_02_557655_0002.jpg', '/home/pi/Desktop/images/25012025/13/18/image_25012025_13_18_02_557655_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/17/image_25012025_13_17_02_442118_0002.jpg
/home/pi/Desktop/images/25012025/13/17/image_25012025_13_17_02_442118_0003.jpg
/home/pi/Desktop/images/25012025/13/18/image_25012025_13_18_02_557655_0000.jpg
/home/pi/Desktop/images/25012025/13/18/image_25012025_13_18_02_557655_0001.jpg
/home/pi/Desktop/images/25012025/13/18/image_25012025_13_18_02_557655_0002.jpg
/home/pi/Desktop/images/25012025/13/18/image_25012025_13_18_02_557655_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 [200]>
b'{"photo_ids":["1331338701","1331338715","1331338724","1331338706","1331338711","1331338720"],"photo_ids_order":["1331338701","1331338706","1331338711","1331338715","1331338720","1331338724"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c3c48dcbaf8684e0041d815205b0aabe.jpg","text":"TemporaryFile(/tmp/multipartBody3550315865371118675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808239354,"filename":"image_25012025_13_17_02_442118_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2968edef7af0d3c8372254cafc246a9a.jpg","text":"TemporaryFile(/tmp/multipartBody3051533800469871088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808239354,"filename":"image_25012025_13_18_02_557655_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ed9e9054c114730079b3e0757659d93f.jpg","text":"TemporaryFile(/tmp/multipartBody5738630742249298062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808239354,"filename":"image_25012025_13_18_02_557655_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ba8a17af6e0a7b7e3e8617dfc37500da.jpg","text":"TemporaryFile(/tmp/multipartBody5755852942586154674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808239354,"filename":"image_25012025_13_17_02_442118_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2860d4583b63c0c77c024049d1b7451e.jpg","text":"TemporaryFile(/tmp/multipartBody2165182902364411629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808239354,"filename":"image_25012025_13_18_02_557655_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3bb6b7d33dce82e682bce3ad0fb7befc.jpg","text":"TemporaryFile(/tmp/multipartBody4733217062050315840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808239354,"filename":"image_25012025_13_18_02_557655_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331338711","file1":"1331338706","file0":"1331338701","file4":"1331338720","file5":"1331338724","file3":"1331338715"},"map_files_photo_id_array":[{"photo_id":"1331338724","filename":"file5"},{"photo_id":"1331338711","filename":"file2"},{"photo_id":"1331338720","filename":"file4"},{"photo_id":"1331338706","filename":"file1"},{"photo_id":"1331338701","filename":"file0"},{"photo_id":"1331338715","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331338701":["hashtag1","hashtag2"]},{"1331338715":["hashtag1","hashtag2"]},{"1331338724":["hashtag1","hashtag2"]},{"1331338706":["hashtag1","hashtag2"]},{"1331338711":["hashtag1","hashtag2"]},{"1331338720":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331338701, 1331338715, 1331338724, 1331338706, 1331338711, 1331338720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.44034934043884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:30:22.607452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/19/image_25012025_13_19_02_803374_0000.jpg', '/home/pi/Desktop/images/25012025/13/19/image_25012025_13_19_02_803374_0001.jpg', '/home/pi/Desktop/images/25012025/13/19/image_25012025_13_19_02_803374_0002.jpg', '/home/pi/Desktop/images/25012025/13/19/image_25012025_13_19_02_803374_0003.jpg', '/home/pi/Desktop/images/25012025/13/20/image_25012025_13_20_02_887644_0000.jpg', '/home/pi/Desktop/images/25012025/13/20/image_25012025_13_20_02_887644_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/19/image_25012025_13_19_02_803374_0000.jpg
/home/pi/Desktop/images/25012025/13/19/image_25012025_13_19_02_803374_0001.jpg
/home/pi/Desktop/images/25012025/13/19/image_25012025_13_19_02_803374_0002.jpg
/home/pi/Desktop/images/25012025/13/19/image_25012025_13_19_02_803374_0003.jpg
/home/pi/Desktop/images/25012025/13/20/image_25012025_13_20_02_887644_0000.jpg
/home/pi/Desktop/images/25012025/13/20/image_25012025_13_20_02_887644_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":["1331338748","1331338744","1331338741","1331338752","1331338755","1331338746"],"photo_ids_order":["1331338741","1331338744","1331338746","1331338748","1331338752","1331338755"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9f62b6a27e5efa3883ed56cbbe939384.jpg","text":"TemporaryFile(/tmp/multipartBody4427346873345118821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808299354,"filename":"image_25012025_13_19_02_803374_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3f400cb49b81b207c2680a3d51a5e9c6.jpg","text":"TemporaryFile(/tmp/multipartBody8450837094238462723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808299354,"filename":"image_25012025_13_19_02_803374_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1df6ff12393eecadd0e8f9ba6fc6db9b.jpg","text":"TemporaryFile(/tmp/multipartBody8085878316215955387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808299354,"filename":"image_25012025_13_19_02_803374_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/565ebf48b4f61e565fabd4ba73a6f309.jpg","text":"TemporaryFile(/tmp/multipartBody8600373862708456344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808299354,"filename":"image_25012025_13_20_02_887644_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/14f2226b716fda29fa4bf7db8540f8e7.jpg","text":"TemporaryFile(/tmp/multipartBody7279573901044559126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808299354,"filename":"image_25012025_13_20_02_887644_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ad712ae374d661812ededfbe4b79ad00.jpg","text":"TemporaryFile(/tmp/multipartBody2425306273058059288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808299354,"filename":"image_25012025_13_19_02_803374_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331338746","file1":"1331338744","file0":"1331338741","file4":"1331338752","file5":"1331338755","file3":"1331338748"},"map_files_photo_id_array":[{"photo_id":"1331338755","filename":"file5"},{"photo_id":"1331338746","filename":"file2"},{"photo_id":"1331338752","filename":"file4"},{"photo_id":"1331338744","filename":"file1"},{"photo_id":"1331338741","filename":"file0"},{"photo_id":"1331338748","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331338748":["hashtag1","hashtag2"]},{"1331338744":["hashtag1","hashtag2"]},{"1331338741":["hashtag1","hashtag2"]},{"1331338752":["hashtag1","hashtag2"]},{"1331338755":["hashtag1","hashtag2"]},{"1331338746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331338748, 1331338744, 1331338741, 1331338752, 1331338755, 1331338746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.635746002197266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:31:22.744882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/20/image_25012025_13_20_02_887644_0002.jpg', '/home/pi/Desktop/images/25012025/13/20/image_25012025_13_20_02_887644_0003.jpg', '/home/pi/Desktop/images/25012025/13/21/image_25012025_13_21_03_062206_0000.jpg', '/home/pi/Desktop/images/25012025/13/21/image_25012025_13_21_03_062206_0001.jpg', '/home/pi/Desktop/images/25012025/13/21/image_25012025_13_21_03_062206_0002.jpg', '/home/pi/Desktop/images/25012025/13/21/image_25012025_13_21_03_062206_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/20/image_25012025_13_20_02_887644_0002.jpg
/home/pi/Desktop/images/25012025/13/20/image_25012025_13_20_02_887644_0003.jpg
/home/pi/Desktop/images/25012025/13/21/image_25012025_13_21_03_062206_0000.jpg
/home/pi/Desktop/images/25012025/13/21/image_25012025_13_21_03_062206_0001.jpg
/home/pi/Desktop/images/25012025/13/21/image_25012025_13_21_03_062206_0002.jpg
/home/pi/Desktop/images/25012025/13/21/image_25012025_13_21_03_062206_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 [200]>
b'{"photo_ids":["1331338905","1331338809","1331338814","1331338899","1331338804","1331338902"],"photo_ids_order":["1331338804","1331338809","1331338814","1331338899","1331338902","1331338905"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9ec353e0d5247286d939e94f62b9518f.jpg","text":"TemporaryFile(/tmp/multipartBody8816294930712864946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808359493,"filename":"image_25012025_13_21_03_062206_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5a1647dae38492ee4020ea4587aec51c.jpg","text":"TemporaryFile(/tmp/multipartBody8844150176017451645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808359493,"filename":"image_25012025_13_20_02_887644_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7bfbeef53a3fd243baecc05aa9b5c112.jpg","text":"TemporaryFile(/tmp/multipartBody6889091802973789183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808359493,"filename":"image_25012025_13_21_03_062206_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8119293ff10a0175c67ea3afcc35b353.jpg","text":"TemporaryFile(/tmp/multipartBody5408651305866042884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808359493,"filename":"image_25012025_13_21_03_062206_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/039ca5e906f9cd13b3dbdedaac78e32d.jpg","text":"TemporaryFile(/tmp/multipartBody6245182195880732098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808359493,"filename":"image_25012025_13_20_02_887644_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/30bd9ab0181acb7e58319329e8898f2f.jpg","text":"TemporaryFile(/tmp/multipartBody5848520950100417918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808359493,"filename":"image_25012025_13_21_03_062206_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331338814","file1":"1331338809","file0":"1331338804","file4":"1331338902","file5":"1331338905","file3":"1331338899"},"map_files_photo_id_array":[{"photo_id":"1331338905","filename":"file5"},{"photo_id":"1331338814","filename":"file2"},{"photo_id":"1331338902","filename":"file4"},{"photo_id":"1331338809","filename":"file1"},{"photo_id":"1331338804","filename":"file0"},{"photo_id":"1331338899","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331338905":["hashtag1","hashtag2"]},{"1331338809":["hashtag1","hashtag2"]},{"1331338814":["hashtag1","hashtag2"]},{"1331338899":["hashtag1","hashtag2"]},{"1331338804":["hashtag1","hashtag2"]},{"1331338902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331338905, 1331338809, 1331338814, 1331338899, 1331338804, 1331338902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.11526799201965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:32:21.971217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/22/image_25012025_13_22_02_266902_0000.jpg', '/home/pi/Desktop/images/25012025/13/22/image_25012025_13_22_02_266902_0001.jpg', '/home/pi/Desktop/images/25012025/13/22/image_25012025_13_22_02_266902_0002.jpg', '/home/pi/Desktop/images/25012025/13/22/image_25012025_13_22_02_266902_0003.jpg', '/home/pi/Desktop/images/25012025/13/23/image_25012025_13_23_02_437126_0000.jpg', '/home/pi/Desktop/images/25012025/13/23/image_25012025_13_23_02_437126_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/22/image_25012025_13_22_02_266902_0000.jpg
/home/pi/Desktop/images/25012025/13/22/image_25012025_13_22_02_266902_0001.jpg
/home/pi/Desktop/images/25012025/13/22/image_25012025_13_22_02_266902_0002.jpg
/home/pi/Desktop/images/25012025/13/22/image_25012025_13_22_02_266902_0003.jpg
/home/pi/Desktop/images/25012025/13/23/image_25012025_13_23_02_437126_0000.jpg
/home/pi/Desktop/images/25012025/13/23/image_25012025_13_23_02_437126_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: 16.47229790687561 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 13:32:41.879387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/22/image_25012025_13_22_02_266902_0000.jpg', '/home/pi/Desktop/images/25012025/13/22/image_25012025_13_22_02_266902_0001.jpg', '/home/pi/Desktop/images/25012025/13/22/image_25012025_13_22_02_266902_0002.jpg', '/home/pi/Desktop/images/25012025/13/22/image_25012025_13_22_02_266902_0003.jpg', '/home/pi/Desktop/images/25012025/13/23/image_25012025_13_23_02_437126_0000.jpg', '/home/pi/Desktop/images/25012025/13/23/image_25012025_13_23_02_437126_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/22/image_25012025_13_22_02_266902_0000.jpg
/home/pi/Desktop/images/25012025/13/22/image_25012025_13_22_02_266902_0001.jpg
/home/pi/Desktop/images/25012025/13/22/image_25012025_13_22_02_266902_0002.jpg
/home/pi/Desktop/images/25012025/13/22/image_25012025_13_22_02_266902_0003.jpg
/home/pi/Desktop/images/25012025/13/23/image_25012025_13_23_02_437126_0000.jpg
/home/pi/Desktop/images/25012025/13/23/image_25012025_13_23_02_437126_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":["1331339048","1331339041","1331339044","1331339038","1331339052","1331339034"],"photo_ids_order":["1331339034","1331339038","1331339041","1331339044","1331339048","1331339052"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6801dc891abb7c1c279b9bfeb0375037.jpg","text":"TemporaryFile(/tmp/multipartBody6766405035102017808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808438739,"filename":"image_25012025_13_23_02_437126_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1bd88d1f4fd83370484c29909261f46b.jpg","text":"TemporaryFile(/tmp/multipartBody2774813599972300958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808438739,"filename":"image_25012025_13_22_02_266902_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/79b842aaae07f3176682ee112330adac.jpg","text":"TemporaryFile(/tmp/multipartBody6999518564347079307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808438739,"filename":"image_25012025_13_22_02_266902_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c5a32425e22c8b560d8c1f3deb8c3eec.jpg","text":"TemporaryFile(/tmp/multipartBody1050798604684953976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808438739,"filename":"image_25012025_13_22_02_266902_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a7463f8171db25029d5f3309a37d4aca.jpg","text":"TemporaryFile(/tmp/multipartBody3988113343837934486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808438739,"filename":"image_25012025_13_23_02_437126_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d86c9deff37b08f4c5f07d3f9d77865d.jpg","text":"TemporaryFile(/tmp/multipartBody8721868696849341512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808438739,"filename":"image_25012025_13_22_02_266902_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331339041","file1":"1331339038","file0":"1331339034","file4":"1331339048","file5":"1331339052","file3":"1331339044"},"map_files_photo_id_array":[{"photo_id":"1331339052","filename":"file5"},{"photo_id":"1331339041","filename":"file2"},{"photo_id":"1331339048","filename":"file4"},{"photo_id":"1331339038","filename":"file1"},{"photo_id":"1331339034","filename":"file0"},{"photo_id":"1331339044","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331339048":["hashtag1","hashtag2"]},{"1331339041":["hashtag1","hashtag2"]},{"1331339044":["hashtag1","hashtag2"]},{"1331339038":["hashtag1","hashtag2"]},{"1331339052":["hashtag1","hashtag2"]},{"1331339034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331339048, 1331339041, 1331339044, 1331339038, 1331339052, 1331339034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.283047914505005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 13:33:42.174936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/23/image_25012025_13_23_02_437126_0002.jpg', '/home/pi/Desktop/images/25012025/13/23/image_25012025_13_23_02_437126_0003.jpg', '/home/pi/Desktop/images/25012025/13/24/image_25012025_13_24_02_811678_0000.jpg', '/home/pi/Desktop/images/25012025/13/24/image_25012025_13_24_02_811678_0001.jpg', '/home/pi/Desktop/images/25012025/13/24/image_25012025_13_24_02_811678_0002.jpg', '/home/pi/Desktop/images/25012025/13/24/image_25012025_13_24_02_811678_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/23/image_25012025_13_23_02_437126_0002.jpg
/home/pi/Desktop/images/25012025/13/23/image_25012025_13_23_02_437126_0003.jpg
/home/pi/Desktop/images/25012025/13/24/image_25012025_13_24_02_811678_0000.jpg
/home/pi/Desktop/images/25012025/13/24/image_25012025_13_24_02_811678_0001.jpg
/home/pi/Desktop/images/25012025/13/24/image_25012025_13_24_02_811678_0002.jpg
/home/pi/Desktop/images/25012025/13/24/image_25012025_13_24_02_811678_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: 16.119323015213013 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 13:34:02.714408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/23/image_25012025_13_23_02_437126_0002.jpg', '/home/pi/Desktop/images/25012025/13/23/image_25012025_13_23_02_437126_0003.jpg', '/home/pi/Desktop/images/25012025/13/24/image_25012025_13_24_02_811678_0000.jpg', '/home/pi/Desktop/images/25012025/13/24/image_25012025_13_24_02_811678_0001.jpg', '/home/pi/Desktop/images/25012025/13/24/image_25012025_13_24_02_811678_0002.jpg', '/home/pi/Desktop/images/25012025/13/24/image_25012025_13_24_02_811678_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/23/image_25012025_13_23_02_437126_0002.jpg
/home/pi/Desktop/images/25012025/13/23/image_25012025_13_23_02_437126_0003.jpg
/home/pi/Desktop/images/25012025/13/24/image_25012025_13_24_02_811678_0000.jpg
/home/pi/Desktop/images/25012025/13/24/image_25012025_13_24_02_811678_0001.jpg
/home/pi/Desktop/images/25012025/13/24/image_25012025_13_24_02_811678_0002.jpg
/home/pi/Desktop/images/25012025/13/24/image_25012025_13_24_02_811678_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 [200]>
b'{"photo_ids":["1331339114","1331339155","1331339134","1331339143","1331339166","1331339160"],"photo_ids_order":["1331339114","1331339134","1331339143","1331339155","1331339160","1331339166"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aa3980533abfe6101aedd42c9de3d56c.jpg","text":"TemporaryFile(/tmp/multipartBody2661226013044999505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808519265,"filename":"image_25012025_13_23_02_437126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8e51057d1652a51574b4b4d8036f1689.jpg","text":"TemporaryFile(/tmp/multipartBody1672858972378204412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808519265,"filename":"image_25012025_13_24_02_811678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a239b7f2d586f2127520d0912b75710d.jpg","text":"TemporaryFile(/tmp/multipartBody1752782654353373126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808519265,"filename":"image_25012025_13_23_02_437126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4f973fb2c4ed09030cd530a2c2ea342c.jpg","text":"TemporaryFile(/tmp/multipartBody1530805146137555356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808519265,"filename":"image_25012025_13_24_02_811678_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/01b2ca62a3c99b4b895296a2716b1a6c.jpg","text":"TemporaryFile(/tmp/multipartBody9159744621993133355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808519265,"filename":"image_25012025_13_24_02_811678_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/50469f82f44cd5a63462f3b36930fa23.jpg","text":"TemporaryFile(/tmp/multipartBody5624591635728336030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808519265,"filename":"image_25012025_13_24_02_811678_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331339143","file1":"1331339134","file0":"1331339114","file4":"1331339160","file5":"1331339166","file3":"1331339155"},"map_files_photo_id_array":[{"photo_id":"1331339166","filename":"file5"},{"photo_id":"1331339143","filename":"file2"},{"photo_id":"1331339160","filename":"file4"},{"photo_id":"1331339134","filename":"file1"},{"photo_id":"1331339114","filename":"file0"},{"photo_id":"1331339155","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331339114":["hashtag1","hashtag2"]},{"1331339155":["hashtag1","hashtag2"]},{"1331339134":["hashtag1","hashtag2"]},{"1331339143":["hashtag1","hashtag2"]},{"1331339166":["hashtag1","hashtag2"]},{"1331339160":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331339114, 1331339155, 1331339134, 1331339143, 1331339166, 1331339160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.91784167289734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 13:35:03.115379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/25/image_25012025_13_25_02_890799_0000.jpg', '/home/pi/Desktop/images/25012025/13/25/image_25012025_13_25_02_890799_0001.jpg', '/home/pi/Desktop/images/25012025/13/25/image_25012025_13_25_02_890799_0002.jpg', '/home/pi/Desktop/images/25012025/13/25/image_25012025_13_25_02_890799_0003.jpg', '/home/pi/Desktop/images/25012025/13/26/image_25012025_13_26_03_130889_0000.jpg', '/home/pi/Desktop/images/25012025/13/26/image_25012025_13_26_03_130889_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/25/image_25012025_13_25_02_890799_0000.jpg
/home/pi/Desktop/images/25012025/13/25/image_25012025_13_25_02_890799_0001.jpg
/home/pi/Desktop/images/25012025/13/25/image_25012025_13_25_02_890799_0002.jpg
/home/pi/Desktop/images/25012025/13/25/image_25012025_13_25_02_890799_0003.jpg
/home/pi/Desktop/images/25012025/13/26/image_25012025_13_26_03_130889_0000.jpg
/home/pi/Desktop/images/25012025/13/26/image_25012025_13_26_03_130889_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":["1331339369","1331339665","1331339670","1331339181","1331339178","1331339676"],"photo_ids_order":["1331339178","1331339181","1331339369","1331339665","1331339670","1331339676"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c921035ff39e681c1478a7bdfe5ada3.jpg","text":"TemporaryFile(/tmp/multipartBody1948346368001859242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808579969,"filename":"image_25012025_13_25_02_890799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6b6932e834b1b2b96914bd56715e892e.jpg","text":"TemporaryFile(/tmp/multipartBody5608427491644596934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808579969,"filename":"image_25012025_13_25_02_890799_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4dc52bf79c7b70898731999240414747.jpg","text":"TemporaryFile(/tmp/multipartBody8009768117167011942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808579969,"filename":"image_25012025_13_26_03_130889_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/76f3ef5597c3d2279efdfdeb1772ada8.jpg","text":"TemporaryFile(/tmp/multipartBody5487831342283591581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808579969,"filename":"image_25012025_13_25_02_890799_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c0a87b3f67a214e0864e176e9963fab0.jpg","text":"TemporaryFile(/tmp/multipartBody5612154368396554646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808579969,"filename":"image_25012025_13_25_02_890799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0aec35296c25613d00380e369099567a.jpg","text":"TemporaryFile(/tmp/multipartBody1148871768224005634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808579969,"filename":"image_25012025_13_26_03_130889_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331339369","file1":"1331339181","file0":"1331339178","file4":"1331339670","file5":"1331339676","file3":"1331339665"},"map_files_photo_id_array":[{"photo_id":"1331339676","filename":"file5"},{"photo_id":"1331339369","filename":"file2"},{"photo_id":"1331339670","filename":"file4"},{"photo_id":"1331339181","filename":"file1"},{"photo_id":"1331339178","filename":"file0"},{"photo_id":"1331339665","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331339369":["hashtag1","hashtag2"]},{"1331339665":["hashtag1","hashtag2"]},{"1331339670":["hashtag1","hashtag2"]},{"1331339181":["hashtag1","hashtag2"]},{"1331339178":["hashtag1","hashtag2"]},{"1331339676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331339369, 1331339665, 1331339670, 1331339181, 1331339178, 1331339676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.111422300338745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 13:36:02.996699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/26/image_25012025_13_26_03_130889_0002.jpg', '/home/pi/Desktop/images/25012025/13/26/image_25012025_13_26_03_130889_0003.jpg', '/home/pi/Desktop/images/25012025/13/27/image_25012025_13_27_02_340646_0000.jpg', '/home/pi/Desktop/images/25012025/13/27/image_25012025_13_27_02_340646_0001.jpg', '/home/pi/Desktop/images/25012025/13/27/image_25012025_13_27_02_340646_0002.jpg', '/home/pi/Desktop/images/25012025/13/27/image_25012025_13_27_02_340646_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/26/image_25012025_13_26_03_130889_0002.jpg
/home/pi/Desktop/images/25012025/13/26/image_25012025_13_26_03_130889_0003.jpg
/home/pi/Desktop/images/25012025/13/27/image_25012025_13_27_02_340646_0000.jpg
/home/pi/Desktop/images/25012025/13/27/image_25012025_13_27_02_340646_0001.jpg
/home/pi/Desktop/images/25012025/13/27/image_25012025_13_27_02_340646_0002.jpg
/home/pi/Desktop/images/25012025/13/27/image_25012025_13_27_02_340646_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 [200]>
b'{"photo_ids":["1331339918","1331339831","1331340158","1331339913","1331340552","1331339910"],"photo_ids_order":["1331339831","1331339910","1331339913","1331339918","1331340158","1331340552"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e7a2fa9b7f53efb9a178abcc29b30b36.jpg","text":"TemporaryFile(/tmp/multipartBody5959726748610381935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808640328,"filename":"image_25012025_13_27_02_340646_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ae1772feade2e5ea0ade5ef7821dbe88.jpg","text":"TemporaryFile(/tmp/multipartBody4503669987258742323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808640328,"filename":"image_25012025_13_26_03_130889_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/98614978e5dd95c83fb75068de1bd6d4.jpg","text":"TemporaryFile(/tmp/multipartBody2890765569124049488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808640328,"filename":"image_25012025_13_27_02_340646_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/abffd9ae04fe5a1135a18bb4dc7e5a07.jpg","text":"TemporaryFile(/tmp/multipartBody7199968945509852314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808640328,"filename":"image_25012025_13_27_02_340646_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a60de6f0b5cbf03094434831945793bd.jpg","text":"TemporaryFile(/tmp/multipartBody3105334131785586854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808640328,"filename":"image_25012025_13_27_02_340646_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3b678956d934c6817775db070c58eb83.jpg","text":"TemporaryFile(/tmp/multipartBody40853599510891819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808640328,"filename":"image_25012025_13_26_03_130889_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331339913","file1":"1331339910","file0":"1331339831","file4":"1331340158","file5":"1331340552","file3":"1331339918"},"map_files_photo_id_array":[{"photo_id":"1331340552","filename":"file5"},{"photo_id":"1331339913","filename":"file2"},{"photo_id":"1331340158","filename":"file4"},{"photo_id":"1331339910","filename":"file1"},{"photo_id":"1331339831","filename":"file0"},{"photo_id":"1331339918","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331339918":["hashtag1","hashtag2"]},{"1331339831":["hashtag1","hashtag2"]},{"1331340158":["hashtag1","hashtag2"]},{"1331339913":["hashtag1","hashtag2"]},{"1331340552":["hashtag1","hashtag2"]},{"1331339910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331339918, 1331339831, 1331340158, 1331339913, 1331340552, 1331339910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.53246712684631 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 13:37:02.504818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/28/image_25012025_13_28_02_494279_0000.jpg', '/home/pi/Desktop/images/25012025/13/28/image_25012025_13_28_02_494279_0001.jpg', '/home/pi/Desktop/images/25012025/13/28/image_25012025_13_28_02_494279_0002.jpg', '/home/pi/Desktop/images/25012025/13/28/image_25012025_13_28_02_494279_0003.jpg', '/home/pi/Desktop/images/25012025/13/29/image_25012025_13_29_02_606774_0000.jpg', '/home/pi/Desktop/images/25012025/13/29/image_25012025_13_29_02_606774_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/28/image_25012025_13_28_02_494279_0000.jpg
/home/pi/Desktop/images/25012025/13/28/image_25012025_13_28_02_494279_0001.jpg
/home/pi/Desktop/images/25012025/13/28/image_25012025_13_28_02_494279_0002.jpg
/home/pi/Desktop/images/25012025/13/28/image_25012025_13_28_02_494279_0003.jpg
/home/pi/Desktop/images/25012025/13/29/image_25012025_13_29_02_606774_0000.jpg
/home/pi/Desktop/images/25012025/13/29/image_25012025_13_29_02_606774_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: 16.767966985702515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:37:21.868075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/28/image_25012025_13_28_02_494279_0000.jpg', '/home/pi/Desktop/images/25012025/13/28/image_25012025_13_28_02_494279_0001.jpg', '/home/pi/Desktop/images/25012025/13/28/image_25012025_13_28_02_494279_0002.jpg', '/home/pi/Desktop/images/25012025/13/28/image_25012025_13_28_02_494279_0003.jpg', '/home/pi/Desktop/images/25012025/13/29/image_25012025_13_29_02_606774_0000.jpg', '/home/pi/Desktop/images/25012025/13/29/image_25012025_13_29_02_606774_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/28/image_25012025_13_28_02_494279_0000.jpg
/home/pi/Desktop/images/25012025/13/28/image_25012025_13_28_02_494279_0001.jpg
/home/pi/Desktop/images/25012025/13/28/image_25012025_13_28_02_494279_0002.jpg
/home/pi/Desktop/images/25012025/13/28/image_25012025_13_28_02_494279_0003.jpg
/home/pi/Desktop/images/25012025/13/29/image_25012025_13_29_02_606774_0000.jpg
/home/pi/Desktop/images/25012025/13/29/image_25012025_13_29_02_606774_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":["1331341235","1331341225","1331341219","1331341300","1331341416","1331341230"],"photo_ids_order":["1331341219","1331341225","1331341230","1331341235","1331341300","1331341416"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/773db5f81138db4a99df0be90f11eda8.jpg","text":"TemporaryFile(/tmp/multipartBody4978997290243205582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808718954,"filename":"image_25012025_13_28_02_494279_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aa548c3a46d7640e46f3d6b3509d4588.jpg","text":"TemporaryFile(/tmp/multipartBody2076696185950331210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808718954,"filename":"image_25012025_13_28_02_494279_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9a3b9b9101f5b4f4796abedcf91c8258.jpg","text":"TemporaryFile(/tmp/multipartBody4182803430965524185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808718954,"filename":"image_25012025_13_28_02_494279_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/04e2a5565bbe6ef9ab42844602fb755d.jpg","text":"TemporaryFile(/tmp/multipartBody3919131996580504035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808718954,"filename":"image_25012025_13_29_02_606774_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0b9e571b09621fa28686c745f443c661.jpg","text":"TemporaryFile(/tmp/multipartBody7822013481156879151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808718954,"filename":"image_25012025_13_29_02_606774_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e5c87d056ccb73c8952baa401b06063e.jpg","text":"TemporaryFile(/tmp/multipartBody2354259209903445029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808718954,"filename":"image_25012025_13_28_02_494279_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331341230","file1":"1331341225","file0":"1331341219","file4":"1331341300","file5":"1331341416","file3":"1331341235"},"map_files_photo_id_array":[{"photo_id":"1331341416","filename":"file5"},{"photo_id":"1331341230","filename":"file2"},{"photo_id":"1331341300","filename":"file4"},{"photo_id":"1331341225","filename":"file1"},{"photo_id":"1331341219","filename":"file0"},{"photo_id":"1331341235","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331341235":["hashtag1","hashtag2"]},{"1331341225":["hashtag1","hashtag2"]},{"1331341219":["hashtag1","hashtag2"]},{"1331341300":["hashtag1","hashtag2"]},{"1331341416":["hashtag1","hashtag2"]},{"1331341230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331341235, 1331341225, 1331341219, 1331341300, 1331341416, 1331341230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.355201721191406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:38:22.070611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/29/image_25012025_13_29_02_606774_0002.jpg', '/home/pi/Desktop/images/25012025/13/29/image_25012025_13_29_02_606774_0003.jpg', '/home/pi/Desktop/images/25012025/13/30/image_25012025_13_30_02_873202_0000.jpg', '/home/pi/Desktop/images/25012025/13/30/image_25012025_13_30_02_873202_0001.jpg', '/home/pi/Desktop/images/25012025/13/30/image_25012025_13_30_02_873202_0002.jpg', '/home/pi/Desktop/images/25012025/13/30/image_25012025_13_30_02_873202_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/29/image_25012025_13_29_02_606774_0002.jpg
/home/pi/Desktop/images/25012025/13/29/image_25012025_13_29_02_606774_0003.jpg
/home/pi/Desktop/images/25012025/13/30/image_25012025_13_30_02_873202_0000.jpg
/home/pi/Desktop/images/25012025/13/30/image_25012025_13_30_02_873202_0001.jpg
/home/pi/Desktop/images/25012025/13/30/image_25012025_13_30_02_873202_0002.jpg
/home/pi/Desktop/images/25012025/13/30/image_25012025_13_30_02_873202_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 [200]>
b'{"photo_ids":["1331341721","1331341937","1331341712","1331341942","1331341726","1331341717"],"photo_ids_order":["1331341712","1331341717","1331341721","1331341726","1331341937","1331341942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dc48705fec6fd77c4355451045a9b6c3.jpg","text":"TemporaryFile(/tmp/multipartBody6406741316199048052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808779193,"filename":"image_25012025_13_30_02_873202_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c27319bf740dd7f9f92c04c1258f44ad.jpg","text":"TemporaryFile(/tmp/multipartBody4793264092722737299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808779193,"filename":"image_25012025_13_30_02_873202_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/57dcaec58310c7f32f189a447753b9da.jpg","text":"TemporaryFile(/tmp/multipartBody1361883036347093689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808779193,"filename":"image_25012025_13_29_02_606774_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f14f508216275d31f3d9be7ab0f5988d.jpg","text":"TemporaryFile(/tmp/multipartBody5025819520930354842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808779193,"filename":"image_25012025_13_30_02_873202_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e8722f39aedab14137b8c575527eb78e.jpg","text":"TemporaryFile(/tmp/multipartBody3548655029790079574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808779193,"filename":"image_25012025_13_30_02_873202_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/67c1ab3034a92e16211ef728c02e0be7.jpg","text":"TemporaryFile(/tmp/multipartBody201318287366985297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808779193,"filename":"image_25012025_13_29_02_606774_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331341721","file1":"1331341717","file0":"1331341712","file4":"1331341937","file5":"1331341942","file3":"1331341726"},"map_files_photo_id_array":[{"photo_id":"1331341942","filename":"file5"},{"photo_id":"1331341721","filename":"file2"},{"photo_id":"1331341937","filename":"file4"},{"photo_id":"1331341717","filename":"file1"},{"photo_id":"1331341712","filename":"file0"},{"photo_id":"1331341726","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331341721":["hashtag1","hashtag2"]},{"1331341937":["hashtag1","hashtag2"]},{"1331341712":["hashtag1","hashtag2"]},{"1331341942":["hashtag1","hashtag2"]},{"1331341726":["hashtag1","hashtag2"]},{"1331341717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331341721, 1331341937, 1331341712, 1331341942, 1331341726, 1331341717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.03846025466919 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:39:22.217161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/31/image_25012025_13_31_02_948014_0000.jpg', '/home/pi/Desktop/images/25012025/13/31/image_25012025_13_31_02_948014_0001.jpg', '/home/pi/Desktop/images/25012025/13/31/image_25012025_13_31_02_948014_0002.jpg', '/home/pi/Desktop/images/25012025/13/31/image_25012025_13_31_02_948014_0003.jpg', '/home/pi/Desktop/images/25012025/13/32/image_25012025_13_32_03_133827_0000.jpg', '/home/pi/Desktop/images/25012025/13/32/image_25012025_13_32_03_133827_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/31/image_25012025_13_31_02_948014_0000.jpg
/home/pi/Desktop/images/25012025/13/31/image_25012025_13_31_02_948014_0001.jpg
/home/pi/Desktop/images/25012025/13/31/image_25012025_13_31_02_948014_0002.jpg
/home/pi/Desktop/images/25012025/13/31/image_25012025_13_31_02_948014_0003.jpg
/home/pi/Desktop/images/25012025/13/32/image_25012025_13_32_03_133827_0000.jpg
/home/pi/Desktop/images/25012025/13/32/image_25012025_13_32_03_133827_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":["1331342314","1331342104","1331342016","1331342301","1331341991","1331341964"],"photo_ids_order":["1331341964","1331341991","1331342016","1331342104","1331342301","1331342314"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c5b8c78be8d3344e65d4ecb48c0e1f56.jpg","text":"TemporaryFile(/tmp/multipartBody5972566501685339670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808838917,"filename":"image_25012025_13_32_03_133827_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9e7b1f1e1b9085be03ee2bab9aa3c362.jpg","text":"TemporaryFile(/tmp/multipartBody6156343416049079203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808838917,"filename":"image_25012025_13_31_02_948014_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/93d45e51df004771d0d37023d116dbfa.jpg","text":"TemporaryFile(/tmp/multipartBody755233450510067761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808838917,"filename":"image_25012025_13_31_02_948014_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ec1b29c32cd7007ef6c48f280ae00c11.jpg","text":"TemporaryFile(/tmp/multipartBody5922754349836516393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808838917,"filename":"image_25012025_13_32_03_133827_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b86403ce00dc43b493f455c5efc7128d.jpg","text":"TemporaryFile(/tmp/multipartBody2155652110466385773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808838917,"filename":"image_25012025_13_31_02_948014_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f271150c760b41a414d7307e9db53a81.jpg","text":"TemporaryFile(/tmp/multipartBody2184266404810936569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808838917,"filename":"image_25012025_13_31_02_948014_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331342016","file1":"1331341991","file0":"1331341964","file4":"1331342301","file5":"1331342314","file3":"1331342104"},"map_files_photo_id_array":[{"photo_id":"1331342314","filename":"file5"},{"photo_id":"1331342016","filename":"file2"},{"photo_id":"1331342301","filename":"file4"},{"photo_id":"1331341991","filename":"file1"},{"photo_id":"1331341964","filename":"file0"},{"photo_id":"1331342104","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331342314":["hashtag1","hashtag2"]},{"1331342104":["hashtag1","hashtag2"]},{"1331342016":["hashtag1","hashtag2"]},{"1331342301":["hashtag1","hashtag2"]},{"1331341991":["hashtag1","hashtag2"]},{"1331341964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331342314, 1331342104, 1331342016, 1331342301, 1331341991, 1331341964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.82099270820618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 13:40:22.388188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/32/image_25012025_13_32_03_133827_0002.jpg', '/home/pi/Desktop/images/25012025/13/32/image_25012025_13_32_03_133827_0003.jpg', '/home/pi/Desktop/images/25012025/13/33/image_25012025_13_33_02_314337_0000.jpg', '/home/pi/Desktop/images/25012025/13/33/image_25012025_13_33_02_314337_0001.jpg', '/home/pi/Desktop/images/25012025/13/33/image_25012025_13_33_02_314337_0002.jpg', '/home/pi/Desktop/images/25012025/13/33/image_25012025_13_33_02_314337_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/32/image_25012025_13_32_03_133827_0002.jpg
/home/pi/Desktop/images/25012025/13/32/image_25012025_13_32_03_133827_0003.jpg
/home/pi/Desktop/images/25012025/13/33/image_25012025_13_33_02_314337_0000.jpg
/home/pi/Desktop/images/25012025/13/33/image_25012025_13_33_02_314337_0001.jpg
/home/pi/Desktop/images/25012025/13/33/image_25012025_13_33_02_314337_0002.jpg
/home/pi/Desktop/images/25012025/13/33/image_25012025_13_33_02_314337_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: 16.6984965801239 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 13:40:42.345343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/32/image_25012025_13_32_03_133827_0002.jpg', '/home/pi/Desktop/images/25012025/13/32/image_25012025_13_32_03_133827_0003.jpg', '/home/pi/Desktop/images/25012025/13/33/image_25012025_13_33_02_314337_0000.jpg', '/home/pi/Desktop/images/25012025/13/33/image_25012025_13_33_02_314337_0001.jpg', '/home/pi/Desktop/images/25012025/13/33/image_25012025_13_33_02_314337_0002.jpg', '/home/pi/Desktop/images/25012025/13/33/image_25012025_13_33_02_314337_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/32/image_25012025_13_32_03_133827_0002.jpg
/home/pi/Desktop/images/25012025/13/32/image_25012025_13_32_03_133827_0003.jpg
/home/pi/Desktop/images/25012025/13/33/image_25012025_13_33_02_314337_0000.jpg
/home/pi/Desktop/images/25012025/13/33/image_25012025_13_33_02_314337_0001.jpg
/home/pi/Desktop/images/25012025/13/33/image_25012025_13_33_02_314337_0002.jpg
/home/pi/Desktop/images/25012025/13/33/image_25012025_13_33_02_314337_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 [200]>
b'{"photo_ids":["1331342392","1331342394","1331342388","1331342397","1331342399","1331342402"],"photo_ids_order":["1331342388","1331342392","1331342394","1331342397","1331342399","1331342402"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aa23434b11e4857c9b2ce5ab1aff8d2c.jpg","text":"TemporaryFile(/tmp/multipartBody1850853302319211289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808919447,"filename":"image_25012025_13_32_03_133827_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/974d6f4f90ab1e97da122530aa19f5ea.jpg","text":"TemporaryFile(/tmp/multipartBody3833820857940466975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808919447,"filename":"image_25012025_13_33_02_314337_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/668e9a9831640aba415f435fee5ffe43.jpg","text":"TemporaryFile(/tmp/multipartBody2037430717120102226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808919447,"filename":"image_25012025_13_32_03_133827_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/03480cb026a11e61680ad3292682fb66.jpg","text":"TemporaryFile(/tmp/multipartBody83310891081221433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808919447,"filename":"image_25012025_13_33_02_314337_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/49dba9eb910872ebc95bc9072e7ef967.jpg","text":"TemporaryFile(/tmp/multipartBody7281313246397131928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808919447,"filename":"image_25012025_13_33_02_314337_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c6bfb739941fd105889318112fa8a3a.jpg","text":"TemporaryFile(/tmp/multipartBody7675237980905957889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737808919447,"filename":"image_25012025_13_33_02_314337_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331342394","file1":"1331342392","file0":"1331342388","file4":"1331342399","file5":"1331342402","file3":"1331342397"},"map_files_photo_id_array":[{"photo_id":"1331342402","filename":"file5"},{"photo_id":"1331342394","filename":"file2"},{"photo_id":"1331342399","filename":"file4"},{"photo_id":"1331342392","filename":"file1"},{"photo_id":"1331342388","filename":"file0"},{"photo_id":"1331342397","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331342392":["hashtag1","hashtag2"]},{"1331342394":["hashtag1","hashtag2"]},{"1331342388":["hashtag1","hashtag2"]},{"1331342397":["hashtag1","hashtag2"]},{"1331342399":["hashtag1","hashtag2"]},{"1331342402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331342392, 1331342394, 1331342388, 1331342397, 1331342399, 1331342402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.88044619560242 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 13:41:42.516407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/34/image_25012025_13_34_02_503153_0000.jpg', '/home/pi/Desktop/images/25012025/13/34/image_25012025_13_34_02_503153_0001.jpg', '/home/pi/Desktop/images/25012025/13/34/image_25012025_13_34_02_503153_0002.jpg', '/home/pi/Desktop/images/25012025/13/34/image_25012025_13_34_02_503153_0003.jpg', '/home/pi/Desktop/images/25012025/13/35/image_25012025_13_35_02_650182_0000.jpg', '/home/pi/Desktop/images/25012025/13/35/image_25012025_13_35_02_650182_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/34/image_25012025_13_34_02_503153_0000.jpg
/home/pi/Desktop/images/25012025/13/34/image_25012025_13_34_02_503153_0001.jpg
/home/pi/Desktop/images/25012025/13/34/image_25012025_13_34_02_503153_0002.jpg
/home/pi/Desktop/images/25012025/13/34/image_25012025_13_34_02_503153_0003.jpg
/home/pi/Desktop/images/25012025/13/35/image_25012025_13_35_02_650182_0000.jpg
/home/pi/Desktop/images/25012025/13/35/image_25012025_13_35_02_650182_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: 16.828803777694702 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 13:42:03.193451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/34/image_25012025_13_34_02_503153_0000.jpg', '/home/pi/Desktop/images/25012025/13/34/image_25012025_13_34_02_503153_0001.jpg', '/home/pi/Desktop/images/25012025/13/34/image_25012025_13_34_02_503153_0002.jpg', '/home/pi/Desktop/images/25012025/13/34/image_25012025_13_34_02_503153_0003.jpg', '/home/pi/Desktop/images/25012025/13/35/image_25012025_13_35_02_650182_0000.jpg', '/home/pi/Desktop/images/25012025/13/35/image_25012025_13_35_02_650182_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/34/image_25012025_13_34_02_503153_0000.jpg
/home/pi/Desktop/images/25012025/13/34/image_25012025_13_34_02_503153_0001.jpg
/home/pi/Desktop/images/25012025/13/34/image_25012025_13_34_02_503153_0002.jpg
/home/pi/Desktop/images/25012025/13/34/image_25012025_13_34_02_503153_0003.jpg
/home/pi/Desktop/images/25012025/13/35/image_25012025_13_35_02_650182_0000.jpg
/home/pi/Desktop/images/25012025/13/35/image_25012025_13_35_02_650182_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":["1331342461","1331342458","1331342434","1331342466","1331342495","1331342438"],"photo_ids_order":["1331342434","1331342438","1331342458","1331342461","1331342466","1331342495"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cd1f5e95d9ea9f4d94b63171647b3ed1.jpg","text":"TemporaryFile(/tmp/multipartBody8930615645124188276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809000325,"filename":"image_25012025_13_34_02_503153_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c839a254db6f0b83e891364dfd9a64f5.jpg","text":"TemporaryFile(/tmp/multipartBody5176568672874930599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809000325,"filename":"image_25012025_13_34_02_503153_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2a08ddce70b628b7029537bb458ac235.jpg","text":"TemporaryFile(/tmp/multipartBody4512602610160937677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809000325,"filename":"image_25012025_13_34_02_503153_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d81f400402b28a68e281de438f5f578d.jpg","text":"TemporaryFile(/tmp/multipartBody8714666956119613055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809000325,"filename":"image_25012025_13_35_02_650182_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4748472ad73b718c6321c9311cd1712a.jpg","text":"TemporaryFile(/tmp/multipartBody5898838636499672212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809000325,"filename":"image_25012025_13_35_02_650182_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/15a1fbb85aa7afee663431fa99840194.jpg","text":"TemporaryFile(/tmp/multipartBody2122992089369934764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809000325,"filename":"image_25012025_13_34_02_503153_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331342458","file1":"1331342438","file0":"1331342434","file4":"1331342466","file5":"1331342495","file3":"1331342461"},"map_files_photo_id_array":[{"photo_id":"1331342495","filename":"file5"},{"photo_id":"1331342458","filename":"file2"},{"photo_id":"1331342466","filename":"file4"},{"photo_id":"1331342438","filename":"file1"},{"photo_id":"1331342434","filename":"file0"},{"photo_id":"1331342461","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331342461":["hashtag1","hashtag2"]},{"1331342458":["hashtag1","hashtag2"]},{"1331342434":["hashtag1","hashtag2"]},{"1331342466":["hashtag1","hashtag2"]},{"1331342495":["hashtag1","hashtag2"]},{"1331342438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331342461, 1331342458, 1331342434, 1331342466, 1331342495, 1331342438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.723047971725464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 13:43:02.538846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/35/image_25012025_13_35_02_650182_0002.jpg', '/home/pi/Desktop/images/25012025/13/35/image_25012025_13_35_02_650182_0003.jpg', '/home/pi/Desktop/images/25012025/13/36/image_25012025_13_36_02_813421_0000.jpg', '/home/pi/Desktop/images/25012025/13/36/image_25012025_13_36_02_813421_0001.jpg', '/home/pi/Desktop/images/25012025/13/36/image_25012025_13_36_02_813421_0002.jpg', '/home/pi/Desktop/images/25012025/13/36/image_25012025_13_36_02_813421_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/35/image_25012025_13_35_02_650182_0002.jpg
/home/pi/Desktop/images/25012025/13/35/image_25012025_13_35_02_650182_0003.jpg
/home/pi/Desktop/images/25012025/13/36/image_25012025_13_36_02_813421_0000.jpg
/home/pi/Desktop/images/25012025/13/36/image_25012025_13_36_02_813421_0001.jpg
/home/pi/Desktop/images/25012025/13/36/image_25012025_13_36_02_813421_0002.jpg
/home/pi/Desktop/images/25012025/13/36/image_25012025_13_36_02_813421_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 [200]>
b'{"photo_ids":["1331342536","1331342548","1331342544","1331342532","1331342540","1331342528"],"photo_ids_order":["1331342528","1331342532","1331342536","1331342540","1331342544","1331342548"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7fbc89d6c06049f57f4fa320c721de8e.jpg","text":"TemporaryFile(/tmp/multipartBody7568345388971317151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809059765,"filename":"image_25012025_13_36_02_813421_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bc966634e140a2a5b37789163f4a4eac.jpg","text":"TemporaryFile(/tmp/multipartBody6587395970298294721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809059765,"filename":"image_25012025_13_36_02_813421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6971aab3638c1461ef687b1eb324de31.jpg","text":"TemporaryFile(/tmp/multipartBody4465821715189602917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809059765,"filename":"image_25012025_13_36_02_813421_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4cef0556ffd7572848c1eb82d6bab985.jpg","text":"TemporaryFile(/tmp/multipartBody1651444587960215095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809059765,"filename":"image_25012025_13_35_02_650182_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/faa0aae42e7282641e9cf70958ceb031.jpg","text":"TemporaryFile(/tmp/multipartBody8555800923679902336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809059765,"filename":"image_25012025_13_36_02_813421_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0014caf3c9c5732eb8a22f569989f71b.jpg","text":"TemporaryFile(/tmp/multipartBody9055793769198438587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809059765,"filename":"image_25012025_13_35_02_650182_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331342536","file1":"1331342532","file0":"1331342528","file4":"1331342544","file5":"1331342548","file3":"1331342540"},"map_files_photo_id_array":[{"photo_id":"1331342548","filename":"file5"},{"photo_id":"1331342536","filename":"file2"},{"photo_id":"1331342544","filename":"file4"},{"photo_id":"1331342532","filename":"file1"},{"photo_id":"1331342528","filename":"file0"},{"photo_id":"1331342540","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331342536":["hashtag1","hashtag2"]},{"1331342548":["hashtag1","hashtag2"]},{"1331342544":["hashtag1","hashtag2"]},{"1331342532":["hashtag1","hashtag2"]},{"1331342540":["hashtag1","hashtag2"]},{"1331342528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331342536, 1331342548, 1331342544, 1331342532, 1331342540, 1331342528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.8965368270874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 13:44:02.457687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/37/image_25012025_13_37_03_033247_0000.jpg', '/home/pi/Desktop/images/25012025/13/37/image_25012025_13_37_03_033247_0001.jpg', '/home/pi/Desktop/images/25012025/13/37/image_25012025_13_37_03_033247_0002.jpg', '/home/pi/Desktop/images/25012025/13/37/image_25012025_13_37_03_033247_0003.jpg', '/home/pi/Desktop/images/25012025/13/38/image_25012025_13_38_02_252134_0000.jpg', '/home/pi/Desktop/images/25012025/13/38/image_25012025_13_38_02_252134_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/37/image_25012025_13_37_03_033247_0000.jpg
/home/pi/Desktop/images/25012025/13/37/image_25012025_13_37_03_033247_0001.jpg
/home/pi/Desktop/images/25012025/13/37/image_25012025_13_37_03_033247_0002.jpg
/home/pi/Desktop/images/25012025/13/37/image_25012025_13_37_03_033247_0003.jpg
/home/pi/Desktop/images/25012025/13/38/image_25012025_13_38_02_252134_0000.jpg
/home/pi/Desktop/images/25012025/13/38/image_25012025_13_38_02_252134_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":["1331342586","1331342571","1331342580","1331342568","1331342562","1331342576"],"photo_ids_order":["1331342562","1331342568","1331342571","1331342576","1331342580","1331342586"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/12e06669653ee402fcea943c75047b73.jpg","text":"TemporaryFile(/tmp/multipartBody4962772451845457415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809119104,"filename":"image_25012025_13_38_02_252134_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/279956175651925db6d974925071d160.jpg","text":"TemporaryFile(/tmp/multipartBody8025776591516640909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809119104,"filename":"image_25012025_13_37_03_033247_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/26eeea7e311d0bcb993111124e1f042f.jpg","text":"TemporaryFile(/tmp/multipartBody7476125942161280614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809119104,"filename":"image_25012025_13_38_02_252134_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f43eb9ea5fc0111e9a032b559e868154.jpg","text":"TemporaryFile(/tmp/multipartBody6808595538452515149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809119104,"filename":"image_25012025_13_37_03_033247_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f6626a12f96b2dd8c7166786ab84b6db.jpg","text":"TemporaryFile(/tmp/multipartBody7508713589643692902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809119104,"filename":"image_25012025_13_37_03_033247_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cd2b4c9d8730b2431313ca2f8eaa597c.jpg","text":"TemporaryFile(/tmp/multipartBody2583076886364411140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809119104,"filename":"image_25012025_13_37_03_033247_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331342571","file1":"1331342568","file0":"1331342562","file4":"1331342580","file5":"1331342586","file3":"1331342576"},"map_files_photo_id_array":[{"photo_id":"1331342586","filename":"file5"},{"photo_id":"1331342571","filename":"file2"},{"photo_id":"1331342580","filename":"file4"},{"photo_id":"1331342568","filename":"file1"},{"photo_id":"1331342562","filename":"file0"},{"photo_id":"1331342576","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331342586":["hashtag1","hashtag2"]},{"1331342571":["hashtag1","hashtag2"]},{"1331342580":["hashtag1","hashtag2"]},{"1331342568":["hashtag1","hashtag2"]},{"1331342562":["hashtag1","hashtag2"]},{"1331342576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331342586, 1331342571, 1331342580, 1331342568, 1331342562, 1331342576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.85853338241577 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 13:45:02.785138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/38/image_25012025_13_38_02_252134_0002.jpg', '/home/pi/Desktop/images/25012025/13/38/image_25012025_13_38_02_252134_0003.jpg', '/home/pi/Desktop/images/25012025/13/39/image_25012025_13_39_02_390855_0000.jpg', '/home/pi/Desktop/images/25012025/13/39/image_25012025_13_39_02_390855_0001.jpg', '/home/pi/Desktop/images/25012025/13/39/image_25012025_13_39_02_390855_0002.jpg', '/home/pi/Desktop/images/25012025/13/39/image_25012025_13_39_02_390855_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/38/image_25012025_13_38_02_252134_0002.jpg
/home/pi/Desktop/images/25012025/13/38/image_25012025_13_38_02_252134_0003.jpg
/home/pi/Desktop/images/25012025/13/39/image_25012025_13_39_02_390855_0000.jpg
/home/pi/Desktop/images/25012025/13/39/image_25012025_13_39_02_390855_0001.jpg
/home/pi/Desktop/images/25012025/13/39/image_25012025_13_39_02_390855_0002.jpg
/home/pi/Desktop/images/25012025/13/39/image_25012025_13_39_02_390855_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 [200]>
b'{"photo_ids":["1331342617","1331342602","1331342607","1331342597","1331342612","1331342600"],"photo_ids_order":["1331342597","1331342600","1331342602","1331342607","1331342612","1331342617"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ecafb345a15a00afc384606174cc7424.jpg","text":"TemporaryFile(/tmp/multipartBody726646183195685848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809180073,"filename":"image_25012025_13_39_02_390855_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/26e2f07c5fad0bd1a31baa00988d615c.jpg","text":"TemporaryFile(/tmp/multipartBody3563461530630177017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809180073,"filename":"image_25012025_13_39_02_390855_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8b85233d38130502d62afd66d078b8ba.jpg","text":"TemporaryFile(/tmp/multipartBody4372835159754498285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809180073,"filename":"image_25012025_13_39_02_390855_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/39bc2a2c2e44f0afed044088c533ec07.jpg","text":"TemporaryFile(/tmp/multipartBody3149676848051757051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809180073,"filename":"image_25012025_13_38_02_252134_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eabf72528004714a0c577506bba79bac.jpg","text":"TemporaryFile(/tmp/multipartBody1350145124713880677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809180073,"filename":"image_25012025_13_39_02_390855_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f7972785d4ec79a30bb6535123a55ac8.jpg","text":"TemporaryFile(/tmp/multipartBody952518286664800494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809180073,"filename":"image_25012025_13_38_02_252134_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331342602","file1":"1331342600","file0":"1331342597","file4":"1331342612","file5":"1331342617","file3":"1331342607"},"map_files_photo_id_array":[{"photo_id":"1331342617","filename":"file5"},{"photo_id":"1331342602","filename":"file2"},{"photo_id":"1331342612","filename":"file4"},{"photo_id":"1331342600","filename":"file1"},{"photo_id":"1331342597","filename":"file0"},{"photo_id":"1331342607","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331342617":["hashtag1","hashtag2"]},{"1331342602":["hashtag1","hashtag2"]},{"1331342607":["hashtag1","hashtag2"]},{"1331342597":["hashtag1","hashtag2"]},{"1331342612":["hashtag1","hashtag2"]},{"1331342600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331342617, 1331342602, 1331342607, 1331342597, 1331342612, 1331342600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.47268772125244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 13:46:02.779576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/40/image_25012025_13_40_02_578705_0000.jpg', '/home/pi/Desktop/images/25012025/13/40/image_25012025_13_40_02_578705_0001.jpg', '/home/pi/Desktop/images/25012025/13/40/image_25012025_13_40_02_578705_0002.jpg', '/home/pi/Desktop/images/25012025/13/40/image_25012025_13_40_02_578705_0003.jpg', '/home/pi/Desktop/images/25012025/13/41/image_25012025_13_41_02_713837_0000.jpg', '/home/pi/Desktop/images/25012025/13/41/image_25012025_13_41_02_713837_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/40/image_25012025_13_40_02_578705_0000.jpg
/home/pi/Desktop/images/25012025/13/40/image_25012025_13_40_02_578705_0001.jpg
/home/pi/Desktop/images/25012025/13/40/image_25012025_13_40_02_578705_0002.jpg
/home/pi/Desktop/images/25012025/13/40/image_25012025_13_40_02_578705_0003.jpg
/home/pi/Desktop/images/25012025/13/41/image_25012025_13_41_02_713837_0000.jpg
/home/pi/Desktop/images/25012025/13/41/image_25012025_13_41_02_713837_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":["1331342677","1331342670","1331342664","1331342673","1331342667","1331342660"],"photo_ids_order":["1331342660","1331342664","1331342667","1331342670","1331342673","1331342677"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/15ef39a9ef1276bdbd94879fc770f7f2.jpg","text":"TemporaryFile(/tmp/multipartBody3488665272069378725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809239944,"filename":"image_25012025_13_41_02_713837_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f776ef228ae89aefecc65c2143735a25.jpg","text":"TemporaryFile(/tmp/multipartBody8952416869556565270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809239944,"filename":"image_25012025_13_40_02_578705_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6cea0a443ec2ab3195b2040c30747e0b.jpg","text":"TemporaryFile(/tmp/multipartBody4350621383291838041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809239944,"filename":"image_25012025_13_40_02_578705_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/be10a85d0676d64a4747d6670ba5fff7.jpg","text":"TemporaryFile(/tmp/multipartBody2659833688475394944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809239944,"filename":"image_25012025_13_41_02_713837_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2acbbdd6fd16bf520db9199e4cf060dd.jpg","text":"TemporaryFile(/tmp/multipartBody3368994667491712613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809239944,"filename":"image_25012025_13_40_02_578705_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cbb73518164917963d5a479abed120d4.jpg","text":"TemporaryFile(/tmp/multipartBody3540737559171574021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809239944,"filename":"image_25012025_13_40_02_578705_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331342667","file1":"1331342664","file0":"1331342660","file4":"1331342673","file5":"1331342677","file3":"1331342670"},"map_files_photo_id_array":[{"photo_id":"1331342677","filename":"file5"},{"photo_id":"1331342667","filename":"file2"},{"photo_id":"1331342673","filename":"file4"},{"photo_id":"1331342664","filename":"file1"},{"photo_id":"1331342660","filename":"file0"},{"photo_id":"1331342670","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331342677":["hashtag1","hashtag2"]},{"1331342670":["hashtag1","hashtag2"]},{"1331342664":["hashtag1","hashtag2"]},{"1331342673":["hashtag1","hashtag2"]},{"1331342667":["hashtag1","hashtag2"]},{"1331342660":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331342677, 1331342670, 1331342664, 1331342673, 1331342667, 1331342660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.81565880775452 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 13:47:03.086266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/41/image_25012025_13_41_02_713837_0002.jpg', '/home/pi/Desktop/images/25012025/13/41/image_25012025_13_41_02_713837_0003.jpg', '/home/pi/Desktop/images/25012025/13/42/image_25012025_13_42_02_948064_0000.jpg', '/home/pi/Desktop/images/25012025/13/42/image_25012025_13_42_02_948064_0001.jpg', '/home/pi/Desktop/images/25012025/13/42/image_25012025_13_42_02_948064_0002.jpg', '/home/pi/Desktop/images/25012025/13/42/image_25012025_13_42_02_948064_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/41/image_25012025_13_41_02_713837_0002.jpg
/home/pi/Desktop/images/25012025/13/41/image_25012025_13_41_02_713837_0003.jpg
/home/pi/Desktop/images/25012025/13/42/image_25012025_13_42_02_948064_0000.jpg
/home/pi/Desktop/images/25012025/13/42/image_25012025_13_42_02_948064_0001.jpg
/home/pi/Desktop/images/25012025/13/42/image_25012025_13_42_02_948064_0002.jpg
/home/pi/Desktop/images/25012025/13/42/image_25012025_13_42_02_948064_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 [200]>
b'{"photo_ids":["1331342722","1331342719","1331342709","1331342700","1331342706","1331342714"],"photo_ids_order":["1331342700","1331342706","1331342709","1331342714","1331342719","1331342722"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/057aede940d2333c1dc93f1a39605b35.jpg","text":"TemporaryFile(/tmp/multipartBody1518461226899934690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809300433,"filename":"image_25012025_13_42_02_948064_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3bc35c42237228b7f77ff73f682efcbb.jpg","text":"TemporaryFile(/tmp/multipartBody1276203811530858568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809300433,"filename":"image_25012025_13_42_02_948064_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b69fba5462e7667dd6e81b5e408a4e59.jpg","text":"TemporaryFile(/tmp/multipartBody6014896172877825982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809300433,"filename":"image_25012025_13_42_02_948064_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f85f6ead9b9693b7c071fc18d84acb10.jpg","text":"TemporaryFile(/tmp/multipartBody4147044583208798307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809300433,"filename":"image_25012025_13_41_02_713837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/40550dce8b62ec86a9dc3d53bcb84678.jpg","text":"TemporaryFile(/tmp/multipartBody347845190739260121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809300433,"filename":"image_25012025_13_41_02_713837_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/499546629c7699dc17ff12778d8303a9.jpg","text":"TemporaryFile(/tmp/multipartBody6026406110158290026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809300433,"filename":"image_25012025_13_42_02_948064_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331342709","file1":"1331342706","file0":"1331342700","file4":"1331342719","file5":"1331342722","file3":"1331342714"},"map_files_photo_id_array":[{"photo_id":"1331342722","filename":"file5"},{"photo_id":"1331342709","filename":"file2"},{"photo_id":"1331342719","filename":"file4"},{"photo_id":"1331342706","filename":"file1"},{"photo_id":"1331342700","filename":"file0"},{"photo_id":"1331342714","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331342722":["hashtag1","hashtag2"]},{"1331342719":["hashtag1","hashtag2"]},{"1331342709":["hashtag1","hashtag2"]},{"1331342700":["hashtag1","hashtag2"]},{"1331342706":["hashtag1","hashtag2"]},{"1331342714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331342722, 1331342719, 1331342709, 1331342700, 1331342706, 1331342714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.970157623291016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 13:48:03.080797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/43/image_25012025_13_43_03_057757_0000.jpg', '/home/pi/Desktop/images/25012025/13/43/image_25012025_13_43_03_057757_0001.jpg', '/home/pi/Desktop/images/25012025/13/43/image_25012025_13_43_03_057757_0002.jpg', '/home/pi/Desktop/images/25012025/13/43/image_25012025_13_43_03_057757_0003.jpg', '/home/pi/Desktop/images/25012025/13/44/image_25012025_13_44_02_237298_0000.jpg', '/home/pi/Desktop/images/25012025/13/44/image_25012025_13_44_02_237298_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/43/image_25012025_13_43_03_057757_0000.jpg
/home/pi/Desktop/images/25012025/13/43/image_25012025_13_43_03_057757_0001.jpg
/home/pi/Desktop/images/25012025/13/43/image_25012025_13_43_03_057757_0002.jpg
/home/pi/Desktop/images/25012025/13/43/image_25012025_13_43_03_057757_0003.jpg
/home/pi/Desktop/images/25012025/13/44/image_25012025_13_44_02_237298_0000.jpg
/home/pi/Desktop/images/25012025/13/44/image_25012025_13_44_02_237298_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":["1331342752","1331342745","1331342760","1331342748","1331342739","1331342756"],"photo_ids_order":["1331342739","1331342745","1331342748","1331342752","1331342756","1331342760"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/43c75cc85d841bcd2638d865d25d23fd.jpg","text":"TemporaryFile(/tmp/multipartBody4573937727377133757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809360019,"filename":"image_25012025_13_43_03_057757_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6ae20957c1e16c3c36a8be03967c782b.jpg","text":"TemporaryFile(/tmp/multipartBody668083399624064045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809360019,"filename":"image_25012025_13_43_03_057757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/492219896def29c8419e397682221c2c.jpg","text":"TemporaryFile(/tmp/multipartBody1742465486886118265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809360019,"filename":"image_25012025_13_44_02_237298_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/74fa8860e51167aedfb4801a11f79bee.jpg","text":"TemporaryFile(/tmp/multipartBody5920971370160491856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809360019,"filename":"image_25012025_13_43_03_057757_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fd56ca6b0362d1bdc88414531059cd40.jpg","text":"TemporaryFile(/tmp/multipartBody6170675591682621709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809360019,"filename":"image_25012025_13_43_03_057757_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/af8ab8dedf2841777a22128b956a3c98.jpg","text":"TemporaryFile(/tmp/multipartBody7429329474796841500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809360019,"filename":"image_25012025_13_44_02_237298_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331342748","file1":"1331342745","file0":"1331342739","file4":"1331342756","file5":"1331342760","file3":"1331342752"},"map_files_photo_id_array":[{"photo_id":"1331342760","filename":"file5"},{"photo_id":"1331342748","filename":"file2"},{"photo_id":"1331342756","filename":"file4"},{"photo_id":"1331342745","filename":"file1"},{"photo_id":"1331342739","filename":"file0"},{"photo_id":"1331342752","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331342752":["hashtag1","hashtag2"]},{"1331342745":["hashtag1","hashtag2"]},{"1331342760":["hashtag1","hashtag2"]},{"1331342748":["hashtag1","hashtag2"]},{"1331342739":["hashtag1","hashtag2"]},{"1331342756":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331342752, 1331342745, 1331342760, 1331342748, 1331342739, 1331342756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.86483693122864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 13:49:02.283240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/44/image_25012025_13_44_02_237298_0002.jpg', '/home/pi/Desktop/images/25012025/13/44/image_25012025_13_44_02_237298_0003.jpg', '/home/pi/Desktop/images/25012025/13/45/image_25012025_13_45_02_517045_0000.jpg', '/home/pi/Desktop/images/25012025/13/45/image_25012025_13_45_02_517045_0001.jpg', '/home/pi/Desktop/images/25012025/13/45/image_25012025_13_45_02_517045_0002.jpg', '/home/pi/Desktop/images/25012025/13/45/image_25012025_13_45_02_517045_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/44/image_25012025_13_44_02_237298_0002.jpg
/home/pi/Desktop/images/25012025/13/44/image_25012025_13_44_02_237298_0003.jpg
/home/pi/Desktop/images/25012025/13/45/image_25012025_13_45_02_517045_0000.jpg
/home/pi/Desktop/images/25012025/13/45/image_25012025_13_45_02_517045_0001.jpg
/home/pi/Desktop/images/25012025/13/45/image_25012025_13_45_02_517045_0002.jpg
/home/pi/Desktop/images/25012025/13/45/image_25012025_13_45_02_517045_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 [200]>
b'{"photo_ids":["1331342815","1331342824","1331342806","1331342811","1331342819","1331342828"],"photo_ids_order":["1331342806","1331342811","1331342815","1331342819","1331342824","1331342828"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a85679ba4ca60895c4fe104b41d66bd5.jpg","text":"TemporaryFile(/tmp/multipartBody1781708617203045400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809419358,"filename":"image_25012025_13_45_02_517045_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a85eaa2515f5720dc5b3eb1bc2be1155.jpg","text":"TemporaryFile(/tmp/multipartBody9046951163149755683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809419358,"filename":"image_25012025_13_45_02_517045_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fb1b3831ee158b90ebb83f32c199ced6.jpg","text":"TemporaryFile(/tmp/multipartBody994493200766979185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809419358,"filename":"image_25012025_13_44_02_237298_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c921c819ab98c069f6f79aeafaa30c61.jpg","text":"TemporaryFile(/tmp/multipartBody9006760001895128857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809419358,"filename":"image_25012025_13_44_02_237298_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1bb914b4c1416f436505b66ea0a1e5ee.jpg","text":"TemporaryFile(/tmp/multipartBody8946011692346451057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809419358,"filename":"image_25012025_13_45_02_517045_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a1bad8aee57591c146585bfd8f3b2805.jpg","text":"TemporaryFile(/tmp/multipartBody8354936789180409197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809419358,"filename":"image_25012025_13_45_02_517045_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331342815","file1":"1331342811","file0":"1331342806","file4":"1331342824","file5":"1331342828","file3":"1331342819"},"map_files_photo_id_array":[{"photo_id":"1331342828","filename":"file5"},{"photo_id":"1331342815","filename":"file2"},{"photo_id":"1331342824","filename":"file4"},{"photo_id":"1331342811","filename":"file1"},{"photo_id":"1331342806","filename":"file0"},{"photo_id":"1331342819","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331342815":["hashtag1","hashtag2"]},{"1331342824":["hashtag1","hashtag2"]},{"1331342806":["hashtag1","hashtag2"]},{"1331342811":["hashtag1","hashtag2"]},{"1331342819":["hashtag1","hashtag2"]},{"1331342828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331342815, 1331342824, 1331342806, 1331342811, 1331342819, 1331342828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.38362669944763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 13:50:02.357512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/46/image_25012025_13_46_02_655194_0000.jpg', '/home/pi/Desktop/images/25012025/13/46/image_25012025_13_46_02_655194_0001.jpg', '/home/pi/Desktop/images/25012025/13/46/image_25012025_13_46_02_655194_0002.jpg', '/home/pi/Desktop/images/25012025/13/46/image_25012025_13_46_02_655194_0003.jpg', '/home/pi/Desktop/images/25012025/13/47/image_25012025_13_47_02_695068_0000.jpg', '/home/pi/Desktop/images/25012025/13/47/image_25012025_13_47_02_695068_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/46/image_25012025_13_46_02_655194_0000.jpg
/home/pi/Desktop/images/25012025/13/46/image_25012025_13_46_02_655194_0001.jpg
/home/pi/Desktop/images/25012025/13/46/image_25012025_13_46_02_655194_0002.jpg
/home/pi/Desktop/images/25012025/13/46/image_25012025_13_46_02_655194_0003.jpg
/home/pi/Desktop/images/25012025/13/47/image_25012025_13_47_02_695068_0000.jpg
/home/pi/Desktop/images/25012025/13/47/image_25012025_13_47_02_695068_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":["1331342950","1331342851","1331342980","1331342845","1331342993","1331342858"],"photo_ids_order":["1331342845","1331342851","1331342858","1331342950","1331342980","1331342993"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bd62fbe205b5b88d8992ba852b25f141.jpg","text":"TemporaryFile(/tmp/multipartBody7857099420998599468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809478840,"filename":"image_25012025_13_46_02_655194_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0132b466188328f26b526c7067ee8757.jpg","text":"TemporaryFile(/tmp/multipartBody2945712281914125439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809478840,"filename":"image_25012025_13_46_02_655194_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/31f434df8db400322f1b2bdc126f8695.jpg","text":"TemporaryFile(/tmp/multipartBody916960336052974973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809478840,"filename":"image_25012025_13_47_02_695068_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c85b01dc9ceb29c01073c17dbdb463f8.jpg","text":"TemporaryFile(/tmp/multipartBody522441808501197723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809478840,"filename":"image_25012025_13_46_02_655194_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1156d4211692219210a763ad4c396b37.jpg","text":"TemporaryFile(/tmp/multipartBody374490482207399168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809478840,"filename":"image_25012025_13_47_02_695068_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d7dc118c88036759b41cf3367cd94a50.jpg","text":"TemporaryFile(/tmp/multipartBody4390359428623817109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809478840,"filename":"image_25012025_13_46_02_655194_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331342858","file1":"1331342851","file0":"1331342845","file4":"1331342980","file5":"1331342993","file3":"1331342950"},"map_files_photo_id_array":[{"photo_id":"1331342993","filename":"file5"},{"photo_id":"1331342858","filename":"file2"},{"photo_id":"1331342980","filename":"file4"},{"photo_id":"1331342851","filename":"file1"},{"photo_id":"1331342845","filename":"file0"},{"photo_id":"1331342950","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331342950":["hashtag1","hashtag2"]},{"1331342851":["hashtag1","hashtag2"]},{"1331342980":["hashtag1","hashtag2"]},{"1331342845":["hashtag1","hashtag2"]},{"1331342993":["hashtag1","hashtag2"]},{"1331342858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331342950, 1331342851, 1331342980, 1331342845, 1331342993, 1331342858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.41229844093323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 13:51:02.880025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/47/image_25012025_13_47_02_695068_0002.jpg', '/home/pi/Desktop/images/25012025/13/47/image_25012025_13_47_02_695068_0003.jpg', '/home/pi/Desktop/images/25012025/13/48/image_25012025_13_48_02_920793_0000.jpg', '/home/pi/Desktop/images/25012025/13/48/image_25012025_13_48_02_920793_0001.jpg', '/home/pi/Desktop/images/25012025/13/48/image_25012025_13_48_02_920793_0002.jpg', '/home/pi/Desktop/images/25012025/13/48/image_25012025_13_48_02_920793_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/47/image_25012025_13_47_02_695068_0002.jpg
/home/pi/Desktop/images/25012025/13/47/image_25012025_13_47_02_695068_0003.jpg
/home/pi/Desktop/images/25012025/13/48/image_25012025_13_48_02_920793_0000.jpg
/home/pi/Desktop/images/25012025/13/48/image_25012025_13_48_02_920793_0001.jpg
/home/pi/Desktop/images/25012025/13/48/image_25012025_13_48_02_920793_0002.jpg
/home/pi/Desktop/images/25012025/13/48/image_25012025_13_48_02_920793_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 [200]>
b'{"photo_ids":["1331344167","1331344149","1331344163","1331344157","1331344154","1331344171"],"photo_ids_order":["1331344149","1331344154","1331344157","1331344163","1331344167","1331344171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7061811c3ae598b327795a8068457ff6.jpg","text":"TemporaryFile(/tmp/multipartBody2487525909749525853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809540230,"filename":"image_25012025_13_48_02_920793_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/69eaacf9c1ddc4447d69f4f4bc6cda47.jpg","text":"TemporaryFile(/tmp/multipartBody3652846005575538372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809540230,"filename":"image_25012025_13_47_02_695068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3a1d529966d45859e563509586285036.jpg","text":"TemporaryFile(/tmp/multipartBody4991981890015803523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809540230,"filename":"image_25012025_13_48_02_920793_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eed255b2d5de97d1cd64a44b3778e8d8.jpg","text":"TemporaryFile(/tmp/multipartBody2511278432272488215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809540230,"filename":"image_25012025_13_48_02_920793_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/26977e18c4463614bf51b57fec2f76de.jpg","text":"TemporaryFile(/tmp/multipartBody4360639639669211173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809540230,"filename":"image_25012025_13_47_02_695068_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a1a055bf03183ca1cd0650829a12f787.jpg","text":"TemporaryFile(/tmp/multipartBody2578191475842018347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809540230,"filename":"image_25012025_13_48_02_920793_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331344157","file1":"1331344154","file0":"1331344149","file4":"1331344167","file5":"1331344171","file3":"1331344163"},"map_files_photo_id_array":[{"photo_id":"1331344171","filename":"file5"},{"photo_id":"1331344157","filename":"file2"},{"photo_id":"1331344167","filename":"file4"},{"photo_id":"1331344154","filename":"file1"},{"photo_id":"1331344149","filename":"file0"},{"photo_id":"1331344163","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331344167":["hashtag1","hashtag2"]},{"1331344149":["hashtag1","hashtag2"]},{"1331344163":["hashtag1","hashtag2"]},{"1331344157":["hashtag1","hashtag2"]},{"1331344154":["hashtag1","hashtag2"]},{"1331344171":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331344167, 1331344149, 1331344163, 1331344157, 1331344154, 1331344171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.08108997344971 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 13:52:02.802834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/49/image_25012025_13_49_03_105851_0000.jpg', '/home/pi/Desktop/images/25012025/13/49/image_25012025_13_49_03_105851_0001.jpg', '/home/pi/Desktop/images/25012025/13/49/image_25012025_13_49_03_105851_0002.jpg', '/home/pi/Desktop/images/25012025/13/49/image_25012025_13_49_03_105851_0003.jpg', '/home/pi/Desktop/images/25012025/13/50/image_25012025_13_50_02_209517_0000.jpg', '/home/pi/Desktop/images/25012025/13/50/image_25012025_13_50_02_209517_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/49/image_25012025_13_49_03_105851_0000.jpg
/home/pi/Desktop/images/25012025/13/49/image_25012025_13_49_03_105851_0001.jpg
/home/pi/Desktop/images/25012025/13/49/image_25012025_13_49_03_105851_0002.jpg
/home/pi/Desktop/images/25012025/13/49/image_25012025_13_49_03_105851_0003.jpg
/home/pi/Desktop/images/25012025/13/50/image_25012025_13_50_02_209517_0000.jpg
/home/pi/Desktop/images/25012025/13/50/image_25012025_13_50_02_209517_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":["1331344504","1331344578","1331344542","1331344181","1331344562","1331344570"],"photo_ids_order":["1331344181","1331344504","1331344542","1331344562","1331344570","1331344578"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/04620419ae3f7a6fc3c42e9eb1be87d9.jpg","text":"TemporaryFile(/tmp/multipartBody3716758645613494252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809599531,"filename":"image_25012025_13_49_03_105851_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/70abfb7ef1fc966079a42c7058e39e07.jpg","text":"TemporaryFile(/tmp/multipartBody621209054870400883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809599531,"filename":"image_25012025_13_50_02_209517_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/436e95617c80ac9c399ea0b42e242c60.jpg","text":"TemporaryFile(/tmp/multipartBody8151731472475197008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809599531,"filename":"image_25012025_13_49_03_105851_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/51ff8a9bf247f69d1cbdfbf24477d954.jpg","text":"TemporaryFile(/tmp/multipartBody9061553003089231641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809599531,"filename":"image_25012025_13_49_03_105851_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5269c5d978364cef3dc17a0f30b967b8.jpg","text":"TemporaryFile(/tmp/multipartBody953345766885750930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809599531,"filename":"image_25012025_13_49_03_105851_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6c47faea9d4a163bb55c14c1579629b2.jpg","text":"TemporaryFile(/tmp/multipartBody4607804118570495249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809599531,"filename":"image_25012025_13_50_02_209517_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331344542","file1":"1331344504","file0":"1331344181","file4":"1331344570","file5":"1331344578","file3":"1331344562"},"map_files_photo_id_array":[{"photo_id":"1331344578","filename":"file5"},{"photo_id":"1331344542","filename":"file2"},{"photo_id":"1331344570","filename":"file4"},{"photo_id":"1331344504","filename":"file1"},{"photo_id":"1331344181","filename":"file0"},{"photo_id":"1331344562","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331344504":["hashtag1","hashtag2"]},{"1331344578":["hashtag1","hashtag2"]},{"1331344542":["hashtag1","hashtag2"]},{"1331344181":["hashtag1","hashtag2"]},{"1331344562":["hashtag1","hashtag2"]},{"1331344570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331344504, 1331344578, 1331344542, 1331344181, 1331344562, 1331344570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.28690958023071 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 13:53:03.106943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/50/image_25012025_13_50_02_209517_0002.jpg', '/home/pi/Desktop/images/25012025/13/50/image_25012025_13_50_02_209517_0003.jpg', '/home/pi/Desktop/images/25012025/13/51/image_25012025_13_51_02_428918_0000.jpg', '/home/pi/Desktop/images/25012025/13/51/image_25012025_13_51_02_428918_0001.jpg', '/home/pi/Desktop/images/25012025/13/51/image_25012025_13_51_02_428918_0002.jpg', '/home/pi/Desktop/images/25012025/13/51/image_25012025_13_51_02_428918_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/50/image_25012025_13_50_02_209517_0002.jpg
/home/pi/Desktop/images/25012025/13/50/image_25012025_13_50_02_209517_0003.jpg
/home/pi/Desktop/images/25012025/13/51/image_25012025_13_51_02_428918_0000.jpg
/home/pi/Desktop/images/25012025/13/51/image_25012025_13_51_02_428918_0001.jpg
/home/pi/Desktop/images/25012025/13/51/image_25012025_13_51_02_428918_0002.jpg
/home/pi/Desktop/images/25012025/13/51/image_25012025_13_51_02_428918_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 [200]>
b'{"photo_ids":["1331344801","1331344812","1331344806","1331344817","1331344822","1331344804"],"photo_ids_order":["1331344801","1331344804","1331344806","1331344812","1331344817","1331344822"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/942e2adddf5c273dc048e37533d024ec.jpg","text":"TemporaryFile(/tmp/multipartBody601354089090244379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809660600,"filename":"image_25012025_13_50_02_209517_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1b568585a3e7530f1f754843539ccaca.jpg","text":"TemporaryFile(/tmp/multipartBody1526122432788264352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809660600,"filename":"image_25012025_13_51_02_428918_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8d2047d79c0a1784655f34ff3823a74e.jpg","text":"TemporaryFile(/tmp/multipartBody5699955597427216919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809660600,"filename":"image_25012025_13_51_02_428918_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/985fa37dcb0bdc4cdcb5b5b1443ed1ac.jpg","text":"TemporaryFile(/tmp/multipartBody7935319384329724925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809660600,"filename":"image_25012025_13_51_02_428918_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/059f17851bb65d1e70a3fa5fadb3f747.jpg","text":"TemporaryFile(/tmp/multipartBody8860787410921884886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809660600,"filename":"image_25012025_13_51_02_428918_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4f38b7b27273a88a61d129cebfae2c50.jpg","text":"TemporaryFile(/tmp/multipartBody5107642268737625256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809660600,"filename":"image_25012025_13_50_02_209517_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331344806","file1":"1331344804","file0":"1331344801","file4":"1331344817","file5":"1331344822","file3":"1331344812"},"map_files_photo_id_array":[{"photo_id":"1331344822","filename":"file5"},{"photo_id":"1331344806","filename":"file2"},{"photo_id":"1331344817","filename":"file4"},{"photo_id":"1331344804","filename":"file1"},{"photo_id":"1331344801","filename":"file0"},{"photo_id":"1331344812","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331344801":["hashtag1","hashtag2"]},{"1331344812":["hashtag1","hashtag2"]},{"1331344806":["hashtag1","hashtag2"]},{"1331344817":["hashtag1","hashtag2"]},{"1331344822":["hashtag1","hashtag2"]},{"1331344804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331344801, 1331344812, 1331344806, 1331344817, 1331344822, 1331344804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.23725700378418 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 13:54:03.249174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/52/image_25012025_13_52_02_627043_0000.jpg', '/home/pi/Desktop/images/25012025/13/52/image_25012025_13_52_02_627043_0001.jpg', '/home/pi/Desktop/images/25012025/13/52/image_25012025_13_52_02_627043_0002.jpg', '/home/pi/Desktop/images/25012025/13/52/image_25012025_13_52_02_627043_0003.jpg', '/home/pi/Desktop/images/25012025/13/53/image_25012025_13_53_02_752093_0000.jpg', '/home/pi/Desktop/images/25012025/13/53/image_25012025_13_53_02_752093_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/52/image_25012025_13_52_02_627043_0000.jpg
/home/pi/Desktop/images/25012025/13/52/image_25012025_13_52_02_627043_0001.jpg
/home/pi/Desktop/images/25012025/13/52/image_25012025_13_52_02_627043_0002.jpg
/home/pi/Desktop/images/25012025/13/52/image_25012025_13_52_02_627043_0003.jpg
/home/pi/Desktop/images/25012025/13/53/image_25012025_13_53_02_752093_0000.jpg
/home/pi/Desktop/images/25012025/13/53/image_25012025_13_53_02_752093_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":["1331345291","1331345306","1331345302","1331345286","1331345295","1331345298"],"photo_ids_order":["1331345286","1331345291","1331345295","1331345298","1331345302","1331345306"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5479bc62fb0e50428edf20cb8b0e5289.jpg","text":"TemporaryFile(/tmp/multipartBody2190098310839565743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809720408,"filename":"image_25012025_13_52_02_627043_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0cba70a2efccce58d035e1d6e5d4248f.jpg","text":"TemporaryFile(/tmp/multipartBody831667792319417252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809720408,"filename":"image_25012025_13_53_02_752093_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/be79e1acb55e6ecb06f48848bbee7bfa.jpg","text":"TemporaryFile(/tmp/multipartBody6868449476561704427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809720408,"filename":"image_25012025_13_53_02_752093_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3f2b2283ebbf1fe7db07a77b386e7d60.jpg","text":"TemporaryFile(/tmp/multipartBody2975032153836488703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809720408,"filename":"image_25012025_13_52_02_627043_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ff22d54d5958487fa1b928b705dda9b7.jpg","text":"TemporaryFile(/tmp/multipartBody8764537590445141464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809720408,"filename":"image_25012025_13_52_02_627043_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/81aa37f094d6625c896ae9cf83a7bf46.jpg","text":"TemporaryFile(/tmp/multipartBody5123067631743271388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809720408,"filename":"image_25012025_13_52_02_627043_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331345295","file1":"1331345291","file0":"1331345286","file4":"1331345302","file5":"1331345306","file3":"1331345298"},"map_files_photo_id_array":[{"photo_id":"1331345306","filename":"file5"},{"photo_id":"1331345295","filename":"file2"},{"photo_id":"1331345302","filename":"file4"},{"photo_id":"1331345291","filename":"file1"},{"photo_id":"1331345286","filename":"file0"},{"photo_id":"1331345298","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331345291":["hashtag1","hashtag2"]},{"1331345306":["hashtag1","hashtag2"]},{"1331345302":["hashtag1","hashtag2"]},{"1331345286":["hashtag1","hashtag2"]},{"1331345295":["hashtag1","hashtag2"]},{"1331345298":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331345291, 1331345306, 1331345302, 1331345286, 1331345295, 1331345298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.02231001853943 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 13:55:02.664382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/53/image_25012025_13_53_02_752093_0002.jpg', '/home/pi/Desktop/images/25012025/13/53/image_25012025_13_53_02_752093_0003.jpg', '/home/pi/Desktop/images/25012025/13/54/image_25012025_13_54_02_904513_0000.jpg', '/home/pi/Desktop/images/25012025/13/54/image_25012025_13_54_02_904513_0001.jpg', '/home/pi/Desktop/images/25012025/13/54/image_25012025_13_54_02_904513_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/53/image_25012025_13_53_02_752093_0002.jpg
/home/pi/Desktop/images/25012025/13/53/image_25012025_13_53_02_752093_0003.jpg
/home/pi/Desktop/images/25012025/13/54/image_25012025_13_54_02_904513_0000.jpg
/home/pi/Desktop/images/25012025/13/54/image_25012025_13_54_02_904513_0001.jpg
/home/pi/Desktop/images/25012025/13/54/image_25012025_13_54_02_904513_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 [200]>
b'{"photo_ids":["1331345468","1331345327","1331345441","1331345411","1331345323"],"photo_ids_order":["1331345323","1331345327","1331345411","1331345441","1331345468"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2d0d886b1dc9fad13964abe43fafb499.jpg","text":"TemporaryFile(/tmp/multipartBody4236975447222166678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809777659,"filename":"image_25012025_13_54_02_904513_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/26c55b928c537ba17e2336323eafb128.jpg","text":"TemporaryFile(/tmp/multipartBody50872953313614436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809777659,"filename":"image_25012025_13_53_02_752093_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f2a9b971debd71d931aaebebc54d60ca.jpg","text":"TemporaryFile(/tmp/multipartBody3220417796175828975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809777659,"filename":"image_25012025_13_54_02_904513_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b93cf97aef32f3b735032abc6c4c481.jpg","text":"TemporaryFile(/tmp/multipartBody4364386424668460192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809777659,"filename":"image_25012025_13_54_02_904513_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f8471c0ba678d7adc6a331632753d3e0.jpg","text":"TemporaryFile(/tmp/multipartBody6439957796926386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809777659,"filename":"image_25012025_13_53_02_752093_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331345411","file1":"1331345327","file0":"1331345323","file4":"1331345468","file3":"1331345441"},"map_files_photo_id_array":[{"photo_id":"1331345411","filename":"file2"},{"photo_id":"1331345468","filename":"file4"},{"photo_id":"1331345327","filename":"file1"},{"photo_id":"1331345323","filename":"file0"},{"photo_id":"1331345441","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331345468":["hashtag1","hashtag2"]},{"1331345327":["hashtag1","hashtag2"]},{"1331345441":["hashtag1","hashtag2"]},{"1331345411":["hashtag1","hashtag2"]},{"1331345323":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331345468, 1331345327, 1331345441, 1331345411, 1331345323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 51.080830335617065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 13:56:02.480671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/54/image_25012025_13_54_02_904513_0003.jpg', '/home/pi/Desktop/images/25012025/13/55/image_25012025_13_55_03_112031_0000.jpg', '/home/pi/Desktop/images/25012025/13/55/image_25012025_13_55_03_112031_0001.jpg', '/home/pi/Desktop/images/25012025/13/55/image_25012025_13_55_03_112031_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/54/image_25012025_13_54_02_904513_0003.jpg
/home/pi/Desktop/images/25012025/13/55/image_25012025_13_55_03_112031_0000.jpg
/home/pi/Desktop/images/25012025/13/55/image_25012025_13_55_03_112031_0001.jpg
/home/pi/Desktop/images/25012025/13/55/image_25012025_13_55_03_112031_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":["1331345541","1331345544","1331345549","1331345553"],"photo_ids_order":["1331345541","1331345544","1331345549","1331345553"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3a15634a67c1990509eef573b862cc9b.jpg","text":"TemporaryFile(/tmp/multipartBody7467116513616548644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809834541,"filename":"image_25012025_13_54_02_904513_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6fbc8d29336289240f3b75fd73b10f94.jpg","text":"TemporaryFile(/tmp/multipartBody5510182493845989692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809834541,"filename":"image_25012025_13_55_03_112031_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9c6fc680958becb279dbd5928f820a54.jpg","text":"TemporaryFile(/tmp/multipartBody3503191514019810357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809834541,"filename":"image_25012025_13_55_03_112031_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b0b3c9db11f399ddb1c447068e8904b0.jpg","text":"TemporaryFile(/tmp/multipartBody4683659387263058837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809834541,"filename":"image_25012025_13_55_03_112031_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331345549","file1":"1331345544","file0":"1331345541","file3":"1331345553"},"map_files_photo_id_array":[{"photo_id":"1331345549","filename":"file2"},{"photo_id":"1331345544","filename":"file1"},{"photo_id":"1331345541","filename":"file0"},{"photo_id":"1331345553","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331345541":["hashtag1","hashtag2"]},{"1331345544":["hashtag1","hashtag2"]},{"1331345549":["hashtag1","hashtag2"]},{"1331345553":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331345541, 1331345544, 1331345549, 1331345553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.04216289520264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 13:56:52.049394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/55/image_25012025_13_55_03_112031_0003.jpg', '/home/pi/Desktop/images/25012025/13/56/image_25012025_13_56_02_373576_0000.jpg', '/home/pi/Desktop/images/25012025/13/56/image_25012025_13_56_02_373576_0001.jpg', '/home/pi/Desktop/images/25012025/13/56/image_25012025_13_56_02_373576_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/55/image_25012025_13_55_03_112031_0003.jpg
/home/pi/Desktop/images/25012025/13/56/image_25012025_13_56_02_373576_0000.jpg
/home/pi/Desktop/images/25012025/13/56/image_25012025_13_56_02_373576_0001.jpg
/home/pi/Desktop/images/25012025/13/56/image_25012025_13_56_02_373576_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":["1331345576","1331345584","1331345580","1331345574"],"photo_ids_order":["1331345574","1331345576","1331345580","1331345584"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/89c38d6d8cb70423aee9bdafd9e85c0a.jpg","text":"TemporaryFile(/tmp/multipartBody2913627855847535322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809883807,"filename":"image_25012025_13_56_02_373576_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8eba5646bb218a21d9888d55fb70ff3b.jpg","text":"TemporaryFile(/tmp/multipartBody3233508693368623140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809883807,"filename":"image_25012025_13_56_02_373576_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/26af01a197db84e9d9718f073a3ea896.jpg","text":"TemporaryFile(/tmp/multipartBody7987941820672457405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809883807,"filename":"image_25012025_13_56_02_373576_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6cd5f6e393e403abd8804d46af375e2e.jpg","text":"TemporaryFile(/tmp/multipartBody340622436005615737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737809883807,"filename":"image_25012025_13_55_03_112031_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331345580","file1":"1331345576","file0":"1331345574","file3":"1331345584"},"map_files_photo_id_array":[{"photo_id":"1331345580","filename":"file2"},{"photo_id":"1331345576","filename":"file1"},{"photo_id":"1331345574","filename":"file0"},{"photo_id":"1331345584","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331345576":["hashtag1","hashtag2"]},{"1331345584":["hashtag1","hashtag2"]},{"1331345580":["hashtag1","hashtag2"]},{"1331345574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331345576, 1331345584, 1331345580, 1331345574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.1538245677948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 13:57:42.267418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/56/image_25012025_13_56_02_373576_0003.jpg', '/home/pi/Desktop/images/25012025/13/57/image_25012025_13_57_02_403555_0000.jpg', '/home/pi/Desktop/images/25012025/13/57/image_25012025_13_57_02_403555_0001.jpg', '/home/pi/Desktop/images/25012025/13/57/image_25012025_13_57_02_403555_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/56/image_25012025_13_56_02_373576_0003.jpg
/home/pi/Desktop/images/25012025/13/57/image_25012025_13_57_02_403555_0000.jpg
/home/pi/Desktop/images/25012025/13/57/image_25012025_13_57_02_403555_0001.jpg
/home/pi/Desktop/images/25012025/13/57/image_25012025_13_57_02_403555_0002.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-25 13:59:03.171751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/56/image_25012025_13_56_02_373576_0003.jpg', '/home/pi/Desktop/images/25012025/13/57/image_25012025_13_57_02_403555_0000.jpg', '/home/pi/Desktop/images/25012025/13/57/image_25012025_13_57_02_403555_0001.jpg', '/home/pi/Desktop/images/25012025/13/57/image_25012025_13_57_02_403555_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/56/image_25012025_13_56_02_373576_0003.jpg
/home/pi/Desktop/images/25012025/13/57/image_25012025_13_57_02_403555_0000.jpg
/home/pi/Desktop/images/25012025/13/57/image_25012025_13_57_02_403555_0001.jpg
/home/pi/Desktop/images/25012025/13/57/image_25012025_13_57_02_403555_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":["1331345654","1331345692","1331345686","1331345658"],"photo_ids_order":["1331345654","1331345658","1331345686","1331345692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6a7986dc9416ea8ac2feb877605e52cf.jpg","text":"TemporaryFile(/tmp/multipartBody7734353730052249497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810014794,"filename":"image_25012025_13_56_02_373576_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6a0cc56b2b49144811c5c87259fc03b9.jpg","text":"TemporaryFile(/tmp/multipartBody2372243290634010300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810014794,"filename":"image_25012025_13_57_02_403555_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/42eff7c25368c80240e91895eb274d3c.jpg","text":"TemporaryFile(/tmp/multipartBody7398984238260421916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810014794,"filename":"image_25012025_13_57_02_403555_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/50b1a788ff5db0d03513380588a44964.jpg","text":"TemporaryFile(/tmp/multipartBody4722361117205208132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810014794,"filename":"image_25012025_13_57_02_403555_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331345686","file1":"1331345658","file0":"1331345654","file3":"1331345692"},"map_files_photo_id_array":[{"photo_id":"1331345686","filename":"file2"},{"photo_id":"1331345658","filename":"file1"},{"photo_id":"1331345654","filename":"file0"},{"photo_id":"1331345692","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331345654":["hashtag1","hashtag2"]},{"1331345692":["hashtag1","hashtag2"]},{"1331345686":["hashtag1","hashtag2"]},{"1331345658":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331345654, 1331345692, 1331345686, 1331345658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.10337543487549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 13:59:52.582686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/57/image_25012025_13_57_02_403555_0003.jpg', '/home/pi/Desktop/images/25012025/13/58/image_25012025_13_58_02_642775_0000.jpg', '/home/pi/Desktop/images/25012025/13/58/image_25012025_13_58_02_642775_0001.jpg', '/home/pi/Desktop/images/25012025/13/58/image_25012025_13_58_02_642775_0002.jpg', '/home/pi/Desktop/images/25012025/13/58/image_25012025_13_58_02_642775_0003.jpg', '/home/pi/Desktop/images/25012025/13/59/image_25012025_13_59_02_816203_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/57/image_25012025_13_57_02_403555_0003.jpg
/home/pi/Desktop/images/25012025/13/58/image_25012025_13_58_02_642775_0000.jpg
/home/pi/Desktop/images/25012025/13/58/image_25012025_13_58_02_642775_0001.jpg
/home/pi/Desktop/images/25012025/13/58/image_25012025_13_58_02_642775_0002.jpg
/home/pi/Desktop/images/25012025/13/58/image_25012025_13_58_02_642775_0003.jpg
/home/pi/Desktop/images/25012025/13/59/image_25012025_13_59_02_816203_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 [200]>
b'{"photo_ids":["1331346077","1331345855","1331345777","1331345782","1331345787","1331345772"],"photo_ids_order":["1331345772","1331345777","1331345782","1331345787","1331345855","1331346077"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a5c6bbc8827e59a1a3c83fdd9ee89a52.jpg","text":"TemporaryFile(/tmp/multipartBody4478703146100766603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810069160,"filename":"image_25012025_13_59_02_816203_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b447e78ae14b0270eb776a69a615e9cd.jpg","text":"TemporaryFile(/tmp/multipartBody144551903090862686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810069160,"filename":"image_25012025_13_58_02_642775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9e7db1611357cf29bb83e454d4ff6b04.jpg","text":"TemporaryFile(/tmp/multipartBody1901441152813648714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810069160,"filename":"image_25012025_13_58_02_642775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/83a793a926be6c9aae322a6aa6ed8bde.jpg","text":"TemporaryFile(/tmp/multipartBody5595804915469960584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810069160,"filename":"image_25012025_13_58_02_642775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b0f0da4622e46b2fc6cf951ced22e254.jpg","text":"TemporaryFile(/tmp/multipartBody8508906248684575497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810069160,"filename":"image_25012025_13_58_02_642775_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/61d32b25bf2d3472f115a62549b10498.jpg","text":"TemporaryFile(/tmp/multipartBody7585453067606060492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810069160,"filename":"image_25012025_13_57_02_403555_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331345782","file1":"1331345777","file0":"1331345772","file4":"1331345855","file5":"1331346077","file3":"1331345787"},"map_files_photo_id_array":[{"photo_id":"1331346077","filename":"file5"},{"photo_id":"1331345782","filename":"file2"},{"photo_id":"1331345855","filename":"file4"},{"photo_id":"1331345777","filename":"file1"},{"photo_id":"1331345772","filename":"file0"},{"photo_id":"1331345787","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331346077":["hashtag1","hashtag2"]},{"1331345855":["hashtag1","hashtag2"]},{"1331345777":["hashtag1","hashtag2"]},{"1331345782":["hashtag1","hashtag2"]},{"1331345787":["hashtag1","hashtag2"]},{"1331345772":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331346077, 1331345855, 1331345777, 1331345782, 1331345787, 1331345772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.186026096343994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 14:00:51.749212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/13/59/image_25012025_13_59_02_816203_0001.jpg', '/home/pi/Desktop/images/25012025/13/59/image_25012025_13_59_02_816203_0002.jpg', '/home/pi/Desktop/images/25012025/13/59/image_25012025_13_59_02_816203_0003.jpg', '/home/pi/Desktop/images/25012025/14/00/image_25012025_14_00_02_987694_0000.jpg', '/home/pi/Desktop/images/25012025/14/00/image_25012025_14_00_02_987694_0001.jpg', '/home/pi/Desktop/images/25012025/14/00/image_25012025_14_00_02_987694_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/13/59/image_25012025_13_59_02_816203_0001.jpg
/home/pi/Desktop/images/25012025/13/59/image_25012025_13_59_02_816203_0002.jpg
/home/pi/Desktop/images/25012025/13/59/image_25012025_13_59_02_816203_0003.jpg
/home/pi/Desktop/images/25012025/14/00/image_25012025_14_00_02_987694_0000.jpg
/home/pi/Desktop/images/25012025/14/00/image_25012025_14_00_02_987694_0001.jpg
/home/pi/Desktop/images/25012025/14/00/image_25012025_14_00_02_987694_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 [200]>
b'{"photo_ids":["1331346197","1331346182","1331346188","1331346193","1331346171","1331346177"],"photo_ids_order":["1331346171","1331346177","1331346182","1331346188","1331346193","1331346197"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/31e91d1ed7c759ef07f1f558ab19f8b3.jpg","text":"TemporaryFile(/tmp/multipartBody144549940408462898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810128792,"filename":"image_25012025_14_00_02_987694_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fd71568e5280516f033d9fe078a01f58.jpg","text":"TemporaryFile(/tmp/multipartBody7041025594071176323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810128792,"filename":"image_25012025_13_59_02_816203_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e3514ba1252e73f35284833278506feb.jpg","text":"TemporaryFile(/tmp/multipartBody3837281193105744296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810128792,"filename":"image_25012025_14_00_02_987694_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fc417b8bdd4c6bf8f98e77c2276a875d.jpg","text":"TemporaryFile(/tmp/multipartBody380313542528819239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810128792,"filename":"image_25012025_14_00_02_987694_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5e50ac91f89955de2adaa49a1135cf1b.jpg","text":"TemporaryFile(/tmp/multipartBody295822642612404558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810128792,"filename":"image_25012025_13_59_02_816203_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4e8268870a93a4617786d32cd42b3495.jpg","text":"TemporaryFile(/tmp/multipartBody621809623421903395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810128792,"filename":"image_25012025_13_59_02_816203_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331346182","file1":"1331346177","file0":"1331346171","file4":"1331346193","file5":"1331346197","file3":"1331346188"},"map_files_photo_id_array":[{"photo_id":"1331346197","filename":"file5"},{"photo_id":"1331346182","filename":"file2"},{"photo_id":"1331346193","filename":"file4"},{"photo_id":"1331346177","filename":"file1"},{"photo_id":"1331346171","filename":"file0"},{"photo_id":"1331346188","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331346197":["hashtag1","hashtag2"]},{"1331346182":["hashtag1","hashtag2"]},{"1331346188":["hashtag1","hashtag2"]},{"1331346193":["hashtag1","hashtag2"]},{"1331346171":["hashtag1","hashtag2"]},{"1331346177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331346197, 1331346182, 1331346188, 1331346193, 1331346171, 1331346177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.615177631378174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 14:01:51.952029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/00/image_25012025_14_00_02_987694_0003.jpg', '/home/pi/Desktop/images/25012025/14/01/image_25012025_14_01_02_170526_0000.jpg', '/home/pi/Desktop/images/25012025/14/01/image_25012025_14_01_02_170526_0001.jpg', '/home/pi/Desktop/images/25012025/14/01/image_25012025_14_01_02_170526_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/00/image_25012025_14_00_02_987694_0003.jpg
/home/pi/Desktop/images/25012025/14/01/image_25012025_14_01_02_170526_0000.jpg
/home/pi/Desktop/images/25012025/14/01/image_25012025_14_01_02_170526_0001.jpg
/home/pi/Desktop/images/25012025/14/01/image_25012025_14_01_02_170526_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":["1331347473","1331347482","1331346903","1331347178"],"photo_ids_order":["1331346903","1331347178","1331347473","1331347482"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aa86ff41cf777e1eb02abcefd2454423.jpg","text":"TemporaryFile(/tmp/multipartBody5396075659124885643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810183331,"filename":"image_25012025_14_01_02_170526_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4e0ad9ded24216f76e4152c5362c0f67.jpg","text":"TemporaryFile(/tmp/multipartBody1856242108106291282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810183331,"filename":"image_25012025_14_01_02_170526_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b5938aed5ed6ec48b092795627c7f1f8.jpg","text":"TemporaryFile(/tmp/multipartBody4125708480821961127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810183331,"filename":"image_25012025_14_00_02_987694_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/74cdca416fe4300e63e74fedb0fdf8d0.jpg","text":"TemporaryFile(/tmp/multipartBody7346033345562374506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810183331,"filename":"image_25012025_14_01_02_170526_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331347473","file1":"1331347178","file0":"1331346903","file3":"1331347482"},"map_files_photo_id_array":[{"photo_id":"1331347473","filename":"file2"},{"photo_id":"1331347178","filename":"file1"},{"photo_id":"1331346903","filename":"file0"},{"photo_id":"1331347482","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331347473":["hashtag1","hashtag2"]},{"1331347482":["hashtag1","hashtag2"]},{"1331346903":["hashtag1","hashtag2"]},{"1331347178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331347473, 1331347482, 1331346903, 1331347178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.126670598983765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 14:02:42.249499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/01/image_25012025_14_01_02_170526_0003.jpg', '/home/pi/Desktop/images/25012025/14/02/image_25012025_14_02_02_297783_0000.jpg', '/home/pi/Desktop/images/25012025/14/02/image_25012025_14_02_02_297783_0001.jpg', '/home/pi/Desktop/images/25012025/14/02/image_25012025_14_02_02_297783_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/01/image_25012025_14_01_02_170526_0003.jpg
/home/pi/Desktop/images/25012025/14/02/image_25012025_14_02_02_297783_0000.jpg
/home/pi/Desktop/images/25012025/14/02/image_25012025_14_02_02_297783_0001.jpg
/home/pi/Desktop/images/25012025/14/02/image_25012025_14_02_02_297783_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":["1331347525","1331347752","1331347653","1331347521"],"photo_ids_order":["1331347521","1331347525","1331347653","1331347752"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/65d5373417f4d9d50d882fc49ad084ae.jpg","text":"TemporaryFile(/tmp/multipartBody8698674425664135369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810233602,"filename":"image_25012025_14_02_02_297783_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/983b9ddf8f4951270ee61350b38bd09e.jpg","text":"TemporaryFile(/tmp/multipartBody7923757979166095958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810233602,"filename":"image_25012025_14_02_02_297783_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8ab7a0d1a3a9cda48092e48383a46a81.jpg","text":"TemporaryFile(/tmp/multipartBody7339132071066712017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810233602,"filename":"image_25012025_14_02_02_297783_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9a21224290267754ec864d1b75972dd1.jpg","text":"TemporaryFile(/tmp/multipartBody8889031562519552915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810233602,"filename":"image_25012025_14_01_02_170526_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331347653","file1":"1331347525","file0":"1331347521","file3":"1331347752"},"map_files_photo_id_array":[{"photo_id":"1331347653","filename":"file2"},{"photo_id":"1331347525","filename":"file1"},{"photo_id":"1331347521","filename":"file0"},{"photo_id":"1331347752","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331347525":["hashtag1","hashtag2"]},{"1331347752":["hashtag1","hashtag2"]},{"1331347653":["hashtag1","hashtag2"]},{"1331347521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331347525, 1331347752, 1331347653, 1331347521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.695641040802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 14:03:32.282814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/02/image_25012025_14_02_02_297783_0003.jpg', '/home/pi/Desktop/images/25012025/14/03/image_25012025_14_03_02_595515_0000.jpg', '/home/pi/Desktop/images/25012025/14/03/image_25012025_14_03_02_595515_0001.jpg', '/home/pi/Desktop/images/25012025/14/03/image_25012025_14_03_02_595515_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/02/image_25012025_14_02_02_297783_0003.jpg
/home/pi/Desktop/images/25012025/14/03/image_25012025_14_03_02_595515_0000.jpg
/home/pi/Desktop/images/25012025/14/03/image_25012025_14_03_02_595515_0001.jpg
/home/pi/Desktop/images/25012025/14/03/image_25012025_14_03_02_595515_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":["1331348449","1331348352","1331348445","1331348441"],"photo_ids_order":["1331348352","1331348441","1331348445","1331348449"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dfc7e5125b22b9c6a08604e5566442ef.jpg","text":"TemporaryFile(/tmp/multipartBody7779047072589108592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810283695,"filename":"image_25012025_14_03_02_595515_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/86b40fb7ff607aaac99218969196682f.jpg","text":"TemporaryFile(/tmp/multipartBody8861708017019201169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810283695,"filename":"image_25012025_14_02_02_297783_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1910f56acdbc01bf3a131859f53262a9.jpg","text":"TemporaryFile(/tmp/multipartBody8698029252197874492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810283695,"filename":"image_25012025_14_03_02_595515_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b15cabd7658c31601647f3afffe137fe.jpg","text":"TemporaryFile(/tmp/multipartBody2723136338580586422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810283695,"filename":"image_25012025_14_03_02_595515_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331348445","file1":"1331348441","file0":"1331348352","file3":"1331348449"},"map_files_photo_id_array":[{"photo_id":"1331348445","filename":"file2"},{"photo_id":"1331348441","filename":"file1"},{"photo_id":"1331348352","filename":"file0"},{"photo_id":"1331348449","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331348449":["hashtag1","hashtag2"]},{"1331348352":["hashtag1","hashtag2"]},{"1331348445":["hashtag1","hashtag2"]},{"1331348441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331348449, 1331348352, 1331348445, 1331348441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.061763286590576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:04:22.488561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/03/image_25012025_14_03_02_595515_0003.jpg', '/home/pi/Desktop/images/25012025/14/04/image_25012025_14_04_02_599162_0000.jpg', '/home/pi/Desktop/images/25012025/14/04/image_25012025_14_04_02_599162_0001.jpg', '/home/pi/Desktop/images/25012025/14/04/image_25012025_14_04_02_599162_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/03/image_25012025_14_03_02_595515_0003.jpg
/home/pi/Desktop/images/25012025/14/04/image_25012025_14_04_02_599162_0000.jpg
/home/pi/Desktop/images/25012025/14/04/image_25012025_14_04_02_599162_0001.jpg
/home/pi/Desktop/images/25012025/14/04/image_25012025_14_04_02_599162_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 [200]>
b'{"photo_ids":["1331348671","1331348740","1331348664","1331348705"],"photo_ids_order":["1331348664","1331348671","1331348705","1331348740"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4a500aea1024222dc7c6cf4fb9d2dbea.jpg","text":"TemporaryFile(/tmp/multipartBody5085650247941256027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810334256,"filename":"image_25012025_14_04_02_599162_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/31dbe4c7c5838a12073cb021f2228c50.jpg","text":"TemporaryFile(/tmp/multipartBody7914251737135891684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810334256,"filename":"image_25012025_14_04_02_599162_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/753ff86188dad3300a8dbd688ffcf518.jpg","text":"TemporaryFile(/tmp/multipartBody1349971462521922008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810334256,"filename":"image_25012025_14_03_02_595515_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/991d1b06e8a2f521017f7afc1ebbf2ed.jpg","text":"TemporaryFile(/tmp/multipartBody3845662369342118209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810334256,"filename":"image_25012025_14_04_02_599162_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331348705","file1":"1331348671","file0":"1331348664","file3":"1331348740"},"map_files_photo_id_array":[{"photo_id":"1331348705","filename":"file2"},{"photo_id":"1331348671","filename":"file1"},{"photo_id":"1331348664","filename":"file0"},{"photo_id":"1331348740","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331348671":["hashtag1","hashtag2"]},{"1331348740":["hashtag1","hashtag2"]},{"1331348664":["hashtag1","hashtag2"]},{"1331348705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331348671, 1331348740, 1331348664, 1331348705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.75630164146423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:05:22.670341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/04/image_25012025_14_04_02_599162_0003.jpg', '/home/pi/Desktop/images/25012025/14/05/image_25012025_14_05_02_828822_0000.jpg', '/home/pi/Desktop/images/25012025/14/05/image_25012025_14_05_02_828822_0001.jpg', '/home/pi/Desktop/images/25012025/14/05/image_25012025_14_05_02_828822_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/04/image_25012025_14_04_02_599162_0003.jpg
/home/pi/Desktop/images/25012025/14/05/image_25012025_14_05_02_828822_0000.jpg
/home/pi/Desktop/images/25012025/14/05/image_25012025_14_05_02_828822_0001.jpg
/home/pi/Desktop/images/25012025/14/05/image_25012025_14_05_02_828822_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 [200]>
b'{"photo_ids":["1331348917","1331348889","1331348915","1331348858"],"photo_ids_order":["1331348858","1331348889","1331348915","1331348917"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8be2b56705a9ad7f870aa6d921f8db06.jpg","text":"TemporaryFile(/tmp/multipartBody455718290266964743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810394251,"filename":"image_25012025_14_05_02_828822_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b2073cf9127cac634cffd7809bcbd601.jpg","text":"TemporaryFile(/tmp/multipartBody8620099236218466407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810394251,"filename":"image_25012025_14_05_02_828822_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a623fd4ac1c114cbe5ec36e53c5fe275.jpg","text":"TemporaryFile(/tmp/multipartBody7363414018859891337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810394251,"filename":"image_25012025_14_05_02_828822_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6180d70801655817b6ba321c06c4e0d6.jpg","text":"TemporaryFile(/tmp/multipartBody2919490711374331271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810394251,"filename":"image_25012025_14_04_02_599162_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331348915","file1":"1331348889","file0":"1331348858","file3":"1331348917"},"map_files_photo_id_array":[{"photo_id":"1331348915","filename":"file2"},{"photo_id":"1331348889","filename":"file1"},{"photo_id":"1331348858","filename":"file0"},{"photo_id":"1331348917","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331348917":["hashtag1","hashtag2"]},{"1331348889":["hashtag1","hashtag2"]},{"1331348915":["hashtag1","hashtag2"]},{"1331348858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331348917, 1331348889, 1331348915, 1331348858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.72339081764221 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:06:21.921754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/05/image_25012025_14_05_02_828822_0003.jpg', '/home/pi/Desktop/images/25012025/14/06/image_25012025_14_06_02_983768_0000.jpg', '/home/pi/Desktop/images/25012025/14/06/image_25012025_14_06_02_983768_0001.jpg', '/home/pi/Desktop/images/25012025/14/06/image_25012025_14_06_02_983768_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/05/image_25012025_14_05_02_828822_0003.jpg
/home/pi/Desktop/images/25012025/14/06/image_25012025_14_06_02_983768_0000.jpg
/home/pi/Desktop/images/25012025/14/06/image_25012025_14_06_02_983768_0001.jpg
/home/pi/Desktop/images/25012025/14/06/image_25012025_14_06_02_983768_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: 11.022000312805176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 14:06:41.845096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/05/image_25012025_14_05_02_828822_0003.jpg', '/home/pi/Desktop/images/25012025/14/06/image_25012025_14_06_02_983768_0000.jpg', '/home/pi/Desktop/images/25012025/14/06/image_25012025_14_06_02_983768_0001.jpg', '/home/pi/Desktop/images/25012025/14/06/image_25012025_14_06_02_983768_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/05/image_25012025_14_05_02_828822_0003.jpg
/home/pi/Desktop/images/25012025/14/06/image_25012025_14_06_02_983768_0000.jpg
/home/pi/Desktop/images/25012025/14/06/image_25012025_14_06_02_983768_0001.jpg
/home/pi/Desktop/images/25012025/14/06/image_25012025_14_06_02_983768_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":["1331348965","1331348967","1331348949","1331348970"],"photo_ids_order":["1331348949","1331348965","1331348967","1331348970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5f5cf8e0096ca5a421d0954ce9db136e.jpg","text":"TemporaryFile(/tmp/multipartBody2862952763802500374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810473248,"filename":"image_25012025_14_06_02_983768_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/667267b36b35eaa9d7e5a357cced4a59.jpg","text":"TemporaryFile(/tmp/multipartBody2310760873827281575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810473248,"filename":"image_25012025_14_06_02_983768_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a5de204ee6853bcb473b34894dbce362.jpg","text":"TemporaryFile(/tmp/multipartBody2940335865911989317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810473248,"filename":"image_25012025_14_05_02_828822_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d5fa25ca45f4ee7a89865ccba5858713.jpg","text":"TemporaryFile(/tmp/multipartBody9153979634746179228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810473248,"filename":"image_25012025_14_06_02_983768_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331348967","file1":"1331348965","file0":"1331348949","file3":"1331348970"},"map_files_photo_id_array":[{"photo_id":"1331348967","filename":"file2"},{"photo_id":"1331348965","filename":"file1"},{"photo_id":"1331348949","filename":"file0"},{"photo_id":"1331348970","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331348965":["hashtag1","hashtag2"]},{"1331348967":["hashtag1","hashtag2"]},{"1331348949":["hashtag1","hashtag2"]},{"1331348970":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331348965, 1331348967, 1331348949, 1331348970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.274380683898926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 14:07:31.948706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/06/image_25012025_14_06_02_983768_0003.jpg', '/home/pi/Desktop/images/25012025/14/07/image_25012025_14_07_02_242356_0000.jpg', '/home/pi/Desktop/images/25012025/14/07/image_25012025_14_07_02_242356_0001.jpg', '/home/pi/Desktop/images/25012025/14/07/image_25012025_14_07_02_242356_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/06/image_25012025_14_06_02_983768_0003.jpg
/home/pi/Desktop/images/25012025/14/07/image_25012025_14_07_02_242356_0000.jpg
/home/pi/Desktop/images/25012025/14/07/image_25012025_14_07_02_242356_0001.jpg
/home/pi/Desktop/images/25012025/14/07/image_25012025_14_07_02_242356_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: 11.144010066986084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 14:07:51.995835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/06/image_25012025_14_06_02_983768_0003.jpg', '/home/pi/Desktop/images/25012025/14/07/image_25012025_14_07_02_242356_0000.jpg', '/home/pi/Desktop/images/25012025/14/07/image_25012025_14_07_02_242356_0001.jpg', '/home/pi/Desktop/images/25012025/14/07/image_25012025_14_07_02_242356_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/06/image_25012025_14_06_02_983768_0003.jpg
/home/pi/Desktop/images/25012025/14/07/image_25012025_14_07_02_242356_0000.jpg
/home/pi/Desktop/images/25012025/14/07/image_25012025_14_07_02_242356_0001.jpg
/home/pi/Desktop/images/25012025/14/07/image_25012025_14_07_02_242356_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":["1331349118","1331349111","1331349114","1331349122"],"photo_ids_order":["1331349111","1331349114","1331349118","1331349122"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2d6544cfe6b50e70bdc89d1c896376fc.jpg","text":"TemporaryFile(/tmp/multipartBody2923989878694027291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810543540,"filename":"image_25012025_14_07_02_242356_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/85245d6cf30f6edd8ff0902308445336.jpg","text":"TemporaryFile(/tmp/multipartBody5004606295051902779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810543540,"filename":"image_25012025_14_06_02_983768_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/40c741c00c26f9c21a1837c7d279aaa6.jpg","text":"TemporaryFile(/tmp/multipartBody7679901861694520738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810543540,"filename":"image_25012025_14_07_02_242356_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/07a95ab1be4044832b1e87774fce601e.jpg","text":"TemporaryFile(/tmp/multipartBody3528229013546004561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810543540,"filename":"image_25012025_14_07_02_242356_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331349118","file1":"1331349114","file0":"1331349111","file3":"1331349122"},"map_files_photo_id_array":[{"photo_id":"1331349118","filename":"file2"},{"photo_id":"1331349114","filename":"file1"},{"photo_id":"1331349111","filename":"file0"},{"photo_id":"1331349122","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331349118":["hashtag1","hashtag2"]},{"1331349111":["hashtag1","hashtag2"]},{"1331349114":["hashtag1","hashtag2"]},{"1331349122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331349118, 1331349111, 1331349114, 1331349122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.8829505443573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 14:08:32.153755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/07/image_25012025_14_07_02_242356_0003.jpg', '/home/pi/Desktop/images/25012025/14/08/image_25012025_14_08_02_354604_0000.jpg', '/home/pi/Desktop/images/25012025/14/08/image_25012025_14_08_02_354604_0001.jpg', '/home/pi/Desktop/images/25012025/14/08/image_25012025_14_08_02_354604_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/07/image_25012025_14_07_02_242356_0003.jpg
/home/pi/Desktop/images/25012025/14/08/image_25012025_14_08_02_354604_0000.jpg
/home/pi/Desktop/images/25012025/14/08/image_25012025_14_08_02_354604_0001.jpg
/home/pi/Desktop/images/25012025/14/08/image_25012025_14_08_02_354604_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":["1331349330","1331349312","1331349326","1331349335"],"photo_ids_order":["1331349312","1331349326","1331349330","1331349335"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/49d0b1ae735b117d109443bb721109ed.jpg","text":"TemporaryFile(/tmp/multipartBody2408336614029564189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810583775,"filename":"image_25012025_14_08_02_354604_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d9987a5a3ba2b8bea558fa9b1ce5f242.jpg","text":"TemporaryFile(/tmp/multipartBody7158240890621614127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810583775,"filename":"image_25012025_14_07_02_242356_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4e9129488ddd3a062b8b68f18cfc1c18.jpg","text":"TemporaryFile(/tmp/multipartBody2597964339171014041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810583775,"filename":"image_25012025_14_08_02_354604_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f79c73f37090c05a11baa9fb19dc59ec.jpg","text":"TemporaryFile(/tmp/multipartBody8164000666837536584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810583775,"filename":"image_25012025_14_08_02_354604_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331349330","file1":"1331349326","file0":"1331349312","file3":"1331349335"},"map_files_photo_id_array":[{"photo_id":"1331349330","filename":"file2"},{"photo_id":"1331349326","filename":"file1"},{"photo_id":"1331349312","filename":"file0"},{"photo_id":"1331349335","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331349330":["hashtag1","hashtag2"]},{"1331349312":["hashtag1","hashtag2"]},{"1331349326":["hashtag1","hashtag2"]},{"1331349335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331349330, 1331349312, 1331349326, 1331349335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.55928373336792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:09:22.382737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/08/image_25012025_14_08_02_354604_0003.jpg', '/home/pi/Desktop/images/25012025/14/09/image_25012025_14_09_02_627473_0000.jpg', '/home/pi/Desktop/images/25012025/14/09/image_25012025_14_09_02_627473_0001.jpg', '/home/pi/Desktop/images/25012025/14/09/image_25012025_14_09_02_627473_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/08/image_25012025_14_08_02_354604_0003.jpg
/home/pi/Desktop/images/25012025/14/09/image_25012025_14_09_02_627473_0000.jpg
/home/pi/Desktop/images/25012025/14/09/image_25012025_14_09_02_627473_0001.jpg
/home/pi/Desktop/images/25012025/14/09/image_25012025_14_09_02_627473_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 [200]>
b'{"photo_ids":["1331349383","1331349379","1331349373","1331349376"],"photo_ids_order":["1331349373","1331349376","1331349379","1331349383"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c191d5583da73693cbd2f0969606aa90.jpg","text":"TemporaryFile(/tmp/multipartBody3915620576566754045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810634198,"filename":"image_25012025_14_09_02_627473_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9ad79f7f0c9634a5b0d60599c8b59e0a.jpg","text":"TemporaryFile(/tmp/multipartBody6602265787076393340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810634198,"filename":"image_25012025_14_09_02_627473_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/546ba37bbd72abef3b97e61a06c592e0.jpg","text":"TemporaryFile(/tmp/multipartBody4124149258683011860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810634198,"filename":"image_25012025_14_08_02_354604_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c30402f633df1628914f9948c05e30c3.jpg","text":"TemporaryFile(/tmp/multipartBody4453655874896980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810634198,"filename":"image_25012025_14_09_02_627473_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331349379","file1":"1331349376","file0":"1331349373","file3":"1331349383"},"map_files_photo_id_array":[{"photo_id":"1331349379","filename":"file2"},{"photo_id":"1331349376","filename":"file1"},{"photo_id":"1331349373","filename":"file0"},{"photo_id":"1331349383","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331349383":["hashtag1","hashtag2"]},{"1331349379":["hashtag1","hashtag2"]},{"1331349373":["hashtag1","hashtag2"]},{"1331349376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331349383, 1331349379, 1331349373, 1331349376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.55199337005615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:10:22.580742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/09/image_25012025_14_09_02_627473_0003.jpg', '/home/pi/Desktop/images/25012025/14/10/image_25012025_14_10_02_737404_0000.jpg', '/home/pi/Desktop/images/25012025/14/10/image_25012025_14_10_02_737404_0001.jpg', '/home/pi/Desktop/images/25012025/14/10/image_25012025_14_10_02_737404_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/09/image_25012025_14_09_02_627473_0003.jpg
/home/pi/Desktop/images/25012025/14/10/image_25012025_14_10_02_737404_0000.jpg
/home/pi/Desktop/images/25012025/14/10/image_25012025_14_10_02_737404_0001.jpg
/home/pi/Desktop/images/25012025/14/10/image_25012025_14_10_02_737404_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 [200]>
b'{"photo_ids":["1331349421","1331349495","1331349489","1331349478"],"photo_ids_order":["1331349421","1331349478","1331349489","1331349495"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/39402155ad5189639264c008445d8190.jpg","text":"TemporaryFile(/tmp/multipartBody6740936639382043257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810693888,"filename":"image_25012025_14_09_02_627473_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f81b359906296232efd0ab6da0d7b433.jpg","text":"TemporaryFile(/tmp/multipartBody2291287977394406131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810693888,"filename":"image_25012025_14_10_02_737404_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1609524f70b0c48c48c20a418bc2f970.jpg","text":"TemporaryFile(/tmp/multipartBody8653438474112269065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810693888,"filename":"image_25012025_14_10_02_737404_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b0b411cbfb5bd652c0d19f089980a733.jpg","text":"TemporaryFile(/tmp/multipartBody8358802765619868594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810693888,"filename":"image_25012025_14_10_02_737404_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331349489","file1":"1331349478","file0":"1331349421","file3":"1331349495"},"map_files_photo_id_array":[{"photo_id":"1331349489","filename":"file2"},{"photo_id":"1331349478","filename":"file1"},{"photo_id":"1331349421","filename":"file0"},{"photo_id":"1331349495","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331349421":["hashtag1","hashtag2"]},{"1331349495":["hashtag1","hashtag2"]},{"1331349489":["hashtag1","hashtag2"]},{"1331349478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331349421, 1331349495, 1331349489, 1331349478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.96462607383728 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:11:22.710353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/10/image_25012025_14_10_02_737404_0003.jpg', '/home/pi/Desktop/images/25012025/14/11/image_25012025_14_11_02_968079_0000.jpg', '/home/pi/Desktop/images/25012025/14/11/image_25012025_14_11_02_968079_0001.jpg', '/home/pi/Desktop/images/25012025/14/11/image_25012025_14_11_02_968079_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/10/image_25012025_14_10_02_737404_0003.jpg
/home/pi/Desktop/images/25012025/14/11/image_25012025_14_11_02_968079_0000.jpg
/home/pi/Desktop/images/25012025/14/11/image_25012025_14_11_02_968079_0001.jpg
/home/pi/Desktop/images/25012025/14/11/image_25012025_14_11_02_968079_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 [200]>
b'{"photo_ids":["1331349776","1331349779","1331349704","1331349772"],"photo_ids_order":["1331349704","1331349772","1331349776","1331349779"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/535e5009ea7a118d414d59f4010d5904.jpg","text":"TemporaryFile(/tmp/multipartBody2237645646223782201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810754584,"filename":"image_25012025_14_11_02_968079_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9927a73828825dfa5ef204d7b077081a.jpg","text":"TemporaryFile(/tmp/multipartBody3636809420392559787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810754584,"filename":"image_25012025_14_11_02_968079_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2884934fab5dcb153292bffb013900b0.jpg","text":"TemporaryFile(/tmp/multipartBody7670830949897030117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810754584,"filename":"image_25012025_14_10_02_737404_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d2a587ccb0b5e7d78b38f54d5b3f9d25.jpg","text":"TemporaryFile(/tmp/multipartBody1789044164835172424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810754584,"filename":"image_25012025_14_11_02_968079_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331349776","file1":"1331349772","file0":"1331349704","file3":"1331349779"},"map_files_photo_id_array":[{"photo_id":"1331349776","filename":"file2"},{"photo_id":"1331349772","filename":"file1"},{"photo_id":"1331349704","filename":"file0"},{"photo_id":"1331349779","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331349776":["hashtag1","hashtag2"]},{"1331349779":["hashtag1","hashtag2"]},{"1331349704":["hashtag1","hashtag2"]},{"1331349772":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331349776, 1331349779, 1331349704, 1331349772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.56470966339111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:12:21.953659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/11/image_25012025_14_11_02_968079_0003.jpg', '/home/pi/Desktop/images/25012025/14/12/image_25012025_14_12_03_110808_0000.jpg', '/home/pi/Desktop/images/25012025/14/12/image_25012025_14_12_03_110808_0001.jpg', '/home/pi/Desktop/images/25012025/14/12/image_25012025_14_12_03_110808_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/11/image_25012025_14_11_02_968079_0003.jpg
/home/pi/Desktop/images/25012025/14/12/image_25012025_14_12_03_110808_0000.jpg
/home/pi/Desktop/images/25012025/14/12/image_25012025_14_12_03_110808_0001.jpg
/home/pi/Desktop/images/25012025/14/12/image_25012025_14_12_03_110808_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 [200]>
b'{"photo_ids":["1331350032","1331349995","1331350002","1331349986"],"photo_ids_order":["1331349986","1331349995","1331350002","1331350032"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5449f7c345f5dff34abf39ca9afb989c.jpg","text":"TemporaryFile(/tmp/multipartBody3408678841975322399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810813735,"filename":"image_25012025_14_12_03_110808_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2203604f6a21fc43199ba9cafa9688fa.jpg","text":"TemporaryFile(/tmp/multipartBody1453519454801215120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810813735,"filename":"image_25012025_14_12_03_110808_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/98eea7f967580af62e917fec4ddefc89.jpg","text":"TemporaryFile(/tmp/multipartBody7353119550076796954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810813735,"filename":"image_25012025_14_12_03_110808_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1a2dd9d30f3b7b850eda03080a1d2f40.jpg","text":"TemporaryFile(/tmp/multipartBody4316376336140222829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810813735,"filename":"image_25012025_14_11_02_968079_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331350002","file1":"1331349995","file0":"1331349986","file3":"1331350032"},"map_files_photo_id_array":[{"photo_id":"1331350002","filename":"file2"},{"photo_id":"1331349995","filename":"file1"},{"photo_id":"1331349986","filename":"file0"},{"photo_id":"1331350032","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331350032":["hashtag1","hashtag2"]},{"1331349995":["hashtag1","hashtag2"]},{"1331350002":["hashtag1","hashtag2"]},{"1331349986":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331350032, 1331349995, 1331350002, 1331349986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.28901481628418 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:13:22.040741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/12/image_25012025_14_12_03_110808_0003.jpg', '/home/pi/Desktop/images/25012025/14/13/image_25012025_14_13_02_243165_0000.jpg', '/home/pi/Desktop/images/25012025/14/13/image_25012025_14_13_02_243165_0001.jpg', '/home/pi/Desktop/images/25012025/14/13/image_25012025_14_13_02_243165_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/12/image_25012025_14_12_03_110808_0003.jpg
/home/pi/Desktop/images/25012025/14/13/image_25012025_14_13_02_243165_0000.jpg
/home/pi/Desktop/images/25012025/14/13/image_25012025_14_13_02_243165_0001.jpg
/home/pi/Desktop/images/25012025/14/13/image_25012025_14_13_02_243165_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":["1331350131","1331350169","1331350163","1331350205"],"photo_ids_order":["1331350131","1331350163","1331350169","1331350205"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/70338864db887305ed9ca2b0fc1205b6.jpg","text":"TemporaryFile(/tmp/multipartBody3089131954705437190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810873472,"filename":"image_25012025_14_12_03_110808_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a2a6648e9b071c5691b2591d332699c5.jpg","text":"TemporaryFile(/tmp/multipartBody965473601717957778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810873472,"filename":"image_25012025_14_13_02_243165_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/744584b6b56bc95e15cf67146bc70baa.jpg","text":"TemporaryFile(/tmp/multipartBody5165726295192394095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810873472,"filename":"image_25012025_14_13_02_243165_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0b60e0cbcddc8e6d109e25933dd7847a.jpg","text":"TemporaryFile(/tmp/multipartBody7493848834837092947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810873472,"filename":"image_25012025_14_13_02_243165_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331350169","file1":"1331350163","file0":"1331350131","file3":"1331350205"},"map_files_photo_id_array":[{"photo_id":"1331350169","filename":"file2"},{"photo_id":"1331350163","filename":"file1"},{"photo_id":"1331350131","filename":"file0"},{"photo_id":"1331350205","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331350131":["hashtag1","hashtag2"]},{"1331350169":["hashtag1","hashtag2"]},{"1331350163":["hashtag1","hashtag2"]},{"1331350205":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331350131, 1331350169, 1331350163, 1331350205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.564268589019775 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-25 14:14:22.214877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/13/image_25012025_14_13_02_243165_0003.jpg', '/home/pi/Desktop/images/25012025/14/14/image_25012025_14_14_02_382944_0000.jpg', '/home/pi/Desktop/images/25012025/14/14/image_25012025_14_14_02_382944_0001.jpg', '/home/pi/Desktop/images/25012025/14/14/image_25012025_14_14_02_382944_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/13/image_25012025_14_13_02_243165_0003.jpg
/home/pi/Desktop/images/25012025/14/14/image_25012025_14_14_02_382944_0000.jpg
/home/pi/Desktop/images/25012025/14/14/image_25012025_14_14_02_382944_0001.jpg
/home/pi/Desktop/images/25012025/14/14/image_25012025_14_14_02_382944_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 [200]>
b'{"photo_ids":["1331350393","1331350372","1331350227","1331350235"],"photo_ids_order":["1331350227","1331350235","1331350372","1331350393"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9c48b141c95603fe6ca7e7d9dcd384d2.jpg","text":"TemporaryFile(/tmp/multipartBody7141543402495991805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810933609,"filename":"image_25012025_14_14_02_382944_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ee5fb05657638443d729ec1d08bd3a21.jpg","text":"TemporaryFile(/tmp/multipartBody3579434452279285875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810933609,"filename":"image_25012025_14_14_02_382944_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/638766196663ee92bacb361d0cf926e4.jpg","text":"TemporaryFile(/tmp/multipartBody4897793935806486258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810933609,"filename":"image_25012025_14_13_02_243165_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e0185db60bc3c27b2cb642caa0ef4462.jpg","text":"TemporaryFile(/tmp/multipartBody6579374298097602728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810933609,"filename":"image_25012025_14_14_02_382944_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331350372","file1":"1331350235","file0":"1331350227","file3":"1331350393"},"map_files_photo_id_array":[{"photo_id":"1331350372","filename":"file2"},{"photo_id":"1331350235","filename":"file1"},{"photo_id":"1331350227","filename":"file0"},{"photo_id":"1331350393","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331350393":["hashtag1","hashtag2"]},{"1331350372":["hashtag1","hashtag2"]},{"1331350227":["hashtag1","hashtag2"]},{"1331350235":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331350393, 1331350372, 1331350227, 1331350235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.94460201263428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:15:22.407259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/14/image_25012025_14_14_02_382944_0003.jpg', '/home/pi/Desktop/images/25012025/14/15/image_25012025_14_15_02_574508_0000.jpg', '/home/pi/Desktop/images/25012025/14/15/image_25012025_14_15_02_574508_0001.jpg', '/home/pi/Desktop/images/25012025/14/15/image_25012025_14_15_02_574508_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/14/image_25012025_14_14_02_382944_0003.jpg
/home/pi/Desktop/images/25012025/14/15/image_25012025_14_15_02_574508_0000.jpg
/home/pi/Desktop/images/25012025/14/15/image_25012025_14_15_02_574508_0001.jpg
/home/pi/Desktop/images/25012025/14/15/image_25012025_14_15_02_574508_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 [200]>
b'{"photo_ids":["1331350531","1331350417","1331350481","1331350412"],"photo_ids_order":["1331350412","1331350417","1331350481","1331350531"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e930932cbb5bceea97d1ca8edb0e56ac.jpg","text":"TemporaryFile(/tmp/multipartBody5252514895014105308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810993818,"filename":"image_25012025_14_15_02_574508_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/85b1ef0b958b5d83bd503a92dc211b56.jpg","text":"TemporaryFile(/tmp/multipartBody6330579043396988133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810993818,"filename":"image_25012025_14_15_02_574508_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/904280111cb411800ccdf52eb3207e8d.jpg","text":"TemporaryFile(/tmp/multipartBody510009785914412436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810993818,"filename":"image_25012025_14_15_02_574508_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/73489ea48505bab96b765027019b0a0f.jpg","text":"TemporaryFile(/tmp/multipartBody3133909253042062669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737810993818,"filename":"image_25012025_14_14_02_382944_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331350481","file1":"1331350417","file0":"1331350412","file3":"1331350531"},"map_files_photo_id_array":[{"photo_id":"1331350481","filename":"file2"},{"photo_id":"1331350417","filename":"file1"},{"photo_id":"1331350412","filename":"file0"},{"photo_id":"1331350531","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331350531":["hashtag1","hashtag2"]},{"1331350417":["hashtag1","hashtag2"]},{"1331350481":["hashtag1","hashtag2"]},{"1331350412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331350531, 1331350417, 1331350481, 1331350412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.68821835517883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:16:22.596144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/15/image_25012025_14_15_02_574508_0003.jpg', '/home/pi/Desktop/images/25012025/14/16/image_25012025_14_16_02_804442_0000.jpg', '/home/pi/Desktop/images/25012025/14/16/image_25012025_14_16_02_804442_0001.jpg', '/home/pi/Desktop/images/25012025/14/16/image_25012025_14_16_02_804442_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/15/image_25012025_14_15_02_574508_0003.jpg
/home/pi/Desktop/images/25012025/14/16/image_25012025_14_16_02_804442_0000.jpg
/home/pi/Desktop/images/25012025/14/16/image_25012025_14_16_02_804442_0001.jpg
/home/pi/Desktop/images/25012025/14/16/image_25012025_14_16_02_804442_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 [200]>
b'{"photo_ids":["1331350675","1331350669","1331350689","1331350682"],"photo_ids_order":["1331350669","1331350675","1331350682","1331350689"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9c61e2aff8fe5d8f38a1b39a81c670b4.jpg","text":"TemporaryFile(/tmp/multipartBody606889404316654864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811053777,"filename":"image_25012025_14_16_02_804442_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/85c15bcbf6069b01f85b60543295b0dc.jpg","text":"TemporaryFile(/tmp/multipartBody7777872738508983321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811053777,"filename":"image_25012025_14_15_02_574508_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a310e4f303a941899fc47ce7871bd319.jpg","text":"TemporaryFile(/tmp/multipartBody5045846999148792510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811053777,"filename":"image_25012025_14_16_02_804442_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/20142473fe7162ed24185d5872802c7e.jpg","text":"TemporaryFile(/tmp/multipartBody7426443477797636649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811053777,"filename":"image_25012025_14_16_02_804442_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331350682","file1":"1331350675","file0":"1331350669","file3":"1331350689"},"map_files_photo_id_array":[{"photo_id":"1331350682","filename":"file2"},{"photo_id":"1331350675","filename":"file1"},{"photo_id":"1331350669","filename":"file0"},{"photo_id":"1331350689","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331350675":["hashtag1","hashtag2"]},{"1331350669":["hashtag1","hashtag2"]},{"1331350689":["hashtag1","hashtag2"]},{"1331350682":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331350675, 1331350669, 1331350689, 1331350682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.26799011230469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:17:22.856534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/16/image_25012025_14_16_02_804442_0003.jpg', '/home/pi/Desktop/images/25012025/14/17/image_25012025_14_17_02_974821_0000.jpg', '/home/pi/Desktop/images/25012025/14/17/image_25012025_14_17_02_974821_0001.jpg', '/home/pi/Desktop/images/25012025/14/17/image_25012025_14_17_02_974821_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/16/image_25012025_14_16_02_804442_0003.jpg
/home/pi/Desktop/images/25012025/14/17/image_25012025_14_17_02_974821_0000.jpg
/home/pi/Desktop/images/25012025/14/17/image_25012025_14_17_02_974821_0001.jpg
/home/pi/Desktop/images/25012025/14/17/image_25012025_14_17_02_974821_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 [200]>
b'{"photo_ids":["1331350753","1331350765","1331350759","1331350746"],"photo_ids_order":["1331350746","1331350753","1331350759","1331350765"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/95d874e56e5199c8079dcfe6230c4f8b.jpg","text":"TemporaryFile(/tmp/multipartBody1741406601761466685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811114484,"filename":"image_25012025_14_17_02_974821_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f2383c7bb0b60b6c497ec5b19ed99b8d.jpg","text":"TemporaryFile(/tmp/multipartBody7516282298557432853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811114484,"filename":"image_25012025_14_17_02_974821_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1d896af09f381a1cda52bedc9da49469.jpg","text":"TemporaryFile(/tmp/multipartBody7583740707157796014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811114484,"filename":"image_25012025_14_17_02_974821_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4601b0339f05eff81892d0e8fdb7dc5f.jpg","text":"TemporaryFile(/tmp/multipartBody8655519057814499818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811114484,"filename":"image_25012025_14_16_02_804442_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331350759","file1":"1331350753","file0":"1331350746","file3":"1331350765"},"map_files_photo_id_array":[{"photo_id":"1331350759","filename":"file2"},{"photo_id":"1331350753","filename":"file1"},{"photo_id":"1331350746","filename":"file0"},{"photo_id":"1331350765","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331350753":["hashtag1","hashtag2"]},{"1331350765":["hashtag1","hashtag2"]},{"1331350759":["hashtag1","hashtag2"]},{"1331350746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331350753, 1331350765, 1331350759, 1331350746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.03459405899048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:18:21.917419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/17/image_25012025_14_17_02_974821_0003.jpg', '/home/pi/Desktop/images/25012025/14/18/image_25012025_14_18_03_188386_0000.jpg', '/home/pi/Desktop/images/25012025/14/18/image_25012025_14_18_03_188386_0001.jpg', '/home/pi/Desktop/images/25012025/14/18/image_25012025_14_18_03_188386_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/17/image_25012025_14_17_02_974821_0003.jpg
/home/pi/Desktop/images/25012025/14/18/image_25012025_14_18_03_188386_0000.jpg
/home/pi/Desktop/images/25012025/14/18/image_25012025_14_18_03_188386_0001.jpg
/home/pi/Desktop/images/25012025/14/18/image_25012025_14_18_03_188386_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 [200]>
b'{"photo_ids":["1331350805","1331350811","1331350817","1331350792"],"photo_ids_order":["1331350792","1331350805","1331350811","1331350817"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ac75d07be1e9838125ee80a11f14a01d.jpg","text":"TemporaryFile(/tmp/multipartBody3371253080593772318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811173227,"filename":"image_25012025_14_18_03_188386_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/efbc903ed72eed6ce135d673524a19ab.jpg","text":"TemporaryFile(/tmp/multipartBody7181939517361824932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811173227,"filename":"image_25012025_14_18_03_188386_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5239bed4f08b844231b2b656cb3bc14a.jpg","text":"TemporaryFile(/tmp/multipartBody7340829428279191719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811173227,"filename":"image_25012025_14_18_03_188386_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/27d88969e1c064fdd9714a0a7319c3cc.jpg","text":"TemporaryFile(/tmp/multipartBody3033770486558135137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811173227,"filename":"image_25012025_14_17_02_974821_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331350811","file1":"1331350805","file0":"1331350792","file3":"1331350817"},"map_files_photo_id_array":[{"photo_id":"1331350811","filename":"file2"},{"photo_id":"1331350805","filename":"file1"},{"photo_id":"1331350792","filename":"file0"},{"photo_id":"1331350817","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331350805":["hashtag1","hashtag2"]},{"1331350811":["hashtag1","hashtag2"]},{"1331350817":["hashtag1","hashtag2"]},{"1331350792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331350805, 1331350811, 1331350817, 1331350792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.64171528816223 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:19:22.198883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/18/image_25012025_14_18_03_188386_0003.jpg', '/home/pi/Desktop/images/25012025/14/19/image_25012025_14_19_02_278963_0000.jpg', '/home/pi/Desktop/images/25012025/14/19/image_25012025_14_19_02_278963_0001.jpg', '/home/pi/Desktop/images/25012025/14/19/image_25012025_14_19_02_278963_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/18/image_25012025_14_18_03_188386_0003.jpg
/home/pi/Desktop/images/25012025/14/19/image_25012025_14_19_02_278963_0000.jpg
/home/pi/Desktop/images/25012025/14/19/image_25012025_14_19_02_278963_0001.jpg
/home/pi/Desktop/images/25012025/14/19/image_25012025_14_19_02_278963_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 [200]>
b'{"photo_ids":["1331351061","1331351085","1331351066","1331351083"],"photo_ids_order":["1331351061","1331351066","1331351083","1331351085"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6792d505886a24818cae0ea4f0827f57.jpg","text":"TemporaryFile(/tmp/multipartBody7712688409830676481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811233517,"filename":"image_25012025_14_18_03_188386_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dc2c0f9aeb21e717c7e39629a7dfbcd1.jpg","text":"TemporaryFile(/tmp/multipartBody6258868615129619352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811233517,"filename":"image_25012025_14_19_02_278963_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4129680f44f16607edcde5310123220a.jpg","text":"TemporaryFile(/tmp/multipartBody5333872122836795056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811233517,"filename":"image_25012025_14_19_02_278963_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a68e472cf11d0c36c9154cbbe103b001.jpg","text":"TemporaryFile(/tmp/multipartBody6682336139874719172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811233517,"filename":"image_25012025_14_19_02_278963_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331351083","file1":"1331351066","file0":"1331351061","file3":"1331351085"},"map_files_photo_id_array":[{"photo_id":"1331351083","filename":"file2"},{"photo_id":"1331351066","filename":"file1"},{"photo_id":"1331351061","filename":"file0"},{"photo_id":"1331351085","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331351061":["hashtag1","hashtag2"]},{"1331351085":["hashtag1","hashtag2"]},{"1331351066":["hashtag1","hashtag2"]},{"1331351083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331351061, 1331351085, 1331351066, 1331351083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.38037610054016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:20:22.363918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/19/image_25012025_14_19_02_278963_0003.jpg', '/home/pi/Desktop/images/25012025/14/20/image_25012025_14_20_02_459813_0000.jpg', '/home/pi/Desktop/images/25012025/14/20/image_25012025_14_20_02_459813_0001.jpg', '/home/pi/Desktop/images/25012025/14/20/image_25012025_14_20_02_459813_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/19/image_25012025_14_19_02_278963_0003.jpg
/home/pi/Desktop/images/25012025/14/20/image_25012025_14_20_02_459813_0000.jpg
/home/pi/Desktop/images/25012025/14/20/image_25012025_14_20_02_459813_0001.jpg
/home/pi/Desktop/images/25012025/14/20/image_25012025_14_20_02_459813_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":["1331351119","1331351110","1331351129","1331351105"],"photo_ids_order":["1331351105","1331351110","1331351119","1331351129"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bb6e49aa5b27f7786ade00a26f8ee78c.jpg","text":"TemporaryFile(/tmp/multipartBody7189390875921595085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811293820,"filename":"image_25012025_14_20_02_459813_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/751de2c0d7492e78d547e341fe171c6f.jpg","text":"TemporaryFile(/tmp/multipartBody7712744267406265062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811293820,"filename":"image_25012025_14_20_02_459813_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b41ca495f2bb0ff94bd877cfc796d881.jpg","text":"TemporaryFile(/tmp/multipartBody4649663739707065660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811293820,"filename":"image_25012025_14_20_02_459813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0e16b0fbd3d49ef78d2fff195d2ef5ac.jpg","text":"TemporaryFile(/tmp/multipartBody5415056153090276973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811293820,"filename":"image_25012025_14_19_02_278963_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331351119","file1":"1331351110","file0":"1331351105","file3":"1331351129"},"map_files_photo_id_array":[{"photo_id":"1331351119","filename":"file2"},{"photo_id":"1331351110","filename":"file1"},{"photo_id":"1331351105","filename":"file0"},{"photo_id":"1331351129","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331351119":["hashtag1","hashtag2"]},{"1331351110":["hashtag1","hashtag2"]},{"1331351129":["hashtag1","hashtag2"]},{"1331351105":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331351119, 1331351110, 1331351129, 1331351105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.54874277114868 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-25 14:21:22.443622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/20/image_25012025_14_20_02_459813_0003.jpg', '/home/pi/Desktop/images/25012025/14/21/image_25012025_14_21_02_692725_0000.jpg', '/home/pi/Desktop/images/25012025/14/21/image_25012025_14_21_02_692725_0001.jpg', '/home/pi/Desktop/images/25012025/14/21/image_25012025_14_21_02_692725_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/20/image_25012025_14_20_02_459813_0003.jpg
/home/pi/Desktop/images/25012025/14/21/image_25012025_14_21_02_692725_0000.jpg
/home/pi/Desktop/images/25012025/14/21/image_25012025_14_21_02_692725_0001.jpg
/home/pi/Desktop/images/25012025/14/21/image_25012025_14_21_02_692725_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 [200]>
b'{"photo_ids":["1331351331","1331351328","1331351409","1331351380"],"photo_ids_order":["1331351328","1331351331","1331351380","1331351409"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0b2874f893df8b42c07ba355fd9622d6.jpg","text":"TemporaryFile(/tmp/multipartBody7848025868483826989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811354037,"filename":"image_25012025_14_21_02_692725_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f3921a8dc864f153b296dd498e663cba.jpg","text":"TemporaryFile(/tmp/multipartBody3099526143426658524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811354037,"filename":"image_25012025_14_20_02_459813_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1b423626c4ebc1ea4fec9ebaccb485c9.jpg","text":"TemporaryFile(/tmp/multipartBody286193196309254909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811354037,"filename":"image_25012025_14_21_02_692725_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d61eadc4fc5f69649e4c649a1a374118.jpg","text":"TemporaryFile(/tmp/multipartBody6022995800650756004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811354037,"filename":"image_25012025_14_21_02_692725_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331351380","file1":"1331351331","file0":"1331351328","file3":"1331351409"},"map_files_photo_id_array":[{"photo_id":"1331351380","filename":"file2"},{"photo_id":"1331351331","filename":"file1"},{"photo_id":"1331351328","filename":"file0"},{"photo_id":"1331351409","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331351331":["hashtag1","hashtag2"]},{"1331351328":["hashtag1","hashtag2"]},{"1331351409":["hashtag1","hashtag2"]},{"1331351380":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331351331, 1331351328, 1331351409, 1331351380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.07875084877014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:22:22.691485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/21/image_25012025_14_21_02_692725_0003.jpg', '/home/pi/Desktop/images/25012025/14/22/image_25012025_14_22_02_835922_0000.jpg', '/home/pi/Desktop/images/25012025/14/22/image_25012025_14_22_02_835922_0001.jpg', '/home/pi/Desktop/images/25012025/14/22/image_25012025_14_22_02_835922_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/21/image_25012025_14_21_02_692725_0003.jpg
/home/pi/Desktop/images/25012025/14/22/image_25012025_14_22_02_835922_0000.jpg
/home/pi/Desktop/images/25012025/14/22/image_25012025_14_22_02_835922_0001.jpg
/home/pi/Desktop/images/25012025/14/22/image_25012025_14_22_02_835922_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 [200]>
b'{"photo_ids":["1331352530","1331352818","1331352725","1331352798"],"photo_ids_order":["1331352530","1331352725","1331352798","1331352818"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/485f07625193beea4808e92cdaaf24c7.jpg","text":"TemporaryFile(/tmp/multipartBody4987304231709782500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811413811,"filename":"image_25012025_14_21_02_692725_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7d98273d780871fbeaf4dbff6f53b829.jpg","text":"TemporaryFile(/tmp/multipartBody1723648191203755800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811413811,"filename":"image_25012025_14_22_02_835922_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cfd1c604bd5df99e8c30cfa37b09dd8c.jpg","text":"TemporaryFile(/tmp/multipartBody7567009810353414644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811413811,"filename":"image_25012025_14_22_02_835922_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/60bab41e3da02e2585bab8745fb9d2e2.jpg","text":"TemporaryFile(/tmp/multipartBody2492222709860532652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811413811,"filename":"image_25012025_14_22_02_835922_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331352798","file1":"1331352725","file0":"1331352530","file3":"1331352818"},"map_files_photo_id_array":[{"photo_id":"1331352798","filename":"file2"},{"photo_id":"1331352725","filename":"file1"},{"photo_id":"1331352530","filename":"file0"},{"photo_id":"1331352818","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331352530":["hashtag1","hashtag2"]},{"1331352818":["hashtag1","hashtag2"]},{"1331352725":["hashtag1","hashtag2"]},{"1331352798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331352530, 1331352818, 1331352725, 1331352798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.96017336845398 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:23:22.001538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/22/image_25012025_14_22_02_835922_0003.jpg', '/home/pi/Desktop/images/25012025/14/23/image_25012025_14_23_03_112523_0000.jpg', '/home/pi/Desktop/images/25012025/14/23/image_25012025_14_23_03_112523_0001.jpg', '/home/pi/Desktop/images/25012025/14/23/image_25012025_14_23_03_112523_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/22/image_25012025_14_22_02_835922_0003.jpg
/home/pi/Desktop/images/25012025/14/23/image_25012025_14_23_03_112523_0000.jpg
/home/pi/Desktop/images/25012025/14/23/image_25012025_14_23_03_112523_0001.jpg
/home/pi/Desktop/images/25012025/14/23/image_25012025_14_23_03_112523_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 [200]>
b'{"photo_ids":["1331352848","1331352991","1331352877","1331353176"],"photo_ids_order":["1331352848","1331352877","1331352991","1331353176"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/81c8f58fe4fbbf5035fe5e37633d693b.jpg","text":"TemporaryFile(/tmp/multipartBody1337914244831800176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811473446,"filename":"image_25012025_14_22_02_835922_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6ed2933d9b0fbdab2a3b0edef3faf835.jpg","text":"TemporaryFile(/tmp/multipartBody805201861578946452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811473446,"filename":"image_25012025_14_23_03_112523_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/64334099f4462b068065c3d33cdc3344.jpg","text":"TemporaryFile(/tmp/multipartBody638531542514104925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811473446,"filename":"image_25012025_14_23_03_112523_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2e75caf5a908c2b89aef4ce8e37a9f68.jpg","text":"TemporaryFile(/tmp/multipartBody4144844844876657075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811473446,"filename":"image_25012025_14_23_03_112523_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331352991","file1":"1331352877","file0":"1331352848","file3":"1331353176"},"map_files_photo_id_array":[{"photo_id":"1331352991","filename":"file2"},{"photo_id":"1331352877","filename":"file1"},{"photo_id":"1331352848","filename":"file0"},{"photo_id":"1331353176","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331352848":["hashtag1","hashtag2"]},{"1331352991":["hashtag1","hashtag2"]},{"1331352877":["hashtag1","hashtag2"]},{"1331353176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331352848, 1331352991, 1331352877, 1331353176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.965160846710205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:24:22.045251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/23/image_25012025_14_23_03_112523_0003.jpg', '/home/pi/Desktop/images/25012025/14/24/image_25012025_14_24_02_309854_0000.jpg', '/home/pi/Desktop/images/25012025/14/24/image_25012025_14_24_02_309854_0001.jpg', '/home/pi/Desktop/images/25012025/14/24/image_25012025_14_24_02_309854_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/23/image_25012025_14_23_03_112523_0003.jpg
/home/pi/Desktop/images/25012025/14/24/image_25012025_14_24_02_309854_0000.jpg
/home/pi/Desktop/images/25012025/14/24/image_25012025_14_24_02_309854_0001.jpg
/home/pi/Desktop/images/25012025/14/24/image_25012025_14_24_02_309854_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: 10.969215393066406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 14:24:42.082704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/23/image_25012025_14_23_03_112523_0003.jpg', '/home/pi/Desktop/images/25012025/14/24/image_25012025_14_24_02_309854_0000.jpg', '/home/pi/Desktop/images/25012025/14/24/image_25012025_14_24_02_309854_0001.jpg', '/home/pi/Desktop/images/25012025/14/24/image_25012025_14_24_02_309854_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/23/image_25012025_14_23_03_112523_0003.jpg
/home/pi/Desktop/images/25012025/14/24/image_25012025_14_24_02_309854_0000.jpg
/home/pi/Desktop/images/25012025/14/24/image_25012025_14_24_02_309854_0001.jpg
/home/pi/Desktop/images/25012025/14/24/image_25012025_14_24_02_309854_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":["1331353679","1331353474","1331353471","1331353692"],"photo_ids_order":["1331353471","1331353474","1331353679","1331353692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c9c10418506f3223274941ce2088a110.jpg","text":"TemporaryFile(/tmp/multipartBody1596329752336553351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811553440,"filename":"image_25012025_14_24_02_309854_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/198c1ba607c02c15428b9dcd7107c2de.jpg","text":"TemporaryFile(/tmp/multipartBody9124235200828876516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811553440,"filename":"image_25012025_14_24_02_309854_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a861c18ae3a1013041da932f1016abfe.jpg","text":"TemporaryFile(/tmp/multipartBody4880245953495371972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811553440,"filename":"image_25012025_14_23_03_112523_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b86e24053100b0a254df2c976fb08e13.jpg","text":"TemporaryFile(/tmp/multipartBody213471908207748047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811553440,"filename":"image_25012025_14_24_02_309854_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331353679","file1":"1331353474","file0":"1331353471","file3":"1331353692"},"map_files_photo_id_array":[{"photo_id":"1331353679","filename":"file2"},{"photo_id":"1331353474","filename":"file1"},{"photo_id":"1331353471","filename":"file0"},{"photo_id":"1331353692","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331353679":["hashtag1","hashtag2"]},{"1331353474":["hashtag1","hashtag2"]},{"1331353471":["hashtag1","hashtag2"]},{"1331353692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331353679, 1331353474, 1331353471, 1331353692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.734726905822754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 14:25:32.192234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/24/image_25012025_14_24_02_309854_0003.jpg', '/home/pi/Desktop/images/25012025/14/25/image_25012025_14_25_02_407647_0000.jpg', '/home/pi/Desktop/images/25012025/14/25/image_25012025_14_25_02_407647_0001.jpg', '/home/pi/Desktop/images/25012025/14/25/image_25012025_14_25_02_407647_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/24/image_25012025_14_24_02_309854_0003.jpg
/home/pi/Desktop/images/25012025/14/25/image_25012025_14_25_02_407647_0000.jpg
/home/pi/Desktop/images/25012025/14/25/image_25012025_14_25_02_407647_0001.jpg
/home/pi/Desktop/images/25012025/14/25/image_25012025_14_25_02_407647_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: 11.310088157653809 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 14:25:52.200782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/24/image_25012025_14_24_02_309854_0003.jpg', '/home/pi/Desktop/images/25012025/14/25/image_25012025_14_25_02_407647_0000.jpg', '/home/pi/Desktop/images/25012025/14/25/image_25012025_14_25_02_407647_0001.jpg', '/home/pi/Desktop/images/25012025/14/25/image_25012025_14_25_02_407647_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/24/image_25012025_14_24_02_309854_0003.jpg
/home/pi/Desktop/images/25012025/14/25/image_25012025_14_25_02_407647_0000.jpg
/home/pi/Desktop/images/25012025/14/25/image_25012025_14_25_02_407647_0001.jpg
/home/pi/Desktop/images/25012025/14/25/image_25012025_14_25_02_407647_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":["1331354213","1331354117","1331353918","1331354198"],"photo_ids_order":["1331353918","1331354117","1331354198","1331354213"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fdb84ec844a7d79a0e9402279d96a515.jpg","text":"TemporaryFile(/tmp/multipartBody3180788223191020577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811623882,"filename":"image_25012025_14_25_02_407647_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8d382bde2539a3ca6bc280fd53334f0d.jpg","text":"TemporaryFile(/tmp/multipartBody5606136936107940822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811623882,"filename":"image_25012025_14_25_02_407647_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4b376df3e94e52908e2869f1a8f09f7e.jpg","text":"TemporaryFile(/tmp/multipartBody3370419716474709575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811623882,"filename":"image_25012025_14_24_02_309854_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c085331fb6fa36d63b6172ceee742f4.jpg","text":"TemporaryFile(/tmp/multipartBody1032061074103969700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811623882,"filename":"image_25012025_14_25_02_407647_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331354198","file1":"1331354117","file0":"1331353918","file3":"1331354213"},"map_files_photo_id_array":[{"photo_id":"1331354198","filename":"file2"},{"photo_id":"1331354117","filename":"file1"},{"photo_id":"1331353918","filename":"file0"},{"photo_id":"1331354213","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331354213":["hashtag1","hashtag2"]},{"1331354117":["hashtag1","hashtag2"]},{"1331353918":["hashtag1","hashtag2"]},{"1331354198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331354213, 1331354117, 1331353918, 1331354198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.16439771652222 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 14:26:42.386813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/25/image_25012025_14_25_02_407647_0003.jpg', '/home/pi/Desktop/images/25012025/14/26/image_25012025_14_26_02_628403_0000.jpg', '/home/pi/Desktop/images/25012025/14/26/image_25012025_14_26_02_628403_0001.jpg', '/home/pi/Desktop/images/25012025/14/26/image_25012025_14_26_02_628403_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/25/image_25012025_14_25_02_407647_0003.jpg
/home/pi/Desktop/images/25012025/14/26/image_25012025_14_26_02_628403_0000.jpg
/home/pi/Desktop/images/25012025/14/26/image_25012025_14_26_02_628403_0001.jpg
/home/pi/Desktop/images/25012025/14/26/image_25012025_14_26_02_628403_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: 11.353479623794556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 14:27:03.297654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/25/image_25012025_14_25_02_407647_0003.jpg', '/home/pi/Desktop/images/25012025/14/26/image_25012025_14_26_02_628403_0000.jpg', '/home/pi/Desktop/images/25012025/14/26/image_25012025_14_26_02_628403_0001.jpg', '/home/pi/Desktop/images/25012025/14/26/image_25012025_14_26_02_628403_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/25/image_25012025_14_25_02_407647_0003.jpg
/home/pi/Desktop/images/25012025/14/26/image_25012025_14_26_02_628403_0000.jpg
/home/pi/Desktop/images/25012025/14/26/image_25012025_14_26_02_628403_0001.jpg
/home/pi/Desktop/images/25012025/14/26/image_25012025_14_26_02_628403_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":["1331354249","1331354253","1331354256","1331354250"],"photo_ids_order":["1331354249","1331354250","1331354253","1331354256"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/09f6823b17b4cec07cb4717018977ce5.jpg","text":"TemporaryFile(/tmp/multipartBody6006261505826707436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811695093,"filename":"image_25012025_14_25_02_407647_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c2e488e7bce31f6b2c7a3c89af9d7fea.jpg","text":"TemporaryFile(/tmp/multipartBody243546370643386872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811695093,"filename":"image_25012025_14_26_02_628403_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/98585cc24ae028a69d750f3ec57837e5.jpg","text":"TemporaryFile(/tmp/multipartBody414697736989106432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811695093,"filename":"image_25012025_14_26_02_628403_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2150533c63bf1c7065c490916fc135fa.jpg","text":"TemporaryFile(/tmp/multipartBody3177221030235008639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811695093,"filename":"image_25012025_14_26_02_628403_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331354253","file1":"1331354250","file0":"1331354249","file3":"1331354256"},"map_files_photo_id_array":[{"photo_id":"1331354253","filename":"file2"},{"photo_id":"1331354250","filename":"file1"},{"photo_id":"1331354249","filename":"file0"},{"photo_id":"1331354256","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331354249":["hashtag1","hashtag2"]},{"1331354253":["hashtag1","hashtag2"]},{"1331354256":["hashtag1","hashtag2"]},{"1331354250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331354249, 1331354253, 1331354256, 1331354250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.31454944610596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 14:27:52.542794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/26/image_25012025_14_26_02_628403_0003.jpg', '/home/pi/Desktop/images/25012025/14/27/image_25012025_14_27_02_818667_0000.jpg', '/home/pi/Desktop/images/25012025/14/27/image_25012025_14_27_02_818667_0001.jpg', '/home/pi/Desktop/images/25012025/14/27/image_25012025_14_27_02_818667_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/26/image_25012025_14_26_02_628403_0003.jpg
/home/pi/Desktop/images/25012025/14/27/image_25012025_14_27_02_818667_0000.jpg
/home/pi/Desktop/images/25012025/14/27/image_25012025_14_27_02_818667_0001.jpg
/home/pi/Desktop/images/25012025/14/27/image_25012025_14_27_02_818667_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":["1331354299","1331354286","1331354289","1331354283"],"photo_ids_order":["1331354283","1331354286","1331354289","1331354299"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/45f54ed346fdd3f376f6ed0ec4fd471b.jpg","text":"TemporaryFile(/tmp/multipartBody3355540699500341420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811743677,"filename":"image_25012025_14_27_02_818667_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/72876abe571642b334c16656c641e9a3.jpg","text":"TemporaryFile(/tmp/multipartBody3380278137030335747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811743677,"filename":"image_25012025_14_27_02_818667_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/532cd4e8cf2d3f236955f373bb1cf6cb.jpg","text":"TemporaryFile(/tmp/multipartBody7740207247701128273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811743677,"filename":"image_25012025_14_27_02_818667_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d6d0894172d015408b108f819528315f.jpg","text":"TemporaryFile(/tmp/multipartBody3742623824412529186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811743677,"filename":"image_25012025_14_26_02_628403_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331354289","file1":"1331354286","file0":"1331354283","file3":"1331354299"},"map_files_photo_id_array":[{"photo_id":"1331354289","filename":"file2"},{"photo_id":"1331354286","filename":"file1"},{"photo_id":"1331354283","filename":"file0"},{"photo_id":"1331354299","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331354299":["hashtag1","hashtag2"]},{"1331354286":["hashtag1","hashtag2"]},{"1331354289":["hashtag1","hashtag2"]},{"1331354283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331354299, 1331354286, 1331354289, 1331354283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.98349380493164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 14:28:42.772458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/27/image_25012025_14_27_02_818667_0003.jpg', '/home/pi/Desktop/images/25012025/14/28/image_25012025_14_28_02_957776_0000.jpg', '/home/pi/Desktop/images/25012025/14/28/image_25012025_14_28_02_957776_0001.jpg', '/home/pi/Desktop/images/25012025/14/28/image_25012025_14_28_02_957776_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/27/image_25012025_14_27_02_818667_0003.jpg
/home/pi/Desktop/images/25012025/14/28/image_25012025_14_28_02_957776_0000.jpg
/home/pi/Desktop/images/25012025/14/28/image_25012025_14_28_02_957776_0001.jpg
/home/pi/Desktop/images/25012025/14/28/image_25012025_14_28_02_957776_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":["1331354377","1331354364","1331354373","1331354381"],"photo_ids_order":["1331354364","1331354373","1331354377","1331354381"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a10fe2f0f7fe5634bf10149e91134937.jpg","text":"TemporaryFile(/tmp/multipartBody7947135814622707275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811794258,"filename":"image_25012025_14_28_02_957776_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/05608ea33b5eb6d3a1332b744663030b.jpg","text":"TemporaryFile(/tmp/multipartBody678426442603639527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811794258,"filename":"image_25012025_14_27_02_818667_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/39edf059688b1e2d2dad187faaeec613.jpg","text":"TemporaryFile(/tmp/multipartBody8499867367589775388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811794258,"filename":"image_25012025_14_28_02_957776_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b163fd272aaadcadfd889f10f05bc7aa.jpg","text":"TemporaryFile(/tmp/multipartBody7457408993121295355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811794258,"filename":"image_25012025_14_28_02_957776_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331354377","file1":"1331354373","file0":"1331354364","file3":"1331354381"},"map_files_photo_id_array":[{"photo_id":"1331354377","filename":"file2"},{"photo_id":"1331354373","filename":"file1"},{"photo_id":"1331354364","filename":"file0"},{"photo_id":"1331354381","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331354377":["hashtag1","hashtag2"]},{"1331354364":["hashtag1","hashtag2"]},{"1331354373":["hashtag1","hashtag2"]},{"1331354381":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331354377, 1331354364, 1331354373, 1331354381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.36794686317444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 14:29:31.943740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/28/image_25012025_14_28_02_957776_0003.jpg', '/home/pi/Desktop/images/25012025/14/29/image_25012025_14_29_03_138286_0000.jpg', '/home/pi/Desktop/images/25012025/14/29/image_25012025_14_29_03_138286_0001.jpg', '/home/pi/Desktop/images/25012025/14/29/image_25012025_14_29_03_138286_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/28/image_25012025_14_28_02_957776_0003.jpg
/home/pi/Desktop/images/25012025/14/29/image_25012025_14_29_03_138286_0000.jpg
/home/pi/Desktop/images/25012025/14/29/image_25012025_14_29_03_138286_0001.jpg
/home/pi/Desktop/images/25012025/14/29/image_25012025_14_29_03_138286_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":["1331354584","1331354560","1331354571","1331354529"],"photo_ids_order":["1331354529","1331354560","1331354571","1331354584"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bcec7f45db0c560c461442d1859fb16d.jpg","text":"TemporaryFile(/tmp/multipartBody7493025731950814450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811843447,"filename":"image_25012025_14_29_03_138286_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2e052000250a42ad170dad4137a0a8dd.jpg","text":"TemporaryFile(/tmp/multipartBody6811835343830027688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811843447,"filename":"image_25012025_14_29_03_138286_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/59ecd639a80aa3dcb04b846d89561856.jpg","text":"TemporaryFile(/tmp/multipartBody5536562325781237774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811843447,"filename":"image_25012025_14_29_03_138286_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/59cb3e541fb5afe0cd94014071cd006d.jpg","text":"TemporaryFile(/tmp/multipartBody7309811241983139420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811843447,"filename":"image_25012025_14_28_02_957776_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331354571","file1":"1331354560","file0":"1331354529","file3":"1331354584"},"map_files_photo_id_array":[{"photo_id":"1331354571","filename":"file2"},{"photo_id":"1331354560","filename":"file1"},{"photo_id":"1331354529","filename":"file0"},{"photo_id":"1331354584","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331354584":["hashtag1","hashtag2"]},{"1331354560":["hashtag1","hashtag2"]},{"1331354571":["hashtag1","hashtag2"]},{"1331354529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331354584, 1331354560, 1331354571, 1331354529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.24267244338989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:30:22.196473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/29/image_25012025_14_29_03_138286_0003.jpg', '/home/pi/Desktop/images/25012025/14/30/image_25012025_14_30_02_251872_0000.jpg', '/home/pi/Desktop/images/25012025/14/30/image_25012025_14_30_02_251872_0001.jpg', '/home/pi/Desktop/images/25012025/14/30/image_25012025_14_30_02_251872_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/29/image_25012025_14_29_03_138286_0003.jpg
/home/pi/Desktop/images/25012025/14/30/image_25012025_14_30_02_251872_0000.jpg
/home/pi/Desktop/images/25012025/14/30/image_25012025_14_30_02_251872_0001.jpg
/home/pi/Desktop/images/25012025/14/30/image_25012025_14_30_02_251872_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 [200]>
b'{"photo_ids":["1331354735","1331354716","1331354730","1331354724"],"photo_ids_order":["1331354716","1331354724","1331354730","1331354735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4c4835d79913dfeba1ac31e9214d5dd8.jpg","text":"TemporaryFile(/tmp/multipartBody5698906756462975872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811893773,"filename":"image_25012025_14_30_02_251872_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fc6aeb8881c705abb97be134c9948d2f.jpg","text":"TemporaryFile(/tmp/multipartBody459187009866438760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811893773,"filename":"image_25012025_14_29_03_138286_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/abe259bdc164b984659ed7a2fd9101b0.jpg","text":"TemporaryFile(/tmp/multipartBody3387682126628431289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811893773,"filename":"image_25012025_14_30_02_251872_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/381339a7cae771fb0c3a0f6848d2b628.jpg","text":"TemporaryFile(/tmp/multipartBody571956584062634653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811893773,"filename":"image_25012025_14_30_02_251872_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331354730","file1":"1331354724","file0":"1331354716","file3":"1331354735"},"map_files_photo_id_array":[{"photo_id":"1331354730","filename":"file2"},{"photo_id":"1331354724","filename":"file1"},{"photo_id":"1331354716","filename":"file0"},{"photo_id":"1331354735","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331354735":["hashtag1","hashtag2"]},{"1331354716":["hashtag1","hashtag2"]},{"1331354730":["hashtag1","hashtag2"]},{"1331354724":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331354735, 1331354716, 1331354730, 1331354724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.860105752944946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:31:22.267495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/30/image_25012025_14_30_02_251872_0003.jpg', '/home/pi/Desktop/images/25012025/14/31/image_25012025_14_31_02_428141_0000.jpg', '/home/pi/Desktop/images/25012025/14/31/image_25012025_14_31_02_428141_0001.jpg', '/home/pi/Desktop/images/25012025/14/31/image_25012025_14_31_02_428141_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/30/image_25012025_14_30_02_251872_0003.jpg
/home/pi/Desktop/images/25012025/14/31/image_25012025_14_31_02_428141_0000.jpg
/home/pi/Desktop/images/25012025/14/31/image_25012025_14_31_02_428141_0001.jpg
/home/pi/Desktop/images/25012025/14/31/image_25012025_14_31_02_428141_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 [200]>
b'{"photo_ids":["1331354793","1331354787","1331354790","1331354784"],"photo_ids_order":["1331354784","1331354787","1331354790","1331354793"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b8b9eca5734b04293fd80066ec154035.jpg","text":"TemporaryFile(/tmp/multipartBody1451073131594823230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811953897,"filename":"image_25012025_14_31_02_428141_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ef8a045d4a5c5ab475f7666510611f47.jpg","text":"TemporaryFile(/tmp/multipartBody801988729775996137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811953897,"filename":"image_25012025_14_31_02_428141_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0264caabfe64587a34940e28db1ca379.jpg","text":"TemporaryFile(/tmp/multipartBody2179152400510204979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811953897,"filename":"image_25012025_14_31_02_428141_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1ead3a564777ff1f7d9460faf070cd4f.jpg","text":"TemporaryFile(/tmp/multipartBody7888067967909515433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737811953897,"filename":"image_25012025_14_30_02_251872_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331354790","file1":"1331354787","file0":"1331354784","file3":"1331354793"},"map_files_photo_id_array":[{"photo_id":"1331354790","filename":"file2"},{"photo_id":"1331354787","filename":"file1"},{"photo_id":"1331354784","filename":"file0"},{"photo_id":"1331354793","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331354793":["hashtag1","hashtag2"]},{"1331354787":["hashtag1","hashtag2"]},{"1331354790":["hashtag1","hashtag2"]},{"1331354784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331354793, 1331354787, 1331354790, 1331354784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.20630192756653 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:32:22.570162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/31/image_25012025_14_31_02_428141_0003.jpg', '/home/pi/Desktop/images/25012025/14/32/image_25012025_14_32_02_630350_0000.jpg', '/home/pi/Desktop/images/25012025/14/32/image_25012025_14_32_02_630350_0001.jpg', '/home/pi/Desktop/images/25012025/14/32/image_25012025_14_32_02_630350_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/31/image_25012025_14_31_02_428141_0003.jpg
/home/pi/Desktop/images/25012025/14/32/image_25012025_14_32_02_630350_0000.jpg
/home/pi/Desktop/images/25012025/14/32/image_25012025_14_32_02_630350_0001.jpg
/home/pi/Desktop/images/25012025/14/32/image_25012025_14_32_02_630350_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 [200]>
b'{"photo_ids":["1331354855","1331354849","1331354840","1331354844"],"photo_ids_order":["1331354840","1331354844","1331354849","1331354855"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/508a5a4ebc64980143543575bdae3226.jpg","text":"TemporaryFile(/tmp/multipartBody2179535200494460534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812014173,"filename":"image_25012025_14_32_02_630350_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aa9052bbc5e1069e1f297fdbb92061a7.jpg","text":"TemporaryFile(/tmp/multipartBody9070883492759536277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812014173,"filename":"image_25012025_14_32_02_630350_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ad0eb2a9f4129c3962d6a2a9aba9bd98.jpg","text":"TemporaryFile(/tmp/multipartBody470707498774493776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812014173,"filename":"image_25012025_14_31_02_428141_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/73b15c16c79e1abb9bcee42fcc15a7d0.jpg","text":"TemporaryFile(/tmp/multipartBody5227139278837671816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812014173,"filename":"image_25012025_14_32_02_630350_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331354849","file1":"1331354844","file0":"1331354840","file3":"1331354855"},"map_files_photo_id_array":[{"photo_id":"1331354849","filename":"file2"},{"photo_id":"1331354844","filename":"file1"},{"photo_id":"1331354840","filename":"file0"},{"photo_id":"1331354855","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331354855":["hashtag1","hashtag2"]},{"1331354849":["hashtag1","hashtag2"]},{"1331354840":["hashtag1","hashtag2"]},{"1331354844":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331354855, 1331354849, 1331354840, 1331354844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.76934266090393 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:33:22.687821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/32/image_25012025_14_32_02_630350_0003.jpg', '/home/pi/Desktop/images/25012025/14/33/image_25012025_14_33_02_895412_0000.jpg', '/home/pi/Desktop/images/25012025/14/33/image_25012025_14_33_02_895412_0001.jpg', '/home/pi/Desktop/images/25012025/14/33/image_25012025_14_33_02_895412_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/32/image_25012025_14_32_02_630350_0003.jpg
/home/pi/Desktop/images/25012025/14/33/image_25012025_14_33_02_895412_0000.jpg
/home/pi/Desktop/images/25012025/14/33/image_25012025_14_33_02_895412_0001.jpg
/home/pi/Desktop/images/25012025/14/33/image_25012025_14_33_02_895412_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 [200]>
b'{"photo_ids":["1331355444","1331355429","1331355440","1331355434"],"photo_ids_order":["1331355429","1331355434","1331355440","1331355444"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/557166ceef743a4d646191d3fd6aab27.jpg","text":"TemporaryFile(/tmp/multipartBody3115950266670914820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812074156,"filename":"image_25012025_14_33_02_895412_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5d3bfa51fca023f7a9601f93b31b990e.jpg","text":"TemporaryFile(/tmp/multipartBody2677376839811907246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812074156,"filename":"image_25012025_14_32_02_630350_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/593076738c8a32e948e65f90ffc468f6.jpg","text":"TemporaryFile(/tmp/multipartBody7257689738674714035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812074156,"filename":"image_25012025_14_33_02_895412_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/17a99aa8156e2623892cecdd7174beaa.jpg","text":"TemporaryFile(/tmp/multipartBody6028234894524445541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812074156,"filename":"image_25012025_14_33_02_895412_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331355440","file1":"1331355434","file0":"1331355429","file3":"1331355444"},"map_files_photo_id_array":[{"photo_id":"1331355440","filename":"file2"},{"photo_id":"1331355434","filename":"file1"},{"photo_id":"1331355429","filename":"file0"},{"photo_id":"1331355444","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331355444":["hashtag1","hashtag2"]},{"1331355429":["hashtag1","hashtag2"]},{"1331355440":["hashtag1","hashtag2"]},{"1331355434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331355444, 1331355429, 1331355440, 1331355434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.146570920944214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:34:21.813156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/33/image_25012025_14_33_02_895412_0003.jpg', '/home/pi/Desktop/images/25012025/14/34/image_25012025_14_34_03_001057_0000.jpg', '/home/pi/Desktop/images/25012025/14/34/image_25012025_14_34_03_001057_0001.jpg', '/home/pi/Desktop/images/25012025/14/34/image_25012025_14_34_03_001057_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/33/image_25012025_14_33_02_895412_0003.jpg
/home/pi/Desktop/images/25012025/14/34/image_25012025_14_34_03_001057_0000.jpg
/home/pi/Desktop/images/25012025/14/34/image_25012025_14_34_03_001057_0001.jpg
/home/pi/Desktop/images/25012025/14/34/image_25012025_14_34_03_001057_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":["1331355719","1331355903","1331355726","1331355731"],"photo_ids_order":["1331355719","1331355726","1331355731","1331355903"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fbfdf36521418c2c84f9a4016ba36202.jpg","text":"TemporaryFile(/tmp/multipartBody4328648991262223174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812133260,"filename":"image_25012025_14_33_02_895412_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c0e2a0adb7bb72e73f1569833e2122dc.jpg","text":"TemporaryFile(/tmp/multipartBody2165673530827788637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812133260,"filename":"image_25012025_14_34_03_001057_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/86d1aa3b85870e3a6a018fb39a5501fb.jpg","text":"TemporaryFile(/tmp/multipartBody4755894958370377851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812133260,"filename":"image_25012025_14_34_03_001057_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/19b02670c2a3344686afdbd85d965567.jpg","text":"TemporaryFile(/tmp/multipartBody6135058158162887935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812133260,"filename":"image_25012025_14_34_03_001057_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331355731","file1":"1331355726","file0":"1331355719","file3":"1331355903"},"map_files_photo_id_array":[{"photo_id":"1331355731","filename":"file2"},{"photo_id":"1331355726","filename":"file1"},{"photo_id":"1331355719","filename":"file0"},{"photo_id":"1331355903","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331355719":["hashtag1","hashtag2"]},{"1331355903":["hashtag1","hashtag2"]},{"1331355726":["hashtag1","hashtag2"]},{"1331355731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331355719, 1331355903, 1331355726, 1331355731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.20846462249756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 14:35:02.481605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/12/image_21012025_21_12_02_656162_0002.jpg', '/home/pi/Desktop/images/21012025/21/12/image_21012025_21_12_02_656162_0003.jpg', '/home/pi/Desktop/images/21012025/21/13/image_21012025_21_13_02_941055_0000.jpg', '/home/pi/Desktop/images/21012025/21/13/image_21012025_21_13_02_941055_0001.jpg', '/home/pi/Desktop/images/21012025/21/13/image_21012025_21_13_02_941055_0002.jpg', '/home/pi/Desktop/images/21012025/21/13/image_21012025_21_13_02_941055_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/21/12/image_21012025_21_12_02_656162_0002.jpg
/home/pi/Desktop/images/21012025/21/12/image_21012025_21_12_02_656162_0003.jpg
/home/pi/Desktop/images/21012025/21/13/image_21012025_21_13_02_941055_0000.jpg
/home/pi/Desktop/images/21012025/21/13/image_21012025_21_13_02_941055_0001.jpg
/home/pi/Desktop/images/21012025/21/13/image_21012025_21_13_02_941055_0002.jpg
/home/pi/Desktop/images/21012025/21/13/image_21012025_21_13_02_941055_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 [200]>
b'{"photo_ids":["1331355934","1331355927","1331355930","1331355924","1331355944","1331355938"],"photo_ids_order":["1331355924","1331355927","1331355930","1331355934","1331355938","1331355944"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6655585cf9c31dfb5d7c5643b7f68ecb.jpg","text":"TemporaryFile(/tmp/multipartBody3887612967444055070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812178445,"filename":"image_21012025_21_13_02_941055_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3525cf302c1ead5701d0b981f46c6e10.jpg","text":"TemporaryFile(/tmp/multipartBody8327043550324665985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812178445,"filename":"image_21012025_21_12_02_656162_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a1b8469d415a2fb11e67a4974ac1f8da.jpg","text":"TemporaryFile(/tmp/multipartBody5339058889507902438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812178445,"filename":"image_21012025_21_13_02_941055_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9c15956689e04f300d4782117c254e5a.jpg","text":"TemporaryFile(/tmp/multipartBody2881434500755963535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812178445,"filename":"image_21012025_21_12_02_656162_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/615f9544e2777ce30ca36e381e8787b3.jpg","text":"TemporaryFile(/tmp/multipartBody1422308357097052914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812178445,"filename":"image_21012025_21_13_02_941055_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f9af065af11d43c676c821746df460b2.jpg","text":"TemporaryFile(/tmp/multipartBody4516960464982801570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812178445,"filename":"image_21012025_21_13_02_941055_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331355930","file1":"1331355927","file0":"1331355924","file4":"1331355938","file5":"1331355944","file3":"1331355934"},"map_files_photo_id_array":[{"photo_id":"1331355944","filename":"file5"},{"photo_id":"1331355930","filename":"file2"},{"photo_id":"1331355938","filename":"file4"},{"photo_id":"1331355927","filename":"file1"},{"photo_id":"1331355924","filename":"file0"},{"photo_id":"1331355934","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331355934":["hashtag1","hashtag2"]},{"1331355927":["hashtag1","hashtag2"]},{"1331355930":["hashtag1","hashtag2"]},{"1331355924":["hashtag1","hashtag2"]},{"1331355944":["hashtag1","hashtag2"]},{"1331355938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331355934, 1331355927, 1331355930, 1331355924, 1331355944, 1331355938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.74129271507263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 14:36:02.646977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/34/image_25012025_14_34_03_001057_0003.jpg', '/home/pi/Desktop/images/25012025/14/35/image_25012025_14_35_02_177076_0000.jpg', '/home/pi/Desktop/images/25012025/14/35/image_25012025_14_35_02_177076_0001.jpg', '/home/pi/Desktop/images/25012025/14/35/image_25012025_14_35_02_177076_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/34/image_25012025_14_34_03_001057_0003.jpg
/home/pi/Desktop/images/25012025/14/35/image_25012025_14_35_02_177076_0000.jpg
/home/pi/Desktop/images/25012025/14/35/image_25012025_14_35_02_177076_0001.jpg
/home/pi/Desktop/images/25012025/14/35/image_25012025_14_35_02_177076_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":["1331356152","1331356110","1331356148","1331356124"],"photo_ids_order":["1331356110","1331356124","1331356148","1331356152"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/825c8b93be05f9dabe8d9e1d15fad325.jpg","text":"TemporaryFile(/tmp/multipartBody7450526007374251183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812234432,"filename":"image_25012025_14_35_02_177076_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/69fdc52748854a5b2236d8de3cd40098.jpg","text":"TemporaryFile(/tmp/multipartBody2117432649288676296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812234432,"filename":"image_25012025_14_34_03_001057_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1c68c90a7f27fa69cd5d35ff3c96ff73.jpg","text":"TemporaryFile(/tmp/multipartBody5532342761666393091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812234432,"filename":"image_25012025_14_35_02_177076_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/77e16c99ad7b3850b1595589eaf52397.jpg","text":"TemporaryFile(/tmp/multipartBody244705953586435032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812234432,"filename":"image_25012025_14_35_02_177076_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331356148","file1":"1331356124","file0":"1331356110","file3":"1331356152"},"map_files_photo_id_array":[{"photo_id":"1331356148","filename":"file2"},{"photo_id":"1331356124","filename":"file1"},{"photo_id":"1331356110","filename":"file0"},{"photo_id":"1331356152","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331356152":["hashtag1","hashtag2"]},{"1331356110":["hashtag1","hashtag2"]},{"1331356148":["hashtag1","hashtag2"]},{"1331356124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331356152, 1331356110, 1331356148, 1331356124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.01438331604004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 14:36:52.109272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/35/image_25012025_14_35_02_177076_0003.jpg', '/home/pi/Desktop/images/25012025/14/36/image_25012025_14_36_02_274663_0000.jpg', '/home/pi/Desktop/images/25012025/14/36/image_25012025_14_36_02_274663_0001.jpg', '/home/pi/Desktop/images/25012025/14/36/image_25012025_14_36_02_274663_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/35/image_25012025_14_35_02_177076_0003.jpg
/home/pi/Desktop/images/25012025/14/36/image_25012025_14_36_02_274663_0000.jpg
/home/pi/Desktop/images/25012025/14/36/image_25012025_14_36_02_274663_0001.jpg
/home/pi/Desktop/images/25012025/14/36/image_25012025_14_36_02_274663_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: 11.188444375991821 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:37:22.300943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/35/image_25012025_14_35_02_177076_0003.jpg', '/home/pi/Desktop/images/25012025/14/36/image_25012025_14_36_02_274663_0000.jpg', '/home/pi/Desktop/images/25012025/14/36/image_25012025_14_36_02_274663_0001.jpg', '/home/pi/Desktop/images/25012025/14/36/image_25012025_14_36_02_274663_0002.jpg', '/home/pi/Desktop/images/25012025/14/36/image_25012025_14_36_02_274663_0003.jpg', '/home/pi/Desktop/images/25012025/14/37/image_25012025_14_37_02_502566_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/35/image_25012025_14_35_02_177076_0003.jpg
/home/pi/Desktop/images/25012025/14/36/image_25012025_14_36_02_274663_0000.jpg
/home/pi/Desktop/images/25012025/14/36/image_25012025_14_36_02_274663_0001.jpg
/home/pi/Desktop/images/25012025/14/36/image_25012025_14_36_02_274663_0002.jpg
/home/pi/Desktop/images/25012025/14/36/image_25012025_14_36_02_274663_0003.jpg
/home/pi/Desktop/images/25012025/14/37/image_25012025_14_37_02_502566_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 [200]>
b'{"photo_ids":["1331356633","1331356638","1331356661","1331356655","1331356577","1331356670"],"photo_ids_order":["1331356577","1331356633","1331356638","1331356655","1331356661","1331356670"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a505a7ccb7f53824135a85b691daad26.jpg","text":"TemporaryFile(/tmp/multipartBody6826104117542425122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812319379,"filename":"image_25012025_14_36_02_274663_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/27c535dcd82bbc86a8b301a7ff26be07.jpg","text":"TemporaryFile(/tmp/multipartBody3681067185313501576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812319379,"filename":"image_25012025_14_36_02_274663_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d2fa18de0e609bcd4071221cc7d4b3d3.jpg","text":"TemporaryFile(/tmp/multipartBody4251984985736174530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812319379,"filename":"image_25012025_14_36_02_274663_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cca43242a185f6779cd99f3afca61843.jpg","text":"TemporaryFile(/tmp/multipartBody4771334602124600182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812319379,"filename":"image_25012025_14_36_02_274663_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/da327f5442223edbbafe64a0659081b4.jpg","text":"TemporaryFile(/tmp/multipartBody6373704217077318138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812319379,"filename":"image_25012025_14_35_02_177076_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e8592fcc1f51faa34e6b21c75a649c5d.jpg","text":"TemporaryFile(/tmp/multipartBody3293314823464615978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812319379,"filename":"image_25012025_14_37_02_502566_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331356638","file1":"1331356633","file0":"1331356577","file4":"1331356661","file5":"1331356670","file3":"1331356655"},"map_files_photo_id_array":[{"photo_id":"1331356670","filename":"file5"},{"photo_id":"1331356638","filename":"file2"},{"photo_id":"1331356661","filename":"file4"},{"photo_id":"1331356633","filename":"file1"},{"photo_id":"1331356577","filename":"file0"},{"photo_id":"1331356655","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331356633":["hashtag1","hashtag2"]},{"1331356638":["hashtag1","hashtag2"]},{"1331356661":["hashtag1","hashtag2"]},{"1331356655":["hashtag1","hashtag2"]},{"1331356577":["hashtag1","hashtag2"]},{"1331356670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331356633, 1331356638, 1331356661, 1331356655, 1331356577, 1331356670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.854100465774536 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:38:22.517976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/37/image_25012025_14_37_02_502566_0001.jpg', '/home/pi/Desktop/images/25012025/14/37/image_25012025_14_37_02_502566_0002.jpg', '/home/pi/Desktop/images/25012025/14/37/image_25012025_14_37_02_502566_0003.jpg', '/home/pi/Desktop/images/25012025/14/38/image_25012025_14_38_02_661530_0000.jpg', '/home/pi/Desktop/images/25012025/14/38/image_25012025_14_38_02_661530_0001.jpg', '/home/pi/Desktop/images/25012025/14/38/image_25012025_14_38_02_661530_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/37/image_25012025_14_37_02_502566_0001.jpg
/home/pi/Desktop/images/25012025/14/37/image_25012025_14_37_02_502566_0002.jpg
/home/pi/Desktop/images/25012025/14/37/image_25012025_14_37_02_502566_0003.jpg
/home/pi/Desktop/images/25012025/14/38/image_25012025_14_38_02_661530_0000.jpg
/home/pi/Desktop/images/25012025/14/38/image_25012025_14_38_02_661530_0001.jpg
/home/pi/Desktop/images/25012025/14/38/image_25012025_14_38_02_661530_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 [200]>
b'{"photo_ids":["1331356789","1331356780","1331356774","1331356785","1331356793","1331356792"],"photo_ids_order":["1331356774","1331356780","1331356785","1331356789","1331356792","1331356793"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bd2aae3877cfa864860c62d099031d3e.jpg","text":"TemporaryFile(/tmp/multipartBody5144293294270453869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812379596,"filename":"image_25012025_14_38_02_661530_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7000821d22db7acef2c69b27e0ef4893.jpg","text":"TemporaryFile(/tmp/multipartBody2562101924549959284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812379596,"filename":"image_25012025_14_37_02_502566_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/18a5fa6fe3fcc159aac1135942bd0421.jpg","text":"TemporaryFile(/tmp/multipartBody5369636853923019623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812379596,"filename":"image_25012025_14_37_02_502566_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/066d4ed76df56d77041c41c6039eaf87.jpg","text":"TemporaryFile(/tmp/multipartBody28112271697039736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812379596,"filename":"image_25012025_14_37_02_502566_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/edcce4c488376597826e243344e0ca05.jpg","text":"TemporaryFile(/tmp/multipartBody5873313199101782613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812379596,"filename":"image_25012025_14_38_02_661530_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/86f7c16d4370a2a7cb880b0933d80915.jpg","text":"TemporaryFile(/tmp/multipartBody1789395363120615750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812379596,"filename":"image_25012025_14_38_02_661530_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331356785","file1":"1331356780","file0":"1331356774","file4":"1331356792","file5":"1331356793","file3":"1331356789"},"map_files_photo_id_array":[{"photo_id":"1331356793","filename":"file5"},{"photo_id":"1331356785","filename":"file2"},{"photo_id":"1331356792","filename":"file4"},{"photo_id":"1331356780","filename":"file1"},{"photo_id":"1331356774","filename":"file0"},{"photo_id":"1331356789","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331356789":["hashtag1","hashtag2"]},{"1331356780":["hashtag1","hashtag2"]},{"1331356774":["hashtag1","hashtag2"]},{"1331356785":["hashtag1","hashtag2"]},{"1331356793":["hashtag1","hashtag2"]},{"1331356792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331356789, 1331356780, 1331356774, 1331356785, 1331356793, 1331356792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.62644076347351 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:39:22.706189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/38/image_25012025_14_38_02_661530_0003.jpg', '/home/pi/Desktop/images/25012025/14/39/image_25012025_14_39_02_811610_0000.jpg', '/home/pi/Desktop/images/25012025/14/39/image_25012025_14_39_02_811610_0001.jpg', '/home/pi/Desktop/images/25012025/14/39/image_25012025_14_39_02_811610_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/38/image_25012025_14_38_02_661530_0003.jpg
/home/pi/Desktop/images/25012025/14/39/image_25012025_14_39_02_811610_0000.jpg
/home/pi/Desktop/images/25012025/14/39/image_25012025_14_39_02_811610_0001.jpg
/home/pi/Desktop/images/25012025/14/39/image_25012025_14_39_02_811610_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 [200]>
b'{"photo_ids":["1331356822","1331356810","1331356817","1331356847"],"photo_ids_order":["1331356810","1331356817","1331356822","1331356847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a11815ac9aab2000291a877250b6b2d4.jpg","text":"TemporaryFile(/tmp/multipartBody1054425065469240974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812434012,"filename":"image_25012025_14_39_02_811610_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b35b6d1945c62f5bd3bffac51a4b448f.jpg","text":"TemporaryFile(/tmp/multipartBody8659633722693105967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812434012,"filename":"image_25012025_14_38_02_661530_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f93f5a8c52657ce1177d08228030aa8e.jpg","text":"TemporaryFile(/tmp/multipartBody5526295184084205330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812434012,"filename":"image_25012025_14_39_02_811610_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/43977f5d99c80979a4df62018fc636a1.jpg","text":"TemporaryFile(/tmp/multipartBody5065581688950737002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812434012,"filename":"image_25012025_14_39_02_811610_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331356822","file1":"1331356817","file0":"1331356810","file3":"1331356847"},"map_files_photo_id_array":[{"photo_id":"1331356822","filename":"file2"},{"photo_id":"1331356817","filename":"file1"},{"photo_id":"1331356810","filename":"file0"},{"photo_id":"1331356847","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331356822":["hashtag1","hashtag2"]},{"1331356810":["hashtag1","hashtag2"]},{"1331356817":["hashtag1","hashtag2"]},{"1331356847":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331356822, 1331356810, 1331356817, 1331356847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.2344765663147 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:40:21.928832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/39/image_25012025_14_39_02_811610_0003.jpg', '/home/pi/Desktop/images/25012025/14/40/image_25012025_14_40_03_070158_0000.jpg', '/home/pi/Desktop/images/25012025/14/40/image_25012025_14_40_03_070158_0001.jpg', '/home/pi/Desktop/images/25012025/14/40/image_25012025_14_40_03_070158_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/39/image_25012025_14_39_02_811610_0003.jpg
/home/pi/Desktop/images/25012025/14/40/image_25012025_14_40_03_070158_0000.jpg
/home/pi/Desktop/images/25012025/14/40/image_25012025_14_40_03_070158_0001.jpg
/home/pi/Desktop/images/25012025/14/40/image_25012025_14_40_03_070158_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":["1331356933","1331356906","1331356895","1331357053"],"photo_ids_order":["1331356895","1331356906","1331356933","1331357053"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c6acf13fefd9f50fa5c3b970a00eabd8.jpg","text":"TemporaryFile(/tmp/multipartBody7699599067583177994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812493339,"filename":"image_25012025_14_40_03_070158_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/02d344a1550af2625d016cbb19aebe0f.jpg","text":"TemporaryFile(/tmp/multipartBody5276608016697380673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812493339,"filename":"image_25012025_14_40_03_070158_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d7670017fd51f3737287026649c806bd.jpg","text":"TemporaryFile(/tmp/multipartBody2894000829855100754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812493339,"filename":"image_25012025_14_39_02_811610_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/63ff1fa89034688e38f770f53df17811.jpg","text":"TemporaryFile(/tmp/multipartBody6374715736486983321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812493339,"filename":"image_25012025_14_40_03_070158_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331356933","file1":"1331356906","file0":"1331356895","file3":"1331357053"},"map_files_photo_id_array":[{"photo_id":"1331356933","filename":"file2"},{"photo_id":"1331356906","filename":"file1"},{"photo_id":"1331356895","filename":"file0"},{"photo_id":"1331357053","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331356933":["hashtag1","hashtag2"]},{"1331356906":["hashtag1","hashtag2"]},{"1331356895":["hashtag1","hashtag2"]},{"1331357053":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331356933, 1331356906, 1331356895, 1331357053)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.68547058105469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:41:22.040556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/40/image_25012025_14_40_03_070158_0003.jpg', '/home/pi/Desktop/images/25012025/14/41/image_25012025_14_41_02_221313_0000.jpg', '/home/pi/Desktop/images/25012025/14/41/image_25012025_14_41_02_221313_0001.jpg', '/home/pi/Desktop/images/25012025/14/41/image_25012025_14_41_02_221313_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/40/image_25012025_14_40_03_070158_0003.jpg
/home/pi/Desktop/images/25012025/14/41/image_25012025_14_41_02_221313_0000.jpg
/home/pi/Desktop/images/25012025/14/41/image_25012025_14_41_02_221313_0001.jpg
/home/pi/Desktop/images/25012025/14/41/image_25012025_14_41_02_221313_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 [200]>
b'{"photo_ids":["1331357451","1331357445","1331357459","1331357464"],"photo_ids_order":["1331357445","1331357451","1331357459","1331357464"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f3dc15d73290a19e8b7ab8d48d9abaa0.jpg","text":"TemporaryFile(/tmp/multipartBody7535535916963062714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812553960,"filename":"image_25012025_14_41_02_221313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a754ad74601eb9b52eaf9309e0e56723.jpg","text":"TemporaryFile(/tmp/multipartBody5007468911935579641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812553960,"filename":"image_25012025_14_40_03_070158_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ee96d7c9c7ef788fd1f376def1ac6437.jpg","text":"TemporaryFile(/tmp/multipartBody7125061164209433617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812553960,"filename":"image_25012025_14_41_02_221313_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b4415dc8e75e218f5dcc7d72c30a5657.jpg","text":"TemporaryFile(/tmp/multipartBody4154428798233296830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812553960,"filename":"image_25012025_14_41_02_221313_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331357459","file1":"1331357451","file0":"1331357445","file3":"1331357464"},"map_files_photo_id_array":[{"photo_id":"1331357459","filename":"file2"},{"photo_id":"1331357451","filename":"file1"},{"photo_id":"1331357445","filename":"file0"},{"photo_id":"1331357464","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331357451":["hashtag1","hashtag2"]},{"1331357445":["hashtag1","hashtag2"]},{"1331357459":["hashtag1","hashtag2"]},{"1331357464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331357451, 1331357445, 1331357459, 1331357464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.11091589927673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:42:22.238913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/41/image_25012025_14_41_02_221313_0003.jpg', '/home/pi/Desktop/images/25012025/14/42/image_25012025_14_42_02_457445_0000.jpg', '/home/pi/Desktop/images/25012025/14/42/image_25012025_14_42_02_457445_0001.jpg', '/home/pi/Desktop/images/25012025/14/42/image_25012025_14_42_02_457445_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/41/image_25012025_14_41_02_221313_0003.jpg
/home/pi/Desktop/images/25012025/14/42/image_25012025_14_42_02_457445_0000.jpg
/home/pi/Desktop/images/25012025/14/42/image_25012025_14_42_02_457445_0001.jpg
/home/pi/Desktop/images/25012025/14/42/image_25012025_14_42_02_457445_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":["1331357530","1331357547","1331357541","1331357511"],"photo_ids_order":["1331357511","1331357530","1331357541","1331357547"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b019e219ffb927acc7b4f2cb40807944.jpg","text":"TemporaryFile(/tmp/multipartBody7808798799219710253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812613885,"filename":"image_25012025_14_42_02_457445_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/89e4b5502af1b1507e51baae9fb1dbed.jpg","text":"TemporaryFile(/tmp/multipartBody9096406909726466813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812613885,"filename":"image_25012025_14_42_02_457445_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/99cb73cf92ab4bb7a99dea04b2539f10.jpg","text":"TemporaryFile(/tmp/multipartBody6106339450095115076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812613885,"filename":"image_25012025_14_42_02_457445_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5354538baed87a45851961f96a303d6e.jpg","text":"TemporaryFile(/tmp/multipartBody88361028533545979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812613885,"filename":"image_25012025_14_41_02_221313_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331357541","file1":"1331357530","file0":"1331357511","file3":"1331357547"},"map_files_photo_id_array":[{"photo_id":"1331357541","filename":"file2"},{"photo_id":"1331357530","filename":"file1"},{"photo_id":"1331357511","filename":"file0"},{"photo_id":"1331357547","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331357530":["hashtag1","hashtag2"]},{"1331357547":["hashtag1","hashtag2"]},{"1331357541":["hashtag1","hashtag2"]},{"1331357511":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331357530, 1331357547, 1331357541, 1331357511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.6580924987793 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-25 14:43:22.452267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/42/image_25012025_14_42_02_457445_0003.jpg', '/home/pi/Desktop/images/25012025/14/43/image_25012025_14_43_02_578206_0000.jpg', '/home/pi/Desktop/images/25012025/14/43/image_25012025_14_43_02_578206_0001.jpg', '/home/pi/Desktop/images/25012025/14/43/image_25012025_14_43_02_578206_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/42/image_25012025_14_42_02_457445_0003.jpg
/home/pi/Desktop/images/25012025/14/43/image_25012025_14_43_02_578206_0000.jpg
/home/pi/Desktop/images/25012025/14/43/image_25012025_14_43_02_578206_0001.jpg
/home/pi/Desktop/images/25012025/14/43/image_25012025_14_43_02_578206_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 [200]>
b'{"photo_ids":["1331357595","1331357598","1331357622","1331357624"],"photo_ids_order":["1331357595","1331357598","1331357622","1331357624"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/99a5384d61aa5a2b2b0fad344e23b37c.jpg","text":"TemporaryFile(/tmp/multipartBody5015037390060696160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812673723,"filename":"image_25012025_14_42_02_457445_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c30bf15e80eaaeecede95e5922562c53.jpg","text":"TemporaryFile(/tmp/multipartBody4603620971038055109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812673723,"filename":"image_25012025_14_43_02_578206_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e7e471837000727c78b447d91b5082ba.jpg","text":"TemporaryFile(/tmp/multipartBody6861796153117509451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812673723,"filename":"image_25012025_14_43_02_578206_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eae3db56543c2431e591ab69612bb121.jpg","text":"TemporaryFile(/tmp/multipartBody371501122815390887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812673723,"filename":"image_25012025_14_43_02_578206_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331357622","file1":"1331357598","file0":"1331357595","file3":"1331357624"},"map_files_photo_id_array":[{"photo_id":"1331357622","filename":"file2"},{"photo_id":"1331357598","filename":"file1"},{"photo_id":"1331357595","filename":"file0"},{"photo_id":"1331357624","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331357595":["hashtag1","hashtag2"]},{"1331357598":["hashtag1","hashtag2"]},{"1331357622":["hashtag1","hashtag2"]},{"1331357624":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331357595, 1331357598, 1331357622, 1331357624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.70836281776428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:44:22.605924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/43/image_25012025_14_43_02_578206_0003.jpg', '/home/pi/Desktop/images/25012025/14/44/image_25012025_14_44_02_755681_0000.jpg', '/home/pi/Desktop/images/25012025/14/44/image_25012025_14_44_02_755681_0001.jpg', '/home/pi/Desktop/images/25012025/14/44/image_25012025_14_44_02_755681_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/43/image_25012025_14_43_02_578206_0003.jpg
/home/pi/Desktop/images/25012025/14/44/image_25012025_14_44_02_755681_0000.jpg
/home/pi/Desktop/images/25012025/14/44/image_25012025_14_44_02_755681_0001.jpg
/home/pi/Desktop/images/25012025/14/44/image_25012025_14_44_02_755681_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":["1331357719","1331357724","1331357733","1331357728"],"photo_ids_order":["1331357719","1331357724","1331357728","1331357733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d482727c8f8c007b989cff7b6b370928.jpg","text":"TemporaryFile(/tmp/multipartBody1329053601130336898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812734052,"filename":"image_25012025_14_43_02_578206_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7fed956c07c1802cc6a12ca5e53c2663.jpg","text":"TemporaryFile(/tmp/multipartBody6875943131093305833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812734052,"filename":"image_25012025_14_44_02_755681_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/baccaa5c291293fa0f3ce4144994fb54.jpg","text":"TemporaryFile(/tmp/multipartBody7973618722486433963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812734052,"filename":"image_25012025_14_44_02_755681_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1f98e055d32d3221a4be50a6676c99a0.jpg","text":"TemporaryFile(/tmp/multipartBody266668376373742242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812734052,"filename":"image_25012025_14_44_02_755681_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331357728","file1":"1331357724","file0":"1331357719","file3":"1331357733"},"map_files_photo_id_array":[{"photo_id":"1331357728","filename":"file2"},{"photo_id":"1331357724","filename":"file1"},{"photo_id":"1331357719","filename":"file0"},{"photo_id":"1331357733","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331357719":["hashtag1","hashtag2"]},{"1331357724":["hashtag1","hashtag2"]},{"1331357733":["hashtag1","hashtag2"]},{"1331357728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331357719, 1331357724, 1331357733, 1331357728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.0131094455719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 14:45:03.333049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/14/image_21012025_21_14_03_081737_0000.jpg', '/home/pi/Desktop/images/21012025/21/14/image_21012025_21_14_03_081737_0001.jpg', '/home/pi/Desktop/images/21012025/21/14/image_21012025_21_14_03_081737_0002.jpg', '/home/pi/Desktop/images/21012025/21/15/image_21012025_21_15_02_171506_0000.jpg', '/home/pi/Desktop/images/21012025/21/15/image_21012025_21_15_02_171506_0001.jpg', '/home/pi/Desktop/images/21012025/21/15/image_21012025_21_15_02_171506_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/21/14/image_21012025_21_14_03_081737_0000.jpg
/home/pi/Desktop/images/21012025/21/14/image_21012025_21_14_03_081737_0001.jpg
/home/pi/Desktop/images/21012025/21/14/image_21012025_21_14_03_081737_0002.jpg
/home/pi/Desktop/images/21012025/21/15/image_21012025_21_15_02_171506_0000.jpg
/home/pi/Desktop/images/21012025/21/15/image_21012025_21_15_02_171506_0001.jpg
/home/pi/Desktop/images/21012025/21/15/image_21012025_21_15_02_171506_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.603087186813354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:45:22.693367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/44/image_25012025_14_44_02_755681_0003.jpg', '/home/pi/Desktop/images/25012025/14/45/image_25012025_14_45_03_063073_0000.jpg', '/home/pi/Desktop/images/25012025/14/45/image_25012025_14_45_03_063073_0001.jpg', '/home/pi/Desktop/images/25012025/14/45/image_25012025_14_45_03_063073_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/44/image_25012025_14_44_02_755681_0003.jpg
/home/pi/Desktop/images/25012025/14/45/image_25012025_14_45_03_063073_0000.jpg
/home/pi/Desktop/images/25012025/14/45/image_25012025_14_45_03_063073_0001.jpg
/home/pi/Desktop/images/25012025/14/45/image_25012025_14_45_03_063073_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 [200]>
b'{"photo_ids":["1331357946","1331357903","1331357941","1331357863"],"photo_ids_order":["1331357863","1331357903","1331357941","1331357946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/44224a11636fc6de86fb623b1059add0.jpg","text":"TemporaryFile(/tmp/multipartBody8179254002756608110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812794573,"filename":"image_25012025_14_45_03_063073_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7528de7165369fcfe1e99952b4fda3bc.jpg","text":"TemporaryFile(/tmp/multipartBody4720955828514625004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812794573,"filename":"image_25012025_14_45_03_063073_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/99bceb7b328aadbb1eaa9c50894f9b80.jpg","text":"TemporaryFile(/tmp/multipartBody2074618675392414346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812794573,"filename":"image_25012025_14_45_03_063073_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ef13b113b8022392ce08151c1432d219.jpg","text":"TemporaryFile(/tmp/multipartBody1444345295936741399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812794573,"filename":"image_25012025_14_44_02_755681_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331357941","file1":"1331357903","file0":"1331357863","file3":"1331357946"},"map_files_photo_id_array":[{"photo_id":"1331357941","filename":"file2"},{"photo_id":"1331357903","filename":"file1"},{"photo_id":"1331357863","filename":"file0"},{"photo_id":"1331357946","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331357946":["hashtag1","hashtag2"]},{"1331357903":["hashtag1","hashtag2"]},{"1331357941":["hashtag1","hashtag2"]},{"1331357863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331357946, 1331357903, 1331357941, 1331357863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.41287541389465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:46:21.925561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/45/image_25012025_14_45_03_063073_0003.jpg', '/home/pi/Desktop/images/25012025/14/46/image_25012025_14_46_03_044380_0000.jpg', '/home/pi/Desktop/images/25012025/14/46/image_25012025_14_46_03_044380_0001.jpg', '/home/pi/Desktop/images/25012025/14/46/image_25012025_14_46_03_044380_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/45/image_25012025_14_45_03_063073_0003.jpg
/home/pi/Desktop/images/25012025/14/46/image_25012025_14_46_03_044380_0000.jpg
/home/pi/Desktop/images/25012025/14/46/image_25012025_14_46_03_044380_0001.jpg
/home/pi/Desktop/images/25012025/14/46/image_25012025_14_46_03_044380_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":["1331358407","1331358301","1331358480","1331358297"],"photo_ids_order":["1331358297","1331358301","1331358407","1331358480"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/888df10ea599f75b44f704af99221193.jpg","text":"TemporaryFile(/tmp/multipartBody3135927113593273097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812853987,"filename":"image_25012025_14_46_03_044380_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d6806a697ff26d2f8a2eee7986c1d3af.jpg","text":"TemporaryFile(/tmp/multipartBody1686440595186385155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812853987,"filename":"image_25012025_14_46_03_044380_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/be41d9617b2f821c9cbc0bfcbc89e7ab.jpg","text":"TemporaryFile(/tmp/multipartBody5416316204725086728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812853987,"filename":"image_25012025_14_46_03_044380_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/199b471337bb16041c1abc95ce7d8e2b.jpg","text":"TemporaryFile(/tmp/multipartBody4882529894721605929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812853987,"filename":"image_25012025_14_45_03_063073_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331358407","file1":"1331358301","file0":"1331358297","file3":"1331358480"},"map_files_photo_id_array":[{"photo_id":"1331358407","filename":"file2"},{"photo_id":"1331358301","filename":"file1"},{"photo_id":"1331358297","filename":"file0"},{"photo_id":"1331358480","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331358407":["hashtag1","hashtag2"]},{"1331358301":["hashtag1","hashtag2"]},{"1331358480":["hashtag1","hashtag2"]},{"1331358297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331358407, 1331358301, 1331358480, 1331358297)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.75911736488342 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:47:22.142043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/46/image_25012025_14_46_03_044380_0003.jpg', '/home/pi/Desktop/images/25012025/14/47/image_25012025_14_47_02_259706_0000.jpg', '/home/pi/Desktop/images/25012025/14/47/image_25012025_14_47_02_259706_0001.jpg', '/home/pi/Desktop/images/25012025/14/47/image_25012025_14_47_02_259706_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/46/image_25012025_14_46_03_044380_0003.jpg
/home/pi/Desktop/images/25012025/14/47/image_25012025_14_47_02_259706_0000.jpg
/home/pi/Desktop/images/25012025/14/47/image_25012025_14_47_02_259706_0001.jpg
/home/pi/Desktop/images/25012025/14/47/image_25012025_14_47_02_259706_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":["1331358680","1331358676","1331358670","1331358684"],"photo_ids_order":["1331358670","1331358676","1331358680","1331358684"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/669be7c20569d404229257fb57c6556e.jpg","text":"TemporaryFile(/tmp/multipartBody8945238437028973728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812913841,"filename":"image_25012025_14_47_02_259706_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6359168382fe2f30f63a622c1bda0b3e.jpg","text":"TemporaryFile(/tmp/multipartBody2619443250078307650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812913841,"filename":"image_25012025_14_47_02_259706_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d3a2bea3af300f611f3a2da446beeac5.jpg","text":"TemporaryFile(/tmp/multipartBody4628994825403574116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812913841,"filename":"image_25012025_14_46_03_044380_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/67fbe0e8bde2422235530f1c3af18a83.jpg","text":"TemporaryFile(/tmp/multipartBody4109530082018005714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812913841,"filename":"image_25012025_14_47_02_259706_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331358680","file1":"1331358676","file0":"1331358670","file3":"1331358684"},"map_files_photo_id_array":[{"photo_id":"1331358680","filename":"file2"},{"photo_id":"1331358676","filename":"file1"},{"photo_id":"1331358670","filename":"file0"},{"photo_id":"1331358684","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331358680":["hashtag1","hashtag2"]},{"1331358676":["hashtag1","hashtag2"]},{"1331358670":["hashtag1","hashtag2"]},{"1331358684":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331358680, 1331358676, 1331358670, 1331358684)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.64427900314331 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:48:22.282881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/47/image_25012025_14_47_02_259706_0003.jpg', '/home/pi/Desktop/images/25012025/14/48/image_25012025_14_48_02_500606_0000.jpg', '/home/pi/Desktop/images/25012025/14/48/image_25012025_14_48_02_500606_0001.jpg', '/home/pi/Desktop/images/25012025/14/48/image_25012025_14_48_02_500606_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/47/image_25012025_14_47_02_259706_0003.jpg
/home/pi/Desktop/images/25012025/14/48/image_25012025_14_48_02_500606_0000.jpg
/home/pi/Desktop/images/25012025/14/48/image_25012025_14_48_02_500606_0001.jpg
/home/pi/Desktop/images/25012025/14/48/image_25012025_14_48_02_500606_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 [200]>
b'{"photo_ids":["1331358723","1331358714","1331358728","1331358718"],"photo_ids_order":["1331358714","1331358718","1331358723","1331358728"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3d1ba59342023904c6c63fa95f6f50b1.jpg","text":"TemporaryFile(/tmp/multipartBody9086673098435057578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812973899,"filename":"image_25012025_14_48_02_500606_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b2250e271a43bb323533fb2653a986f1.jpg","text":"TemporaryFile(/tmp/multipartBody3131040412966422917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812973899,"filename":"image_25012025_14_47_02_259706_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7408f823a8220611981f92b52f79a38b.jpg","text":"TemporaryFile(/tmp/multipartBody1238842989893185950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812973899,"filename":"image_25012025_14_48_02_500606_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/367082cbdd734237ba728c50af33e15e.jpg","text":"TemporaryFile(/tmp/multipartBody4841125552159580296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737812973899,"filename":"image_25012025_14_48_02_500606_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331358723","file1":"1331358718","file0":"1331358714","file3":"1331358728"},"map_files_photo_id_array":[{"photo_id":"1331358723","filename":"file2"},{"photo_id":"1331358718","filename":"file1"},{"photo_id":"1331358714","filename":"file0"},{"photo_id":"1331358728","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331358723":["hashtag1","hashtag2"]},{"1331358714":["hashtag1","hashtag2"]},{"1331358728":["hashtag1","hashtag2"]},{"1331358718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331358723, 1331358714, 1331358728, 1331358718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.21084427833557 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:49:22.507599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/48/image_25012025_14_48_02_500606_0003.jpg', '/home/pi/Desktop/images/25012025/14/49/image_25012025_14_49_02_610579_0000.jpg', '/home/pi/Desktop/images/25012025/14/49/image_25012025_14_49_02_610579_0001.jpg', '/home/pi/Desktop/images/25012025/14/49/image_25012025_14_49_02_610579_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/48/image_25012025_14_48_02_500606_0003.jpg
/home/pi/Desktop/images/25012025/14/49/image_25012025_14_49_02_610579_0000.jpg
/home/pi/Desktop/images/25012025/14/49/image_25012025_14_49_02_610579_0001.jpg
/home/pi/Desktop/images/25012025/14/49/image_25012025_14_49_02_610579_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":["1331358782","1331358773","1331358766","1331358786"],"photo_ids_order":["1331358766","1331358773","1331358782","1331358786"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/82f1fa960ebce64d1e2190cb969b0726.jpg","text":"TemporaryFile(/tmp/multipartBody6994240491774155720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813033964,"filename":"image_25012025_14_49_02_610579_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8f89eb76dd70aed764f69368f1aa000e.jpg","text":"TemporaryFile(/tmp/multipartBody4292651356828241979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813033964,"filename":"image_25012025_14_49_02_610579_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/de237acec8cde966099674865c6234f3.jpg","text":"TemporaryFile(/tmp/multipartBody4309249610359906757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813033964,"filename":"image_25012025_14_48_02_500606_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7a19c26c458b281d5b82a7f86a01eb71.jpg","text":"TemporaryFile(/tmp/multipartBody4640958420190921398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813033964,"filename":"image_25012025_14_49_02_610579_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331358782","file1":"1331358773","file0":"1331358766","file3":"1331358786"},"map_files_photo_id_array":[{"photo_id":"1331358782","filename":"file2"},{"photo_id":"1331358773","filename":"file1"},{"photo_id":"1331358766","filename":"file0"},{"photo_id":"1331358786","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331358782":["hashtag1","hashtag2"]},{"1331358773":["hashtag1","hashtag2"]},{"1331358766":["hashtag1","hashtag2"]},{"1331358786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331358782, 1331358773, 1331358766, 1331358786)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 40.02209210395813 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:50:22.698365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/49/image_25012025_14_49_02_610579_0003.jpg', '/home/pi/Desktop/images/25012025/14/50/image_25012025_14_50_02_889413_0000.jpg', '/home/pi/Desktop/images/25012025/14/50/image_25012025_14_50_02_889413_0001.jpg', '/home/pi/Desktop/images/25012025/14/50/image_25012025_14_50_02_889413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/49/image_25012025_14_49_02_610579_0003.jpg
/home/pi/Desktop/images/25012025/14/50/image_25012025_14_50_02_889413_0000.jpg
/home/pi/Desktop/images/25012025/14/50/image_25012025_14_50_02_889413_0001.jpg
/home/pi/Desktop/images/25012025/14/50/image_25012025_14_50_02_889413_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 [200]>
b'{"photo_ids":["1331358954","1331358905","1331358928","1331358901"],"photo_ids_order":["1331358901","1331358905","1331358928","1331358954"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/78936bccc710ef5a21dffba3948195ea.jpg","text":"TemporaryFile(/tmp/multipartBody7777978031074740237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813094420,"filename":"image_25012025_14_50_02_889413_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a5ea1f13b69a6ab51c3438cb257fa255.jpg","text":"TemporaryFile(/tmp/multipartBody5653235976889939367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813094420,"filename":"image_25012025_14_50_02_889413_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/22646149cff61eabcd2c2166a46ad1ae.jpg","text":"TemporaryFile(/tmp/multipartBody3273809136764057228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813094420,"filename":"image_25012025_14_50_02_889413_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/efdda2c0ebd282b8c100fa6a6c51f91b.jpg","text":"TemporaryFile(/tmp/multipartBody1178261379474093290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813094420,"filename":"image_25012025_14_49_02_610579_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331358928","file1":"1331358905","file0":"1331358901","file3":"1331358954"},"map_files_photo_id_array":[{"photo_id":"1331358928","filename":"file2"},{"photo_id":"1331358905","filename":"file1"},{"photo_id":"1331358901","filename":"file0"},{"photo_id":"1331358954","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331358954":["hashtag1","hashtag2"]},{"1331358905":["hashtag1","hashtag2"]},{"1331358928":["hashtag1","hashtag2"]},{"1331358901":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331358954, 1331358905, 1331358928, 1331358901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.57343769073486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:51:21.860541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/50/image_25012025_14_50_02_889413_0003.jpg', '/home/pi/Desktop/images/25012025/14/51/image_25012025_14_51_03_000462_0000.jpg', '/home/pi/Desktop/images/25012025/14/51/image_25012025_14_51_03_000462_0001.jpg', '/home/pi/Desktop/images/25012025/14/51/image_25012025_14_51_03_000462_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/50/image_25012025_14_50_02_889413_0003.jpg
/home/pi/Desktop/images/25012025/14/51/image_25012025_14_51_03_000462_0000.jpg
/home/pi/Desktop/images/25012025/14/51/image_25012025_14_51_03_000462_0001.jpg
/home/pi/Desktop/images/25012025/14/51/image_25012025_14_51_03_000462_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 [200]>
b'{"photo_ids":["1331358995","1331358985","1331358981","1331358990"],"photo_ids_order":["1331358981","1331358985","1331358990","1331358995"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d669f714bda5765b2531fec14979dd24.jpg","text":"TemporaryFile(/tmp/multipartBody3096490031728569632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813153545,"filename":"image_25012025_14_51_03_000462_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4dfb7e0acf71a9096594d96dea597a45.jpg","text":"TemporaryFile(/tmp/multipartBody2860485331102959304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813153545,"filename":"image_25012025_14_51_03_000462_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/efb460d38a71461bf3777046a500be0e.jpg","text":"TemporaryFile(/tmp/multipartBody7975491431299270317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813153545,"filename":"image_25012025_14_50_02_889413_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eb904b0a0949cc70170e11d6cd56c3a4.jpg","text":"TemporaryFile(/tmp/multipartBody4953614791393057115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813153545,"filename":"image_25012025_14_51_03_000462_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331358990","file1":"1331358985","file0":"1331358981","file3":"1331358995"},"map_files_photo_id_array":[{"photo_id":"1331358990","filename":"file2"},{"photo_id":"1331358985","filename":"file1"},{"photo_id":"1331358981","filename":"file0"},{"photo_id":"1331358995","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331358995":["hashtag1","hashtag2"]},{"1331358985":["hashtag1","hashtag2"]},{"1331358981":["hashtag1","hashtag2"]},{"1331358990":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331358995, 1331358985, 1331358981, 1331358990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.144904375076294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:52:22.083714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/51/image_25012025_14_51_03_000462_0003.jpg', '/home/pi/Desktop/images/25012025/14/52/image_25012025_14_52_02_256896_0000.jpg', '/home/pi/Desktop/images/25012025/14/52/image_25012025_14_52_02_256896_0001.jpg', '/home/pi/Desktop/images/25012025/14/52/image_25012025_14_52_02_256896_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/51/image_25012025_14_51_03_000462_0003.jpg
/home/pi/Desktop/images/25012025/14/52/image_25012025_14_52_02_256896_0000.jpg
/home/pi/Desktop/images/25012025/14/52/image_25012025_14_52_02_256896_0001.jpg
/home/pi/Desktop/images/25012025/14/52/image_25012025_14_52_02_256896_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: 11.325585126876831 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 14:52:42.126069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/51/image_25012025_14_51_03_000462_0003.jpg', '/home/pi/Desktop/images/25012025/14/52/image_25012025_14_52_02_256896_0000.jpg', '/home/pi/Desktop/images/25012025/14/52/image_25012025_14_52_02_256896_0001.jpg', '/home/pi/Desktop/images/25012025/14/52/image_25012025_14_52_02_256896_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/51/image_25012025_14_51_03_000462_0003.jpg
/home/pi/Desktop/images/25012025/14/52/image_25012025_14_52_02_256896_0000.jpg
/home/pi/Desktop/images/25012025/14/52/image_25012025_14_52_02_256896_0001.jpg
/home/pi/Desktop/images/25012025/14/52/image_25012025_14_52_02_256896_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":["1331359072","1331359069","1331359062","1331359065"],"photo_ids_order":["1331359062","1331359065","1331359069","1331359072"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c93a6338d27dfaf496d44cdf0897ebdc.jpg","text":"TemporaryFile(/tmp/multipartBody1325224251511624745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813233842,"filename":"image_25012025_14_52_02_256896_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c0c1a72bae6e9e029950b145dbc7b2f1.jpg","text":"TemporaryFile(/tmp/multipartBody6291551246746025419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813233842,"filename":"image_25012025_14_52_02_256896_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0f621de605db9399a8f466c8bac4f451.jpg","text":"TemporaryFile(/tmp/multipartBody4239505061314150284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813233842,"filename":"image_25012025_14_51_03_000462_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/119e773903cf00bf48b654603a13e9eb.jpg","text":"TemporaryFile(/tmp/multipartBody1020352688244256700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813233842,"filename":"image_25012025_14_52_02_256896_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331359069","file1":"1331359065","file0":"1331359062","file3":"1331359072"},"map_files_photo_id_array":[{"photo_id":"1331359069","filename":"file2"},{"photo_id":"1331359065","filename":"file1"},{"photo_id":"1331359062","filename":"file0"},{"photo_id":"1331359072","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331359072":["hashtag1","hashtag2"]},{"1331359069":["hashtag1","hashtag2"]},{"1331359062":["hashtag1","hashtag2"]},{"1331359065":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331359072, 1331359069, 1331359062, 1331359065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.38414025306702 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:53:22.235583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/52/image_25012025_14_52_02_256896_0003.jpg', '/home/pi/Desktop/images/25012025/14/53/image_25012025_14_53_02_424730_0000.jpg', '/home/pi/Desktop/images/25012025/14/53/image_25012025_14_53_02_424730_0001.jpg', '/home/pi/Desktop/images/25012025/14/53/image_25012025_14_53_02_424730_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/52/image_25012025_14_52_02_256896_0003.jpg
/home/pi/Desktop/images/25012025/14/53/image_25012025_14_53_02_424730_0000.jpg
/home/pi/Desktop/images/25012025/14/53/image_25012025_14_53_02_424730_0001.jpg
/home/pi/Desktop/images/25012025/14/53/image_25012025_14_53_02_424730_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":["1331359091","1331359094","1331359102","1331359098"],"photo_ids_order":["1331359091","1331359094","1331359098","1331359102"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cfbde2a62af8b8c5bee10e4a662d8a93.jpg","text":"TemporaryFile(/tmp/multipartBody2045894895982200331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813273857,"filename":"image_25012025_14_52_02_256896_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/34cf6c267c215e274847cb7a61485d5b.jpg","text":"TemporaryFile(/tmp/multipartBody8303519792721172162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813273857,"filename":"image_25012025_14_53_02_424730_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a130a33670155ed405937ac6d6069b6e.jpg","text":"TemporaryFile(/tmp/multipartBody5611374449737317298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813273857,"filename":"image_25012025_14_53_02_424730_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/08dde1ec10859d463f2fc0bfa0a949b1.jpg","text":"TemporaryFile(/tmp/multipartBody7232692821875622707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813273857,"filename":"image_25012025_14_53_02_424730_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331359098","file1":"1331359094","file0":"1331359091","file3":"1331359102"},"map_files_photo_id_array":[{"photo_id":"1331359098","filename":"file2"},{"photo_id":"1331359094","filename":"file1"},{"photo_id":"1331359091","filename":"file0"},{"photo_id":"1331359102","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331359091":["hashtag1","hashtag2"]},{"1331359094":["hashtag1","hashtag2"]},{"1331359102":["hashtag1","hashtag2"]},{"1331359098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331359091, 1331359094, 1331359102, 1331359098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.71615815162659 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 14:54:02.813052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/14/image_21012025_21_14_03_081737_0000.jpg', '/home/pi/Desktop/images/21012025/21/14/image_21012025_21_14_03_081737_0001.jpg', '/home/pi/Desktop/images/21012025/21/14/image_21012025_21_14_03_081737_0002.jpg', '/home/pi/Desktop/images/21012025/21/15/image_21012025_21_15_02_171506_0000.jpg', '/home/pi/Desktop/images/21012025/21/15/image_21012025_21_15_02_171506_0001.jpg', '/home/pi/Desktop/images/21012025/21/15/image_21012025_21_15_02_171506_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/21/14/image_21012025_21_14_03_081737_0000.jpg
/home/pi/Desktop/images/21012025/21/14/image_21012025_21_14_03_081737_0001.jpg
/home/pi/Desktop/images/21012025/21/14/image_21012025_21_14_03_081737_0002.jpg
/home/pi/Desktop/images/21012025/21/15/image_21012025_21_15_02_171506_0000.jpg
/home/pi/Desktop/images/21012025/21/15/image_21012025_21_15_02_171506_0001.jpg
/home/pi/Desktop/images/21012025/21/15/image_21012025_21_15_02_171506_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 [200]>
b'{"photo_ids":["1331359206","1331359226","1331359222","1331359210","1331359143","1331359218"],"photo_ids_order":["1331359143","1331359206","1331359210","1331359218","1331359222","1331359226"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7f7baaefdba1ae736883533897eae124.jpg","text":"TemporaryFile(/tmp/multipartBody2791187896805141042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813318543,"filename":"image_21012025_21_14_03_081737_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f690ef46414567d1ee42b1001e070175.jpg","text":"TemporaryFile(/tmp/multipartBody7719425732686202067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813318543,"filename":"image_21012025_21_15_02_171506_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ee667a2d0ffaf88e010883c26cb0c097.jpg","text":"TemporaryFile(/tmp/multipartBody1875089270956344589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813318543,"filename":"image_21012025_21_15_02_171506_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9a20336ec4f4c97329c703a8c3abcd22.jpg","text":"TemporaryFile(/tmp/multipartBody6217126267866332816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813318543,"filename":"image_21012025_21_14_03_081737_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/962289b26fd2a81567695f775ab47ac6.jpg","text":"TemporaryFile(/tmp/multipartBody7179605388770567493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813318543,"filename":"image_21012025_21_14_03_081737_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c929796c790439c9416819863222fe47.jpg","text":"TemporaryFile(/tmp/multipartBody7933448488519316004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813318543,"filename":"image_21012025_21_15_02_171506_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331359210","file1":"1331359206","file0":"1331359143","file4":"1331359222","file5":"1331359226","file3":"1331359218"},"map_files_photo_id_array":[{"photo_id":"1331359226","filename":"file5"},{"photo_id":"1331359210","filename":"file2"},{"photo_id":"1331359222","filename":"file4"},{"photo_id":"1331359206","filename":"file1"},{"photo_id":"1331359143","filename":"file0"},{"photo_id":"1331359218","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331359206":["hashtag1","hashtag2"]},{"1331359226":["hashtag1","hashtag2"]},{"1331359222":["hashtag1","hashtag2"]},{"1331359210":["hashtag1","hashtag2"]},{"1331359143":["hashtag1","hashtag2"]},{"1331359218":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331359206, 1331359226, 1331359222, 1331359210, 1331359143, 1331359218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.347164154052734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 14:55:03.215677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/53/image_25012025_14_53_02_424730_0003.jpg', '/home/pi/Desktop/images/25012025/14/54/image_25012025_14_54_02_594011_0000.jpg', '/home/pi/Desktop/images/25012025/14/54/image_25012025_14_54_02_594011_0001.jpg', '/home/pi/Desktop/images/25012025/14/54/image_25012025_14_54_02_594011_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/53/image_25012025_14_53_02_424730_0003.jpg
/home/pi/Desktop/images/25012025/14/54/image_25012025_14_54_02_594011_0000.jpg
/home/pi/Desktop/images/25012025/14/54/image_25012025_14_54_02_594011_0001.jpg
/home/pi/Desktop/images/25012025/14/54/image_25012025_14_54_02_594011_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.464162588119507 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:55:22.638386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/53/image_25012025_14_53_02_424730_0003.jpg', '/home/pi/Desktop/images/25012025/14/54/image_25012025_14_54_02_594011_0000.jpg', '/home/pi/Desktop/images/25012025/14/54/image_25012025_14_54_02_594011_0001.jpg', '/home/pi/Desktop/images/25012025/14/54/image_25012025_14_54_02_594011_0002.jpg', '/home/pi/Desktop/images/25012025/14/54/image_25012025_14_54_02_594011_0003.jpg', '/home/pi/Desktop/images/25012025/14/55/image_25012025_14_55_02_709170_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/53/image_25012025_14_53_02_424730_0003.jpg
/home/pi/Desktop/images/25012025/14/54/image_25012025_14_54_02_594011_0000.jpg
/home/pi/Desktop/images/25012025/14/54/image_25012025_14_54_02_594011_0001.jpg
/home/pi/Desktop/images/25012025/14/54/image_25012025_14_54_02_594011_0002.jpg
/home/pi/Desktop/images/25012025/14/54/image_25012025_14_54_02_594011_0003.jpg
/home/pi/Desktop/images/25012025/14/55/image_25012025_14_55_02_709170_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 [200]>
b'{"photo_ids":["1331359346","1331359349","1331359319","1331359288","1331359342","1331359315"],"photo_ids_order":["1331359288","1331359315","1331359319","1331359342","1331359346","1331359349"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d419a0114d3a05a444cfba6529a34877.jpg","text":"TemporaryFile(/tmp/multipartBody8042225177439039860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813400038,"filename":"image_25012025_14_54_02_594011_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/48f51ac32c956ed3c806443ced4cd0d2.jpg","text":"TemporaryFile(/tmp/multipartBody7189334748073108730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813400038,"filename":"image_25012025_14_55_02_709170_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/18e2da58abb839194a3ad2f7901a2bb4.jpg","text":"TemporaryFile(/tmp/multipartBody1734125383651952615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813400038,"filename":"image_25012025_14_54_02_594011_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/872ad02f7450a0407cde9ca6d2c44c25.jpg","text":"TemporaryFile(/tmp/multipartBody8398846634450299507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813400038,"filename":"image_25012025_14_53_02_424730_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f1862dd507eea535574d6d49c4d1dd53.jpg","text":"TemporaryFile(/tmp/multipartBody6635342586853496869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813400038,"filename":"image_25012025_14_54_02_594011_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/beccdb261742b81a9469c9ef01002937.jpg","text":"TemporaryFile(/tmp/multipartBody4570687301392206806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813400038,"filename":"image_25012025_14_54_02_594011_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331359319","file1":"1331359315","file0":"1331359288","file4":"1331359346","file5":"1331359349","file3":"1331359342"},"map_files_photo_id_array":[{"photo_id":"1331359349","filename":"file5"},{"photo_id":"1331359319","filename":"file2"},{"photo_id":"1331359346","filename":"file4"},{"photo_id":"1331359315","filename":"file1"},{"photo_id":"1331359288","filename":"file0"},{"photo_id":"1331359342","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331359346":["hashtag1","hashtag2"]},{"1331359349":["hashtag1","hashtag2"]},{"1331359319":["hashtag1","hashtag2"]},{"1331359288":["hashtag1","hashtag2"]},{"1331359342":["hashtag1","hashtag2"]},{"1331359315":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331359346, 1331359349, 1331359319, 1331359288, 1331359342, 1331359315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.15617609024048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:56:21.823104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/55/image_25012025_14_55_02_709170_0001.jpg', '/home/pi/Desktop/images/25012025/14/55/image_25012025_14_55_02_709170_0002.jpg', '/home/pi/Desktop/images/25012025/14/55/image_25012025_14_55_02_709170_0003.jpg', '/home/pi/Desktop/images/25012025/14/56/image_25012025_14_56_02_940720_0000.jpg', '/home/pi/Desktop/images/25012025/14/56/image_25012025_14_56_02_940720_0001.jpg', '/home/pi/Desktop/images/25012025/14/56/image_25012025_14_56_02_940720_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/55/image_25012025_14_55_02_709170_0001.jpg
/home/pi/Desktop/images/25012025/14/55/image_25012025_14_55_02_709170_0002.jpg
/home/pi/Desktop/images/25012025/14/55/image_25012025_14_55_02_709170_0003.jpg
/home/pi/Desktop/images/25012025/14/56/image_25012025_14_56_02_940720_0000.jpg
/home/pi/Desktop/images/25012025/14/56/image_25012025_14_56_02_940720_0001.jpg
/home/pi/Desktop/images/25012025/14/56/image_25012025_14_56_02_940720_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 [200]>
b'{"photo_ids":["1331359394","1331359388","1331359403","1331359399","1331359414","1331359408"],"photo_ids_order":["1331359388","1331359394","1331359399","1331359403","1331359408","1331359414"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ef5c6537cc3790e3c636056411131391.jpg","text":"TemporaryFile(/tmp/multipartBody8631384197312852401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813458695,"filename":"image_25012025_14_55_02_709170_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bddd4898e77a47f7bfb3089ba72e71f0.jpg","text":"TemporaryFile(/tmp/multipartBody4622148698972305909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813458695,"filename":"image_25012025_14_55_02_709170_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7dffc0ff5d86cf4c13de7f7646094dce.jpg","text":"TemporaryFile(/tmp/multipartBody7585263068378699101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813458695,"filename":"image_25012025_14_56_02_940720_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3e193b3ce241cef5f55ae202128b2baf.jpg","text":"TemporaryFile(/tmp/multipartBody8135419468305649336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813458695,"filename":"image_25012025_14_55_02_709170_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7563b55252b8732ff69940d6e9d18fc9.jpg","text":"TemporaryFile(/tmp/multipartBody93440375064609782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813458695,"filename":"image_25012025_14_56_02_940720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/028d26d217bafb3f1115776d9f8da91e.jpg","text":"TemporaryFile(/tmp/multipartBody7921119133720773181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813458695,"filename":"image_25012025_14_56_02_940720_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331359399","file1":"1331359394","file0":"1331359388","file4":"1331359408","file5":"1331359414","file3":"1331359403"},"map_files_photo_id_array":[{"photo_id":"1331359414","filename":"file5"},{"photo_id":"1331359399","filename":"file2"},{"photo_id":"1331359408","filename":"file4"},{"photo_id":"1331359394","filename":"file1"},{"photo_id":"1331359388","filename":"file0"},{"photo_id":"1331359403","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331359394":["hashtag1","hashtag2"]},{"1331359388":["hashtag1","hashtag2"]},{"1331359403":["hashtag1","hashtag2"]},{"1331359399":["hashtag1","hashtag2"]},{"1331359414":["hashtag1","hashtag2"]},{"1331359408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331359394, 1331359388, 1331359403, 1331359399, 1331359414, 1331359408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.97932481765747 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 14:57:22.009824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/56/image_25012025_14_56_02_940720_0003.jpg', '/home/pi/Desktop/images/25012025/14/57/image_25012025_14_57_02_125548_0000.jpg', '/home/pi/Desktop/images/25012025/14/57/image_25012025_14_57_02_125548_0001.jpg', '/home/pi/Desktop/images/25012025/14/57/image_25012025_14_57_02_125548_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/56/image_25012025_14_56_02_940720_0003.jpg
/home/pi/Desktop/images/25012025/14/57/image_25012025_14_57_02_125548_0000.jpg
/home/pi/Desktop/images/25012025/14/57/image_25012025_14_57_02_125548_0001.jpg
/home/pi/Desktop/images/25012025/14/57/image_25012025_14_57_02_125548_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-25 14:59:02.991831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/56/image_25012025_14_56_02_940720_0003.jpg', '/home/pi/Desktop/images/25012025/14/57/image_25012025_14_57_02_125548_0000.jpg', '/home/pi/Desktop/images/25012025/14/57/image_25012025_14_57_02_125548_0001.jpg', '/home/pi/Desktop/images/25012025/14/57/image_25012025_14_57_02_125548_0002.jpg', '/home/pi/Desktop/images/25012025/14/57/image_25012025_14_57_02_125548_0003.jpg', '/home/pi/Desktop/images/25012025/14/58/image_25012025_14_58_02_316784_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/56/image_25012025_14_56_02_940720_0003.jpg
/home/pi/Desktop/images/25012025/14/57/image_25012025_14_57_02_125548_0000.jpg
/home/pi/Desktop/images/25012025/14/57/image_25012025_14_57_02_125548_0001.jpg
/home/pi/Desktop/images/25012025/14/57/image_25012025_14_57_02_125548_0002.jpg
/home/pi/Desktop/images/25012025/14/57/image_25012025_14_57_02_125548_0003.jpg
/home/pi/Desktop/images/25012025/14/58/image_25012025_14_58_02_316784_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 [200]>
b'{"photo_ids":["1331359550","1331359544","1331359540","1331359554","1331359548","1331359533"],"photo_ids_order":["1331359533","1331359540","1331359544","1331359548","1331359550","1331359554"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/adf1e3009ea7d6e5411558f6464e909b.jpg","text":"TemporaryFile(/tmp/multipartBody5311967062945454328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813619580,"filename":"image_25012025_14_57_02_125548_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7730f1eec30e034ed562ab6928e742df.jpg","text":"TemporaryFile(/tmp/multipartBody6585008716448479242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813619580,"filename":"image_25012025_14_57_02_125548_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/10f5a523a068ab25bbe0f94e9a568eea.jpg","text":"TemporaryFile(/tmp/multipartBody7646738871150842472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813619580,"filename":"image_25012025_14_57_02_125548_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b8a26db2e08c0142965c8e2484abb70.jpg","text":"TemporaryFile(/tmp/multipartBody3654397255947886721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813619580,"filename":"image_25012025_14_58_02_316784_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/323ca6fd7fb274f16c1b67e7b6308064.jpg","text":"TemporaryFile(/tmp/multipartBody1421711209306271235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813619580,"filename":"image_25012025_14_57_02_125548_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a9b3d97c66de1a82b66e18446c7f086e.jpg","text":"TemporaryFile(/tmp/multipartBody6910137049765134441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813619580,"filename":"image_25012025_14_56_02_940720_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331359544","file1":"1331359540","file0":"1331359533","file4":"1331359550","file5":"1331359554","file3":"1331359548"},"map_files_photo_id_array":[{"photo_id":"1331359554","filename":"file5"},{"photo_id":"1331359544","filename":"file2"},{"photo_id":"1331359550","filename":"file4"},{"photo_id":"1331359540","filename":"file1"},{"photo_id":"1331359533","filename":"file0"},{"photo_id":"1331359548","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331359550":["hashtag1","hashtag2"]},{"1331359544":["hashtag1","hashtag2"]},{"1331359540":["hashtag1","hashtag2"]},{"1331359554":["hashtag1","hashtag2"]},{"1331359548":["hashtag1","hashtag2"]},{"1331359533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331359550, 1331359544, 1331359540, 1331359554, 1331359548, 1331359533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.86649990081787 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 15:00:02.781295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/58/image_25012025_14_58_02_316784_0001.jpg', '/home/pi/Desktop/images/25012025/14/58/image_25012025_14_58_02_316784_0002.jpg', '/home/pi/Desktop/images/25012025/14/58/image_25012025_14_58_02_316784_0003.jpg', '/home/pi/Desktop/images/25012025/14/59/image_25012025_14_59_02_475373_0000.jpg', '/home/pi/Desktop/images/25012025/14/59/image_25012025_14_59_02_475373_0001.jpg', '/home/pi/Desktop/images/25012025/14/59/image_25012025_14_59_02_475373_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/58/image_25012025_14_58_02_316784_0001.jpg
/home/pi/Desktop/images/25012025/14/58/image_25012025_14_58_02_316784_0002.jpg
/home/pi/Desktop/images/25012025/14/58/image_25012025_14_58_02_316784_0003.jpg
/home/pi/Desktop/images/25012025/14/59/image_25012025_14_59_02_475373_0000.jpg
/home/pi/Desktop/images/25012025/14/59/image_25012025_14_59_02_475373_0001.jpg
/home/pi/Desktop/images/25012025/14/59/image_25012025_14_59_02_475373_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 [200]>
b'{"photo_ids":["1331359715","1331359720","1331359636","1331359596","1331359593","1331359587"],"photo_ids_order":["1331359587","1331359593","1331359596","1331359636","1331359715","1331359720"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d42076ea86c018c90f49fc8c354de22c.jpg","text":"TemporaryFile(/tmp/multipartBody5467414157009732926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813679835,"filename":"image_25012025_14_59_02_475373_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1e09a040e54ad284953ddcada0766c49.jpg","text":"TemporaryFile(/tmp/multipartBody5788264516870393960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813679835,"filename":"image_25012025_14_59_02_475373_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/460eba91f54a8fca22de968e0123ab72.jpg","text":"TemporaryFile(/tmp/multipartBody8284461295977019425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813679835,"filename":"image_25012025_14_59_02_475373_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ad812a03855a7dc180816b1304999a33.jpg","text":"TemporaryFile(/tmp/multipartBody2360238657267077872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813679835,"filename":"image_25012025_14_58_02_316784_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/37406be402a2463ea0d353938f04ab76.jpg","text":"TemporaryFile(/tmp/multipartBody7680853579952451686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813679835,"filename":"image_25012025_14_58_02_316784_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1edb1612e0b078a51cd48b6de207a169.jpg","text":"TemporaryFile(/tmp/multipartBody9033739086741432359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813679835,"filename":"image_25012025_14_58_02_316784_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331359596","file1":"1331359593","file0":"1331359587","file4":"1331359715","file5":"1331359720","file3":"1331359636"},"map_files_photo_id_array":[{"photo_id":"1331359720","filename":"file5"},{"photo_id":"1331359596","filename":"file2"},{"photo_id":"1331359715","filename":"file4"},{"photo_id":"1331359593","filename":"file1"},{"photo_id":"1331359587","filename":"file0"},{"photo_id":"1331359636","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331359715":["hashtag1","hashtag2"]},{"1331359720":["hashtag1","hashtag2"]},{"1331359636":["hashtag1","hashtag2"]},{"1331359596":["hashtag1","hashtag2"]},{"1331359593":["hashtag1","hashtag2"]},{"1331359587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331359715, 1331359720, 1331359636, 1331359596, 1331359593, 1331359587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.635910987854004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 15:01:03.205910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/14/59/image_25012025_14_59_02_475373_0003.jpg', '/home/pi/Desktop/images/25012025/15/00/image_25012025_15_00_02_643949_0000.jpg', '/home/pi/Desktop/images/25012025/15/00/image_25012025_15_00_02_643949_0001.jpg', '/home/pi/Desktop/images/25012025/15/00/image_25012025_15_00_02_643949_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/14/59/image_25012025_14_59_02_475373_0003.jpg
/home/pi/Desktop/images/25012025/15/00/image_25012025_15_00_02_643949_0000.jpg
/home/pi/Desktop/images/25012025/15/00/image_25012025_15_00_02_643949_0001.jpg
/home/pi/Desktop/images/25012025/15/00/image_25012025_15_00_02_643949_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":["1331359835","1331359826","1331359839","1331359830"],"photo_ids_order":["1331359826","1331359830","1331359835","1331359839"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0aff4f538aaee76b299ffeadc6bd4bd5.jpg","text":"TemporaryFile(/tmp/multipartBody2963768516145233038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813734860,"filename":"image_25012025_15_00_02_643949_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c3dd3ca381ede331a1eba028c167b663.jpg","text":"TemporaryFile(/tmp/multipartBody4561695268353258313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813734860,"filename":"image_25012025_14_59_02_475373_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c87c97047a5b4fd2d25dff3f3f405f3e.jpg","text":"TemporaryFile(/tmp/multipartBody1572444848286445991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813734860,"filename":"image_25012025_15_00_02_643949_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3def50d423ac41c3234de4400f3c1ea2.jpg","text":"TemporaryFile(/tmp/multipartBody7641859143821140507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813734860,"filename":"image_25012025_15_00_02_643949_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331359835","file1":"1331359830","file0":"1331359826","file3":"1331359839"},"map_files_photo_id_array":[{"photo_id":"1331359835","filename":"file2"},{"photo_id":"1331359830","filename":"file1"},{"photo_id":"1331359826","filename":"file0"},{"photo_id":"1331359839","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331359835":["hashtag1","hashtag2"]},{"1331359826":["hashtag1","hashtag2"]},{"1331359839":["hashtag1","hashtag2"]},{"1331359830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331359835, 1331359826, 1331359839, 1331359830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.816956758499146 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-25 15:01:52.625493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/00/image_25012025_15_00_02_643949_0003.jpg', '/home/pi/Desktop/images/25012025/15/01/image_25012025_15_01_02_862913_0000.jpg', '/home/pi/Desktop/images/25012025/15/01/image_25012025_15_01_02_862913_0001.jpg', '/home/pi/Desktop/images/25012025/15/01/image_25012025_15_01_02_862913_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/00/image_25012025_15_00_02_643949_0003.jpg
/home/pi/Desktop/images/25012025/15/01/image_25012025_15_01_02_862913_0000.jpg
/home/pi/Desktop/images/25012025/15/01/image_25012025_15_01_02_862913_0001.jpg
/home/pi/Desktop/images/25012025/15/01/image_25012025_15_01_02_862913_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: 11.667444705963135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:02:21.925728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/00/image_25012025_15_00_02_643949_0003.jpg', '/home/pi/Desktop/images/25012025/15/01/image_25012025_15_01_02_862913_0000.jpg', '/home/pi/Desktop/images/25012025/15/01/image_25012025_15_01_02_862913_0001.jpg', '/home/pi/Desktop/images/25012025/15/01/image_25012025_15_01_02_862913_0002.jpg', '/home/pi/Desktop/images/25012025/15/01/image_25012025_15_01_02_862913_0003.jpg', '/home/pi/Desktop/images/25012025/15/02/image_25012025_15_02_03_049949_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/00/image_25012025_15_00_02_643949_0003.jpg
/home/pi/Desktop/images/25012025/15/01/image_25012025_15_01_02_862913_0000.jpg
/home/pi/Desktop/images/25012025/15/01/image_25012025_15_01_02_862913_0001.jpg
/home/pi/Desktop/images/25012025/15/01/image_25012025_15_01_02_862913_0002.jpg
/home/pi/Desktop/images/25012025/15/01/image_25012025_15_01_02_862913_0003.jpg
/home/pi/Desktop/images/25012025/15/02/image_25012025_15_02_03_049949_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 [200]>
b'{"photo_ids":["1331360811","1331361020","1331361017","1331360444","1331361011","1331361007"],"photo_ids_order":["1331360444","1331360811","1331361007","1331361011","1331361017","1331361020"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a342727efee8944cbf1532fa6069e184.jpg","text":"TemporaryFile(/tmp/multipartBody5646336792956264597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813819978,"filename":"image_25012025_15_01_02_862913_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6fbe33c858c5c99eea483e74b13b58c1.jpg","text":"TemporaryFile(/tmp/multipartBody2918095121844880428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813819978,"filename":"image_25012025_15_02_03_049949_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/691ec3862ca9c17032b29c7a69e01479.jpg","text":"TemporaryFile(/tmp/multipartBody1122219427506494449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813819978,"filename":"image_25012025_15_01_02_862913_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/506132a0340ebff848cddc35cfc88de9.jpg","text":"TemporaryFile(/tmp/multipartBody5342364334753251381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813819978,"filename":"image_25012025_15_00_02_643949_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a56763ec792331f5d950d52d18cd4d46.jpg","text":"TemporaryFile(/tmp/multipartBody1924633095907447015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813819978,"filename":"image_25012025_15_01_02_862913_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f0c0bd6877ef32f4894b28808563339f.jpg","text":"TemporaryFile(/tmp/multipartBody9154611317923196052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813819978,"filename":"image_25012025_15_01_02_862913_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331361007","file1":"1331360811","file0":"1331360444","file4":"1331361017","file5":"1331361020","file3":"1331361011"},"map_files_photo_id_array":[{"photo_id":"1331361020","filename":"file5"},{"photo_id":"1331361007","filename":"file2"},{"photo_id":"1331361017","filename":"file4"},{"photo_id":"1331360811","filename":"file1"},{"photo_id":"1331360444","filename":"file0"},{"photo_id":"1331361011","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331360811":["hashtag1","hashtag2"]},{"1331361020":["hashtag1","hashtag2"]},{"1331361017":["hashtag1","hashtag2"]},{"1331360444":["hashtag1","hashtag2"]},{"1331361011":["hashtag1","hashtag2"]},{"1331361007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331360811, 1331361020, 1331361017, 1331360444, 1331361011, 1331361007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.26218008995056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:03:22.115958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/02/image_25012025_15_02_03_049949_0001.jpg', '/home/pi/Desktop/images/25012025/15/02/image_25012025_15_02_03_049949_0002.jpg', '/home/pi/Desktop/images/25012025/15/02/image_25012025_15_02_03_049949_0003.jpg', '/home/pi/Desktop/images/25012025/15/03/image_25012025_15_03_02_169720_0000.jpg', '/home/pi/Desktop/images/25012025/15/03/image_25012025_15_03_02_169720_0001.jpg', '/home/pi/Desktop/images/25012025/15/03/image_25012025_15_03_02_169720_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/02/image_25012025_15_02_03_049949_0001.jpg
/home/pi/Desktop/images/25012025/15/02/image_25012025_15_02_03_049949_0002.jpg
/home/pi/Desktop/images/25012025/15/02/image_25012025_15_02_03_049949_0003.jpg
/home/pi/Desktop/images/25012025/15/03/image_25012025_15_03_02_169720_0000.jpg
/home/pi/Desktop/images/25012025/15/03/image_25012025_15_03_02_169720_0001.jpg
/home/pi/Desktop/images/25012025/15/03/image_25012025_15_03_02_169720_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 [200]>
b'{"photo_ids":["1331361149","1331361160","1331361136","1331361153","1331361069","1331361156"],"photo_ids_order":["1331361069","1331361136","1331361149","1331361153","1331361156","1331361160"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/99552cc6c8698cba0c79a60144dc486f.jpg","text":"TemporaryFile(/tmp/multipartBody7539490724969720295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813879751,"filename":"image_25012025_15_02_03_049949_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c8848631c0be5c3b7da2aed5ad179f09.jpg","text":"TemporaryFile(/tmp/multipartBody439100033550885850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813879751,"filename":"image_25012025_15_03_02_169720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/efe724c0fd514c5cc2eeaf903d061e32.jpg","text":"TemporaryFile(/tmp/multipartBody8360432429547385863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813879751,"filename":"image_25012025_15_02_03_049949_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c32fba8dd08a20bee11f6b3c2369865a.jpg","text":"TemporaryFile(/tmp/multipartBody2385854948703100915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813879751,"filename":"image_25012025_15_03_02_169720_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9021d7837eb295d5d93ec15aa0362408.jpg","text":"TemporaryFile(/tmp/multipartBody657296967071860488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813879751,"filename":"image_25012025_15_02_03_049949_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/23437accf5534053fed19550268ccacc.jpg","text":"TemporaryFile(/tmp/multipartBody7367972211556680632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813879751,"filename":"image_25012025_15_03_02_169720_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331361149","file1":"1331361136","file0":"1331361069","file4":"1331361156","file5":"1331361160","file3":"1331361153"},"map_files_photo_id_array":[{"photo_id":"1331361160","filename":"file5"},{"photo_id":"1331361149","filename":"file2"},{"photo_id":"1331361156","filename":"file4"},{"photo_id":"1331361136","filename":"file1"},{"photo_id":"1331361069","filename":"file0"},{"photo_id":"1331361153","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331361149":["hashtag1","hashtag2"]},{"1331361160":["hashtag1","hashtag2"]},{"1331361136":["hashtag1","hashtag2"]},{"1331361153":["hashtag1","hashtag2"]},{"1331361069":["hashtag1","hashtag2"]},{"1331361156":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331361149, 1331361160, 1331361136, 1331361153, 1331361069, 1331361156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.02488327026367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:04:22.223924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/03/image_25012025_15_03_02_169720_0003.jpg', '/home/pi/Desktop/images/25012025/15/04/image_25012025_15_04_02_369578_0000.jpg', '/home/pi/Desktop/images/25012025/15/04/image_25012025_15_04_02_369578_0001.jpg', '/home/pi/Desktop/images/25012025/15/04/image_25012025_15_04_02_369578_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/03/image_25012025_15_03_02_169720_0003.jpg
/home/pi/Desktop/images/25012025/15/04/image_25012025_15_04_02_369578_0000.jpg
/home/pi/Desktop/images/25012025/15/04/image_25012025_15_04_02_369578_0001.jpg
/home/pi/Desktop/images/25012025/15/04/image_25012025_15_04_02_369578_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 [200]>
b'{"photo_ids":["1331361170","1331361175","1331361246","1331361180"],"photo_ids_order":["1331361170","1331361175","1331361180","1331361246"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1c6dc27d0bebe87ff08be5afb386b6f3.jpg","text":"TemporaryFile(/tmp/multipartBody2188516995754208952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813933839,"filename":"image_25012025_15_03_02_169720_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/796a4fe5c6bbce5b8522094bf1e99904.jpg","text":"TemporaryFile(/tmp/multipartBody8974111202846736009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813933839,"filename":"image_25012025_15_04_02_369578_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b749fb61540825de3fc26ee9812ae059.jpg","text":"TemporaryFile(/tmp/multipartBody3793138048787553550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813933839,"filename":"image_25012025_15_04_02_369578_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3380c95ce6e03200d6a05ee32dfb640d.jpg","text":"TemporaryFile(/tmp/multipartBody1413413948483900364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813933839,"filename":"image_25012025_15_04_02_369578_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331361180","file1":"1331361175","file0":"1331361170","file3":"1331361246"},"map_files_photo_id_array":[{"photo_id":"1331361180","filename":"file2"},{"photo_id":"1331361175","filename":"file1"},{"photo_id":"1331361170","filename":"file0"},{"photo_id":"1331361246","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331361170":["hashtag1","hashtag2"]},{"1331361175":["hashtag1","hashtag2"]},{"1331361246":["hashtag1","hashtag2"]},{"1331361180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331361170, 1331361175, 1331361246, 1331361180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.93032503128052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:05:22.452888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/04/image_25012025_15_04_02_369578_0003.jpg', '/home/pi/Desktop/images/25012025/15/05/image_25012025_15_05_02_615890_0000.jpg', '/home/pi/Desktop/images/25012025/15/05/image_25012025_15_05_02_615890_0001.jpg', '/home/pi/Desktop/images/25012025/15/05/image_25012025_15_05_02_615890_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/04/image_25012025_15_04_02_369578_0003.jpg
/home/pi/Desktop/images/25012025/15/05/image_25012025_15_05_02_615890_0000.jpg
/home/pi/Desktop/images/25012025/15/05/image_25012025_15_05_02_615890_0001.jpg
/home/pi/Desktop/images/25012025/15/05/image_25012025_15_05_02_615890_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":["1331362607","1331362864","1331362858","1331362866"],"photo_ids_order":["1331362607","1331362858","1331362864","1331362866"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/446b3559d7c44ba8fcbc43b0490c0c3e.jpg","text":"TemporaryFile(/tmp/multipartBody1948140824953662614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813994081,"filename":"image_25012025_15_04_02_369578_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f247b541fc052a056a7e69cfb993f391.jpg","text":"TemporaryFile(/tmp/multipartBody6008588207745605800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813994081,"filename":"image_25012025_15_05_02_615890_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b5287123b47b72e589dbcf4fb7ad9199.jpg","text":"TemporaryFile(/tmp/multipartBody7760916213462163999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813994081,"filename":"image_25012025_15_05_02_615890_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0805cc87f54a59b36477c5b8d2b4a148.jpg","text":"TemporaryFile(/tmp/multipartBody9058918909783896575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737813994081,"filename":"image_25012025_15_05_02_615890_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331362864","file1":"1331362858","file0":"1331362607","file3":"1331362866"},"map_files_photo_id_array":[{"photo_id":"1331362864","filename":"file2"},{"photo_id":"1331362858","filename":"file1"},{"photo_id":"1331362607","filename":"file0"},{"photo_id":"1331362866","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331362607":["hashtag1","hashtag2"]},{"1331362864":["hashtag1","hashtag2"]},{"1331362858":["hashtag1","hashtag2"]},{"1331362866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331362607, 1331362864, 1331362858, 1331362866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.00420570373535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 15:06:03.041806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/16/image_21012025_21_16_02_391395_0000.jpg', '/home/pi/Desktop/images/21012025/21/16/image_21012025_21_16_02_391395_0002.jpg', '/home/pi/Desktop/images/21012025/21/16/image_21012025_21_16_02_391395_0003.jpg', '/home/pi/Desktop/images/21012025/21/17/image_21012025_21_17_02_550577_0000.jpg', '/home/pi/Desktop/images/21012025/21/17/image_21012025_21_17_02_550577_0003.jpg', '/home/pi/Desktop/images/21012025/21/18/image_21012025_21_18_02_738583_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/21/16/image_21012025_21_16_02_391395_0000.jpg
/home/pi/Desktop/images/21012025/21/16/image_21012025_21_16_02_391395_0002.jpg
/home/pi/Desktop/images/21012025/21/16/image_21012025_21_16_02_391395_0003.jpg
/home/pi/Desktop/images/21012025/21/17/image_21012025_21_17_02_550577_0000.jpg
/home/pi/Desktop/images/21012025/21/17/image_21012025_21_17_02_550577_0003.jpg
/home/pi/Desktop/images/21012025/21/18/image_21012025_21_18_02_738583_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.46895456314087 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:06:22.690571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/05/image_25012025_15_05_02_615890_0003.jpg', '/home/pi/Desktop/images/25012025/15/06/image_25012025_15_06_02_829311_0000.jpg', '/home/pi/Desktop/images/25012025/15/06/image_25012025_15_06_02_829311_0001.jpg', '/home/pi/Desktop/images/25012025/15/06/image_25012025_15_06_02_829311_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/05/image_25012025_15_05_02_615890_0003.jpg
/home/pi/Desktop/images/25012025/15/06/image_25012025_15_06_02_829311_0000.jpg
/home/pi/Desktop/images/25012025/15/06/image_25012025_15_06_02_829311_0001.jpg
/home/pi/Desktop/images/25012025/15/06/image_25012025_15_06_02_829311_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 [200]>
b'{"photo_ids":["1331362904","1331362899","1331362893","1331363081"],"photo_ids_order":["1331362893","1331362899","1331362904","1331363081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/90a32ed17918d1c156e696f345951075.jpg","text":"TemporaryFile(/tmp/multipartBody5260638404126687016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814054005,"filename":"image_25012025_15_06_02_829311_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/020418890002c0a77c656a1d7043f9a6.jpg","text":"TemporaryFile(/tmp/multipartBody2507136367670944672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814054005,"filename":"image_25012025_15_06_02_829311_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2a8d9ec4b57401aa88c44ad2d3ea6376.jpg","text":"TemporaryFile(/tmp/multipartBody5044649171962288446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814054005,"filename":"image_25012025_15_05_02_615890_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1a3c0b6cdc4b50b6958aa0ffe683d5f2.jpg","text":"TemporaryFile(/tmp/multipartBody1213380755015901916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814054005,"filename":"image_25012025_15_06_02_829311_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331362904","file1":"1331362899","file0":"1331362893","file3":"1331363081"},"map_files_photo_id_array":[{"photo_id":"1331362904","filename":"file2"},{"photo_id":"1331362899","filename":"file1"},{"photo_id":"1331362893","filename":"file0"},{"photo_id":"1331363081","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331362904":["hashtag1","hashtag2"]},{"1331362899":["hashtag1","hashtag2"]},{"1331362893":["hashtag1","hashtag2"]},{"1331363081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331362904, 1331362899, 1331362893, 1331363081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.239879846572876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:07:21.740264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/06/image_25012025_15_06_02_829311_0003.jpg', '/home/pi/Desktop/images/25012025/15/07/image_25012025_15_07_02_931596_0000.jpg', '/home/pi/Desktop/images/25012025/15/07/image_25012025_15_07_02_931596_0001.jpg', '/home/pi/Desktop/images/25012025/15/07/image_25012025_15_07_02_931596_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/06/image_25012025_15_06_02_829311_0003.jpg
/home/pi/Desktop/images/25012025/15/07/image_25012025_15_07_02_931596_0000.jpg
/home/pi/Desktop/images/25012025/15/07/image_25012025_15_07_02_931596_0001.jpg
/home/pi/Desktop/images/25012025/15/07/image_25012025_15_07_02_931596_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":["1331363347","1331363367","1331363360","1331363354"],"photo_ids_order":["1331363347","1331363354","1331363360","1331363367"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d29fab83d9010e24f973d9c9b10554cd.jpg","text":"TemporaryFile(/tmp/multipartBody8643113398738660909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814113134,"filename":"image_25012025_15_06_02_829311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fc3dd82331effbddbff7371508c533c2.jpg","text":"TemporaryFile(/tmp/multipartBody8622382855398406733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814113134,"filename":"image_25012025_15_07_02_931596_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b60a071290464aed35ef810b709d1b61.jpg","text":"TemporaryFile(/tmp/multipartBody7522236263548456330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814113134,"filename":"image_25012025_15_07_02_931596_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3e1e7d91e7d53cc82a2c2a1eb9b69f39.jpg","text":"TemporaryFile(/tmp/multipartBody8315128495666254144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814113134,"filename":"image_25012025_15_07_02_931596_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331363360","file1":"1331363354","file0":"1331363347","file3":"1331363367"},"map_files_photo_id_array":[{"photo_id":"1331363360","filename":"file2"},{"photo_id":"1331363354","filename":"file1"},{"photo_id":"1331363347","filename":"file0"},{"photo_id":"1331363367","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331363347":["hashtag1","hashtag2"]},{"1331363367":["hashtag1","hashtag2"]},{"1331363360":["hashtag1","hashtag2"]},{"1331363354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331363347, 1331363367, 1331363360, 1331363354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.52242827415466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 15:08:02.466099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/16/image_21012025_21_16_02_391395_0000.jpg', '/home/pi/Desktop/images/21012025/21/16/image_21012025_21_16_02_391395_0002.jpg', '/home/pi/Desktop/images/21012025/21/16/image_21012025_21_16_02_391395_0003.jpg', '/home/pi/Desktop/images/21012025/21/17/image_21012025_21_17_02_550577_0000.jpg', '/home/pi/Desktop/images/21012025/21/17/image_21012025_21_17_02_550577_0003.jpg', '/home/pi/Desktop/images/21012025/21/18/image_21012025_21_18_02_738583_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/21/16/image_21012025_21_16_02_391395_0000.jpg
/home/pi/Desktop/images/21012025/21/16/image_21012025_21_16_02_391395_0002.jpg
/home/pi/Desktop/images/21012025/21/16/image_21012025_21_16_02_391395_0003.jpg
/home/pi/Desktop/images/21012025/21/17/image_21012025_21_17_02_550577_0000.jpg
/home/pi/Desktop/images/21012025/21/17/image_21012025_21_17_02_550577_0003.jpg
/home/pi/Desktop/images/21012025/21/18/image_21012025_21_18_02_738583_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 [200]>
b'{"photo_ids":["1331363507","1331363467","1331363476","1331363478","1331363472","1331363495"],"photo_ids_order":["1331363467","1331363472","1331363476","1331363478","1331363495","1331363507"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2d92910167a4877c1fb7b06de5b0a634.jpg","text":"TemporaryFile(/tmp/multipartBody1452533508936860246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814158191,"filename":"image_21012025_21_18_02_738583_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/68f9b90aae9dd81a09d046f272f76688.jpg","text":"TemporaryFile(/tmp/multipartBody2332281994482031367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814158191,"filename":"image_21012025_21_16_02_391395_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/391f4231948587c6c3271137e79320ad.jpg","text":"TemporaryFile(/tmp/multipartBody1473182045024529635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814158191,"filename":"image_21012025_21_16_02_391395_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d8e399dddff24377810b2ab27ad6a6d4.jpg","text":"TemporaryFile(/tmp/multipartBody3090898207287966684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814158191,"filename":"image_21012025_21_17_02_550577_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/df28b49af9fb30d673140975b0f41e24.jpg","text":"TemporaryFile(/tmp/multipartBody5491895637446352186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814158191,"filename":"image_21012025_21_16_02_391395_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a91d4c0b9ce613f41a39b31a1a9bd49f.jpg","text":"TemporaryFile(/tmp/multipartBody8457699217146090389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814158191,"filename":"image_21012025_21_17_02_550577_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331363476","file1":"1331363472","file0":"1331363467","file4":"1331363495","file5":"1331363507","file3":"1331363478"},"map_files_photo_id_array":[{"photo_id":"1331363507","filename":"file5"},{"photo_id":"1331363476","filename":"file2"},{"photo_id":"1331363495","filename":"file4"},{"photo_id":"1331363472","filename":"file1"},{"photo_id":"1331363467","filename":"file0"},{"photo_id":"1331363478","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331363507":["hashtag1","hashtag2"]},{"1331363467":["hashtag1","hashtag2"]},{"1331363476":["hashtag1","hashtag2"]},{"1331363478":["hashtag1","hashtag2"]},{"1331363472":["hashtag1","hashtag2"]},{"1331363495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331363507, 1331363467, 1331363476, 1331363478, 1331363472, 1331363495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.18276906013489 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-25 15:09:22.236235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/07/image_25012025_15_07_02_931596_0003.jpg', '/home/pi/Desktop/images/25012025/15/08/image_25012025_15_08_02_144084_0000.jpg', '/home/pi/Desktop/images/25012025/15/08/image_25012025_15_08_02_144084_0001.jpg', '/home/pi/Desktop/images/25012025/15/08/image_25012025_15_08_02_144084_0002.jpg', '/home/pi/Desktop/images/25012025/15/08/image_25012025_15_08_02_144084_0003.jpg', '/home/pi/Desktop/images/25012025/15/09/image_25012025_15_09_02_389727_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/07/image_25012025_15_07_02_931596_0003.jpg
/home/pi/Desktop/images/25012025/15/08/image_25012025_15_08_02_144084_0000.jpg
/home/pi/Desktop/images/25012025/15/08/image_25012025_15_08_02_144084_0001.jpg
/home/pi/Desktop/images/25012025/15/08/image_25012025_15_08_02_144084_0002.jpg
/home/pi/Desktop/images/25012025/15/08/image_25012025_15_08_02_144084_0003.jpg
/home/pi/Desktop/images/25012025/15/09/image_25012025_15_09_02_389727_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 [200]>
b'{"photo_ids":["1331363643","1331363652","1331363634","1331363654","1331363648","1331363657"],"photo_ids_order":["1331363634","1331363643","1331363648","1331363652","1331363654","1331363657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/765b422e9717a6cebd0869a491d46bb8.jpg","text":"TemporaryFile(/tmp/multipartBody5721360884703992916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814239240,"filename":"image_25012025_15_08_02_144084_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/59a6365f85a34f022cda3d6be322a6de.jpg","text":"TemporaryFile(/tmp/multipartBody1245608276587250119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814239240,"filename":"image_25012025_15_08_02_144084_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/36c6c749ca09e43689b3216afe0f839f.jpg","text":"TemporaryFile(/tmp/multipartBody1490123096715441914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814239240,"filename":"image_25012025_15_07_02_931596_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/638e294ce52252f8000d8cb9df52c40e.jpg","text":"TemporaryFile(/tmp/multipartBody442918120121170598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814239240,"filename":"image_25012025_15_08_02_144084_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f55686130dc159cd8bf77005f529f281.jpg","text":"TemporaryFile(/tmp/multipartBody3784583031714187387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814239240,"filename":"image_25012025_15_08_02_144084_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/83ac6a6933354b9a5216223f3766b9d8.jpg","text":"TemporaryFile(/tmp/multipartBody7742984565730822643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814239240,"filename":"image_25012025_15_09_02_389727_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331363648","file1":"1331363643","file0":"1331363634","file4":"1331363654","file5":"1331363657","file3":"1331363652"},"map_files_photo_id_array":[{"photo_id":"1331363657","filename":"file5"},{"photo_id":"1331363648","filename":"file2"},{"photo_id":"1331363654","filename":"file4"},{"photo_id":"1331363643","filename":"file1"},{"photo_id":"1331363634","filename":"file0"},{"photo_id":"1331363652","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331363643":["hashtag1","hashtag2"]},{"1331363652":["hashtag1","hashtag2"]},{"1331363634":["hashtag1","hashtag2"]},{"1331363654":["hashtag1","hashtag2"]},{"1331363648":["hashtag1","hashtag2"]},{"1331363657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331363643, 1331363652, 1331363634, 1331363654, 1331363648, 1331363657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.77151966094971 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:10:22.346197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/09/image_25012025_15_09_02_389727_0001.jpg', '/home/pi/Desktop/images/25012025/15/09/image_25012025_15_09_02_389727_0002.jpg', '/home/pi/Desktop/images/25012025/15/09/image_25012025_15_09_02_389727_0003.jpg', '/home/pi/Desktop/images/25012025/15/10/image_25012025_15_10_02_487970_0000.jpg', '/home/pi/Desktop/images/25012025/15/10/image_25012025_15_10_02_487970_0001.jpg', '/home/pi/Desktop/images/25012025/15/10/image_25012025_15_10_02_487970_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/09/image_25012025_15_09_02_389727_0001.jpg
/home/pi/Desktop/images/25012025/15/09/image_25012025_15_09_02_389727_0002.jpg
/home/pi/Desktop/images/25012025/15/09/image_25012025_15_09_02_389727_0003.jpg
/home/pi/Desktop/images/25012025/15/10/image_25012025_15_10_02_487970_0000.jpg
/home/pi/Desktop/images/25012025/15/10/image_25012025_15_10_02_487970_0001.jpg
/home/pi/Desktop/images/25012025/15/10/image_25012025_15_10_02_487970_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: 16.37619113922119 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 15:10:42.291354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/09/image_25012025_15_09_02_389727_0001.jpg', '/home/pi/Desktop/images/25012025/15/09/image_25012025_15_09_02_389727_0002.jpg', '/home/pi/Desktop/images/25012025/15/09/image_25012025_15_09_02_389727_0003.jpg', '/home/pi/Desktop/images/25012025/15/10/image_25012025_15_10_02_487970_0000.jpg', '/home/pi/Desktop/images/25012025/15/10/image_25012025_15_10_02_487970_0001.jpg', '/home/pi/Desktop/images/25012025/15/10/image_25012025_15_10_02_487970_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/09/image_25012025_15_09_02_389727_0001.jpg
/home/pi/Desktop/images/25012025/15/09/image_25012025_15_09_02_389727_0002.jpg
/home/pi/Desktop/images/25012025/15/09/image_25012025_15_09_02_389727_0003.jpg
/home/pi/Desktop/images/25012025/15/10/image_25012025_15_10_02_487970_0000.jpg
/home/pi/Desktop/images/25012025/15/10/image_25012025_15_10_02_487970_0001.jpg
/home/pi/Desktop/images/25012025/15/10/image_25012025_15_10_02_487970_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 [200]>
b'{"photo_ids":["1331363962","1331363941","1331363923","1331363914","1331363958","1331363904"],"photo_ids_order":["1331363904","1331363914","1331363923","1331363941","1331363958","1331363962"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b3c94ab2612d51f5e57f2c5c98944f89.jpg","text":"TemporaryFile(/tmp/multipartBody8582745605673564667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814319048,"filename":"image_25012025_15_10_02_487970_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ac0fbe3f20a338b23eac3a6d183bb768.jpg","text":"TemporaryFile(/tmp/multipartBody3771092730201497733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814319048,"filename":"image_25012025_15_10_02_487970_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b5c6104d19208cbd968b13ed088ef532.jpg","text":"TemporaryFile(/tmp/multipartBody8329796671216272183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814319048,"filename":"image_25012025_15_09_02_389727_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a7c1eee0ca5e9e35b8f8bb5e19a7b386.jpg","text":"TemporaryFile(/tmp/multipartBody1247933247818239583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814319048,"filename":"image_25012025_15_09_02_389727_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/338dd8549d3a880fac7990f4533c7cfe.jpg","text":"TemporaryFile(/tmp/multipartBody5274872393613498064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814319048,"filename":"image_25012025_15_10_02_487970_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/87e349b34978bf1918dd4a783dc8eced.jpg","text":"TemporaryFile(/tmp/multipartBody651660920093296570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814319048,"filename":"image_25012025_15_09_02_389727_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331363923","file1":"1331363914","file0":"1331363904","file4":"1331363958","file5":"1331363962","file3":"1331363941"},"map_files_photo_id_array":[{"photo_id":"1331363962","filename":"file5"},{"photo_id":"1331363923","filename":"file2"},{"photo_id":"1331363958","filename":"file4"},{"photo_id":"1331363914","filename":"file1"},{"photo_id":"1331363904","filename":"file0"},{"photo_id":"1331363941","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331363962":["hashtag1","hashtag2"]},{"1331363941":["hashtag1","hashtag2"]},{"1331363923":["hashtag1","hashtag2"]},{"1331363914":["hashtag1","hashtag2"]},{"1331363958":["hashtag1","hashtag2"]},{"1331363904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331363962, 1331363941, 1331363923, 1331363914, 1331363958, 1331363904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.433719873428345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 15:11:42.578581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/10/image_25012025_15_10_02_487970_0003.jpg', '/home/pi/Desktop/images/25012025/15/11/image_25012025_15_11_02_692893_0000.jpg', '/home/pi/Desktop/images/25012025/15/11/image_25012025_15_11_02_692893_0001.jpg', '/home/pi/Desktop/images/25012025/15/11/image_25012025_15_11_02_692893_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/10/image_25012025_15_10_02_487970_0003.jpg
/home/pi/Desktop/images/25012025/15/11/image_25012025_15_11_02_692893_0000.jpg
/home/pi/Desktop/images/25012025/15/11/image_25012025_15_11_02_692893_0001.jpg
/home/pi/Desktop/images/25012025/15/11/image_25012025_15_11_02_692893_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":["1331364063","1331364016","1331364051","1331364011"],"photo_ids_order":["1331364011","1331364016","1331364051","1331364063"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0acd4b6ca9427a4286351647fd2c8a1c.jpg","text":"TemporaryFile(/tmp/multipartBody7350083213919293876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814373992,"filename":"image_25012025_15_11_02_692893_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d71fe0c30ab3dfa696c8161f853010b3.jpg","text":"TemporaryFile(/tmp/multipartBody7289854075151530301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814373992,"filename":"image_25012025_15_11_02_692893_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2def7ca5a6c3643f413f4aa2a84e1c7c.jpg","text":"TemporaryFile(/tmp/multipartBody3905403965930314590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814373992,"filename":"image_25012025_15_11_02_692893_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/981a7859db6eac63968b436818b0ad98.jpg","text":"TemporaryFile(/tmp/multipartBody4282477556752392308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814373992,"filename":"image_25012025_15_10_02_487970_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331364051","file1":"1331364016","file0":"1331364011","file3":"1331364063"},"map_files_photo_id_array":[{"photo_id":"1331364051","filename":"file2"},{"photo_id":"1331364016","filename":"file1"},{"photo_id":"1331364011","filename":"file0"},{"photo_id":"1331364063","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331364063":["hashtag1","hashtag2"]},{"1331364016":["hashtag1","hashtag2"]},{"1331364051":["hashtag1","hashtag2"]},{"1331364011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331364063, 1331364016, 1331364051, 1331364011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.070528745651245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 15:12:32.635778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/11/image_25012025_15_11_02_692893_0003.jpg', '/home/pi/Desktop/images/25012025/15/12/image_25012025_15_12_02_843981_0000.jpg', '/home/pi/Desktop/images/25012025/15/12/image_25012025_15_12_02_843981_0001.jpg', '/home/pi/Desktop/images/25012025/15/12/image_25012025_15_12_02_843981_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/11/image_25012025_15_11_02_692893_0003.jpg
/home/pi/Desktop/images/25012025/15/12/image_25012025_15_12_02_843981_0000.jpg
/home/pi/Desktop/images/25012025/15/12/image_25012025_15_12_02_843981_0001.jpg
/home/pi/Desktop/images/25012025/15/12/image_25012025_15_12_02_843981_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":["1331364154","1331364157","1331364150","1331364146"],"photo_ids_order":["1331364146","1331364150","1331364154","1331364157"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f71d975ae81ffa34e5d920ba0b35addc.jpg","text":"TemporaryFile(/tmp/multipartBody2626310751050559032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814423971,"filename":"image_25012025_15_12_02_843981_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d5c8d5535ea7adc8e2db31ec0654f700.jpg","text":"TemporaryFile(/tmp/multipartBody3911163113504669807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814423971,"filename":"image_25012025_15_12_02_843981_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6a251132d4c478eb31d1ac2bd685f7dc.jpg","text":"TemporaryFile(/tmp/multipartBody6944497878617086497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814423971,"filename":"image_25012025_15_12_02_843981_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9010cdef24dc911e499da99f6c19b5f1.jpg","text":"TemporaryFile(/tmp/multipartBody5185675848817345427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814423971,"filename":"image_25012025_15_11_02_692893_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331364154","file1":"1331364150","file0":"1331364146","file3":"1331364157"},"map_files_photo_id_array":[{"photo_id":"1331364154","filename":"file2"},{"photo_id":"1331364150","filename":"file1"},{"photo_id":"1331364146","filename":"file0"},{"photo_id":"1331364157","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331364154":["hashtag1","hashtag2"]},{"1331364157":["hashtag1","hashtag2"]},{"1331364150":["hashtag1","hashtag2"]},{"1331364146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331364154, 1331364157, 1331364150, 1331364146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.8511528968811 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:13:21.817550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/12/image_25012025_15_12_02_843981_0003.jpg', '/home/pi/Desktop/images/25012025/15/13/image_25012025_15_13_03_050336_0000.jpg', '/home/pi/Desktop/images/25012025/15/13/image_25012025_15_13_03_050336_0001.jpg', '/home/pi/Desktop/images/25012025/15/13/image_25012025_15_13_03_050336_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/12/image_25012025_15_12_02_843981_0003.jpg
/home/pi/Desktop/images/25012025/15/13/image_25012025_15_13_03_050336_0000.jpg
/home/pi/Desktop/images/25012025/15/13/image_25012025_15_13_03_050336_0001.jpg
/home/pi/Desktop/images/25012025/15/13/image_25012025_15_13_03_050336_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":["1331364241","1331364235","1331364246","1331364230"],"photo_ids_order":["1331364230","1331364235","1331364241","1331364246"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3d38e00ae2e7357573718fec3a60b5e0.jpg","text":"TemporaryFile(/tmp/multipartBody4280745943915174163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814473354,"filename":"image_25012025_15_13_03_050336_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c5d30a6a92e904339c7a4998f80c81ce.jpg","text":"TemporaryFile(/tmp/multipartBody6602929868908864586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814473354,"filename":"image_25012025_15_13_03_050336_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b99f6593cd16a82ed5c0b0e81a393f38.jpg","text":"TemporaryFile(/tmp/multipartBody6048656190326226148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814473354,"filename":"image_25012025_15_13_03_050336_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b49cbb9df8349eee8d1f5faf124a1b46.jpg","text":"TemporaryFile(/tmp/multipartBody525830604659898384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814473354,"filename":"image_25012025_15_12_02_843981_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331364241","file1":"1331364235","file0":"1331364230","file3":"1331364246"},"map_files_photo_id_array":[{"photo_id":"1331364241","filename":"file2"},{"photo_id":"1331364235","filename":"file1"},{"photo_id":"1331364230","filename":"file0"},{"photo_id":"1331364246","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331364241":["hashtag1","hashtag2"]},{"1331364235":["hashtag1","hashtag2"]},{"1331364246":["hashtag1","hashtag2"]},{"1331364230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331364241, 1331364235, 1331364246, 1331364230)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.798882484436035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:14:21.943849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/13/image_25012025_15_13_03_050336_0003.jpg', '/home/pi/Desktop/images/25012025/15/14/image_25012025_15_14_02_222170_0000.jpg', '/home/pi/Desktop/images/25012025/15/14/image_25012025_15_14_02_222170_0001.jpg', '/home/pi/Desktop/images/25012025/15/14/image_25012025_15_14_02_222170_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/13/image_25012025_15_13_03_050336_0003.jpg
/home/pi/Desktop/images/25012025/15/14/image_25012025_15_14_02_222170_0000.jpg
/home/pi/Desktop/images/25012025/15/14/image_25012025_15_14_02_222170_0001.jpg
/home/pi/Desktop/images/25012025/15/14/image_25012025_15_14_02_222170_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":["1331364550","1331364538","1331364573","1331364467"],"photo_ids_order":["1331364467","1331364538","1331364550","1331364573"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7996821d358d16ba49bdcb7c0d57455d.jpg","text":"TemporaryFile(/tmp/multipartBody965661314023476844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814533217,"filename":"image_25012025_15_14_02_222170_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5aaa897fc4f86bb05c486e13a15cf0a4.jpg","text":"TemporaryFile(/tmp/multipartBody2652139579417043627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814533217,"filename":"image_25012025_15_14_02_222170_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a54a5f989eed943a2fbb8b1feed8fc77.jpg","text":"TemporaryFile(/tmp/multipartBody5308516470692691702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814533217,"filename":"image_25012025_15_14_02_222170_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0a9b5eae8bf208e83957c80ec817599a.jpg","text":"TemporaryFile(/tmp/multipartBody7597691283901478659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814533217,"filename":"image_25012025_15_13_03_050336_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331364550","file1":"1331364538","file0":"1331364467","file3":"1331364573"},"map_files_photo_id_array":[{"photo_id":"1331364550","filename":"file2"},{"photo_id":"1331364538","filename":"file1"},{"photo_id":"1331364467","filename":"file0"},{"photo_id":"1331364573","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331364550":["hashtag1","hashtag2"]},{"1331364538":["hashtag1","hashtag2"]},{"1331364573":["hashtag1","hashtag2"]},{"1331364467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331364550, 1331364538, 1331364573, 1331364467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.895904302597046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 15:15:02.691301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/18/image_21012025_21_18_02_738583_0002.jpg', '/home/pi/Desktop/images/21012025/21/19/image_21012025_21_19_02_897586_0000.jpg', '/home/pi/Desktop/images/21012025/21/19/image_21012025_21_19_02_897586_0001.jpg', '/home/pi/Desktop/images/21012025/21/19/image_21012025_21_19_02_897586_0002.jpg', '/home/pi/Desktop/images/21012025/21/19/image_21012025_21_19_02_897586_0003.jpg', '/home/pi/Desktop/images/21012025/21/20/image_21012025_21_20_03_108431_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/21/18/image_21012025_21_18_02_738583_0002.jpg
/home/pi/Desktop/images/21012025/21/19/image_21012025_21_19_02_897586_0000.jpg
/home/pi/Desktop/images/21012025/21/19/image_21012025_21_19_02_897586_0001.jpg
/home/pi/Desktop/images/21012025/21/19/image_21012025_21_19_02_897586_0002.jpg
/home/pi/Desktop/images/21012025/21/19/image_21012025_21_19_02_897586_0003.jpg
/home/pi/Desktop/images/21012025/21/20/image_21012025_21_20_03_108431_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 [200]>
b'{"photo_ids":["1331364919","1331364879","1331364846","1331364801","1331364665","1331364853"],"photo_ids_order":["1331364665","1331364801","1331364846","1331364853","1331364879","1331364919"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f82467ae3b022bfcfb6691ab3248fb5f.jpg","text":"TemporaryFile(/tmp/multipartBody300872934522436265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814578668,"filename":"image_21012025_21_20_03_108431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c4e9147d1644583caf7178dd67deaf9.jpg","text":"TemporaryFile(/tmp/multipartBody2739078565903213207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814578668,"filename":"image_21012025_21_19_02_897586_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5e394ce4e2ec8f1ffcb8fb0328e6f5b4.jpg","text":"TemporaryFile(/tmp/multipartBody5625006145229262522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814578668,"filename":"image_21012025_21_19_02_897586_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/74e2f1ade84dd5e9c279ef8827a4a8f0.jpg","text":"TemporaryFile(/tmp/multipartBody3946980109688327273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814578668,"filename":"image_21012025_21_19_02_897586_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d3f2f7897da25b4812143e5ad4adcd22.jpg","text":"TemporaryFile(/tmp/multipartBody788203284575531883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814578668,"filename":"image_21012025_21_18_02_738583_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d508607bbff9d4107d68ed63c2945087.jpg","text":"TemporaryFile(/tmp/multipartBody1830938288672208947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814578668,"filename":"image_21012025_21_19_02_897586_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331364846","file1":"1331364801","file0":"1331364665","file4":"1331364879","file5":"1331364919","file3":"1331364853"},"map_files_photo_id_array":[{"photo_id":"1331364919","filename":"file5"},{"photo_id":"1331364846","filename":"file2"},{"photo_id":"1331364879","filename":"file4"},{"photo_id":"1331364801","filename":"file1"},{"photo_id":"1331364665","filename":"file0"},{"photo_id":"1331364853","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331364919":["hashtag1","hashtag2"]},{"1331364879":["hashtag1","hashtag2"]},{"1331364846":["hashtag1","hashtag2"]},{"1331364801":["hashtag1","hashtag2"]},{"1331364665":["hashtag1","hashtag2"]},{"1331364853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331364919, 1331364879, 1331364846, 1331364801, 1331364665, 1331364853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.88501191139221 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 15:16:02.674126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/14/image_25012025_15_14_02_222170_0003.jpg', '/home/pi/Desktop/images/25012025/15/15/image_25012025_15_15_02_329478_0000.jpg', '/home/pi/Desktop/images/25012025/15/15/image_25012025_15_15_02_329478_0001.jpg', '/home/pi/Desktop/images/25012025/15/15/image_25012025_15_15_02_329478_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/14/image_25012025_15_14_02_222170_0003.jpg
/home/pi/Desktop/images/25012025/15/15/image_25012025_15_15_02_329478_0000.jpg
/home/pi/Desktop/images/25012025/15/15/image_25012025_15_15_02_329478_0001.jpg
/home/pi/Desktop/images/25012025/15/15/image_25012025_15_15_02_329478_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":["1331364934","1331364937","1331364951","1331364941"],"photo_ids_order":["1331364934","1331364937","1331364941","1331364951"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ab7eb3caeaa485c60ae77bdc9dfffefe.jpg","text":"TemporaryFile(/tmp/multipartBody106656957023940546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814633702,"filename":"image_25012025_15_14_02_222170_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c1977e7de2b8f9afaffd45a0f2b4445.jpg","text":"TemporaryFile(/tmp/multipartBody6878086790537735303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814633702,"filename":"image_25012025_15_15_02_329478_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ef111348bc43f00b5a64de6b2fd63360.jpg","text":"TemporaryFile(/tmp/multipartBody7781513439540168876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814633702,"filename":"image_25012025_15_15_02_329478_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/53f79c87ba2cdf237a5fa6cb8c486b13.jpg","text":"TemporaryFile(/tmp/multipartBody1312379604581673012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814633702,"filename":"image_25012025_15_15_02_329478_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331364941","file1":"1331364937","file0":"1331364934","file3":"1331364951"},"map_files_photo_id_array":[{"photo_id":"1331364941","filename":"file2"},{"photo_id":"1331364937","filename":"file1"},{"photo_id":"1331364934","filename":"file0"},{"photo_id":"1331364951","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331364934":["hashtag1","hashtag2"]},{"1331364937":["hashtag1","hashtag2"]},{"1331364951":["hashtag1","hashtag2"]},{"1331364941":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331364934, 1331364937, 1331364951, 1331364941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.55283069610596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 15:16:42.282725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/15/image_25012025_15_15_02_329478_0003.jpg', '/home/pi/Desktop/images/25012025/15/16/image_25012025_15_16_02_412299_0000.jpg', '/home/pi/Desktop/images/25012025/15/16/image_25012025_15_16_02_412299_0001.jpg', '/home/pi/Desktop/images/25012025/15/16/image_25012025_15_16_02_412299_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/15/image_25012025_15_15_02_329478_0003.jpg
/home/pi/Desktop/images/25012025/15/16/image_25012025_15_16_02_412299_0000.jpg
/home/pi/Desktop/images/25012025/15/16/image_25012025_15_16_02_412299_0001.jpg
/home/pi/Desktop/images/25012025/15/16/image_25012025_15_16_02_412299_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: 11.259010553359985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 15:17:03.077544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/15/image_25012025_15_15_02_329478_0003.jpg', '/home/pi/Desktop/images/25012025/15/16/image_25012025_15_16_02_412299_0000.jpg', '/home/pi/Desktop/images/25012025/15/16/image_25012025_15_16_02_412299_0001.jpg', '/home/pi/Desktop/images/25012025/15/16/image_25012025_15_16_02_412299_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/15/image_25012025_15_15_02_329478_0003.jpg
/home/pi/Desktop/images/25012025/15/16/image_25012025_15_16_02_412299_0000.jpg
/home/pi/Desktop/images/25012025/15/16/image_25012025_15_16_02_412299_0001.jpg
/home/pi/Desktop/images/25012025/15/16/image_25012025_15_16_02_412299_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":["1331365018","1331365157","1331365016","1331365036"],"photo_ids_order":["1331365016","1331365018","1331365036","1331365157"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9af71033fd8cfd10ba7d16ac22dae185.jpg","text":"TemporaryFile(/tmp/multipartBody6781923740073206069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814694779,"filename":"image_25012025_15_16_02_412299_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e7131221beaea3e0f0ccbfec62a58e1f.jpg","text":"TemporaryFile(/tmp/multipartBody495970014835334654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814694779,"filename":"image_25012025_15_16_02_412299_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/565afc21c61865476aae32b20ac3b707.jpg","text":"TemporaryFile(/tmp/multipartBody8268156050465830280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814694779,"filename":"image_25012025_15_15_02_329478_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/01a62f4de73f3ad1cf3574d2438ebeef.jpg","text":"TemporaryFile(/tmp/multipartBody110317993757723100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814694779,"filename":"image_25012025_15_16_02_412299_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331365036","file1":"1331365018","file0":"1331365016","file3":"1331365157"},"map_files_photo_id_array":[{"photo_id":"1331365036","filename":"file2"},{"photo_id":"1331365018","filename":"file1"},{"photo_id":"1331365016","filename":"file0"},{"photo_id":"1331365157","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331365018":["hashtag1","hashtag2"]},{"1331365157":["hashtag1","hashtag2"]},{"1331365016":["hashtag1","hashtag2"]},{"1331365036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331365018, 1331365157, 1331365016, 1331365036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.10568594932556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 15:17:52.483975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/16/image_25012025_15_16_02_412299_0003.jpg', '/home/pi/Desktop/images/25012025/15/17/image_25012025_15_17_02_620050_0000.jpg', '/home/pi/Desktop/images/25012025/15/17/image_25012025_15_17_02_620050_0001.jpg', '/home/pi/Desktop/images/25012025/15/17/image_25012025_15_17_02_620050_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/16/image_25012025_15_16_02_412299_0003.jpg
/home/pi/Desktop/images/25012025/15/17/image_25012025_15_17_02_620050_0000.jpg
/home/pi/Desktop/images/25012025/15/17/image_25012025_15_17_02_620050_0001.jpg
/home/pi/Desktop/images/25012025/15/17/image_25012025_15_17_02_620050_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":["1331365392","1331365515","1331365506","1331365517"],"photo_ids_order":["1331365392","1331365506","1331365515","1331365517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/633b952dc06bf9b12b26c58a80b3f651.jpg","text":"TemporaryFile(/tmp/multipartBody4149728877645315526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814744007,"filename":"image_25012025_15_16_02_412299_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e517fc15b3b8034f760f5c0f99b8665f.jpg","text":"TemporaryFile(/tmp/multipartBody7842923213601261854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814744007,"filename":"image_25012025_15_17_02_620050_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cdc7cd77ff7d141f9dbd0a91fa33a12f.jpg","text":"TemporaryFile(/tmp/multipartBody7661907580863608897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814744007,"filename":"image_25012025_15_17_02_620050_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0d02dac7be26c79634b5671a74e973ef.jpg","text":"TemporaryFile(/tmp/multipartBody349285300056313796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814744007,"filename":"image_25012025_15_17_02_620050_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331365515","file1":"1331365506","file0":"1331365392","file3":"1331365517"},"map_files_photo_id_array":[{"photo_id":"1331365515","filename":"file2"},{"photo_id":"1331365506","filename":"file1"},{"photo_id":"1331365392","filename":"file0"},{"photo_id":"1331365517","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331365392":["hashtag1","hashtag2"]},{"1331365515":["hashtag1","hashtag2"]},{"1331365506":["hashtag1","hashtag2"]},{"1331365517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331365392, 1331365515, 1331365506, 1331365517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.45919966697693 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 15:18:42.661931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/17/image_25012025_15_17_02_620050_0003.jpg', '/home/pi/Desktop/images/25012025/15/18/image_25012025_15_18_02_831050_0000.jpg', '/home/pi/Desktop/images/25012025/15/18/image_25012025_15_18_02_831050_0001.jpg', '/home/pi/Desktop/images/25012025/15/18/image_25012025_15_18_02_831050_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/17/image_25012025_15_17_02_620050_0003.jpg
/home/pi/Desktop/images/25012025/15/18/image_25012025_15_18_02_831050_0000.jpg
/home/pi/Desktop/images/25012025/15/18/image_25012025_15_18_02_831050_0001.jpg
/home/pi/Desktop/images/25012025/15/18/image_25012025_15_18_02_831050_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":["1331365680","1331365769","1331365625","1331365765"],"photo_ids_order":["1331365625","1331365680","1331365765","1331365769"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b878466e6cffd06c99b83d6f840a498a.jpg","text":"TemporaryFile(/tmp/multipartBody1482040682571627803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814793994,"filename":"image_25012025_15_18_02_831050_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/abeae7176303d6fd5df858ad4420b673.jpg","text":"TemporaryFile(/tmp/multipartBody1654425600207984729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814793994,"filename":"image_25012025_15_18_02_831050_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6f81837fd569ac71f3fc7f4fe98f682d.jpg","text":"TemporaryFile(/tmp/multipartBody2034498900080239546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814793994,"filename":"image_25012025_15_17_02_620050_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/07886178339669c7fbfc8a1667aa9a6c.jpg","text":"TemporaryFile(/tmp/multipartBody6972740827004450452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814793994,"filename":"image_25012025_15_18_02_831050_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331365765","file1":"1331365680","file0":"1331365625","file3":"1331365769"},"map_files_photo_id_array":[{"photo_id":"1331365765","filename":"file2"},{"photo_id":"1331365680","filename":"file1"},{"photo_id":"1331365625","filename":"file0"},{"photo_id":"1331365769","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331365680":["hashtag1","hashtag2"]},{"1331365769":["hashtag1","hashtag2"]},{"1331365625":["hashtag1","hashtag2"]},{"1331365765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331365680, 1331365769, 1331365625, 1331365765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.800148725509644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 15:19:31.870876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/18/image_25012025_15_18_02_831050_0003.jpg', '/home/pi/Desktop/images/25012025/15/19/image_25012025_15_19_03_015272_0000.jpg', '/home/pi/Desktop/images/25012025/15/19/image_25012025_15_19_03_015272_0001.jpg', '/home/pi/Desktop/images/25012025/15/19/image_25012025_15_19_03_015272_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/18/image_25012025_15_18_02_831050_0003.jpg
/home/pi/Desktop/images/25012025/15/19/image_25012025_15_19_03_015272_0000.jpg
/home/pi/Desktop/images/25012025/15/19/image_25012025_15_19_03_015272_0001.jpg
/home/pi/Desktop/images/25012025/15/19/image_25012025_15_19_03_015272_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":["1331365950","1331365944","1331365987","1331365969"],"photo_ids_order":["1331365944","1331365950","1331365969","1331365987"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/127a04febb57b451052a51ac7c5d5ae8.jpg","text":"TemporaryFile(/tmp/multipartBody7776345494194239227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814843192,"filename":"image_25012025_15_19_03_015272_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d3f98c8de04b83ed262018c236c77b7d.jpg","text":"TemporaryFile(/tmp/multipartBody2192032175894136617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814843192,"filename":"image_25012025_15_18_02_831050_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ab09dfdd82c5ec25576f0d03afed8819.jpg","text":"TemporaryFile(/tmp/multipartBody3864347455278474270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814843192,"filename":"image_25012025_15_19_03_015272_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/65d020f53ffddb68402f56b2d0eaf16f.jpg","text":"TemporaryFile(/tmp/multipartBody1886379158979827369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814843192,"filename":"image_25012025_15_19_03_015272_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331365969","file1":"1331365950","file0":"1331365944","file3":"1331365987"},"map_files_photo_id_array":[{"photo_id":"1331365969","filename":"file2"},{"photo_id":"1331365950","filename":"file1"},{"photo_id":"1331365944","filename":"file0"},{"photo_id":"1331365987","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331365950":["hashtag1","hashtag2"]},{"1331365944":["hashtag1","hashtag2"]},{"1331365987":["hashtag1","hashtag2"]},{"1331365969":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331365950, 1331365944, 1331365987, 1331365969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.267796754837036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:20:22.080341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/19/image_25012025_15_19_03_015272_0003.jpg', '/home/pi/Desktop/images/25012025/15/20/image_25012025_15_20_02_213788_0000.jpg', '/home/pi/Desktop/images/25012025/15/20/image_25012025_15_20_02_213788_0001.jpg', '/home/pi/Desktop/images/25012025/15/20/image_25012025_15_20_02_213788_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/19/image_25012025_15_19_03_015272_0003.jpg
/home/pi/Desktop/images/25012025/15/20/image_25012025_15_20_02_213788_0000.jpg
/home/pi/Desktop/images/25012025/15/20/image_25012025_15_20_02_213788_0001.jpg
/home/pi/Desktop/images/25012025/15/20/image_25012025_15_20_02_213788_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":["1331366040","1331366127","1331366203","1331366047"],"photo_ids_order":["1331366040","1331366047","1331366127","1331366203"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/33de5951b8162cd8f2f3c2f6a84648d7.jpg","text":"TemporaryFile(/tmp/multipartBody5962664241049463294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814892922,"filename":"image_25012025_15_19_03_015272_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6fbe6aa381781fbc3a6c754f24f39b99.jpg","text":"TemporaryFile(/tmp/multipartBody1990941467642415408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814892922,"filename":"image_25012025_15_20_02_213788_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3965008344df308fa767c84537ff948a.jpg","text":"TemporaryFile(/tmp/multipartBody4124183143401897230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814892922,"filename":"image_25012025_15_20_02_213788_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e15041a813d1923142d8389eb870840c.jpg","text":"TemporaryFile(/tmp/multipartBody4796934188048475659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814892922,"filename":"image_25012025_15_20_02_213788_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331366127","file1":"1331366047","file0":"1331366040","file3":"1331366203"},"map_files_photo_id_array":[{"photo_id":"1331366127","filename":"file2"},{"photo_id":"1331366047","filename":"file1"},{"photo_id":"1331366040","filename":"file0"},{"photo_id":"1331366203","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331366040":["hashtag1","hashtag2"]},{"1331366127":["hashtag1","hashtag2"]},{"1331366203":["hashtag1","hashtag2"]},{"1331366047":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331366040, 1331366127, 1331366203, 1331366047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.675005197525024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 15:21:02.816695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/20/image_21012025_21_20_03_108431_0001.jpg', '/home/pi/Desktop/images/21012025/21/21/image_21012025_21_21_02_237895_0000.jpg', '/home/pi/Desktop/images/21012025/21/21/image_21012025_21_21_02_237895_0001.jpg', '/home/pi/Desktop/images/21012025/21/21/image_21012025_21_21_02_237895_0002.jpg', '/home/pi/Desktop/images/21012025/21/21/image_21012025_21_21_02_237895_0003.jpg', '/home/pi/Desktop/images/21012025/21/22/image_21012025_21_22_02_554047_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/21/20/image_21012025_21_20_03_108431_0001.jpg
/home/pi/Desktop/images/21012025/21/21/image_21012025_21_21_02_237895_0000.jpg
/home/pi/Desktop/images/21012025/21/21/image_21012025_21_21_02_237895_0001.jpg
/home/pi/Desktop/images/21012025/21/21/image_21012025_21_21_02_237895_0002.jpg
/home/pi/Desktop/images/21012025/21/21/image_21012025_21_21_02_237895_0003.jpg
/home/pi/Desktop/images/21012025/21/22/image_21012025_21_22_02_554047_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331366523","1331366505","1331366514","1331366510","1331366527","1331366518"],"photo_ids_order":["1331366505","1331366510","1331366514","1331366518","1331366523","1331366527"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bdedbd5e1a6f8eb91491c6c131298e3b.jpg","text":"TemporaryFile(/tmp/multipartBody8187730066024463322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814938750,"filename":"image_21012025_21_21_02_237895_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1cb7f8bcf2bd4461df8a51c06d175232.jpg","text":"TemporaryFile(/tmp/multipartBody1398126603914005289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814938750,"filename":"image_21012025_21_20_03_108431_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/af6e11f8c87fe4d8c7163b61fbf501e3.jpg","text":"TemporaryFile(/tmp/multipartBody5625964327288455801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814938750,"filename":"image_21012025_21_21_02_237895_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bf4183e90340ba2e804c05552e46e783.jpg","text":"TemporaryFile(/tmp/multipartBody1166977315474920739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814938750,"filename":"image_21012025_21_21_02_237895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8d800baee4439db751c8d4b39df678db.jpg","text":"TemporaryFile(/tmp/multipartBody7892045861502893647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814938750,"filename":"image_21012025_21_22_02_554047_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/60e242b0b993a824ea1b7fd51890d52b.jpg","text":"TemporaryFile(/tmp/multipartBody1201701408331071750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737814938750,"filename":"image_21012025_21_21_02_237895_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331366514","file1":"1331366510","file0":"1331366505","file4":"1331366523","file5":"1331366527","file3":"1331366518"},"map_files_photo_id_array":[{"photo_id":"1331366527","filename":"file5"},{"photo_id":"1331366514","filename":"file2"},{"photo_id":"1331366523","filename":"file4"},{"photo_id":"1331366510","filename":"file1"},{"photo_id":"1331366505","filename":"file0"},{"photo_id":"1331366518","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331366523":["hashtag1","hashtag2"]},{"1331366505":["hashtag1","hashtag2"]},{"1331366514":["hashtag1","hashtag2"]},{"1331366510":["hashtag1","hashtag2"]},{"1331366527":["hashtag1","hashtag2"]},{"1331366518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331366523, 1331366505, 1331366514, 1331366510, 1331366527, 1331366518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.290080547332764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:22:22.394932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/20/image_25012025_15_20_02_213788_0003.jpg', '/home/pi/Desktop/images/25012025/15/21/image_25012025_15_21_02_425423_0000.jpg', '/home/pi/Desktop/images/25012025/15/21/image_25012025_15_21_02_425423_0001.jpg', '/home/pi/Desktop/images/25012025/15/21/image_25012025_15_21_02_425423_0002.jpg', '/home/pi/Desktop/images/25012025/15/21/image_25012025_15_21_02_425423_0003.jpg', '/home/pi/Desktop/images/25012025/15/22/image_25012025_15_22_02_651809_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/20/image_25012025_15_20_02_213788_0003.jpg
/home/pi/Desktop/images/25012025/15/21/image_25012025_15_21_02_425423_0000.jpg
/home/pi/Desktop/images/25012025/15/21/image_25012025_15_21_02_425423_0001.jpg
/home/pi/Desktop/images/25012025/15/21/image_25012025_15_21_02_425423_0002.jpg
/home/pi/Desktop/images/25012025/15/21/image_25012025_15_21_02_425423_0003.jpg
/home/pi/Desktop/images/25012025/15/22/image_25012025_15_22_02_651809_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 [200]>
b'{"photo_ids":["1331366607","1331366588","1331366603","1331366599","1331366611","1331366595"],"photo_ids_order":["1331366588","1331366595","1331366599","1331366603","1331366607","1331366611"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0491162e1967917d440fa04468425727.jpg","text":"TemporaryFile(/tmp/multipartBody8572013004833373595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815018770,"filename":"image_25012025_15_21_02_425423_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/501879d0664a2b107c7d7c9eb39b3ac2.jpg","text":"TemporaryFile(/tmp/multipartBody3604126422247424247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815018770,"filename":"image_25012025_15_20_02_213788_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4d64eb66578a0c3f039c9ef1616b6f74.jpg","text":"TemporaryFile(/tmp/multipartBody2336480106002413328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815018770,"filename":"image_25012025_15_21_02_425423_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/690d74074e05e156786ba2e71c19e26a.jpg","text":"TemporaryFile(/tmp/multipartBody8047352727808350963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815018770,"filename":"image_25012025_15_21_02_425423_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dd9e90bcd5c8e8113fb07cb68d503018.jpg","text":"TemporaryFile(/tmp/multipartBody7480904112620228318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815018770,"filename":"image_25012025_15_22_02_651809_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7351b5d397fc12d3d3eac1eaef9f1754.jpg","text":"TemporaryFile(/tmp/multipartBody3629770151937227004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815018770,"filename":"image_25012025_15_21_02_425423_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331366599","file1":"1331366595","file0":"1331366588","file4":"1331366607","file5":"1331366611","file3":"1331366603"},"map_files_photo_id_array":[{"photo_id":"1331366611","filename":"file5"},{"photo_id":"1331366599","filename":"file2"},{"photo_id":"1331366607","filename":"file4"},{"photo_id":"1331366595","filename":"file1"},{"photo_id":"1331366588","filename":"file0"},{"photo_id":"1331366603","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331366607":["hashtag1","hashtag2"]},{"1331366588":["hashtag1","hashtag2"]},{"1331366603":["hashtag1","hashtag2"]},{"1331366599":["hashtag1","hashtag2"]},{"1331366611":["hashtag1","hashtag2"]},{"1331366595":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331366607, 1331366588, 1331366603, 1331366599, 1331366611, 1331366595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.54515552520752 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:23:22.843234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/22/image_25012025_15_22_02_651809_0001.jpg', '/home/pi/Desktop/images/25012025/15/22/image_25012025_15_22_02_651809_0002.jpg', '/home/pi/Desktop/images/25012025/15/22/image_25012025_15_22_02_651809_0003.jpg', '/home/pi/Desktop/images/25012025/15/23/image_25012025_15_23_02_813312_0000.jpg', '/home/pi/Desktop/images/25012025/15/23/image_25012025_15_23_02_813312_0001.jpg', '/home/pi/Desktop/images/25012025/15/23/image_25012025_15_23_02_813312_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/22/image_25012025_15_22_02_651809_0001.jpg
/home/pi/Desktop/images/25012025/15/22/image_25012025_15_22_02_651809_0002.jpg
/home/pi/Desktop/images/25012025/15/22/image_25012025_15_22_02_651809_0003.jpg
/home/pi/Desktop/images/25012025/15/23/image_25012025_15_23_02_813312_0000.jpg
/home/pi/Desktop/images/25012025/15/23/image_25012025_15_23_02_813312_0001.jpg
/home/pi/Desktop/images/25012025/15/23/image_25012025_15_23_02_813312_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 [200]>
b'{"photo_ids":["1331366637","1331366652","1331366648","1331366642","1331366645","1331366650"],"photo_ids_order":["1331366637","1331366642","1331366645","1331366648","1331366650","1331366652"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9e0ede5926d4cbc2a46b02be0f3da956.jpg","text":"TemporaryFile(/tmp/multipartBody2715493898169698847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815079348,"filename":"image_25012025_15_22_02_651809_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b35e6d3e1c252e1a6ed7e234e09601be.jpg","text":"TemporaryFile(/tmp/multipartBody8200541827824931675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815079348,"filename":"image_25012025_15_23_02_813312_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f0e78949cb3fc45b1b1a4fb51b8bf94f.jpg","text":"TemporaryFile(/tmp/multipartBody8732803369324439518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815079348,"filename":"image_25012025_15_23_02_813312_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/87ccb684498b03ae6b32dc121a84becf.jpg","text":"TemporaryFile(/tmp/multipartBody1779095768525801250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815079348,"filename":"image_25012025_15_22_02_651809_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/53d235eda279ef94a8e167c787d8aab9.jpg","text":"TemporaryFile(/tmp/multipartBody3958761378542976295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815079348,"filename":"image_25012025_15_22_02_651809_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/58cae7fd5300a768e1314ad205f74fd4.jpg","text":"TemporaryFile(/tmp/multipartBody5187986850093061028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815079348,"filename":"image_25012025_15_23_02_813312_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331366645","file1":"1331366642","file0":"1331366637","file4":"1331366650","file5":"1331366652","file3":"1331366648"},"map_files_photo_id_array":[{"photo_id":"1331366652","filename":"file5"},{"photo_id":"1331366645","filename":"file2"},{"photo_id":"1331366650","filename":"file4"},{"photo_id":"1331366642","filename":"file1"},{"photo_id":"1331366637","filename":"file0"},{"photo_id":"1331366648","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331366637":["hashtag1","hashtag2"]},{"1331366652":["hashtag1","hashtag2"]},{"1331366648":["hashtag1","hashtag2"]},{"1331366642":["hashtag1","hashtag2"]},{"1331366645":["hashtag1","hashtag2"]},{"1331366650":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331366637, 1331366652, 1331366648, 1331366642, 1331366645, 1331366650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.52722883224487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:24:21.892782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/23/image_25012025_15_23_02_813312_0003.jpg', '/home/pi/Desktop/images/25012025/15/24/image_25012025_15_24_03_085224_0000.jpg', '/home/pi/Desktop/images/25012025/15/24/image_25012025_15_24_03_085224_0001.jpg', '/home/pi/Desktop/images/25012025/15/24/image_25012025_15_24_03_085224_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/23/image_25012025_15_23_02_813312_0003.jpg
/home/pi/Desktop/images/25012025/15/24/image_25012025_15_24_03_085224_0000.jpg
/home/pi/Desktop/images/25012025/15/24/image_25012025_15_24_03_085224_0001.jpg
/home/pi/Desktop/images/25012025/15/24/image_25012025_15_24_03_085224_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: 11.064418077468872 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 15:24:41.865296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/23/image_25012025_15_23_02_813312_0003.jpg', '/home/pi/Desktop/images/25012025/15/24/image_25012025_15_24_03_085224_0000.jpg', '/home/pi/Desktop/images/25012025/15/24/image_25012025_15_24_03_085224_0001.jpg', '/home/pi/Desktop/images/25012025/15/24/image_25012025_15_24_03_085224_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/23/image_25012025_15_23_02_813312_0003.jpg
/home/pi/Desktop/images/25012025/15/24/image_25012025_15_24_03_085224_0000.jpg
/home/pi/Desktop/images/25012025/15/24/image_25012025_15_24_03_085224_0001.jpg
/home/pi/Desktop/images/25012025/15/24/image_25012025_15_24_03_085224_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":["1331366882","1331366879","1331366870","1331366875"],"photo_ids_order":["1331366870","1331366875","1331366879","1331366882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f9da04fb944525a681f186c241c839ed.jpg","text":"TemporaryFile(/tmp/multipartBody7638463928617680987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815153318,"filename":"image_25012025_15_24_03_085224_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bd001c39bbba0eba6f8462aea18543c9.jpg","text":"TemporaryFile(/tmp/multipartBody4427956845348410491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815153318,"filename":"image_25012025_15_24_03_085224_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8629b8fb05f8251e9aaca501618901f3.jpg","text":"TemporaryFile(/tmp/multipartBody1803511993303942960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815153318,"filename":"image_25012025_15_23_02_813312_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d750dd9d35d65dd2f4eabc583e14b115.jpg","text":"TemporaryFile(/tmp/multipartBody7935601284279485266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815153318,"filename":"image_25012025_15_24_03_085224_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331366879","file1":"1331366875","file0":"1331366870","file3":"1331366882"},"map_files_photo_id_array":[{"photo_id":"1331366879","filename":"file2"},{"photo_id":"1331366875","filename":"file1"},{"photo_id":"1331366870","filename":"file0"},{"photo_id":"1331366882","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331366882":["hashtag1","hashtag2"]},{"1331366879":["hashtag1","hashtag2"]},{"1331366870":["hashtag1","hashtag2"]},{"1331366875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331366882, 1331366879, 1331366870, 1331366875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.82364797592163 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 15:25:32.069412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/24/image_25012025_15_24_03_085224_0003.jpg', '/home/pi/Desktop/images/25012025/15/25/image_25012025_15_25_02_202634_0000.jpg', '/home/pi/Desktop/images/25012025/15/25/image_25012025_15_25_02_202634_0001.jpg', '/home/pi/Desktop/images/25012025/15/25/image_25012025_15_25_02_202634_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/24/image_25012025_15_24_03_085224_0003.jpg
/home/pi/Desktop/images/25012025/15/25/image_25012025_15_25_02_202634_0000.jpg
/home/pi/Desktop/images/25012025/15/25/image_25012025_15_25_02_202634_0001.jpg
/home/pi/Desktop/images/25012025/15/25/image_25012025_15_25_02_202634_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: 11.20659613609314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 15:25:52.033552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/24/image_25012025_15_24_03_085224_0003.jpg', '/home/pi/Desktop/images/25012025/15/25/image_25012025_15_25_02_202634_0000.jpg', '/home/pi/Desktop/images/25012025/15/25/image_25012025_15_25_02_202634_0001.jpg', '/home/pi/Desktop/images/25012025/15/25/image_25012025_15_25_02_202634_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/24/image_25012025_15_24_03_085224_0003.jpg
/home/pi/Desktop/images/25012025/15/25/image_25012025_15_25_02_202634_0000.jpg
/home/pi/Desktop/images/25012025/15/25/image_25012025_15_25_02_202634_0001.jpg
/home/pi/Desktop/images/25012025/15/25/image_25012025_15_25_02_202634_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":["1331366961","1331366951","1331366954","1331366958"],"photo_ids_order":["1331366951","1331366954","1331366958","1331366961"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9d45e46220752f54275620bc45c39fcf.jpg","text":"TemporaryFile(/tmp/multipartBody8768631603855742941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815223618,"filename":"image_25012025_15_25_02_202634_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c2447a7344da82dc6096b7026063fb18.jpg","text":"TemporaryFile(/tmp/multipartBody4090990070268656941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815223618,"filename":"image_25012025_15_24_03_085224_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/42739e1c7b913de319c255ce3c05d56a.jpg","text":"TemporaryFile(/tmp/multipartBody3518925923026602322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815223618,"filename":"image_25012025_15_25_02_202634_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c90f91c74583102f7f23b2588929f1ef.jpg","text":"TemporaryFile(/tmp/multipartBody1264773114674920220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815223618,"filename":"image_25012025_15_25_02_202634_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331366958","file1":"1331366954","file0":"1331366951","file3":"1331366961"},"map_files_photo_id_array":[{"photo_id":"1331366958","filename":"file2"},{"photo_id":"1331366954","filename":"file1"},{"photo_id":"1331366951","filename":"file0"},{"photo_id":"1331366961","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331366961":["hashtag1","hashtag2"]},{"1331366951":["hashtag1","hashtag2"]},{"1331366954":["hashtag1","hashtag2"]},{"1331366958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331366961, 1331366951, 1331366954, 1331366958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.60679626464844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 15:26:42.254261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/25/image_25012025_15_25_02_202634_0003.jpg', '/home/pi/Desktop/images/25012025/15/26/image_25012025_15_26_02_435503_0000.jpg', '/home/pi/Desktop/images/25012025/15/26/image_25012025_15_26_02_435503_0001.jpg', '/home/pi/Desktop/images/25012025/15/26/image_25012025_15_26_02_435503_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/25/image_25012025_15_25_02_202634_0003.jpg
/home/pi/Desktop/images/25012025/15/26/image_25012025_15_26_02_435503_0000.jpg
/home/pi/Desktop/images/25012025/15/26/image_25012025_15_26_02_435503_0001.jpg
/home/pi/Desktop/images/25012025/15/26/image_25012025_15_26_02_435503_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: 10.923208236694336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 15:27:03.089072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/25/image_25012025_15_25_02_202634_0003.jpg', '/home/pi/Desktop/images/25012025/15/26/image_25012025_15_26_02_435503_0000.jpg', '/home/pi/Desktop/images/25012025/15/26/image_25012025_15_26_02_435503_0001.jpg', '/home/pi/Desktop/images/25012025/15/26/image_25012025_15_26_02_435503_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/25/image_25012025_15_25_02_202634_0003.jpg
/home/pi/Desktop/images/25012025/15/26/image_25012025_15_26_02_435503_0000.jpg
/home/pi/Desktop/images/25012025/15/26/image_25012025_15_26_02_435503_0001.jpg
/home/pi/Desktop/images/25012025/15/26/image_25012025_15_26_02_435503_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":["1331366999","1331367004","1331366994","1331367009"],"photo_ids_order":["1331366994","1331366999","1331367004","1331367009"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a4112d3c46776ddc98c2446bedc5e44f.jpg","text":"TemporaryFile(/tmp/multipartBody2808400755399301277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815294466,"filename":"image_25012025_15_26_02_435503_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/224f70f7b4410bda84f9d7b65734be8e.jpg","text":"TemporaryFile(/tmp/multipartBody5892715532214724420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815294466,"filename":"image_25012025_15_26_02_435503_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d9cd1ac73d09affd6fcb435baab58d5a.jpg","text":"TemporaryFile(/tmp/multipartBody1770780167369670039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815294466,"filename":"image_25012025_15_25_02_202634_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1a5fe0f7d3c6d71362fd9201956c99d5.jpg","text":"TemporaryFile(/tmp/multipartBody4135381126171330667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815294466,"filename":"image_25012025_15_26_02_435503_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331367004","file1":"1331366999","file0":"1331366994","file3":"1331367009"},"map_files_photo_id_array":[{"photo_id":"1331367004","filename":"file2"},{"photo_id":"1331366999","filename":"file1"},{"photo_id":"1331366994","filename":"file0"},{"photo_id":"1331367009","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331366999":["hashtag1","hashtag2"]},{"1331367004":["hashtag1","hashtag2"]},{"1331366994":["hashtag1","hashtag2"]},{"1331367009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331366999, 1331367004, 1331366994, 1331367009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.61662745475769 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 15:27:52.402599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/26/image_25012025_15_26_02_435503_0003.jpg', '/home/pi/Desktop/images/25012025/15/27/image_25012025_15_27_02_589782_0000.jpg', '/home/pi/Desktop/images/25012025/15/27/image_25012025_15_27_02_589782_0001.jpg', '/home/pi/Desktop/images/25012025/15/27/image_25012025_15_27_02_589782_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/26/image_25012025_15_26_02_435503_0003.jpg
/home/pi/Desktop/images/25012025/15/27/image_25012025_15_27_02_589782_0000.jpg
/home/pi/Desktop/images/25012025/15/27/image_25012025_15_27_02_589782_0001.jpg
/home/pi/Desktop/images/25012025/15/27/image_25012025_15_27_02_589782_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: 11.353292465209961 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:28:22.617524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/26/image_25012025_15_26_02_435503_0003.jpg', '/home/pi/Desktop/images/25012025/15/27/image_25012025_15_27_02_589782_0000.jpg', '/home/pi/Desktop/images/25012025/15/27/image_25012025_15_27_02_589782_0001.jpg', '/home/pi/Desktop/images/25012025/15/27/image_25012025_15_27_02_589782_0002.jpg', '/home/pi/Desktop/images/25012025/15/27/image_25012025_15_27_02_589782_0003.jpg', '/home/pi/Desktop/images/25012025/15/28/image_25012025_15_28_02_787251_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/26/image_25012025_15_26_02_435503_0003.jpg
/home/pi/Desktop/images/25012025/15/27/image_25012025_15_27_02_589782_0000.jpg
/home/pi/Desktop/images/25012025/15/27/image_25012025_15_27_02_589782_0001.jpg
/home/pi/Desktop/images/25012025/15/27/image_25012025_15_27_02_589782_0002.jpg
/home/pi/Desktop/images/25012025/15/27/image_25012025_15_27_02_589782_0003.jpg
/home/pi/Desktop/images/25012025/15/28/image_25012025_15_28_02_787251_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 [200]>
b'{"photo_ids":["1331367092","1331367089","1331367083","1331367085","1331367081","1331367078"],"photo_ids_order":["1331367078","1331367081","1331367083","1331367085","1331367089","1331367092"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1173eb76fbfb3a5bc7c159ddef966f1e.jpg","text":"TemporaryFile(/tmp/multipartBody2902232330853320322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815379971,"filename":"image_25012025_15_28_02_787251_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c0ffabe6ca5b501d514618d4526848b2.jpg","text":"TemporaryFile(/tmp/multipartBody2670200064418977581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815379971,"filename":"image_25012025_15_27_02_589782_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4de24d55c6bd5b2b639767ac12f0b685.jpg","text":"TemporaryFile(/tmp/multipartBody860203112545627508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815379971,"filename":"image_25012025_15_27_02_589782_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5fa41a7e529acc7ace0322c16894e978.jpg","text":"TemporaryFile(/tmp/multipartBody2445029594226223165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815379971,"filename":"image_25012025_15_27_02_589782_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e919213b233ef9eef24331533e00cc33.jpg","text":"TemporaryFile(/tmp/multipartBody6829753382301439082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815379971,"filename":"image_25012025_15_27_02_589782_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a585f7b6866d1bd831d036cc1ac45392.jpg","text":"TemporaryFile(/tmp/multipartBody196632843474212263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815379971,"filename":"image_25012025_15_26_02_435503_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331367083","file1":"1331367081","file0":"1331367078","file4":"1331367089","file5":"1331367092","file3":"1331367085"},"map_files_photo_id_array":[{"photo_id":"1331367092","filename":"file5"},{"photo_id":"1331367083","filename":"file2"},{"photo_id":"1331367089","filename":"file4"},{"photo_id":"1331367081","filename":"file1"},{"photo_id":"1331367078","filename":"file0"},{"photo_id":"1331367085","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331367092":["hashtag1","hashtag2"]},{"1331367089":["hashtag1","hashtag2"]},{"1331367083":["hashtag1","hashtag2"]},{"1331367085":["hashtag1","hashtag2"]},{"1331367081":["hashtag1","hashtag2"]},{"1331367078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331367092, 1331367089, 1331367083, 1331367085, 1331367081, 1331367078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.223878622055054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:29:21.885963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/28/image_25012025_15_28_02_787251_0001.jpg', '/home/pi/Desktop/images/25012025/15/28/image_25012025_15_28_02_787251_0002.jpg', '/home/pi/Desktop/images/25012025/15/28/image_25012025_15_28_02_787251_0003.jpg', '/home/pi/Desktop/images/25012025/15/29/image_25012025_15_29_02_975668_0000.jpg', '/home/pi/Desktop/images/25012025/15/29/image_25012025_15_29_02_975668_0001.jpg', '/home/pi/Desktop/images/25012025/15/29/image_25012025_15_29_02_975668_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/28/image_25012025_15_28_02_787251_0001.jpg
/home/pi/Desktop/images/25012025/15/28/image_25012025_15_28_02_787251_0002.jpg
/home/pi/Desktop/images/25012025/15/28/image_25012025_15_28_02_787251_0003.jpg
/home/pi/Desktop/images/25012025/15/29/image_25012025_15_29_02_975668_0000.jpg
/home/pi/Desktop/images/25012025/15/29/image_25012025_15_29_02_975668_0001.jpg
/home/pi/Desktop/images/25012025/15/29/image_25012025_15_29_02_975668_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 [200]>
b'{"photo_ids":["1331367128","1331367166","1331367133","1331367163","1331367138","1331367141"],"photo_ids_order":["1331367128","1331367133","1331367138","1331367141","1331367163","1331367166"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/58ac59b737ab651d6b20839cb7bdce83.jpg","text":"TemporaryFile(/tmp/multipartBody8569930699524166271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815438900,"filename":"image_25012025_15_28_02_787251_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6827381d5e9f1f8470df36e0dd570f3c.jpg","text":"TemporaryFile(/tmp/multipartBody8749459848226039672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815438900,"filename":"image_25012025_15_29_02_975668_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fbfeb30eef75501754c7bb1b251a0a81.jpg","text":"TemporaryFile(/tmp/multipartBody5666605440175349856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815438900,"filename":"image_25012025_15_28_02_787251_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/325033225a49dae99d248694a2db407e.jpg","text":"TemporaryFile(/tmp/multipartBody5340522493467737935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815438900,"filename":"image_25012025_15_29_02_975668_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/490a0195fd7295b02e6b254a9203cc04.jpg","text":"TemporaryFile(/tmp/multipartBody4669060187745485186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815438900,"filename":"image_25012025_15_28_02_787251_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/07cc95121edc0d429361ec2c0f8e928a.jpg","text":"TemporaryFile(/tmp/multipartBody2791344318730412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815438900,"filename":"image_25012025_15_29_02_975668_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331367138","file1":"1331367133","file0":"1331367128","file4":"1331367163","file5":"1331367166","file3":"1331367141"},"map_files_photo_id_array":[{"photo_id":"1331367166","filename":"file5"},{"photo_id":"1331367138","filename":"file2"},{"photo_id":"1331367163","filename":"file4"},{"photo_id":"1331367133","filename":"file1"},{"photo_id":"1331367128","filename":"file0"},{"photo_id":"1331367141","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331367128":["hashtag1","hashtag2"]},{"1331367166":["hashtag1","hashtag2"]},{"1331367133":["hashtag1","hashtag2"]},{"1331367163":["hashtag1","hashtag2"]},{"1331367138":["hashtag1","hashtag2"]},{"1331367141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331367128, 1331367166, 1331367133, 1331367163, 1331367138, 1331367141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.14780831336975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:30:22.015257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/29/image_25012025_15_29_02_975668_0003.jpg', '/home/pi/Desktop/images/25012025/15/30/image_25012025_15_30_02_144150_0000.jpg', '/home/pi/Desktop/images/25012025/15/30/image_25012025_15_30_02_144150_0001.jpg', '/home/pi/Desktop/images/25012025/15/30/image_25012025_15_30_02_144150_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/29/image_25012025_15_29_02_975668_0003.jpg
/home/pi/Desktop/images/25012025/15/30/image_25012025_15_30_02_144150_0000.jpg
/home/pi/Desktop/images/25012025/15/30/image_25012025_15_30_02_144150_0001.jpg
/home/pi/Desktop/images/25012025/15/30/image_25012025_15_30_02_144150_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":["1331367501","1331367467","1331367548","1331367576"],"photo_ids_order":["1331367467","1331367501","1331367548","1331367576"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aeebe9fd76029099751afa7ef1af4bf6.jpg","text":"TemporaryFile(/tmp/multipartBody502210071851414170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815493399,"filename":"image_25012025_15_30_02_144150_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3f810f0d248053e5f58da92899a20e0b.jpg","text":"TemporaryFile(/tmp/multipartBody5502590562792859924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815493399,"filename":"image_25012025_15_29_02_975668_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5cf9793aa1d1edc1bc7f76d6220a5e01.jpg","text":"TemporaryFile(/tmp/multipartBody5960872606763071377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815493399,"filename":"image_25012025_15_30_02_144150_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d0ea184f8aee0e2b3027b65d843e59f2.jpg","text":"TemporaryFile(/tmp/multipartBody6493454776528238907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815493399,"filename":"image_25012025_15_30_02_144150_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331367548","file1":"1331367501","file0":"1331367467","file3":"1331367576"},"map_files_photo_id_array":[{"photo_id":"1331367548","filename":"file2"},{"photo_id":"1331367501","filename":"file1"},{"photo_id":"1331367467","filename":"file0"},{"photo_id":"1331367576","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331367501":["hashtag1","hashtag2"]},{"1331367467":["hashtag1","hashtag2"]},{"1331367548":["hashtag1","hashtag2"]},{"1331367576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331367501, 1331367467, 1331367548, 1331367576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.631486892700195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 15:31:02.577321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/22/image_21012025_21_22_02_554047_0003.jpg', '/home/pi/Desktop/images/21012025/21/23/image_21012025_21_23_02_640850_0000.jpg', '/home/pi/Desktop/images/21012025/21/23/image_21012025_21_23_02_640850_0001.jpg', '/home/pi/Desktop/images/21012025/21/23/image_21012025_21_23_02_640850_0002.jpg', '/home/pi/Desktop/images/21012025/21/23/image_21012025_21_23_02_640850_0003.jpg', '/home/pi/Desktop/images/21012025/21/24/image_21012025_21_24_02_842681_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/21/22/image_21012025_21_22_02_554047_0003.jpg
/home/pi/Desktop/images/21012025/21/23/image_21012025_21_23_02_640850_0000.jpg
/home/pi/Desktop/images/21012025/21/23/image_21012025_21_23_02_640850_0001.jpg
/home/pi/Desktop/images/21012025/21/23/image_21012025_21_23_02_640850_0002.jpg
/home/pi/Desktop/images/21012025/21/23/image_21012025_21_23_02_640850_0003.jpg
/home/pi/Desktop/images/21012025/21/24/image_21012025_21_24_02_842681_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 [200]>
b'{"photo_ids":["1331367587","1331367629","1331367589","1331367634","1331367594","1331367615"],"photo_ids_order":["1331367587","1331367589","1331367594","1331367615","1331367629","1331367634"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a78e2c4dd4a8cca4037ff5ebfcd66e33.jpg","text":"TemporaryFile(/tmp/multipartBody208726015942361173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815538602,"filename":"image_21012025_21_22_02_554047_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/246567e4dbc0719d3b5b5215fe52d18f.jpg","text":"TemporaryFile(/tmp/multipartBody1521120777420150427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815538602,"filename":"image_21012025_21_23_02_640850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1c730aa726846435302f6c465d57dc72.jpg","text":"TemporaryFile(/tmp/multipartBody45062758394165168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815538602,"filename":"image_21012025_21_23_02_640850_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/238fb47a4615409b2f554a5914176291.jpg","text":"TemporaryFile(/tmp/multipartBody8156772963581000716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815538602,"filename":"image_21012025_21_24_02_842681_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a6663d21bbccdc3d2dd682472a20c5b5.jpg","text":"TemporaryFile(/tmp/multipartBody1159779720020313346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815538602,"filename":"image_21012025_21_23_02_640850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eda108ff3f0221a2dfc71139539ceb47.jpg","text":"TemporaryFile(/tmp/multipartBody5169659331272347052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815538602,"filename":"image_21012025_21_23_02_640850_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331367594","file1":"1331367589","file0":"1331367587","file4":"1331367629","file5":"1331367634","file3":"1331367615"},"map_files_photo_id_array":[{"photo_id":"1331367634","filename":"file5"},{"photo_id":"1331367594","filename":"file2"},{"photo_id":"1331367629","filename":"file4"},{"photo_id":"1331367589","filename":"file1"},{"photo_id":"1331367587","filename":"file0"},{"photo_id":"1331367615","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331367587":["hashtag1","hashtag2"]},{"1331367629":["hashtag1","hashtag2"]},{"1331367589":["hashtag1","hashtag2"]},{"1331367634":["hashtag1","hashtag2"]},{"1331367594":["hashtag1","hashtag2"]},{"1331367615":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331367587, 1331367629, 1331367589, 1331367634, 1331367594, 1331367615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.990384101867676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 15:32:02.722419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/30/image_25012025_15_30_02_144150_0003.jpg', '/home/pi/Desktop/images/25012025/15/31/image_25012025_15_31_02_304909_0000.jpg', '/home/pi/Desktop/images/25012025/15/31/image_25012025_15_31_02_304909_0001.jpg', '/home/pi/Desktop/images/25012025/15/31/image_25012025_15_31_02_304909_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/30/image_25012025_15_30_02_144150_0003.jpg
/home/pi/Desktop/images/25012025/15/31/image_25012025_15_31_02_304909_0000.jpg
/home/pi/Desktop/images/25012025/15/31/image_25012025_15_31_02_304909_0001.jpg
/home/pi/Desktop/images/25012025/15/31/image_25012025_15_31_02_304909_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.11784839630127 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:32:22.312799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/30/image_25012025_15_30_02_144150_0003.jpg', '/home/pi/Desktop/images/25012025/15/31/image_25012025_15_31_02_304909_0000.jpg', '/home/pi/Desktop/images/25012025/15/31/image_25012025_15_31_02_304909_0001.jpg', '/home/pi/Desktop/images/25012025/15/31/image_25012025_15_31_02_304909_0002.jpg', '/home/pi/Desktop/images/25012025/15/31/image_25012025_15_31_02_304909_0003.jpg', '/home/pi/Desktop/images/25012025/15/32/image_25012025_15_32_02_490020_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/30/image_25012025_15_30_02_144150_0003.jpg
/home/pi/Desktop/images/25012025/15/31/image_25012025_15_31_02_304909_0000.jpg
/home/pi/Desktop/images/25012025/15/31/image_25012025_15_31_02_304909_0001.jpg
/home/pi/Desktop/images/25012025/15/31/image_25012025_15_31_02_304909_0002.jpg
/home/pi/Desktop/images/25012025/15/31/image_25012025_15_31_02_304909_0003.jpg
/home/pi/Desktop/images/25012025/15/32/image_25012025_15_32_02_490020_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 [200]>
b'{"photo_ids":["1331367665","1331367668","1331367772","1331367760","1331367763","1331367660"],"photo_ids_order":["1331367660","1331367665","1331367668","1331367760","1331367763","1331367772"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a63717eacee56dc8f6614ae1d2b97d5d.jpg","text":"TemporaryFile(/tmp/multipartBody6359163806951326737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815619447,"filename":"image_25012025_15_31_02_304909_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/df76b7b5ab4362c9a2ed78803020ae88.jpg","text":"TemporaryFile(/tmp/multipartBody8621524964681767116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815619447,"filename":"image_25012025_15_31_02_304909_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f80c474cafc7ba8b351d03f6aeccd286.jpg","text":"TemporaryFile(/tmp/multipartBody7938752145202351038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815619447,"filename":"image_25012025_15_32_02_490020_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/04702efd190ec80681ba31670f3b5d41.jpg","text":"TemporaryFile(/tmp/multipartBody376498980415564169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815619447,"filename":"image_25012025_15_31_02_304909_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d0f2f1c83c0fa24d549f457bb529b65e.jpg","text":"TemporaryFile(/tmp/multipartBody3339117241202779227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815619447,"filename":"image_25012025_15_31_02_304909_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d6c25842124c82e561ec4f6abb46f307.jpg","text":"TemporaryFile(/tmp/multipartBody2094978332719869021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815619447,"filename":"image_25012025_15_30_02_144150_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331367668","file1":"1331367665","file0":"1331367660","file4":"1331367763","file5":"1331367772","file3":"1331367760"},"map_files_photo_id_array":[{"photo_id":"1331367772","filename":"file5"},{"photo_id":"1331367668","filename":"file2"},{"photo_id":"1331367763","filename":"file4"},{"photo_id":"1331367665","filename":"file1"},{"photo_id":"1331367660","filename":"file0"},{"photo_id":"1331367760","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331367665":["hashtag1","hashtag2"]},{"1331367668":["hashtag1","hashtag2"]},{"1331367772":["hashtag1","hashtag2"]},{"1331367760":["hashtag1","hashtag2"]},{"1331367763":["hashtag1","hashtag2"]},{"1331367660":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331367665, 1331367668, 1331367772, 1331367760, 1331367763, 1331367660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.947171449661255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:33:22.619336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/32/image_25012025_15_32_02_490020_0001.jpg', '/home/pi/Desktop/images/25012025/15/32/image_25012025_15_32_02_490020_0002.jpg', '/home/pi/Desktop/images/25012025/15/32/image_25012025_15_32_02_490020_0003.jpg', '/home/pi/Desktop/images/25012025/15/33/image_25012025_15_33_02_701654_0000.jpg', '/home/pi/Desktop/images/25012025/15/33/image_25012025_15_33_02_701654_0001.jpg', '/home/pi/Desktop/images/25012025/15/33/image_25012025_15_33_02_701654_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/32/image_25012025_15_32_02_490020_0001.jpg
/home/pi/Desktop/images/25012025/15/32/image_25012025_15_32_02_490020_0002.jpg
/home/pi/Desktop/images/25012025/15/32/image_25012025_15_32_02_490020_0003.jpg
/home/pi/Desktop/images/25012025/15/33/image_25012025_15_33_02_701654_0000.jpg
/home/pi/Desktop/images/25012025/15/33/image_25012025_15_33_02_701654_0001.jpg
/home/pi/Desktop/images/25012025/15/33/image_25012025_15_33_02_701654_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 [200]>
b'{"photo_ids":["1331367820","1331367825","1331367828","1331367813","1331367807","1331367816"],"photo_ids_order":["1331367807","1331367813","1331367816","1331367820","1331367825","1331367828"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b1a38da48d4ad5dcaad48bb7349bc016.jpg","text":"TemporaryFile(/tmp/multipartBody6651724444222371773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815679709,"filename":"image_25012025_15_33_02_701654_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/52ecea5119b9a8d9a7b9b1d7b38dc6b1.jpg","text":"TemporaryFile(/tmp/multipartBody1847286925165070329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815679709,"filename":"image_25012025_15_33_02_701654_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/77ceba39a62bd103657262d06dc31d60.jpg","text":"TemporaryFile(/tmp/multipartBody2321243009862963366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815679709,"filename":"image_25012025_15_33_02_701654_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/18d9075cd80adea30200e16586a78c03.jpg","text":"TemporaryFile(/tmp/multipartBody790149171854799904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815679709,"filename":"image_25012025_15_32_02_490020_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6ca563ade225b54b042d84028aa551a0.jpg","text":"TemporaryFile(/tmp/multipartBody7111519624808638007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815679709,"filename":"image_25012025_15_32_02_490020_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/71b1ff8b3777363ef81073ce2f082e42.jpg","text":"TemporaryFile(/tmp/multipartBody4058575549704794194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815679709,"filename":"image_25012025_15_32_02_490020_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331367816","file1":"1331367813","file0":"1331367807","file4":"1331367825","file5":"1331367828","file3":"1331367820"},"map_files_photo_id_array":[{"photo_id":"1331367828","filename":"file5"},{"photo_id":"1331367816","filename":"file2"},{"photo_id":"1331367825","filename":"file4"},{"photo_id":"1331367813","filename":"file1"},{"photo_id":"1331367807","filename":"file0"},{"photo_id":"1331367820","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331367820":["hashtag1","hashtag2"]},{"1331367825":["hashtag1","hashtag2"]},{"1331367828":["hashtag1","hashtag2"]},{"1331367813":["hashtag1","hashtag2"]},{"1331367807":["hashtag1","hashtag2"]},{"1331367816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331367820, 1331367825, 1331367828, 1331367813, 1331367807, 1331367816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.180206060409546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:34:22.685998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/33/image_25012025_15_33_02_701654_0003.jpg', '/home/pi/Desktop/images/25012025/15/34/image_25012025_15_34_02_876983_0000.jpg', '/home/pi/Desktop/images/25012025/15/34/image_25012025_15_34_02_876983_0001.jpg', '/home/pi/Desktop/images/25012025/15/34/image_25012025_15_34_02_876983_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/33/image_25012025_15_33_02_701654_0003.jpg
/home/pi/Desktop/images/25012025/15/34/image_25012025_15_34_02_876983_0000.jpg
/home/pi/Desktop/images/25012025/15/34/image_25012025_15_34_02_876983_0001.jpg
/home/pi/Desktop/images/25012025/15/34/image_25012025_15_34_02_876983_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 [200]>
b'{"photo_ids":["1331367881","1331367878","1331367874","1331367870"],"photo_ids_order":["1331367870","1331367874","1331367878","1331367881"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d46824e9dc9658c3a3501565ad6de122.jpg","text":"TemporaryFile(/tmp/multipartBody3053184941400906416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815734197,"filename":"image_25012025_15_34_02_876983_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f68838f5e29a4eb6cb2baf57ffbe9af3.jpg","text":"TemporaryFile(/tmp/multipartBody2222143993815380250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815734197,"filename":"image_25012025_15_34_02_876983_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/92b0692951bb1db0e7bea78a047c2093.jpg","text":"TemporaryFile(/tmp/multipartBody791242660482940382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815734197,"filename":"image_25012025_15_34_02_876983_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8ee2c99da8ae89fe2edf430b7a4c3ece.jpg","text":"TemporaryFile(/tmp/multipartBody6978920056358700987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815734197,"filename":"image_25012025_15_33_02_701654_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331367878","file1":"1331367874","file0":"1331367870","file3":"1331367881"},"map_files_photo_id_array":[{"photo_id":"1331367878","filename":"file2"},{"photo_id":"1331367874","filename":"file1"},{"photo_id":"1331367870","filename":"file0"},{"photo_id":"1331367881","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331367881":["hashtag1","hashtag2"]},{"1331367878":["hashtag1","hashtag2"]},{"1331367874":["hashtag1","hashtag2"]},{"1331367870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331367881, 1331367878, 1331367874, 1331367870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.777098655700684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:35:22.049535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/34/image_25012025_15_34_02_876983_0003.jpg', '/home/pi/Desktop/images/25012025/15/35/image_25012025_15_35_03_057128_0000.jpg', '/home/pi/Desktop/images/25012025/15/35/image_25012025_15_35_03_057128_0001.jpg', '/home/pi/Desktop/images/25012025/15/35/image_25012025_15_35_03_057128_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/34/image_25012025_15_34_02_876983_0003.jpg
/home/pi/Desktop/images/25012025/15/35/image_25012025_15_35_03_057128_0000.jpg
/home/pi/Desktop/images/25012025/15/35/image_25012025_15_35_03_057128_0001.jpg
/home/pi/Desktop/images/25012025/15/35/image_25012025_15_35_03_057128_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 [200]>
b'{"photo_ids":["1331367918","1331367898","1331368015","1331368018"],"photo_ids_order":["1331367898","1331367918","1331368015","1331368018"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d573d3292652ce5460a748f78cc71292.jpg","text":"TemporaryFile(/tmp/multipartBody9090208771643470946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815793441,"filename":"image_25012025_15_35_03_057128_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/752297bc24cc8cb42815b429a8cb269f.jpg","text":"TemporaryFile(/tmp/multipartBody6838124803685282408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815793441,"filename":"image_25012025_15_34_02_876983_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/42c45a32428385c6af96c9895581cde1.jpg","text":"TemporaryFile(/tmp/multipartBody66694685585829857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815793441,"filename":"image_25012025_15_35_03_057128_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b49ba41167aee0e56366b405fd0f876f.jpg","text":"TemporaryFile(/tmp/multipartBody356332632935947919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815793441,"filename":"image_25012025_15_35_03_057128_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331368015","file1":"1331367918","file0":"1331367898","file3":"1331368018"},"map_files_photo_id_array":[{"photo_id":"1331368015","filename":"file2"},{"photo_id":"1331367918","filename":"file1"},{"photo_id":"1331367898","filename":"file0"},{"photo_id":"1331368018","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331367918":["hashtag1","hashtag2"]},{"1331367898":["hashtag1","hashtag2"]},{"1331368015":["hashtag1","hashtag2"]},{"1331368018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331367918, 1331367898, 1331368015, 1331368018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.925334453582764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:36:22.073910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/35/image_25012025_15_35_03_057128_0003.jpg', '/home/pi/Desktop/images/25012025/15/36/image_25012025_15_36_02_264777_0000.jpg', '/home/pi/Desktop/images/25012025/15/36/image_25012025_15_36_02_264777_0001.jpg', '/home/pi/Desktop/images/25012025/15/36/image_25012025_15_36_02_264777_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/35/image_25012025_15_35_03_057128_0003.jpg
/home/pi/Desktop/images/25012025/15/36/image_25012025_15_36_02_264777_0000.jpg
/home/pi/Desktop/images/25012025/15/36/image_25012025_15_36_02_264777_0001.jpg
/home/pi/Desktop/images/25012025/15/36/image_25012025_15_36_02_264777_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: 10.998141288757324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 15:36:42.056867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/35/image_25012025_15_35_03_057128_0003.jpg', '/home/pi/Desktop/images/25012025/15/36/image_25012025_15_36_02_264777_0000.jpg', '/home/pi/Desktop/images/25012025/15/36/image_25012025_15_36_02_264777_0001.jpg', '/home/pi/Desktop/images/25012025/15/36/image_25012025_15_36_02_264777_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/35/image_25012025_15_35_03_057128_0003.jpg
/home/pi/Desktop/images/25012025/15/36/image_25012025_15_36_02_264777_0000.jpg
/home/pi/Desktop/images/25012025/15/36/image_25012025_15_36_02_264777_0001.jpg
/home/pi/Desktop/images/25012025/15/36/image_25012025_15_36_02_264777_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":["1331368273","1331368276","1331368269","1331368305"],"photo_ids_order":["1331368269","1331368273","1331368276","1331368305"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f4f317d3bac6db87b7fc542c8c0ff2c8.jpg","text":"TemporaryFile(/tmp/multipartBody7002210688852221965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815873439,"filename":"image_25012025_15_36_02_264777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/44a6bee9b7acd1534d5ace84b94b98da.jpg","text":"TemporaryFile(/tmp/multipartBody132700034897764514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815873439,"filename":"image_25012025_15_36_02_264777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/abf63083b1b786ad3c3ebc2f64ed7f66.jpg","text":"TemporaryFile(/tmp/multipartBody3033684845575225079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815873439,"filename":"image_25012025_15_35_03_057128_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/132b4ea7a5f2dca12a9863eb3482ab1f.jpg","text":"TemporaryFile(/tmp/multipartBody3004472613660199530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815873439,"filename":"image_25012025_15_36_02_264777_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331368276","file1":"1331368273","file0":"1331368269","file3":"1331368305"},"map_files_photo_id_array":[{"photo_id":"1331368276","filename":"file2"},{"photo_id":"1331368273","filename":"file1"},{"photo_id":"1331368269","filename":"file0"},{"photo_id":"1331368305","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331368273":["hashtag1","hashtag2"]},{"1331368276":["hashtag1","hashtag2"]},{"1331368269":["hashtag1","hashtag2"]},{"1331368305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331368273, 1331368276, 1331368269, 1331368305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.30513024330139 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 15:37:32.274065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/36/image_25012025_15_36_02_264777_0003.jpg', '/home/pi/Desktop/images/25012025/15/37/image_25012025_15_37_02_431905_0000.jpg', '/home/pi/Desktop/images/25012025/15/37/image_25012025_15_37_02_431905_0001.jpg', '/home/pi/Desktop/images/25012025/15/37/image_25012025_15_37_02_431905_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/36/image_25012025_15_36_02_264777_0003.jpg
/home/pi/Desktop/images/25012025/15/37/image_25012025_15_37_02_431905_0000.jpg
/home/pi/Desktop/images/25012025/15/37/image_25012025_15_37_02_431905_0001.jpg
/home/pi/Desktop/images/25012025/15/37/image_25012025_15_37_02_431905_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":["1331368349","1331368328","1331368361","1331368358"],"photo_ids_order":["1331368328","1331368349","1331368358","1331368361"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9b9e997a208ce44e9b65d2709f124aa7.jpg","text":"TemporaryFile(/tmp/multipartBody3403087403900995418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815923824,"filename":"image_25012025_15_37_02_431905_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8938e5f33e79a0470c9704395a8f662a.jpg","text":"TemporaryFile(/tmp/multipartBody435479506497247748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815923824,"filename":"image_25012025_15_36_02_264777_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5388bd6e0ae5668d151c731476c33db4.jpg","text":"TemporaryFile(/tmp/multipartBody1089520702069430273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815923824,"filename":"image_25012025_15_37_02_431905_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f25efe097bb84c259d9f290bfeb0ed55.jpg","text":"TemporaryFile(/tmp/multipartBody1315009639190369831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815923824,"filename":"image_25012025_15_37_02_431905_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331368358","file1":"1331368349","file0":"1331368328","file3":"1331368361"},"map_files_photo_id_array":[{"photo_id":"1331368358","filename":"file2"},{"photo_id":"1331368349","filename":"file1"},{"photo_id":"1331368328","filename":"file0"},{"photo_id":"1331368361","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331368349":["hashtag1","hashtag2"]},{"1331368328":["hashtag1","hashtag2"]},{"1331368361":["hashtag1","hashtag2"]},{"1331368358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331368349, 1331368328, 1331368361, 1331368358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.4826443195343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:38:22.477630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/37/image_25012025_15_37_02_431905_0003.jpg', '/home/pi/Desktop/images/25012025/15/38/image_25012025_15_38_02_638849_0000.jpg', '/home/pi/Desktop/images/25012025/15/38/image_25012025_15_38_02_638849_0001.jpg', '/home/pi/Desktop/images/25012025/15/38/image_25012025_15_38_02_638849_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/37/image_25012025_15_37_02_431905_0003.jpg
/home/pi/Desktop/images/25012025/15/38/image_25012025_15_38_02_638849_0000.jpg
/home/pi/Desktop/images/25012025/15/38/image_25012025_15_38_02_638849_0001.jpg
/home/pi/Desktop/images/25012025/15/38/image_25012025_15_38_02_638849_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 [200]>
b'{"photo_ids":["1331368508","1331368504","1331368488","1331368500"],"photo_ids_order":["1331368488","1331368500","1331368504","1331368508"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b1ea1c2dc14034c3efb5d53a10ca5029.jpg","text":"TemporaryFile(/tmp/multipartBody2439196356667761148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815974310,"filename":"image_25012025_15_38_02_638849_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a184d4a30227a89e7cb270703f3e3313.jpg","text":"TemporaryFile(/tmp/multipartBody7200946026185730674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815974310,"filename":"image_25012025_15_38_02_638849_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/15c6dec26607a529581fd5ceeb6946f4.jpg","text":"TemporaryFile(/tmp/multipartBody9193621355427183603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815974310,"filename":"image_25012025_15_37_02_431905_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/88377791a5e62d9c324cba20e130ae03.jpg","text":"TemporaryFile(/tmp/multipartBody5618757932446236325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737815974310,"filename":"image_25012025_15_38_02_638849_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331368504","file1":"1331368500","file0":"1331368488","file3":"1331368508"},"map_files_photo_id_array":[{"photo_id":"1331368504","filename":"file2"},{"photo_id":"1331368500","filename":"file1"},{"photo_id":"1331368488","filename":"file0"},{"photo_id":"1331368508","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331368508":["hashtag1","hashtag2"]},{"1331368504":["hashtag1","hashtag2"]},{"1331368488":["hashtag1","hashtag2"]},{"1331368500":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331368508, 1331368504, 1331368488, 1331368500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.16727614402771 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:39:22.601233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/38/image_25012025_15_38_02_638849_0003.jpg', '/home/pi/Desktop/images/25012025/15/39/image_25012025_15_39_02_803421_0000.jpg', '/home/pi/Desktop/images/25012025/15/39/image_25012025_15_39_02_803421_0001.jpg', '/home/pi/Desktop/images/25012025/15/39/image_25012025_15_39_02_803421_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/38/image_25012025_15_38_02_638849_0003.jpg
/home/pi/Desktop/images/25012025/15/39/image_25012025_15_39_02_803421_0000.jpg
/home/pi/Desktop/images/25012025/15/39/image_25012025_15_39_02_803421_0001.jpg
/home/pi/Desktop/images/25012025/15/39/image_25012025_15_39_02_803421_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 [200]>
b'{"photo_ids":["1331368538","1331368532","1331368535","1331368529"],"photo_ids_order":["1331368529","1331368532","1331368535","1331368538"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e56ec0d6e65200ffa4aab230a03fc040.jpg","text":"TemporaryFile(/tmp/multipartBody7875776375023387671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816034475,"filename":"image_25012025_15_39_02_803421_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0ac067bb5f58c802a6dd292caaf6ecf3.jpg","text":"TemporaryFile(/tmp/multipartBody5149740909635473004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816034475,"filename":"image_25012025_15_39_02_803421_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fb9db1908ceed666c8dcff07046635c4.jpg","text":"TemporaryFile(/tmp/multipartBody9137961979257114138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816034475,"filename":"image_25012025_15_39_02_803421_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5bee889c04316b3a7a92c9b8509a77de.jpg","text":"TemporaryFile(/tmp/multipartBody167625329059506999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816034475,"filename":"image_25012025_15_38_02_638849_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331368535","file1":"1331368532","file0":"1331368529","file3":"1331368538"},"map_files_photo_id_array":[{"photo_id":"1331368535","filename":"file2"},{"photo_id":"1331368532","filename":"file1"},{"photo_id":"1331368529","filename":"file0"},{"photo_id":"1331368538","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331368538":["hashtag1","hashtag2"]},{"1331368532":["hashtag1","hashtag2"]},{"1331368535":["hashtag1","hashtag2"]},{"1331368529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331368538, 1331368532, 1331368535, 1331368529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.591612815856934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:40:21.840697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/39/image_25012025_15_39_02_803421_0003.jpg', '/home/pi/Desktop/images/25012025/15/40/image_25012025_15_40_03_068752_0000.jpg', '/home/pi/Desktop/images/25012025/15/40/image_25012025_15_40_03_068752_0001.jpg', '/home/pi/Desktop/images/25012025/15/40/image_25012025_15_40_03_068752_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/39/image_25012025_15_39_02_803421_0003.jpg
/home/pi/Desktop/images/25012025/15/40/image_25012025_15_40_03_068752_0000.jpg
/home/pi/Desktop/images/25012025/15/40/image_25012025_15_40_03_068752_0001.jpg
/home/pi/Desktop/images/25012025/15/40/image_25012025_15_40_03_068752_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 [200]>
b'{"photo_ids":["1331368621","1331368599","1331368626","1331368617"],"photo_ids_order":["1331368599","1331368617","1331368621","1331368626"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/991487758499c60e079370683246a600.jpg","text":"TemporaryFile(/tmp/multipartBody7845577531296016313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816093147,"filename":"image_25012025_15_40_03_068752_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c2fea565bb53659a7d6e6d275c21f2b3.jpg","text":"TemporaryFile(/tmp/multipartBody5455304691772205642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816093147,"filename":"image_25012025_15_39_02_803421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/299cda1aa9db3519438a0321378ade81.jpg","text":"TemporaryFile(/tmp/multipartBody6618928400069573350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816093147,"filename":"image_25012025_15_40_03_068752_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d967b7cb573f846124396b8a084a9cda.jpg","text":"TemporaryFile(/tmp/multipartBody7984683031423408456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816093147,"filename":"image_25012025_15_40_03_068752_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331368621","file1":"1331368617","file0":"1331368599","file3":"1331368626"},"map_files_photo_id_array":[{"photo_id":"1331368621","filename":"file2"},{"photo_id":"1331368617","filename":"file1"},{"photo_id":"1331368599","filename":"file0"},{"photo_id":"1331368626","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331368621":["hashtag1","hashtag2"]},{"1331368599":["hashtag1","hashtag2"]},{"1331368626":["hashtag1","hashtag2"]},{"1331368617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331368621, 1331368599, 1331368626, 1331368617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.860270738601685 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:41:22.070510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/40/image_25012025_15_40_03_068752_0003.jpg', '/home/pi/Desktop/images/25012025/15/41/image_25012025_15_41_02_219329_0000.jpg', '/home/pi/Desktop/images/25012025/15/41/image_25012025_15_41_02_219329_0001.jpg', '/home/pi/Desktop/images/25012025/15/41/image_25012025_15_41_02_219329_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/40/image_25012025_15_40_03_068752_0003.jpg
/home/pi/Desktop/images/25012025/15/41/image_25012025_15_41_02_219329_0000.jpg
/home/pi/Desktop/images/25012025/15/41/image_25012025_15_41_02_219329_0001.jpg
/home/pi/Desktop/images/25012025/15/41/image_25012025_15_41_02_219329_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 [200]>
b'{"photo_ids":["1331368684","1331368693","1331368689","1331368697"],"photo_ids_order":["1331368684","1331368689","1331368693","1331368697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a041da3b0db8991f83c4e00d1de08058.jpg","text":"TemporaryFile(/tmp/multipartBody5724749213620231966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816153757,"filename":"image_25012025_15_40_03_068752_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2a9752e814788fbcb24ed9da17e3eae5.jpg","text":"TemporaryFile(/tmp/multipartBody7066004283868765270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816153757,"filename":"image_25012025_15_41_02_219329_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fca1f7313d6a5b562c7ad6dfded1f060.jpg","text":"TemporaryFile(/tmp/multipartBody4995770013931556079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816153757,"filename":"image_25012025_15_41_02_219329_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/295092e2e9af31ada6f3031af8350167.jpg","text":"TemporaryFile(/tmp/multipartBody4025994530454849516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816153757,"filename":"image_25012025_15_41_02_219329_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331368693","file1":"1331368689","file0":"1331368684","file3":"1331368697"},"map_files_photo_id_array":[{"photo_id":"1331368693","filename":"file2"},{"photo_id":"1331368689","filename":"file1"},{"photo_id":"1331368684","filename":"file0"},{"photo_id":"1331368697","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331368684":["hashtag1","hashtag2"]},{"1331368693":["hashtag1","hashtag2"]},{"1331368689":["hashtag1","hashtag2"]},{"1331368697":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331368684, 1331368693, 1331368689, 1331368697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.06768798828125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:42:22.260677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/41/image_25012025_15_41_02_219329_0003.jpg', '/home/pi/Desktop/images/25012025/15/42/image_25012025_15_42_02_439258_0000.jpg', '/home/pi/Desktop/images/25012025/15/42/image_25012025_15_42_02_439258_0001.jpg', '/home/pi/Desktop/images/25012025/15/42/image_25012025_15_42_02_439258_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/41/image_25012025_15_41_02_219329_0003.jpg
/home/pi/Desktop/images/25012025/15/42/image_25012025_15_42_02_439258_0000.jpg
/home/pi/Desktop/images/25012025/15/42/image_25012025_15_42_02_439258_0001.jpg
/home/pi/Desktop/images/25012025/15/42/image_25012025_15_42_02_439258_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: 11.31375527381897 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 15:42:42.199490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/41/image_25012025_15_41_02_219329_0003.jpg', '/home/pi/Desktop/images/25012025/15/42/image_25012025_15_42_02_439258_0000.jpg', '/home/pi/Desktop/images/25012025/15/42/image_25012025_15_42_02_439258_0001.jpg', '/home/pi/Desktop/images/25012025/15/42/image_25012025_15_42_02_439258_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/41/image_25012025_15_41_02_219329_0003.jpg
/home/pi/Desktop/images/25012025/15/42/image_25012025_15_42_02_439258_0000.jpg
/home/pi/Desktop/images/25012025/15/42/image_25012025_15_42_02_439258_0001.jpg
/home/pi/Desktop/images/25012025/15/42/image_25012025_15_42_02_439258_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":["1331368753","1331368755","1331368770","1331368758"],"photo_ids_order":["1331368753","1331368755","1331368758","1331368770"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4a15099abbb82c227c1adacbf4c9e24f.jpg","text":"TemporaryFile(/tmp/multipartBody237067219955531495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816233915,"filename":"image_25012025_15_41_02_219329_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/48cc92febb9a0573293abd9d6e59d9fd.jpg","text":"TemporaryFile(/tmp/multipartBody2254656630517799097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816233915,"filename":"image_25012025_15_42_02_439258_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e049c0606055aa575560d81f503e24bd.jpg","text":"TemporaryFile(/tmp/multipartBody5901339879741492655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816233915,"filename":"image_25012025_15_42_02_439258_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/452a377090d1a4c072891f7918d40f15.jpg","text":"TemporaryFile(/tmp/multipartBody2102449155370716773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816233915,"filename":"image_25012025_15_42_02_439258_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331368758","file1":"1331368755","file0":"1331368753","file3":"1331368770"},"map_files_photo_id_array":[{"photo_id":"1331368758","filename":"file2"},{"photo_id":"1331368755","filename":"file1"},{"photo_id":"1331368753","filename":"file0"},{"photo_id":"1331368770","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331368753":["hashtag1","hashtag2"]},{"1331368755":["hashtag1","hashtag2"]},{"1331368770":["hashtag1","hashtag2"]},{"1331368758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331368753, 1331368755, 1331368770, 1331368758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.072181224823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 15:43:32.368664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/42/image_25012025_15_42_02_439258_0003.jpg', '/home/pi/Desktop/images/25012025/15/43/image_25012025_15_43_02_551886_0000.jpg', '/home/pi/Desktop/images/25012025/15/43/image_25012025_15_43_02_551886_0001.jpg', '/home/pi/Desktop/images/25012025/15/43/image_25012025_15_43_02_551886_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/42/image_25012025_15_42_02_439258_0003.jpg
/home/pi/Desktop/images/25012025/15/43/image_25012025_15_43_02_551886_0000.jpg
/home/pi/Desktop/images/25012025/15/43/image_25012025_15_43_02_551886_0001.jpg
/home/pi/Desktop/images/25012025/15/43/image_25012025_15_43_02_551886_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: 11.397964477539062 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 15:43:52.360686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/42/image_25012025_15_42_02_439258_0003.jpg', '/home/pi/Desktop/images/25012025/15/43/image_25012025_15_43_02_551886_0000.jpg', '/home/pi/Desktop/images/25012025/15/43/image_25012025_15_43_02_551886_0001.jpg', '/home/pi/Desktop/images/25012025/15/43/image_25012025_15_43_02_551886_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/42/image_25012025_15_42_02_439258_0003.jpg
/home/pi/Desktop/images/25012025/15/43/image_25012025_15_43_02_551886_0000.jpg
/home/pi/Desktop/images/25012025/15/43/image_25012025_15_43_02_551886_0001.jpg
/home/pi/Desktop/images/25012025/15/43/image_25012025_15_43_02_551886_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":["1331368835","1331368844","1331368839","1331368847"],"photo_ids_order":["1331368835","1331368839","1331368844","1331368847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dd1ab0c1186720aef654bda28555eeb9.jpg","text":"TemporaryFile(/tmp/multipartBody5370818032067804743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816304169,"filename":"image_25012025_15_42_02_439258_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/323bf893b0700be6a9ca0f66f43525ba.jpg","text":"TemporaryFile(/tmp/multipartBody8437644472528430480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816304169,"filename":"image_25012025_15_43_02_551886_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/79cb7869c3fe1f709145293a2cd206bc.jpg","text":"TemporaryFile(/tmp/multipartBody475791607366068561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816304169,"filename":"image_25012025_15_43_02_551886_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ef7861359694d42cb4c25298350ba286.jpg","text":"TemporaryFile(/tmp/multipartBody8885772682233766425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816304169,"filename":"image_25012025_15_43_02_551886_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331368844","file1":"1331368839","file0":"1331368835","file3":"1331368847"},"map_files_photo_id_array":[{"photo_id":"1331368844","filename":"file2"},{"photo_id":"1331368839","filename":"file1"},{"photo_id":"1331368835","filename":"file0"},{"photo_id":"1331368847","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331368835":["hashtag1","hashtag2"]},{"1331368844":["hashtag1","hashtag2"]},{"1331368839":["hashtag1","hashtag2"]},{"1331368847":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331368835, 1331368844, 1331368839, 1331368847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.764644145965576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 15:44:42.494130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/43/image_25012025_15_43_02_551886_0003.jpg', '/home/pi/Desktop/images/25012025/15/44/image_25012025_15_44_02_742917_0000.jpg', '/home/pi/Desktop/images/25012025/15/44/image_25012025_15_44_02_742917_0001.jpg', '/home/pi/Desktop/images/25012025/15/44/image_25012025_15_44_02_742917_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/43/image_25012025_15_43_02_551886_0003.jpg
/home/pi/Desktop/images/25012025/15/44/image_25012025_15_44_02_742917_0000.jpg
/home/pi/Desktop/images/25012025/15/44/image_25012025_15_44_02_742917_0001.jpg
/home/pi/Desktop/images/25012025/15/44/image_25012025_15_44_02_742917_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":["1331368862","1331368870","1331368873","1331368865"],"photo_ids_order":["1331368862","1331368865","1331368870","1331368873"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/55c4870ec5f38c407c314e8bf011bff9.jpg","text":"TemporaryFile(/tmp/multipartBody4338954606515109446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816354154,"filename":"image_25012025_15_43_02_551886_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ae6195faacb658a38d3a4a261c88db8d.jpg","text":"TemporaryFile(/tmp/multipartBody8896567066575166225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816354154,"filename":"image_25012025_15_44_02_742917_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/efd9f013669ea7aa528e78b3fd4e1f1e.jpg","text":"TemporaryFile(/tmp/multipartBody5260940161210637077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816354154,"filename":"image_25012025_15_44_02_742917_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b3e0497a6953859e9e8694ff74fc7c3a.jpg","text":"TemporaryFile(/tmp/multipartBody4219492478772516011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816354154,"filename":"image_25012025_15_44_02_742917_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331368870","file1":"1331368865","file0":"1331368862","file3":"1331368873"},"map_files_photo_id_array":[{"photo_id":"1331368870","filename":"file2"},{"photo_id":"1331368865","filename":"file1"},{"photo_id":"1331368862","filename":"file0"},{"photo_id":"1331368873","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331368862":["hashtag1","hashtag2"]},{"1331368870":["hashtag1","hashtag2"]},{"1331368873":["hashtag1","hashtag2"]},{"1331368865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331368862, 1331368870, 1331368873, 1331368865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.91874647140503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 15:45:32.697666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/44/image_25012025_15_44_02_742917_0003.jpg', '/home/pi/Desktop/images/25012025/15/45/image_25012025_15_45_03_002729_0000.jpg', '/home/pi/Desktop/images/25012025/15/45/image_25012025_15_45_03_002729_0001.jpg', '/home/pi/Desktop/images/25012025/15/45/image_25012025_15_45_03_002729_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/44/image_25012025_15_44_02_742917_0003.jpg
/home/pi/Desktop/images/25012025/15/45/image_25012025_15_45_03_002729_0000.jpg
/home/pi/Desktop/images/25012025/15/45/image_25012025_15_45_03_002729_0001.jpg
/home/pi/Desktop/images/25012025/15/45/image_25012025_15_45_03_002729_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":["1331369242","1331369209","1331369238","1331369282"],"photo_ids_order":["1331369209","1331369238","1331369242","1331369282"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b294e6a75ea18e09ac860937a2cf1361.jpg","text":"TemporaryFile(/tmp/multipartBody3766026369158109735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816404270,"filename":"image_25012025_15_45_03_002729_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e71bfd0522aa3371c5fe74a261ad365b.jpg","text":"TemporaryFile(/tmp/multipartBody245291797026555163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816404270,"filename":"image_25012025_15_44_02_742917_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2c795754c39030f8bd85b3c258cdfde4.jpg","text":"TemporaryFile(/tmp/multipartBody3093670945666218566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816404270,"filename":"image_25012025_15_45_03_002729_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f90a3ae0b9d9cc23d6eff643f191c423.jpg","text":"TemporaryFile(/tmp/multipartBody6114699182090503189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816404270,"filename":"image_25012025_15_45_03_002729_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331369242","file1":"1331369238","file0":"1331369209","file3":"1331369282"},"map_files_photo_id_array":[{"photo_id":"1331369242","filename":"file2"},{"photo_id":"1331369238","filename":"file1"},{"photo_id":"1331369209","filename":"file0"},{"photo_id":"1331369282","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331369242":["hashtag1","hashtag2"]},{"1331369209":["hashtag1","hashtag2"]},{"1331369238":["hashtag1","hashtag2"]},{"1331369282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331369242, 1331369209, 1331369238, 1331369282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.32833409309387 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:46:21.919298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/45/image_25012025_15_45_03_002729_0003.jpg', '/home/pi/Desktop/images/25012025/15/46/image_25012025_15_46_03_033914_0000.jpg', '/home/pi/Desktop/images/25012025/15/46/image_25012025_15_46_03_033914_0001.jpg', '/home/pi/Desktop/images/25012025/15/46/image_25012025_15_46_03_033914_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/45/image_25012025_15_45_03_002729_0003.jpg
/home/pi/Desktop/images/25012025/15/46/image_25012025_15_46_03_033914_0000.jpg
/home/pi/Desktop/images/25012025/15/46/image_25012025_15_46_03_033914_0001.jpg
/home/pi/Desktop/images/25012025/15/46/image_25012025_15_46_03_033914_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":["1331369507","1331369497","1331369503","1331369494"],"photo_ids_order":["1331369494","1331369497","1331369503","1331369507"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8bea6798575756d55297bee60d07a1f5.jpg","text":"TemporaryFile(/tmp/multipartBody5024081862043442328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816453658,"filename":"image_25012025_15_46_03_033914_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c345919c6332852fc8f7d4e20d509b69.jpg","text":"TemporaryFile(/tmp/multipartBody854184475205480036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816453658,"filename":"image_25012025_15_46_03_033914_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/74fb0bef0b7697ee0872f99ca09b2afb.jpg","text":"TemporaryFile(/tmp/multipartBody2727764667438661713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816453658,"filename":"image_25012025_15_46_03_033914_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8a90ffc16c602ab2cda7ef6efb462489.jpg","text":"TemporaryFile(/tmp/multipartBody8676538516271777047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816453658,"filename":"image_25012025_15_45_03_002729_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331369503","file1":"1331369497","file0":"1331369494","file3":"1331369507"},"map_files_photo_id_array":[{"photo_id":"1331369503","filename":"file2"},{"photo_id":"1331369497","filename":"file1"},{"photo_id":"1331369494","filename":"file0"},{"photo_id":"1331369507","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331369507":["hashtag1","hashtag2"]},{"1331369497":["hashtag1","hashtag2"]},{"1331369503":["hashtag1","hashtag2"]},{"1331369494":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331369507, 1331369497, 1331369503, 1331369494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.4766571521759 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 15:47:02.798843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/24/image_21012025_21_24_02_842681_0002.jpg', '/home/pi/Desktop/images/21012025/21/24/image_21012025_21_24_02_842681_0003.jpg', '/home/pi/Desktop/images/21012025/21/25/image_21012025_21_25_02_982398_0000.jpg', '/home/pi/Desktop/images/21012025/21/25/image_21012025_21_25_02_982398_0002.jpg', '/home/pi/Desktop/images/21012025/21/25/image_21012025_21_25_02_982398_0003.jpg', '/home/pi/Desktop/images/21012025/21/26/image_21012025_21_26_02_228374_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/21/24/image_21012025_21_24_02_842681_0002.jpg
/home/pi/Desktop/images/21012025/21/24/image_21012025_21_24_02_842681_0003.jpg
/home/pi/Desktop/images/21012025/21/25/image_21012025_21_25_02_982398_0000.jpg
/home/pi/Desktop/images/21012025/21/25/image_21012025_21_25_02_982398_0002.jpg
/home/pi/Desktop/images/21012025/21/25/image_21012025_21_25_02_982398_0003.jpg
/home/pi/Desktop/images/21012025/21/26/image_21012025_21_26_02_228374_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 [200]>
b'{"photo_ids":["1331369530","1331369542","1331369526","1331369546","1331369534","1331369537"],"photo_ids_order":["1331369526","1331369530","1331369534","1331369537","1331369542","1331369546"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/793495ab6b2467ebcae0b42d2851b92f.jpg","text":"TemporaryFile(/tmp/multipartBody2975347298377919984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816498799,"filename":"image_21012025_21_24_02_842681_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/098d38d9050ba7e888313a971529f54d.jpg","text":"TemporaryFile(/tmp/multipartBody3088239330864161508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816498799,"filename":"image_21012025_21_25_02_982398_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/921bca0fc7fb5a6d0a2acf90f4126f35.jpg","text":"TemporaryFile(/tmp/multipartBody463012476440572394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816498799,"filename":"image_21012025_21_24_02_842681_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a32822bc9dd8a9dff3e53d0573ddd600.jpg","text":"TemporaryFile(/tmp/multipartBody4461764849533172381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816498799,"filename":"image_21012025_21_26_02_228374_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2759047939a194abfb6e688b68e86359.jpg","text":"TemporaryFile(/tmp/multipartBody6898973099301733697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816498799,"filename":"image_21012025_21_25_02_982398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7e410ad3c204bb546e21cf9144fcf341.jpg","text":"TemporaryFile(/tmp/multipartBody8667675458714278313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816498799,"filename":"image_21012025_21_25_02_982398_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331369534","file1":"1331369530","file0":"1331369526","file4":"1331369542","file5":"1331369546","file3":"1331369537"},"map_files_photo_id_array":[{"photo_id":"1331369546","filename":"file5"},{"photo_id":"1331369534","filename":"file2"},{"photo_id":"1331369542","filename":"file4"},{"photo_id":"1331369530","filename":"file1"},{"photo_id":"1331369526","filename":"file0"},{"photo_id":"1331369537","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331369530":["hashtag1","hashtag2"]},{"1331369542":["hashtag1","hashtag2"]},{"1331369526":["hashtag1","hashtag2"]},{"1331369546":["hashtag1","hashtag2"]},{"1331369534":["hashtag1","hashtag2"]},{"1331369537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331369530, 1331369542, 1331369526, 1331369546, 1331369534, 1331369537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.73094439506531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 15:48:02.692960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/46/image_25012025_15_46_03_033914_0003.jpg', '/home/pi/Desktop/images/25012025/15/47/image_25012025_15_47_02_237940_0000.jpg', '/home/pi/Desktop/images/25012025/15/47/image_25012025_15_47_02_237940_0001.jpg', '/home/pi/Desktop/images/25012025/15/47/image_25012025_15_47_02_237940_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/46/image_25012025_15_46_03_033914_0003.jpg
/home/pi/Desktop/images/25012025/15/47/image_25012025_15_47_02_237940_0000.jpg
/home/pi/Desktop/images/25012025/15/47/image_25012025_15_47_02_237940_0001.jpg
/home/pi/Desktop/images/25012025/15/47/image_25012025_15_47_02_237940_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.462918519973755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:48:22.286070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/46/image_25012025_15_46_03_033914_0003.jpg', '/home/pi/Desktop/images/25012025/15/47/image_25012025_15_47_02_237940_0000.jpg', '/home/pi/Desktop/images/25012025/15/47/image_25012025_15_47_02_237940_0001.jpg', '/home/pi/Desktop/images/25012025/15/47/image_25012025_15_47_02_237940_0002.jpg', '/home/pi/Desktop/images/25012025/15/47/image_25012025_15_47_02_237940_0003.jpg', '/home/pi/Desktop/images/25012025/15/48/image_25012025_15_48_02_382665_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/46/image_25012025_15_46_03_033914_0003.jpg
/home/pi/Desktop/images/25012025/15/47/image_25012025_15_47_02_237940_0000.jpg
/home/pi/Desktop/images/25012025/15/47/image_25012025_15_47_02_237940_0001.jpg
/home/pi/Desktop/images/25012025/15/47/image_25012025_15_47_02_237940_0002.jpg
/home/pi/Desktop/images/25012025/15/47/image_25012025_15_47_02_237940_0003.jpg
/home/pi/Desktop/images/25012025/15/48/image_25012025_15_48_02_382665_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 [200]>
b'{"photo_ids":["1331369590","1331369584","1331369580","1331369588","1331369576","1331369593"],"photo_ids_order":["1331369576","1331369580","1331369584","1331369588","1331369590","1331369593"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/64bb33c457a274406c42bb2868aaa995.jpg","text":"TemporaryFile(/tmp/multipartBody4834507646752910880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816579181,"filename":"image_25012025_15_47_02_237940_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/be5b065652010cdd604b7be3886af20a.jpg","text":"TemporaryFile(/tmp/multipartBody1017667132306561208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816579181,"filename":"image_25012025_15_47_02_237940_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b74271cdc5232b878aa277ba95c15989.jpg","text":"TemporaryFile(/tmp/multipartBody9144571163503450485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816579181,"filename":"image_25012025_15_47_02_237940_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e939aab9bfb6f1e6e0aff9712524cff2.jpg","text":"TemporaryFile(/tmp/multipartBody5739939677680017908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816579181,"filename":"image_25012025_15_47_02_237940_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c1140a7a713557e69798d0ae2f6b4c4a.jpg","text":"TemporaryFile(/tmp/multipartBody8463582084496610220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816579181,"filename":"image_25012025_15_46_03_033914_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e08dc1923e4911194cf9626df0e2e477.jpg","text":"TemporaryFile(/tmp/multipartBody7710913123687060352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816579181,"filename":"image_25012025_15_48_02_382665_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331369584","file1":"1331369580","file0":"1331369576","file4":"1331369590","file5":"1331369593","file3":"1331369588"},"map_files_photo_id_array":[{"photo_id":"1331369593","filename":"file5"},{"photo_id":"1331369584","filename":"file2"},{"photo_id":"1331369590","filename":"file4"},{"photo_id":"1331369580","filename":"file1"},{"photo_id":"1331369576","filename":"file0"},{"photo_id":"1331369588","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331369590":["hashtag1","hashtag2"]},{"1331369584":["hashtag1","hashtag2"]},{"1331369580":["hashtag1","hashtag2"]},{"1331369588":["hashtag1","hashtag2"]},{"1331369576":["hashtag1","hashtag2"]},{"1331369593":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331369590, 1331369584, 1331369580, 1331369588, 1331369576, 1331369593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.19849610328674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:49:22.477459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/48/image_25012025_15_48_02_382665_0001.jpg', '/home/pi/Desktop/images/25012025/15/48/image_25012025_15_48_02_382665_0002.jpg', '/home/pi/Desktop/images/25012025/15/48/image_25012025_15_48_02_382665_0003.jpg', '/home/pi/Desktop/images/25012025/15/49/image_25012025_15_49_02_618252_0000.jpg', '/home/pi/Desktop/images/25012025/15/49/image_25012025_15_49_02_618252_0001.jpg', '/home/pi/Desktop/images/25012025/15/49/image_25012025_15_49_02_618252_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/48/image_25012025_15_48_02_382665_0001.jpg
/home/pi/Desktop/images/25012025/15/48/image_25012025_15_48_02_382665_0002.jpg
/home/pi/Desktop/images/25012025/15/48/image_25012025_15_48_02_382665_0003.jpg
/home/pi/Desktop/images/25012025/15/49/image_25012025_15_49_02_618252_0000.jpg
/home/pi/Desktop/images/25012025/15/49/image_25012025_15_49_02_618252_0001.jpg
/home/pi/Desktop/images/25012025/15/49/image_25012025_15_49_02_618252_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 [200]>
b'{"photo_ids":["1331369810","1331369788","1331369796","1331369800","1331369793","1331369805"],"photo_ids_order":["1331369788","1331369793","1331369796","1331369800","1331369805","1331369810"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2baef4587d622c303ec936d692cbc157.jpg","text":"TemporaryFile(/tmp/multipartBody1205627343196814433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816639044,"filename":"image_25012025_15_49_02_618252_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c834d41b28dfb59cb6233f32e8b60c3f.jpg","text":"TemporaryFile(/tmp/multipartBody4043889029285016752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816639044,"filename":"image_25012025_15_48_02_382665_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3c61ae392c48b968eea2d9a65ff68d83.jpg","text":"TemporaryFile(/tmp/multipartBody1377695657121653462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816639044,"filename":"image_25012025_15_48_02_382665_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3d8fd49097391a52120031835ddedc63.jpg","text":"TemporaryFile(/tmp/multipartBody8984492474062540725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816639044,"filename":"image_25012025_15_49_02_618252_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c342e64c12d875cc5427cc0422bf6a9.jpg","text":"TemporaryFile(/tmp/multipartBody1492510105908262997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816639044,"filename":"image_25012025_15_48_02_382665_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/98b8bf7725c38e49ccfe63cf3eaab250.jpg","text":"TemporaryFile(/tmp/multipartBody2473783160224206397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816639044,"filename":"image_25012025_15_49_02_618252_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331369796","file1":"1331369793","file0":"1331369788","file4":"1331369805","file5":"1331369810","file3":"1331369800"},"map_files_photo_id_array":[{"photo_id":"1331369810","filename":"file5"},{"photo_id":"1331369796","filename":"file2"},{"photo_id":"1331369805","filename":"file4"},{"photo_id":"1331369793","filename":"file1"},{"photo_id":"1331369788","filename":"file0"},{"photo_id":"1331369800","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331369810":["hashtag1","hashtag2"]},{"1331369788":["hashtag1","hashtag2"]},{"1331369796":["hashtag1","hashtag2"]},{"1331369800":["hashtag1","hashtag2"]},{"1331369793":["hashtag1","hashtag2"]},{"1331369805":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331369810, 1331369788, 1331369796, 1331369800, 1331369793, 1331369805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.89683794975281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:50:22.748482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/49/image_25012025_15_49_02_618252_0003.jpg', '/home/pi/Desktop/images/25012025/15/50/image_25012025_15_50_02_779194_0000.jpg', '/home/pi/Desktop/images/25012025/15/50/image_25012025_15_50_02_779194_0001.jpg', '/home/pi/Desktop/images/25012025/15/50/image_25012025_15_50_02_779194_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/49/image_25012025_15_49_02_618252_0003.jpg
/home/pi/Desktop/images/25012025/15/50/image_25012025_15_50_02_779194_0000.jpg
/home/pi/Desktop/images/25012025/15/50/image_25012025_15_50_02_779194_0001.jpg
/home/pi/Desktop/images/25012025/15/50/image_25012025_15_50_02_779194_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 [200]>
b'{"photo_ids":["1331369836","1331369824","1331369827","1331369832"],"photo_ids_order":["1331369824","1331369827","1331369832","1331369836"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/873b45def193034b6e2c43e1782c7a5b.jpg","text":"TemporaryFile(/tmp/multipartBody2666895736717523395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816693623,"filename":"image_25012025_15_50_02_779194_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3baf44c45125f8f0cc2b9bc266e8d747.jpg","text":"TemporaryFile(/tmp/multipartBody3360083858876088551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816693623,"filename":"image_25012025_15_49_02_618252_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3c9cb07bec088043d79f8cad0bbe9c5d.jpg","text":"TemporaryFile(/tmp/multipartBody8941665327492180569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816693623,"filename":"image_25012025_15_50_02_779194_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8c4062d8edbd80bdc44cd1bfaa8c6d5e.jpg","text":"TemporaryFile(/tmp/multipartBody2395201257727143750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816693623,"filename":"image_25012025_15_50_02_779194_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331369832","file1":"1331369827","file0":"1331369824","file3":"1331369836"},"map_files_photo_id_array":[{"photo_id":"1331369832","filename":"file2"},{"photo_id":"1331369827","filename":"file1"},{"photo_id":"1331369824","filename":"file0"},{"photo_id":"1331369836","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331369836":["hashtag1","hashtag2"]},{"1331369824":["hashtag1","hashtag2"]},{"1331369827":["hashtag1","hashtag2"]},{"1331369832":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331369836, 1331369824, 1331369827, 1331369832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.658066272735596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:51:21.812371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/50/image_25012025_15_50_02_779194_0003.jpg', '/home/pi/Desktop/images/25012025/15/51/image_25012025_15_51_03_088767_0000.jpg', '/home/pi/Desktop/images/25012025/15/51/image_25012025_15_51_03_088767_0001.jpg', '/home/pi/Desktop/images/25012025/15/51/image_25012025_15_51_03_088767_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/50/image_25012025_15_50_02_779194_0003.jpg
/home/pi/Desktop/images/25012025/15/51/image_25012025_15_51_03_088767_0000.jpg
/home/pi/Desktop/images/25012025/15/51/image_25012025_15_51_03_088767_0001.jpg
/home/pi/Desktop/images/25012025/15/51/image_25012025_15_51_03_088767_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 [200]>
b'{"photo_ids":["1331369872","1331369864","1331369858","1331369867"],"photo_ids_order":["1331369858","1331369864","1331369867","1331369872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6d6cd96885a27dda10f6b14dfd56997c.jpg","text":"TemporaryFile(/tmp/multipartBody6880550824816728849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816753045,"filename":"image_25012025_15_51_03_088767_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4868fd1d69ca1babf7a6b53f8907ff31.jpg","text":"TemporaryFile(/tmp/multipartBody3583943606252224916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816753045,"filename":"image_25012025_15_51_03_088767_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3d40d389b68151002359cea4a91cac5e.jpg","text":"TemporaryFile(/tmp/multipartBody5124266425702256110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816753045,"filename":"image_25012025_15_50_02_779194_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c4b31cb02e5f14a471be65cc5220efe7.jpg","text":"TemporaryFile(/tmp/multipartBody2844882079877257590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816753045,"filename":"image_25012025_15_51_03_088767_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331369867","file1":"1331369864","file0":"1331369858","file3":"1331369872"},"map_files_photo_id_array":[{"photo_id":"1331369867","filename":"file2"},{"photo_id":"1331369864","filename":"file1"},{"photo_id":"1331369858","filename":"file0"},{"photo_id":"1331369872","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331369872":["hashtag1","hashtag2"]},{"1331369864":["hashtag1","hashtag2"]},{"1331369858":["hashtag1","hashtag2"]},{"1331369867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331369872, 1331369864, 1331369858, 1331369867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.500630617141724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:52:21.963800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/51/image_25012025_15_51_03_088767_0003.jpg', '/home/pi/Desktop/images/25012025/15/52/image_25012025_15_52_02_197687_0000.jpg', '/home/pi/Desktop/images/25012025/15/52/image_25012025_15_52_02_197687_0001.jpg', '/home/pi/Desktop/images/25012025/15/52/image_25012025_15_52_02_197687_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/51/image_25012025_15_51_03_088767_0003.jpg
/home/pi/Desktop/images/25012025/15/52/image_25012025_15_52_02_197687_0000.jpg
/home/pi/Desktop/images/25012025/15/52/image_25012025_15_52_02_197687_0001.jpg
/home/pi/Desktop/images/25012025/15/52/image_25012025_15_52_02_197687_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: 10.970176219940186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 15:52:42.054700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/51/image_25012025_15_51_03_088767_0003.jpg', '/home/pi/Desktop/images/25012025/15/52/image_25012025_15_52_02_197687_0000.jpg', '/home/pi/Desktop/images/25012025/15/52/image_25012025_15_52_02_197687_0001.jpg', '/home/pi/Desktop/images/25012025/15/52/image_25012025_15_52_02_197687_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/51/image_25012025_15_51_03_088767_0003.jpg
/home/pi/Desktop/images/25012025/15/52/image_25012025_15_52_02_197687_0000.jpg
/home/pi/Desktop/images/25012025/15/52/image_25012025_15_52_02_197687_0001.jpg
/home/pi/Desktop/images/25012025/15/52/image_25012025_15_52_02_197687_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":["1331369953","1331370088","1331370076","1331370129"],"photo_ids_order":["1331369953","1331370076","1331370088","1331370129"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3643219198d1be216a5057b0f7e1e8e8.jpg","text":"TemporaryFile(/tmp/multipartBody916120287140034214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816833422,"filename":"image_25012025_15_51_03_088767_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c2725bbe34b4a58f950ee24ea414e282.jpg","text":"TemporaryFile(/tmp/multipartBody909697554099860521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816833422,"filename":"image_25012025_15_52_02_197687_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/292c062a3e16abbb942f7b8ed16f6f8a.jpg","text":"TemporaryFile(/tmp/multipartBody4423891844684217435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816833422,"filename":"image_25012025_15_52_02_197687_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8e01fb3684717d688f1f4f8addd1aeb2.jpg","text":"TemporaryFile(/tmp/multipartBody1152225447825105157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816833422,"filename":"image_25012025_15_52_02_197687_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331370088","file1":"1331370076","file0":"1331369953","file3":"1331370129"},"map_files_photo_id_array":[{"photo_id":"1331370088","filename":"file2"},{"photo_id":"1331370076","filename":"file1"},{"photo_id":"1331369953","filename":"file0"},{"photo_id":"1331370129","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331369953":["hashtag1","hashtag2"]},{"1331370088":["hashtag1","hashtag2"]},{"1331370076":["hashtag1","hashtag2"]},{"1331370129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331369953, 1331370088, 1331370076, 1331370129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.397589445114136 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-25 15:53:32.076034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/52/image_25012025_15_52_02_197687_0003.jpg', '/home/pi/Desktop/images/25012025/15/53/image_25012025_15_53_02_411871_0000.jpg', '/home/pi/Desktop/images/25012025/15/53/image_25012025_15_53_02_411871_0001.jpg', '/home/pi/Desktop/images/25012025/15/53/image_25012025_15_53_02_411871_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/52/image_25012025_15_52_02_197687_0003.jpg
/home/pi/Desktop/images/25012025/15/53/image_25012025_15_53_02_411871_0000.jpg
/home/pi/Desktop/images/25012025/15/53/image_25012025_15_53_02_411871_0001.jpg
/home/pi/Desktop/images/25012025/15/53/image_25012025_15_53_02_411871_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":["1331370179","1331370184","1331370187","1331370174"],"photo_ids_order":["1331370174","1331370179","1331370184","1331370187"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/47a149fd019006d842801368df1917be.jpg","text":"TemporaryFile(/tmp/multipartBody2983714658774673814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816883407,"filename":"image_25012025_15_53_02_411871_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/14829539cfa1da24a4176bce53a2a6f9.jpg","text":"TemporaryFile(/tmp/multipartBody2705038861094806297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816883407,"filename":"image_25012025_15_53_02_411871_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f4819a1333ee9b6c2fbd1a69d87e4373.jpg","text":"TemporaryFile(/tmp/multipartBody2046279218515366091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816883407,"filename":"image_25012025_15_53_02_411871_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/18033ab6867a40d4c7a246786f2d8daa.jpg","text":"TemporaryFile(/tmp/multipartBody8528942542490412141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816883407,"filename":"image_25012025_15_52_02_197687_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331370184","file1":"1331370179","file0":"1331370174","file3":"1331370187"},"map_files_photo_id_array":[{"photo_id":"1331370184","filename":"file2"},{"photo_id":"1331370179","filename":"file1"},{"photo_id":"1331370174","filename":"file0"},{"photo_id":"1331370187","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331370179":["hashtag1","hashtag2"]},{"1331370184":["hashtag1","hashtag2"]},{"1331370187":["hashtag1","hashtag2"]},{"1331370174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331370179, 1331370184, 1331370187, 1331370174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.025232791900635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:54:22.435507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/53/image_25012025_15_53_02_411871_0003.jpg', '/home/pi/Desktop/images/25012025/15/54/image_25012025_15_54_02_522651_0000.jpg', '/home/pi/Desktop/images/25012025/15/54/image_25012025_15_54_02_522651_0001.jpg', '/home/pi/Desktop/images/25012025/15/54/image_25012025_15_54_02_522651_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/53/image_25012025_15_53_02_411871_0003.jpg
/home/pi/Desktop/images/25012025/15/54/image_25012025_15_54_02_522651_0000.jpg
/home/pi/Desktop/images/25012025/15/54/image_25012025_15_54_02_522651_0001.jpg
/home/pi/Desktop/images/25012025/15/54/image_25012025_15_54_02_522651_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":["1331370203","1331370206","1331370209","1331370200"],"photo_ids_order":["1331370200","1331370203","1331370206","1331370209"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/47218f1c51a54ee77afd56c74930eb59.jpg","text":"TemporaryFile(/tmp/multipartBody3161659720232529892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816934113,"filename":"image_25012025_15_54_02_522651_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f168b35294c080e323b62d32835044de.jpg","text":"TemporaryFile(/tmp/multipartBody905016951513605349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816934113,"filename":"image_25012025_15_54_02_522651_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f5fffe44d6724bb4f13b33fee9e11484.jpg","text":"TemporaryFile(/tmp/multipartBody7630471937022656065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816934113,"filename":"image_25012025_15_54_02_522651_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/02bd8680133803b308c80b9ca843c676.jpg","text":"TemporaryFile(/tmp/multipartBody4884080660825920784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816934113,"filename":"image_25012025_15_53_02_411871_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331370206","file1":"1331370203","file0":"1331370200","file3":"1331370209"},"map_files_photo_id_array":[{"photo_id":"1331370206","filename":"file2"},{"photo_id":"1331370203","filename":"file1"},{"photo_id":"1331370200","filename":"file0"},{"photo_id":"1331370209","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331370203":["hashtag1","hashtag2"]},{"1331370206":["hashtag1","hashtag2"]},{"1331370209":["hashtag1","hashtag2"]},{"1331370200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331370203, 1331370206, 1331370209, 1331370200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.55841135978699 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-25 15:55:22.611270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/54/image_25012025_15_54_02_522651_0003.jpg', '/home/pi/Desktop/images/25012025/15/55/image_25012025_15_55_02_716904_0000.jpg', '/home/pi/Desktop/images/25012025/15/55/image_25012025_15_55_02_716904_0001.jpg', '/home/pi/Desktop/images/25012025/15/55/image_25012025_15_55_02_716904_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/54/image_25012025_15_54_02_522651_0003.jpg
/home/pi/Desktop/images/25012025/15/55/image_25012025_15_55_02_716904_0000.jpg
/home/pi/Desktop/images/25012025/15/55/image_25012025_15_55_02_716904_0001.jpg
/home/pi/Desktop/images/25012025/15/55/image_25012025_15_55_02_716904_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 [200]>
b'{"photo_ids":["1331370265","1331370456","1331370285","1331370260"],"photo_ids_order":["1331370260","1331370265","1331370285","1331370456"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/634bf5a3a4b5535b5cba1c1464c8747c.jpg","text":"TemporaryFile(/tmp/multipartBody4976796251199869276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816993392,"filename":"image_25012025_15_55_02_716904_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b8ee6a25dddcf757a9ef3025303584df.jpg","text":"TemporaryFile(/tmp/multipartBody7298144060044996022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816993392,"filename":"image_25012025_15_55_02_716904_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f39ed7381e4b733db8ebbf7d082435df.jpg","text":"TemporaryFile(/tmp/multipartBody7312104291480177272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816993392,"filename":"image_25012025_15_55_02_716904_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2218ffe047a9f5f6e6ff705027f772b2.jpg","text":"TemporaryFile(/tmp/multipartBody1455431483754055033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737816993392,"filename":"image_25012025_15_54_02_522651_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331370285","file1":"1331370265","file0":"1331370260","file3":"1331370456"},"map_files_photo_id_array":[{"photo_id":"1331370285","filename":"file2"},{"photo_id":"1331370265","filename":"file1"},{"photo_id":"1331370260","filename":"file0"},{"photo_id":"1331370456","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331370265":["hashtag1","hashtag2"]},{"1331370456":["hashtag1","hashtag2"]},{"1331370285":["hashtag1","hashtag2"]},{"1331370260":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331370265, 1331370456, 1331370285, 1331370260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.08146667480469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:56:22.762766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/55/image_25012025_15_55_02_716904_0003.jpg', '/home/pi/Desktop/images/25012025/15/56/image_25012025_15_56_02_920612_0000.jpg', '/home/pi/Desktop/images/25012025/15/56/image_25012025_15_56_02_920612_0001.jpg', '/home/pi/Desktop/images/25012025/15/56/image_25012025_15_56_02_920612_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/55/image_25012025_15_55_02_716904_0003.jpg
/home/pi/Desktop/images/25012025/15/56/image_25012025_15_56_02_920612_0000.jpg
/home/pi/Desktop/images/25012025/15/56/image_25012025_15_56_02_920612_0001.jpg
/home/pi/Desktop/images/25012025/15/56/image_25012025_15_56_02_920612_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 [200]>
b'{"photo_ids":["1331371147","1331371137","1331371152","1331371142"],"photo_ids_order":["1331371137","1331371142","1331371147","1331371152"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f49c563648832ef6fc47fc119c224123.jpg","text":"TemporaryFile(/tmp/multipartBody6029241190766927546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817054064,"filename":"image_25012025_15_56_02_920612_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ac08febf3fcfccc6616495d47c502444.jpg","text":"TemporaryFile(/tmp/multipartBody8775025359543219098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817054064,"filename":"image_25012025_15_55_02_716904_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2ac0ef24c6b8b262ccc3718ead87028e.jpg","text":"TemporaryFile(/tmp/multipartBody163840726365745719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817054064,"filename":"image_25012025_15_56_02_920612_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c8264a51e5409ccb3494c89dfe340fbb.jpg","text":"TemporaryFile(/tmp/multipartBody6370173436295023332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817054064,"filename":"image_25012025_15_56_02_920612_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331371147","file1":"1331371142","file0":"1331371137","file3":"1331371152"},"map_files_photo_id_array":[{"photo_id":"1331371147","filename":"file2"},{"photo_id":"1331371142","filename":"file1"},{"photo_id":"1331371137","filename":"file0"},{"photo_id":"1331371152","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331371147":["hashtag1","hashtag2"]},{"1331371137":["hashtag1","hashtag2"]},{"1331371152":["hashtag1","hashtag2"]},{"1331371142":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331371147, 1331371137, 1331371152, 1331371142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.7464075088501 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 15:57:21.904078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/56/image_25012025_15_56_02_920612_0003.jpg', '/home/pi/Desktop/images/25012025/15/57/image_25012025_15_57_03_166750_0000.jpg', '/home/pi/Desktop/images/25012025/15/57/image_25012025_15_57_03_166750_0001.jpg', '/home/pi/Desktop/images/25012025/15/57/image_25012025_15_57_03_166750_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/56/image_25012025_15_56_02_920612_0003.jpg
/home/pi/Desktop/images/25012025/15/57/image_25012025_15_57_03_166750_0000.jpg
/home/pi/Desktop/images/25012025/15/57/image_25012025_15_57_03_166750_0001.jpg
/home/pi/Desktop/images/25012025/15/57/image_25012025_15_57_03_166750_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-25 15:59:02.999377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/56/image_25012025_15_56_02_920612_0003.jpg', '/home/pi/Desktop/images/25012025/15/57/image_25012025_15_57_03_166750_0000.jpg', '/home/pi/Desktop/images/25012025/15/57/image_25012025_15_57_03_166750_0001.jpg', '/home/pi/Desktop/images/25012025/15/57/image_25012025_15_57_03_166750_0002.jpg', '/home/pi/Desktop/images/25012025/15/57/image_25012025_15_57_03_166750_0003.jpg', '/home/pi/Desktop/images/25012025/15/58/image_25012025_15_58_02_283126_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/56/image_25012025_15_56_02_920612_0003.jpg
/home/pi/Desktop/images/25012025/15/57/image_25012025_15_57_03_166750_0000.jpg
/home/pi/Desktop/images/25012025/15/57/image_25012025_15_57_03_166750_0001.jpg
/home/pi/Desktop/images/25012025/15/57/image_25012025_15_57_03_166750_0002.jpg
/home/pi/Desktop/images/25012025/15/57/image_25012025_15_57_03_166750_0003.jpg
/home/pi/Desktop/images/25012025/15/58/image_25012025_15_58_02_283126_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331372440","1331372326","1331372352","1331372669","1331372378","1331372920"],"photo_ids_order":["1331372326","1331372352","1331372378","1331372440","1331372669","1331372920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/87386d96c1a56a9152ebc77ed7f26365.jpg","text":"TemporaryFile(/tmp/multipartBody8441955297157109086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817220192,"filename":"image_25012025_15_57_03_166750_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eab440cbf163a1f0b26574d2375cc83f.jpg","text":"TemporaryFile(/tmp/multipartBody6453831236565944856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817220192,"filename":"image_25012025_15_56_02_920612_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7be57b36311b89348ffac08f6df71c59.jpg","text":"TemporaryFile(/tmp/multipartBody1511706688564140713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817220192,"filename":"image_25012025_15_57_03_166750_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0688aab9889c0f146f1b3d2299d3c731.jpg","text":"TemporaryFile(/tmp/multipartBody4437989832842228280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817220192,"filename":"image_25012025_15_57_03_166750_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/70d565d4d09e2487786869ca1bbd0ecf.jpg","text":"TemporaryFile(/tmp/multipartBody9015953959409727085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817220192,"filename":"image_25012025_15_57_03_166750_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/00b25cb57b764251d2e3af6533fc7d4a.jpg","text":"TemporaryFile(/tmp/multipartBody2411149918067016900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817220192,"filename":"image_25012025_15_58_02_283126_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331372378","file1":"1331372352","file0":"1331372326","file4":"1331372669","file5":"1331372920","file3":"1331372440"},"map_files_photo_id_array":[{"photo_id":"1331372920","filename":"file5"},{"photo_id":"1331372378","filename":"file2"},{"photo_id":"1331372669","filename":"file4"},{"photo_id":"1331372352","filename":"file1"},{"photo_id":"1331372326","filename":"file0"},{"photo_id":"1331372440","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331372440":["hashtag1","hashtag2"]},{"1331372326":["hashtag1","hashtag2"]},{"1331372352":["hashtag1","hashtag2"]},{"1331372669":["hashtag1","hashtag2"]},{"1331372378":["hashtag1","hashtag2"]},{"1331372920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331372440, 1331372326, 1331372352, 1331372669, 1331372378, 1331372920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.55398988723755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:00:22.459889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/58/image_25012025_15_58_02_283126_0001.jpg', '/home/pi/Desktop/images/25012025/15/58/image_25012025_15_58_02_283126_0002.jpg', '/home/pi/Desktop/images/25012025/15/58/image_25012025_15_58_02_283126_0003.jpg', '/home/pi/Desktop/images/25012025/15/59/image_25012025_15_59_02_452872_0000.jpg', '/home/pi/Desktop/images/25012025/15/59/image_25012025_15_59_02_452872_0001.jpg', '/home/pi/Desktop/images/25012025/15/59/image_25012025_15_59_02_452872_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/58/image_25012025_15_58_02_283126_0001.jpg
/home/pi/Desktop/images/25012025/15/58/image_25012025_15_58_02_283126_0002.jpg
/home/pi/Desktop/images/25012025/15/58/image_25012025_15_58_02_283126_0003.jpg
/home/pi/Desktop/images/25012025/15/59/image_25012025_15_59_02_452872_0000.jpg
/home/pi/Desktop/images/25012025/15/59/image_25012025_15_59_02_452872_0001.jpg
/home/pi/Desktop/images/25012025/15/59/image_25012025_15_59_02_452872_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 [200]>
b'{"photo_ids":["1331373447","1331373450","1331373438","1331373432","1331373442","1331373505"],"photo_ids_order":["1331373432","1331373438","1331373442","1331373447","1331373450","1331373505"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7fb8c9540a42c479ab28e20489dfc31c.jpg","text":"TemporaryFile(/tmp/multipartBody1383598292054830935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817300059,"filename":"image_25012025_15_59_02_452872_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/41ea2ca87a7beca650f216c6e1b93cdf.jpg","text":"TemporaryFile(/tmp/multipartBody8830460542398598791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817300059,"filename":"image_25012025_15_59_02_452872_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bf480b9827937d159d441f160f73dc53.jpg","text":"TemporaryFile(/tmp/multipartBody4360083263361150168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817300059,"filename":"image_25012025_15_58_02_283126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/65a18ed8357bd3bc501c4412adbf8709.jpg","text":"TemporaryFile(/tmp/multipartBody6772189044578029878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817300059,"filename":"image_25012025_15_58_02_283126_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0c7e0121b725d57c02796d9858c8b63e.jpg","text":"TemporaryFile(/tmp/multipartBody6864623927004545135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817300059,"filename":"image_25012025_15_58_02_283126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1fa51d3d51e86fb3b3f46545a98f53fe.jpg","text":"TemporaryFile(/tmp/multipartBody430436161031329646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817300059,"filename":"image_25012025_15_59_02_452872_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331373442","file1":"1331373438","file0":"1331373432","file4":"1331373450","file5":"1331373505","file3":"1331373447"},"map_files_photo_id_array":[{"photo_id":"1331373505","filename":"file5"},{"photo_id":"1331373442","filename":"file2"},{"photo_id":"1331373450","filename":"file4"},{"photo_id":"1331373438","filename":"file1"},{"photo_id":"1331373432","filename":"file0"},{"photo_id":"1331373447","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331373447":["hashtag1","hashtag2"]},{"1331373450":["hashtag1","hashtag2"]},{"1331373438":["hashtag1","hashtag2"]},{"1331373432":["hashtag1","hashtag2"]},{"1331373442":["hashtag1","hashtag2"]},{"1331373505":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331373447, 1331373450, 1331373438, 1331373432, 1331373442, 1331373505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.51434874534607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:01:22.779621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/15/59/image_25012025_15_59_02_452872_0003.jpg', '/home/pi/Desktop/images/25012025/16/00/image_25012025_16_00_02_668392_0000.jpg', '/home/pi/Desktop/images/25012025/16/00/image_25012025_16_00_02_668392_0001.jpg', '/home/pi/Desktop/images/25012025/16/00/image_25012025_16_00_02_668392_0002.jpg', '/home/pi/Desktop/images/25012025/16/00/image_25012025_16_00_02_668392_0003.jpg', '/home/pi/Desktop/images/25012025/16/01/image_25012025_16_01_02_840139_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/15/59/image_25012025_15_59_02_452872_0003.jpg
/home/pi/Desktop/images/25012025/16/00/image_25012025_16_00_02_668392_0000.jpg
/home/pi/Desktop/images/25012025/16/00/image_25012025_16_00_02_668392_0001.jpg
/home/pi/Desktop/images/25012025/16/00/image_25012025_16_00_02_668392_0002.jpg
/home/pi/Desktop/images/25012025/16/00/image_25012025_16_00_02_668392_0003.jpg
/home/pi/Desktop/images/25012025/16/01/image_25012025_16_01_02_840139_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 [200]>
b'{"photo_ids":["1331373884","1331373722","1331373725","1331373889","1331373812","1331373728"],"photo_ids_order":["1331373722","1331373725","1331373728","1331373812","1331373884","1331373889"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/71f5d23f315477206c64fcb9a84d2893.jpg","text":"TemporaryFile(/tmp/multipartBody2152586292674486329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817360092,"filename":"image_25012025_16_00_02_668392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ae2b76c60baded602d9727c17ecbbe10.jpg","text":"TemporaryFile(/tmp/multipartBody5792448336891325155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817360092,"filename":"image_25012025_15_59_02_452872_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/891747bae615ac60f990047ea3284fd5.jpg","text":"TemporaryFile(/tmp/multipartBody3094162537594451723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817360092,"filename":"image_25012025_16_00_02_668392_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dcc5ebce7c0ea82afda2047b2377ee0e.jpg","text":"TemporaryFile(/tmp/multipartBody5418422027162420357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817360092,"filename":"image_25012025_16_01_02_840139_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a621493213cc2d2042a07af637a81057.jpg","text":"TemporaryFile(/tmp/multipartBody7014184892304453181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817360092,"filename":"image_25012025_16_00_02_668392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1004439aaf6895a55d3ea908fbcc5c72.jpg","text":"TemporaryFile(/tmp/multipartBody334736783687096825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817360092,"filename":"image_25012025_16_00_02_668392_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331373728","file1":"1331373725","file0":"1331373722","file4":"1331373884","file5":"1331373889","file3":"1331373812"},"map_files_photo_id_array":[{"photo_id":"1331373889","filename":"file5"},{"photo_id":"1331373728","filename":"file2"},{"photo_id":"1331373884","filename":"file4"},{"photo_id":"1331373725","filename":"file1"},{"photo_id":"1331373722","filename":"file0"},{"photo_id":"1331373812","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331373884":["hashtag1","hashtag2"]},{"1331373722":["hashtag1","hashtag2"]},{"1331373725":["hashtag1","hashtag2"]},{"1331373889":["hashtag1","hashtag2"]},{"1331373812":["hashtag1","hashtag2"]},{"1331373728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331373884, 1331373722, 1331373725, 1331373889, 1331373812, 1331373728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.75702095031738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:02:21.901598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/01/image_25012025_16_01_02_840139_0001.jpg', '/home/pi/Desktop/images/25012025/16/01/image_25012025_16_01_02_840139_0002.jpg', '/home/pi/Desktop/images/25012025/16/01/image_25012025_16_01_02_840139_0003.jpg', '/home/pi/Desktop/images/25012025/16/02/image_25012025_16_02_03_124555_0000.jpg', '/home/pi/Desktop/images/25012025/16/02/image_25012025_16_02_03_124555_0001.jpg', '/home/pi/Desktop/images/25012025/16/02/image_25012025_16_02_03_124555_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/01/image_25012025_16_01_02_840139_0001.jpg
/home/pi/Desktop/images/25012025/16/01/image_25012025_16_01_02_840139_0002.jpg
/home/pi/Desktop/images/25012025/16/01/image_25012025_16_01_02_840139_0003.jpg
/home/pi/Desktop/images/25012025/16/02/image_25012025_16_02_03_124555_0000.jpg
/home/pi/Desktop/images/25012025/16/02/image_25012025_16_02_03_124555_0001.jpg
/home/pi/Desktop/images/25012025/16/02/image_25012025_16_02_03_124555_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 [200]>
b'{"photo_ids":["1331373939","1331373998","1331373935","1331374159","1331374066","1331373943"],"photo_ids_order":["1331373935","1331373939","1331373943","1331373998","1331374066","1331374159"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bb02e371129da7d260476f2abaa810bb.jpg","text":"TemporaryFile(/tmp/multipartBody8450075959691792909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817418959,"filename":"image_25012025_16_01_02_840139_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/04a0e5502ebcd845df5485dfae5369fe.jpg","text":"TemporaryFile(/tmp/multipartBody6693320424434436089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817418959,"filename":"image_25012025_16_02_03_124555_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/609a0d890286ce0aa5f25203f80e6de6.jpg","text":"TemporaryFile(/tmp/multipartBody1347130645317566629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817418959,"filename":"image_25012025_16_01_02_840139_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/da35892f5af46df38874e5a02c4c6fa0.jpg","text":"TemporaryFile(/tmp/multipartBody7355762681429657269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817418959,"filename":"image_25012025_16_02_03_124555_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8eef21362cb5a6445337615711bd89ab.jpg","text":"TemporaryFile(/tmp/multipartBody2160710668901978169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817418959,"filename":"image_25012025_16_02_03_124555_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/951218165c029dc9c2d9147302367da2.jpg","text":"TemporaryFile(/tmp/multipartBody4316678460279878123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817418959,"filename":"image_25012025_16_01_02_840139_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331373943","file1":"1331373939","file0":"1331373935","file4":"1331374066","file5":"1331374159","file3":"1331373998"},"map_files_photo_id_array":[{"photo_id":"1331374159","filename":"file5"},{"photo_id":"1331373943","filename":"file2"},{"photo_id":"1331374066","filename":"file4"},{"photo_id":"1331373939","filename":"file1"},{"photo_id":"1331373935","filename":"file0"},{"photo_id":"1331373998","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331373939":["hashtag1","hashtag2"]},{"1331373998":["hashtag1","hashtag2"]},{"1331373935":["hashtag1","hashtag2"]},{"1331374159":["hashtag1","hashtag2"]},{"1331374066":["hashtag1","hashtag2"]},{"1331373943":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331373939, 1331373998, 1331373935, 1331374159, 1331374066, 1331373943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.62494444847107 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:03:22.018249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/02/image_25012025_16_02_03_124555_0003.jpg', '/home/pi/Desktop/images/25012025/16/03/image_25012025_16_03_02_304339_0000.jpg', '/home/pi/Desktop/images/25012025/16/03/image_25012025_16_03_02_304339_0001.jpg', '/home/pi/Desktop/images/25012025/16/03/image_25012025_16_03_02_304339_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/02/image_25012025_16_02_03_124555_0003.jpg
/home/pi/Desktop/images/25012025/16/03/image_25012025_16_03_02_304339_0000.jpg
/home/pi/Desktop/images/25012025/16/03/image_25012025_16_03_02_304339_0001.jpg
/home/pi/Desktop/images/25012025/16/03/image_25012025_16_03_02_304339_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 [200]>
b'{"photo_ids":["1331374242","1331374236","1331374240","1331374233"],"photo_ids_order":["1331374233","1331374236","1331374240","1331374242"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/210a1a3b2d442881e66425d8dc62bcd8.jpg","text":"TemporaryFile(/tmp/multipartBody5822643447660727848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817473735,"filename":"image_25012025_16_03_02_304339_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aba27e04e78b42937b614114e958dd39.jpg","text":"TemporaryFile(/tmp/multipartBody1079854121229496060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817473735,"filename":"image_25012025_16_03_02_304339_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0c5d79e8e360eb40546deea675cae075.jpg","text":"TemporaryFile(/tmp/multipartBody5753207658190612230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817473735,"filename":"image_25012025_16_03_02_304339_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/397f9ee973fa61d4eb79d4ed408ffacb.jpg","text":"TemporaryFile(/tmp/multipartBody5098740344070917494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817473735,"filename":"image_25012025_16_02_03_124555_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331374240","file1":"1331374236","file0":"1331374233","file3":"1331374242"},"map_files_photo_id_array":[{"photo_id":"1331374240","filename":"file2"},{"photo_id":"1331374236","filename":"file1"},{"photo_id":"1331374233","filename":"file0"},{"photo_id":"1331374242","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331374242":["hashtag1","hashtag2"]},{"1331374236":["hashtag1","hashtag2"]},{"1331374240":["hashtag1","hashtag2"]},{"1331374233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331374242, 1331374236, 1331374240, 1331374233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.562877893447876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:04:22.232557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/03/image_25012025_16_03_02_304339_0003.jpg', '/home/pi/Desktop/images/25012025/16/04/image_25012025_16_04_02_431210_0000.jpg', '/home/pi/Desktop/images/25012025/16/04/image_25012025_16_04_02_431210_0001.jpg', '/home/pi/Desktop/images/25012025/16/04/image_25012025_16_04_02_431210_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/03/image_25012025_16_03_02_304339_0003.jpg
/home/pi/Desktop/images/25012025/16/04/image_25012025_16_04_02_431210_0000.jpg
/home/pi/Desktop/images/25012025/16/04/image_25012025_16_04_02_431210_0001.jpg
/home/pi/Desktop/images/25012025/16/04/image_25012025_16_04_02_431210_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":["1331374902","1331374927","1331374899","1331374893"],"photo_ids_order":["1331374893","1331374899","1331374902","1331374927"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/53639aa43ba0dab99924234c0275787c.jpg","text":"TemporaryFile(/tmp/multipartBody3444844897583735195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817533780,"filename":"image_25012025_16_04_02_431210_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/87c730f2c615d07e5715307e78ebf9c0.jpg","text":"TemporaryFile(/tmp/multipartBody3833013470289238033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817533780,"filename":"image_25012025_16_04_02_431210_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/51966cff038f2123312eda0212db1402.jpg","text":"TemporaryFile(/tmp/multipartBody7435465418061597114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817533780,"filename":"image_25012025_16_04_02_431210_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5d07718a57816ab088653f938436d0d9.jpg","text":"TemporaryFile(/tmp/multipartBody1805655156233062490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817533780,"filename":"image_25012025_16_03_02_304339_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331374902","file1":"1331374899","file0":"1331374893","file3":"1331374927"},"map_files_photo_id_array":[{"photo_id":"1331374902","filename":"file2"},{"photo_id":"1331374899","filename":"file1"},{"photo_id":"1331374893","filename":"file0"},{"photo_id":"1331374927","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331374902":["hashtag1","hashtag2"]},{"1331374927":["hashtag1","hashtag2"]},{"1331374899":["hashtag1","hashtag2"]},{"1331374893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331374902, 1331374927, 1331374899, 1331374893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.34856462478638 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 16:05:02.929548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/26/image_21012025_21_26_02_228374_0001.jpg', '/home/pi/Desktop/images/21012025/21/26/image_21012025_21_26_02_228374_0003.jpg', '/home/pi/Desktop/images/21012025/21/27/image_21012025_21_27_02_328031_0000.jpg', '/home/pi/Desktop/images/21012025/21/27/image_21012025_21_27_02_328031_0001.jpg', '/home/pi/Desktop/images/21012025/21/27/image_21012025_21_27_02_328031_0002.jpg', '/home/pi/Desktop/images/21012025/21/27/image_21012025_21_27_02_328031_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/21/26/image_21012025_21_26_02_228374_0001.jpg
/home/pi/Desktop/images/21012025/21/26/image_21012025_21_26_02_228374_0003.jpg
/home/pi/Desktop/images/21012025/21/27/image_21012025_21_27_02_328031_0000.jpg
/home/pi/Desktop/images/21012025/21/27/image_21012025_21_27_02_328031_0001.jpg
/home/pi/Desktop/images/21012025/21/27/image_21012025_21_27_02_328031_0002.jpg
/home/pi/Desktop/images/21012025/21/27/image_21012025_21_27_02_328031_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.657787084579468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:05:22.310447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/04/image_25012025_16_04_02_431210_0003.jpg', '/home/pi/Desktop/images/25012025/16/05/image_25012025_16_05_02_543070_0000.jpg', '/home/pi/Desktop/images/25012025/16/05/image_25012025_16_05_02_543070_0001.jpg', '/home/pi/Desktop/images/25012025/16/05/image_25012025_16_05_02_543070_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/04/image_25012025_16_04_02_431210_0003.jpg
/home/pi/Desktop/images/25012025/16/05/image_25012025_16_05_02_543070_0000.jpg
/home/pi/Desktop/images/25012025/16/05/image_25012025_16_05_02_543070_0001.jpg
/home/pi/Desktop/images/25012025/16/05/image_25012025_16_05_02_543070_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":["1331376145","1331376054","1331376152","1331376149"],"photo_ids_order":["1331376054","1331376145","1331376149","1331376152"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a11fe63edc08fe855a8193b674e2edbf.jpg","text":"TemporaryFile(/tmp/multipartBody2317631014032786736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817593697,"filename":"image_25012025_16_05_02_543070_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2185d9760bcf9174242bf4865d4909ab.jpg","text":"TemporaryFile(/tmp/multipartBody5688966547360930654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817593697,"filename":"image_25012025_16_04_02_431210_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/03020967d006a9ac4d3d05d3daea00d9.jpg","text":"TemporaryFile(/tmp/multipartBody5811450174214233951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817593697,"filename":"image_25012025_16_05_02_543070_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e443d477346b28a61ab0adb20e739812.jpg","text":"TemporaryFile(/tmp/multipartBody8153335603211074547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817593697,"filename":"image_25012025_16_05_02_543070_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331376149","file1":"1331376145","file0":"1331376054","file3":"1331376152"},"map_files_photo_id_array":[{"photo_id":"1331376149","filename":"file2"},{"photo_id":"1331376145","filename":"file1"},{"photo_id":"1331376054","filename":"file0"},{"photo_id":"1331376152","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331376145":["hashtag1","hashtag2"]},{"1331376054":["hashtag1","hashtag2"]},{"1331376152":["hashtag1","hashtag2"]},{"1331376149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331376145, 1331376054, 1331376152, 1331376149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.66877722740173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 16:06:03.158311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/26/image_21012025_21_26_02_228374_0001.jpg', '/home/pi/Desktop/images/21012025/21/26/image_21012025_21_26_02_228374_0003.jpg', '/home/pi/Desktop/images/21012025/21/27/image_21012025_21_27_02_328031_0000.jpg', '/home/pi/Desktop/images/21012025/21/27/image_21012025_21_27_02_328031_0001.jpg', '/home/pi/Desktop/images/21012025/21/27/image_21012025_21_27_02_328031_0002.jpg', '/home/pi/Desktop/images/21012025/21/27/image_21012025_21_27_02_328031_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/21/26/image_21012025_21_26_02_228374_0001.jpg
/home/pi/Desktop/images/21012025/21/26/image_21012025_21_26_02_228374_0003.jpg
/home/pi/Desktop/images/21012025/21/27/image_21012025_21_27_02_328031_0000.jpg
/home/pi/Desktop/images/21012025/21/27/image_21012025_21_27_02_328031_0001.jpg
/home/pi/Desktop/images/21012025/21/27/image_21012025_21_27_02_328031_0002.jpg
/home/pi/Desktop/images/21012025/21/27/image_21012025_21_27_02_328031_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 [200]>
b'{"photo_ids":["1331376295","1331376321","1331376306","1331376315","1331376309","1331376470"],"photo_ids_order":["1331376295","1331376306","1331376309","1331376315","1331376321","1331376470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2e5c4ee4ad25264884f31d168de12fbc.jpg","text":"TemporaryFile(/tmp/multipartBody2317941180697625352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817638918,"filename":"image_21012025_21_26_02_228374_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2b0653b8bd94ed791749cee168c5b300.jpg","text":"TemporaryFile(/tmp/multipartBody8650386575321196400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817638918,"filename":"image_21012025_21_27_02_328031_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5ff1bb1d8daff5fafa1a7e81119b170b.jpg","text":"TemporaryFile(/tmp/multipartBody8543871346542247820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817638918,"filename":"image_21012025_21_26_02_228374_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f4a2ab21aecdc6cb7e2d8384f2531edc.jpg","text":"TemporaryFile(/tmp/multipartBody6195395897382072897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817638918,"filename":"image_21012025_21_27_02_328031_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1860edc7372af6bdf1a7364cd9d790a3.jpg","text":"TemporaryFile(/tmp/multipartBody5849181515803368977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817638918,"filename":"image_21012025_21_27_02_328031_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0a6972380247bb4836df5560a6a07f37.jpg","text":"TemporaryFile(/tmp/multipartBody6680797505971858876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817638918,"filename":"image_21012025_21_27_02_328031_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331376309","file1":"1331376306","file0":"1331376295","file4":"1331376321","file5":"1331376470","file3":"1331376315"},"map_files_photo_id_array":[{"photo_id":"1331376470","filename":"file5"},{"photo_id":"1331376309","filename":"file2"},{"photo_id":"1331376321","filename":"file4"},{"photo_id":"1331376306","filename":"file1"},{"photo_id":"1331376295","filename":"file0"},{"photo_id":"1331376315","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331376295":["hashtag1","hashtag2"]},{"1331376321":["hashtag1","hashtag2"]},{"1331376306":["hashtag1","hashtag2"]},{"1331376315":["hashtag1","hashtag2"]},{"1331376309":["hashtag1","hashtag2"]},{"1331376470":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331376295, 1331376321, 1331376306, 1331376315, 1331376309, 1331376470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.23559832572937 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 16:07:02.490150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/05/image_25012025_16_05_02_543070_0003.jpg', '/home/pi/Desktop/images/25012025/16/06/image_25012025_16_06_02_846978_0000.jpg', '/home/pi/Desktop/images/25012025/16/06/image_25012025_16_06_02_846978_0001.jpg', '/home/pi/Desktop/images/25012025/16/06/image_25012025_16_06_02_846978_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/05/image_25012025_16_05_02_543070_0003.jpg
/home/pi/Desktop/images/25012025/16/06/image_25012025_16_06_02_846978_0000.jpg
/home/pi/Desktop/images/25012025/16/06/image_25012025_16_06_02_846978_0001.jpg
/home/pi/Desktop/images/25012025/16/06/image_25012025_16_06_02_846978_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.30524492263794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:07:21.824959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/05/image_25012025_16_05_02_543070_0003.jpg', '/home/pi/Desktop/images/25012025/16/06/image_25012025_16_06_02_846978_0000.jpg', '/home/pi/Desktop/images/25012025/16/06/image_25012025_16_06_02_846978_0001.jpg', '/home/pi/Desktop/images/25012025/16/06/image_25012025_16_06_02_846978_0002.jpg', '/home/pi/Desktop/images/25012025/16/06/image_25012025_16_06_02_846978_0003.jpg', '/home/pi/Desktop/images/25012025/16/07/image_25012025_16_07_03_078406_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/05/image_25012025_16_05_02_543070_0003.jpg
/home/pi/Desktop/images/25012025/16/06/image_25012025_16_06_02_846978_0000.jpg
/home/pi/Desktop/images/25012025/16/06/image_25012025_16_06_02_846978_0001.jpg
/home/pi/Desktop/images/25012025/16/06/image_25012025_16_06_02_846978_0002.jpg
/home/pi/Desktop/images/25012025/16/06/image_25012025_16_06_02_846978_0003.jpg
/home/pi/Desktop/images/25012025/16/07/image_25012025_16_07_03_078406_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 [200]>
b'{"photo_ids":["1331377047","1331377050","1331377038","1331377058","1331377055","1331377043"],"photo_ids_order":["1331377038","1331377043","1331377047","1331377050","1331377055","1331377058"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/768e2fff2219f7b51eed6139e339d9e5.jpg","text":"TemporaryFile(/tmp/multipartBody1212614826386825316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817718863,"filename":"image_25012025_16_06_02_846978_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/254e2b8b34d59b1cd6f7dae8318a275a.jpg","text":"TemporaryFile(/tmp/multipartBody6374183119326364848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817718863,"filename":"image_25012025_16_06_02_846978_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aa73b723c544da2bd90d46705bd17039.jpg","text":"TemporaryFile(/tmp/multipartBody7526541207652300124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817718863,"filename":"image_25012025_16_05_02_543070_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/12b2a5d38fdd62b59331bec4e6db7c9e.jpg","text":"TemporaryFile(/tmp/multipartBody7469525401506352578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817718863,"filename":"image_25012025_16_07_03_078406_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/05b2573f94474e1f0c2642348c3c716d.jpg","text":"TemporaryFile(/tmp/multipartBody4542619930016173479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817718863,"filename":"image_25012025_16_06_02_846978_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1582e73fc795d25c8f80b8b40d3cfef9.jpg","text":"TemporaryFile(/tmp/multipartBody923720237674871734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817718863,"filename":"image_25012025_16_06_02_846978_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331377047","file1":"1331377043","file0":"1331377038","file4":"1331377055","file5":"1331377058","file3":"1331377050"},"map_files_photo_id_array":[{"photo_id":"1331377058","filename":"file5"},{"photo_id":"1331377047","filename":"file2"},{"photo_id":"1331377055","filename":"file4"},{"photo_id":"1331377043","filename":"file1"},{"photo_id":"1331377038","filename":"file0"},{"photo_id":"1331377050","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331377047":["hashtag1","hashtag2"]},{"1331377050":["hashtag1","hashtag2"]},{"1331377038":["hashtag1","hashtag2"]},{"1331377058":["hashtag1","hashtag2"]},{"1331377055":["hashtag1","hashtag2"]},{"1331377043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331377047, 1331377050, 1331377038, 1331377058, 1331377055, 1331377043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.23856043815613 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:08:22.026608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/07/image_25012025_16_07_03_078406_0001.jpg', '/home/pi/Desktop/images/25012025/16/07/image_25012025_16_07_03_078406_0002.jpg', '/home/pi/Desktop/images/25012025/16/07/image_25012025_16_07_03_078406_0003.jpg', '/home/pi/Desktop/images/25012025/16/08/image_25012025_16_08_02_221710_0000.jpg', '/home/pi/Desktop/images/25012025/16/08/image_25012025_16_08_02_221710_0001.jpg', '/home/pi/Desktop/images/25012025/16/08/image_25012025_16_08_02_221710_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/07/image_25012025_16_07_03_078406_0001.jpg
/home/pi/Desktop/images/25012025/16/07/image_25012025_16_07_03_078406_0002.jpg
/home/pi/Desktop/images/25012025/16/07/image_25012025_16_07_03_078406_0003.jpg
/home/pi/Desktop/images/25012025/16/08/image_25012025_16_08_02_221710_0000.jpg
/home/pi/Desktop/images/25012025/16/08/image_25012025_16_08_02_221710_0001.jpg
/home/pi/Desktop/images/25012025/16/08/image_25012025_16_08_02_221710_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 [200]>
b'{"photo_ids":["1331377264","1331377258","1331377245","1331377262","1331377238","1331377253"],"photo_ids_order":["1331377238","1331377245","1331377253","1331377258","1331377262","1331377264"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/884dc9b4063f5b5e05c683f52daef08d.jpg","text":"TemporaryFile(/tmp/multipartBody7951773899678549621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817778140,"filename":"image_25012025_16_08_02_221710_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2c11c0e31fc4487c7e3c0df25d2be557.jpg","text":"TemporaryFile(/tmp/multipartBody7531394284159129949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817778140,"filename":"image_25012025_16_08_02_221710_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cb50e5a800645d3c6ea03beb46dd4714.jpg","text":"TemporaryFile(/tmp/multipartBody1565144635473139494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817778140,"filename":"image_25012025_16_07_03_078406_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1004aaceddaf222bf88d086b5a7dd19e.jpg","text":"TemporaryFile(/tmp/multipartBody6265627530510212327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817778140,"filename":"image_25012025_16_08_02_221710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8ce97c4aaddc5e85c378f8ba856647ec.jpg","text":"TemporaryFile(/tmp/multipartBody3108896406529326423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817778140,"filename":"image_25012025_16_07_03_078406_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ec6f3162be2738d07916b53d390dc879.jpg","text":"TemporaryFile(/tmp/multipartBody3821604450268389170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817778140,"filename":"image_25012025_16_07_03_078406_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331377253","file1":"1331377245","file0":"1331377238","file4":"1331377262","file5":"1331377264","file3":"1331377258"},"map_files_photo_id_array":[{"photo_id":"1331377264","filename":"file5"},{"photo_id":"1331377253","filename":"file2"},{"photo_id":"1331377262","filename":"file4"},{"photo_id":"1331377245","filename":"file1"},{"photo_id":"1331377238","filename":"file0"},{"photo_id":"1331377258","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331377264":["hashtag1","hashtag2"]},{"1331377258":["hashtag1","hashtag2"]},{"1331377245":["hashtag1","hashtag2"]},{"1331377262":["hashtag1","hashtag2"]},{"1331377238":["hashtag1","hashtag2"]},{"1331377253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331377264, 1331377258, 1331377245, 1331377262, 1331377238, 1331377253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.95980954170227 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:09:22.210331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/08/image_25012025_16_08_02_221710_0003.jpg', '/home/pi/Desktop/images/25012025/16/09/image_25012025_16_09_02_356630_0000.jpg', '/home/pi/Desktop/images/25012025/16/09/image_25012025_16_09_02_356630_0001.jpg', '/home/pi/Desktop/images/25012025/16/09/image_25012025_16_09_02_356630_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/08/image_25012025_16_08_02_221710_0003.jpg
/home/pi/Desktop/images/25012025/16/09/image_25012025_16_09_02_356630_0000.jpg
/home/pi/Desktop/images/25012025/16/09/image_25012025_16_09_02_356630_0001.jpg
/home/pi/Desktop/images/25012025/16/09/image_25012025_16_09_02_356630_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":["1331377273","1331377287","1331377295","1331377279"],"photo_ids_order":["1331377273","1331377279","1331377287","1331377295"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7d077871652bff981317543a874d5153.jpg","text":"TemporaryFile(/tmp/multipartBody5486710037865091313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817833487,"filename":"image_25012025_16_08_02_221710_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5a7817b54f6b43a1880235edec105b77.jpg","text":"TemporaryFile(/tmp/multipartBody974281955520947943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817833487,"filename":"image_25012025_16_09_02_356630_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2519d2ec88a7466d945f9192c7353e4a.jpg","text":"TemporaryFile(/tmp/multipartBody5378602248121542772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817833487,"filename":"image_25012025_16_09_02_356630_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/772a2769600e55856ca1d3be4ba32a19.jpg","text":"TemporaryFile(/tmp/multipartBody1306069851488519547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817833487,"filename":"image_25012025_16_09_02_356630_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331377287","file1":"1331377279","file0":"1331377273","file3":"1331377295"},"map_files_photo_id_array":[{"photo_id":"1331377287","filename":"file2"},{"photo_id":"1331377279","filename":"file1"},{"photo_id":"1331377273","filename":"file0"},{"photo_id":"1331377295","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331377273":["hashtag1","hashtag2"]},{"1331377287":["hashtag1","hashtag2"]},{"1331377295":["hashtag1","hashtag2"]},{"1331377279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331377273, 1331377287, 1331377295, 1331377279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.152289390563965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 16:10:02.706686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/28/image_21012025_21_28_02_604861_0000.jpg', '/home/pi/Desktop/images/21012025/21/28/image_21012025_21_28_02_604861_0001.jpg', '/home/pi/Desktop/images/21012025/21/28/image_21012025_21_28_02_604861_0002.jpg', '/home/pi/Desktop/images/21012025/21/28/image_21012025_21_28_02_604861_0003.jpg', '/home/pi/Desktop/images/21012025/21/29/image_21012025_21_29_02_752810_0000.jpg', '/home/pi/Desktop/images/21012025/21/29/image_21012025_21_29_02_752810_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/21/28/image_21012025_21_28_02_604861_0000.jpg
/home/pi/Desktop/images/21012025/21/28/image_21012025_21_28_02_604861_0001.jpg
/home/pi/Desktop/images/21012025/21/28/image_21012025_21_28_02_604861_0002.jpg
/home/pi/Desktop/images/21012025/21/28/image_21012025_21_28_02_604861_0003.jpg
/home/pi/Desktop/images/21012025/21/29/image_21012025_21_29_02_752810_0000.jpg
/home/pi/Desktop/images/21012025/21/29/image_21012025_21_29_02_752810_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":["1331377351","1331377375","1331377320","1331377355","1331377331","1331377322"],"photo_ids_order":["1331377320","1331377322","1331377331","1331377351","1331377355","1331377375"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a0e6f1d8e94b2969451654bfb96cecab.jpg","text":"TemporaryFile(/tmp/multipartBody858880179497190848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817883357,"filename":"image_21012025_21_28_02_604861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d594eb3c6481e64ba868e1edc53cf768.jpg","text":"TemporaryFile(/tmp/multipartBody2576703999612258043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817883357,"filename":"image_21012025_21_29_02_752810_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3f504a14ecfeb80d74b2819894798cae.jpg","text":"TemporaryFile(/tmp/multipartBody1367347256588892964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817883357,"filename":"image_21012025_21_28_02_604861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4147d09d47ac4c4b5b1149d55e24fb4a.jpg","text":"TemporaryFile(/tmp/multipartBody3098365193917291000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817883357,"filename":"image_21012025_21_29_02_752810_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/67fea213d14c6d5d88ccc13dfe7543f9.jpg","text":"TemporaryFile(/tmp/multipartBody3835612535311316935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817883357,"filename":"image_21012025_21_28_02_604861_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/211feed04dc7a583a81d42095996cc07.jpg","text":"TemporaryFile(/tmp/multipartBody5614322579903330279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817883357,"filename":"image_21012025_21_28_02_604861_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331377331","file1":"1331377322","file0":"1331377320","file4":"1331377355","file5":"1331377375","file3":"1331377351"},"map_files_photo_id_array":[{"photo_id":"1331377375","filename":"file5"},{"photo_id":"1331377331","filename":"file2"},{"photo_id":"1331377355","filename":"file4"},{"photo_id":"1331377322","filename":"file1"},{"photo_id":"1331377320","filename":"file0"},{"photo_id":"1331377351","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331377351":["hashtag1","hashtag2"]},{"1331377375":["hashtag1","hashtag2"]},{"1331377320":["hashtag1","hashtag2"]},{"1331377355":["hashtag1","hashtag2"]},{"1331377331":["hashtag1","hashtag2"]},{"1331377322":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331377351, 1331377375, 1331377320, 1331377355, 1331377331, 1331377322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.97996640205383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:11:22.588052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/09/image_25012025_16_09_02_356630_0003.jpg', '/home/pi/Desktop/images/25012025/16/10/image_25012025_16_10_02_602263_0000.jpg', '/home/pi/Desktop/images/25012025/16/10/image_25012025_16_10_02_602263_0001.jpg', '/home/pi/Desktop/images/25012025/16/10/image_25012025_16_10_02_602263_0002.jpg', '/home/pi/Desktop/images/25012025/16/10/image_25012025_16_10_02_602263_0003.jpg', '/home/pi/Desktop/images/25012025/16/11/image_25012025_16_11_02_732723_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/09/image_25012025_16_09_02_356630_0003.jpg
/home/pi/Desktop/images/25012025/16/10/image_25012025_16_10_02_602263_0000.jpg
/home/pi/Desktop/images/25012025/16/10/image_25012025_16_10_02_602263_0001.jpg
/home/pi/Desktop/images/25012025/16/10/image_25012025_16_10_02_602263_0002.jpg
/home/pi/Desktop/images/25012025/16/10/image_25012025_16_10_02_602263_0003.jpg
/home/pi/Desktop/images/25012025/16/11/image_25012025_16_11_02_732723_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 [200]>
b'{"photo_ids":["1331378434","1331377939","1331378433","1331378063","1331378315","1331378188"],"photo_ids_order":["1331377939","1331378063","1331378188","1331378315","1331378433","1331378434"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/22a91efa5c558ddd6ffbdb669c0402d0.jpg","text":"TemporaryFile(/tmp/multipartBody3821906764949199253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817959456,"filename":"image_25012025_16_11_02_732723_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e30ef167535eea8272989ae8415e4b1f.jpg","text":"TemporaryFile(/tmp/multipartBody4132231390475418692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817959456,"filename":"image_25012025_16_09_02_356630_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e4b998c27adf441229eedf292bc8e816.jpg","text":"TemporaryFile(/tmp/multipartBody6180343573794526930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817959456,"filename":"image_25012025_16_10_02_602263_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8ae6a90ca1669b2f86ccd7ac95054edd.jpg","text":"TemporaryFile(/tmp/multipartBody8091289318621437327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817959456,"filename":"image_25012025_16_10_02_602263_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/322fe3db73d2aa0d3c7941ec67daa98e.jpg","text":"TemporaryFile(/tmp/multipartBody9064105120079416155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817959456,"filename":"image_25012025_16_10_02_602263_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/12e3a4ce15ac2387e0cbfc917edba288.jpg","text":"TemporaryFile(/tmp/multipartBody5989271707777493113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737817959456,"filename":"image_25012025_16_10_02_602263_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331378188","file1":"1331378063","file0":"1331377939","file4":"1331378433","file5":"1331378434","file3":"1331378315"},"map_files_photo_id_array":[{"photo_id":"1331378434","filename":"file5"},{"photo_id":"1331378188","filename":"file2"},{"photo_id":"1331378433","filename":"file4"},{"photo_id":"1331378063","filename":"file1"},{"photo_id":"1331377939","filename":"file0"},{"photo_id":"1331378315","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331378434":["hashtag1","hashtag2"]},{"1331377939":["hashtag1","hashtag2"]},{"1331378433":["hashtag1","hashtag2"]},{"1331378063":["hashtag1","hashtag2"]},{"1331378315":["hashtag1","hashtag2"]},{"1331378188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331378434, 1331377939, 1331378433, 1331378063, 1331378315, 1331378188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.74048566818237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:12:22.775362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/11/image_25012025_16_11_02_732723_0001.jpg', '/home/pi/Desktop/images/25012025/16/11/image_25012025_16_11_02_732723_0002.jpg', '/home/pi/Desktop/images/25012025/16/11/image_25012025_16_11_02_732723_0003.jpg', '/home/pi/Desktop/images/25012025/16/12/image_25012025_16_12_02_963556_0000.jpg', '/home/pi/Desktop/images/25012025/16/12/image_25012025_16_12_02_963556_0001.jpg', '/home/pi/Desktop/images/25012025/16/12/image_25012025_16_12_02_963556_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/11/image_25012025_16_11_02_732723_0001.jpg
/home/pi/Desktop/images/25012025/16/11/image_25012025_16_11_02_732723_0002.jpg
/home/pi/Desktop/images/25012025/16/11/image_25012025_16_11_02_732723_0003.jpg
/home/pi/Desktop/images/25012025/16/12/image_25012025_16_12_02_963556_0000.jpg
/home/pi/Desktop/images/25012025/16/12/image_25012025_16_12_02_963556_0001.jpg
/home/pi/Desktop/images/25012025/16/12/image_25012025_16_12_02_963556_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 [200]>
b'{"photo_ids":["1331378867","1331378849","1331378936","1331378858","1331379076","1331378875"],"photo_ids_order":["1331378849","1331378858","1331378867","1331378875","1331378936","1331379076"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/48e792761a640606d31faa6439e1322a.jpg","text":"TemporaryFile(/tmp/multipartBody1220808761979805350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818019175,"filename":"image_25012025_16_11_02_732723_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ee15fab1c4ca273dd80a2f145cb16971.jpg","text":"TemporaryFile(/tmp/multipartBody599505257248830622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818019175,"filename":"image_25012025_16_11_02_732723_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/257a820bc689b16e9c27f963e61a01b5.jpg","text":"TemporaryFile(/tmp/multipartBody5409017798939629704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818019175,"filename":"image_25012025_16_12_02_963556_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/94a1d840c9bd611acd84b7bbe7f85ce7.jpg","text":"TemporaryFile(/tmp/multipartBody5320408040140436895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818019175,"filename":"image_25012025_16_11_02_732723_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ccbef73f337481015b63d04a4da7cabf.jpg","text":"TemporaryFile(/tmp/multipartBody6606098124199696454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818019175,"filename":"image_25012025_16_12_02_963556_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e3e8e6f56156643a55ad031a8fe75254.jpg","text":"TemporaryFile(/tmp/multipartBody882213050470161018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818019175,"filename":"image_25012025_16_12_02_963556_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331378867","file1":"1331378858","file0":"1331378849","file4":"1331378936","file5":"1331379076","file3":"1331378875"},"map_files_photo_id_array":[{"photo_id":"1331379076","filename":"file5"},{"photo_id":"1331378867","filename":"file2"},{"photo_id":"1331378936","filename":"file4"},{"photo_id":"1331378858","filename":"file1"},{"photo_id":"1331378849","filename":"file0"},{"photo_id":"1331378875","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331378867":["hashtag1","hashtag2"]},{"1331378849":["hashtag1","hashtag2"]},{"1331378936":["hashtag1","hashtag2"]},{"1331378858":["hashtag1","hashtag2"]},{"1331379076":["hashtag1","hashtag2"]},{"1331378875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331378867, 1331378849, 1331378936, 1331378858, 1331379076, 1331378875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.24371576309204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:13:22.020867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/12/image_25012025_16_12_02_963556_0003.jpg', '/home/pi/Desktop/images/25012025/16/13/image_25012025_16_13_03_121056_0000.jpg', '/home/pi/Desktop/images/25012025/16/13/image_25012025_16_13_03_121056_0001.jpg', '/home/pi/Desktop/images/25012025/16/13/image_25012025_16_13_03_121056_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/12/image_25012025_16_12_02_963556_0003.jpg
/home/pi/Desktop/images/25012025/16/13/image_25012025_16_13_03_121056_0000.jpg
/home/pi/Desktop/images/25012025/16/13/image_25012025_16_13_03_121056_0001.jpg
/home/pi/Desktop/images/25012025/16/13/image_25012025_16_13_03_121056_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 [200]>
b'{"photo_ids":["1331379393","1331379513","1331379380","1331379502"],"photo_ids_order":["1331379380","1331379393","1331379502","1331379513"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d446d943b0f2b2ad180a3d9061769f89.jpg","text":"TemporaryFile(/tmp/multipartBody8339765021255461454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818073351,"filename":"image_25012025_16_13_03_121056_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0d061149c522b202cb80c61b92d9817c.jpg","text":"TemporaryFile(/tmp/multipartBody1216716327787196991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818073351,"filename":"image_25012025_16_13_03_121056_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8c64d5ccaf5794cdc4f42c6e1f649d0b.jpg","text":"TemporaryFile(/tmp/multipartBody4096183836456211108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818073351,"filename":"image_25012025_16_12_02_963556_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2acbfeaae71df379808f0ce8ba7172dd.jpg","text":"TemporaryFile(/tmp/multipartBody7178671661815735348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818073351,"filename":"image_25012025_16_13_03_121056_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331379502","file1":"1331379393","file0":"1331379380","file3":"1331379513"},"map_files_photo_id_array":[{"photo_id":"1331379502","filename":"file2"},{"photo_id":"1331379393","filename":"file1"},{"photo_id":"1331379380","filename":"file0"},{"photo_id":"1331379513","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331379393":["hashtag1","hashtag2"]},{"1331379513":["hashtag1","hashtag2"]},{"1331379380":["hashtag1","hashtag2"]},{"1331379502":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331379393, 1331379513, 1331379380, 1331379502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.08671689033508 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:14:22.106608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/13/image_25012025_16_13_03_121056_0003.jpg', '/home/pi/Desktop/images/25012025/16/14/image_25012025_16_14_02_270092_0000.jpg', '/home/pi/Desktop/images/25012025/16/14/image_25012025_16_14_02_270092_0001.jpg', '/home/pi/Desktop/images/25012025/16/14/image_25012025_16_14_02_270092_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/13/image_25012025_16_13_03_121056_0003.jpg
/home/pi/Desktop/images/25012025/16/14/image_25012025_16_14_02_270092_0000.jpg
/home/pi/Desktop/images/25012025/16/14/image_25012025_16_14_02_270092_0001.jpg
/home/pi/Desktop/images/25012025/16/14/image_25012025_16_14_02_270092_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":["1331379764","1331379743","1331379757","1331379751"],"photo_ids_order":["1331379743","1331379751","1331379757","1331379764"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/890c9c7275c45a7501d7391377f6ec65.jpg","text":"TemporaryFile(/tmp/multipartBody1902459748010442856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818133012,"filename":"image_25012025_16_14_02_270092_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/27abadc7cf73cc07a7670228d8553fcd.jpg","text":"TemporaryFile(/tmp/multipartBody5873322733996138951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818133012,"filename":"image_25012025_16_13_03_121056_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2eefb49c72caf5eb90009a5ff699cd32.jpg","text":"TemporaryFile(/tmp/multipartBody6882724225061506535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818133012,"filename":"image_25012025_16_14_02_270092_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/924156668fada8d06e7f34072ac6db52.jpg","text":"TemporaryFile(/tmp/multipartBody3167895053527938439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818133012,"filename":"image_25012025_16_14_02_270092_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331379757","file1":"1331379751","file0":"1331379743","file3":"1331379764"},"map_files_photo_id_array":[{"photo_id":"1331379757","filename":"file2"},{"photo_id":"1331379751","filename":"file1"},{"photo_id":"1331379743","filename":"file0"},{"photo_id":"1331379764","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331379764":["hashtag1","hashtag2"]},{"1331379743":["hashtag1","hashtag2"]},{"1331379757":["hashtag1","hashtag2"]},{"1331379751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331379764, 1331379743, 1331379757, 1331379751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73380899429321 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 16:15:02.811117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/30/image_21012025_21_30_02_821080_0002.jpg', '/home/pi/Desktop/images/21012025/21/30/image_21012025_21_30_02_821080_0003.jpg', '/home/pi/Desktop/images/21012025/21/31/image_21012025_21_31_03_069355_0000.jpg', '/home/pi/Desktop/images/21012025/21/31/image_21012025_21_31_03_069355_0001.jpg', '/home/pi/Desktop/images/21012025/21/31/image_21012025_21_31_03_069355_0002.jpg', '/home/pi/Desktop/images/21012025/21/32/image_21012025_21_32_02_352586_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/21/30/image_21012025_21_30_02_821080_0002.jpg
/home/pi/Desktop/images/21012025/21/30/image_21012025_21_30_02_821080_0003.jpg
/home/pi/Desktop/images/21012025/21/31/image_21012025_21_31_03_069355_0000.jpg
/home/pi/Desktop/images/21012025/21/31/image_21012025_21_31_03_069355_0001.jpg
/home/pi/Desktop/images/21012025/21/31/image_21012025_21_31_03_069355_0002.jpg
/home/pi/Desktop/images/21012025/21/32/image_21012025_21_32_02_352586_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.625587701797485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:15:22.215084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/14/image_25012025_16_14_02_270092_0003.jpg', '/home/pi/Desktop/images/25012025/16/15/image_25012025_16_15_02_447741_0000.jpg', '/home/pi/Desktop/images/25012025/16/15/image_25012025_16_15_02_447741_0001.jpg', '/home/pi/Desktop/images/25012025/16/15/image_25012025_16_15_02_447741_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/14/image_25012025_16_14_02_270092_0003.jpg
/home/pi/Desktop/images/25012025/16/15/image_25012025_16_15_02_447741_0000.jpg
/home/pi/Desktop/images/25012025/16/15/image_25012025_16_15_02_447741_0001.jpg
/home/pi/Desktop/images/25012025/16/15/image_25012025_16_15_02_447741_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 [200]>
b'{"photo_ids":["1331380122","1331380131","1331380079","1331380073"],"photo_ids_order":["1331380073","1331380079","1331380122","1331380131"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/16d234c4d3f594071d4b29c1818e2d58.jpg","text":"TemporaryFile(/tmp/multipartBody3170321805212278383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818193369,"filename":"image_25012025_16_15_02_447741_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/702c74954239caef4c1d2eb1c868efae.jpg","text":"TemporaryFile(/tmp/multipartBody7497769318392382802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818193369,"filename":"image_25012025_16_15_02_447741_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6a273b3a9f4f9cba0ac61c925638d243.jpg","text":"TemporaryFile(/tmp/multipartBody2208604199624154457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818193369,"filename":"image_25012025_16_15_02_447741_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8911426345f4ee25d4fa1897d10e7a6a.jpg","text":"TemporaryFile(/tmp/multipartBody5347108816459635307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818193369,"filename":"image_25012025_16_14_02_270092_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331380122","file1":"1331380079","file0":"1331380073","file3":"1331380131"},"map_files_photo_id_array":[{"photo_id":"1331380122","filename":"file2"},{"photo_id":"1331380079","filename":"file1"},{"photo_id":"1331380073","filename":"file0"},{"photo_id":"1331380131","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331380122":["hashtag1","hashtag2"]},{"1331380131":["hashtag1","hashtag2"]},{"1331380079":["hashtag1","hashtag2"]},{"1331380073":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331380122, 1331380131, 1331380079, 1331380073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.290608406066895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:16:22.690302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/15/image_25012025_16_15_02_447741_0003.jpg', '/home/pi/Desktop/images/25012025/16/16/image_25012025_16_16_02_647332_0000.jpg', '/home/pi/Desktop/images/25012025/16/16/image_25012025_16_16_02_647332_0001.jpg', '/home/pi/Desktop/images/25012025/16/16/image_25012025_16_16_02_647332_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/15/image_25012025_16_15_02_447741_0003.jpg
/home/pi/Desktop/images/25012025/16/16/image_25012025_16_16_02_647332_0000.jpg
/home/pi/Desktop/images/25012025/16/16/image_25012025_16_16_02_647332_0001.jpg
/home/pi/Desktop/images/25012025/16/16/image_25012025_16_16_02_647332_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 [200]>
b'{"photo_ids":["1331380204","1331380581","1331380216","1331380301"],"photo_ids_order":["1331380204","1331380216","1331380301","1331380581"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a7e7bab53d3d2b0a7cc1ec32bdac5bd9.jpg","text":"TemporaryFile(/tmp/multipartBody3809398360469617994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818253880,"filename":"image_25012025_16_15_02_447741_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cef6fd220bfd4fb666d77015c7b12a73.jpg","text":"TemporaryFile(/tmp/multipartBody6129193120539271589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818253880,"filename":"image_25012025_16_16_02_647332_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/45d78f00f923522117a75c510e3c1c14.jpg","text":"TemporaryFile(/tmp/multipartBody2035207478511298284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818253880,"filename":"image_25012025_16_16_02_647332_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9fcaf4ac807d8eb337f33b3713e08125.jpg","text":"TemporaryFile(/tmp/multipartBody566489456441046100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818253880,"filename":"image_25012025_16_16_02_647332_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331380301","file1":"1331380216","file0":"1331380204","file3":"1331380581"},"map_files_photo_id_array":[{"photo_id":"1331380301","filename":"file2"},{"photo_id":"1331380216","filename":"file1"},{"photo_id":"1331380204","filename":"file0"},{"photo_id":"1331380581","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331380204":["hashtag1","hashtag2"]},{"1331380581":["hashtag1","hashtag2"]},{"1331380216":["hashtag1","hashtag2"]},{"1331380301":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331380204, 1331380581, 1331380216, 1331380301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.812485456466675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:17:22.776796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/16/image_25012025_16_16_02_647332_0003.jpg', '/home/pi/Desktop/images/25012025/16/17/image_25012025_16_17_03_027054_0000.jpg', '/home/pi/Desktop/images/25012025/16/17/image_25012025_16_17_03_027054_0001.jpg', '/home/pi/Desktop/images/25012025/16/17/image_25012025_16_17_03_027054_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/16/image_25012025_16_16_02_647332_0003.jpg
/home/pi/Desktop/images/25012025/16/17/image_25012025_16_17_03_027054_0000.jpg
/home/pi/Desktop/images/25012025/16/17/image_25012025_16_17_03_027054_0001.jpg
/home/pi/Desktop/images/25012025/16/17/image_25012025_16_17_03_027054_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 [200]>
b'{"photo_ids":["1331380785","1331380776","1331380781","1331380792"],"photo_ids_order":["1331380776","1331380781","1331380785","1331380792"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ce05cb04b975d1a8614d69db3a6db927.jpg","text":"TemporaryFile(/tmp/multipartBody265113237549931969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818313997,"filename":"image_25012025_16_17_03_027054_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/756d219a6289638bc35c985c1a98c18d.jpg","text":"TemporaryFile(/tmp/multipartBody6347993408498996568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818313997,"filename":"image_25012025_16_16_02_647332_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/06843c4eeed5c85f47f693b600d2ff73.jpg","text":"TemporaryFile(/tmp/multipartBody9212715241521614983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818313997,"filename":"image_25012025_16_17_03_027054_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4242811dd5821be0c35d9937c7944b4f.jpg","text":"TemporaryFile(/tmp/multipartBody2086259494781163938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818313997,"filename":"image_25012025_16_17_03_027054_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331380785","file1":"1331380781","file0":"1331380776","file3":"1331380792"},"map_files_photo_id_array":[{"photo_id":"1331380785","filename":"file2"},{"photo_id":"1331380781","filename":"file1"},{"photo_id":"1331380776","filename":"file0"},{"photo_id":"1331380792","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331380785":["hashtag1","hashtag2"]},{"1331380776":["hashtag1","hashtag2"]},{"1331380781":["hashtag1","hashtag2"]},{"1331380792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331380785, 1331380776, 1331380781, 1331380792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.601728439331055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:18:21.849155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/17/image_25012025_16_17_03_027054_0003.jpg', '/home/pi/Desktop/images/25012025/16/18/image_25012025_16_18_03_024777_0000.jpg', '/home/pi/Desktop/images/25012025/16/18/image_25012025_16_18_03_024777_0001.jpg', '/home/pi/Desktop/images/25012025/16/18/image_25012025_16_18_03_024777_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/17/image_25012025_16_17_03_027054_0003.jpg
/home/pi/Desktop/images/25012025/16/18/image_25012025_16_18_03_024777_0000.jpg
/home/pi/Desktop/images/25012025/16/18/image_25012025_16_18_03_024777_0001.jpg
/home/pi/Desktop/images/25012025/16/18/image_25012025_16_18_03_024777_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":["1331380923","1331380928","1331380916","1331380910"],"photo_ids_order":["1331380910","1331380916","1331380923","1331380928"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/60e889624d7c39d19dce61235dbfa100.jpg","text":"TemporaryFile(/tmp/multipartBody4339356443651898377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818372977,"filename":"image_25012025_16_18_03_024777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fbb4a741ab4168d882124d6742afe1b1.jpg","text":"TemporaryFile(/tmp/multipartBody3676102057423488473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818372977,"filename":"image_25012025_16_18_03_024777_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/97bfdc54965a6b2e17305a46ab2a78f3.jpg","text":"TemporaryFile(/tmp/multipartBody1704411672186433823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818372977,"filename":"image_25012025_16_18_03_024777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b224b52652dc3492bdb61b0cb2c804d.jpg","text":"TemporaryFile(/tmp/multipartBody6803101848664131705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818372977,"filename":"image_25012025_16_17_03_027054_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331380923","file1":"1331380916","file0":"1331380910","file3":"1331380928"},"map_files_photo_id_array":[{"photo_id":"1331380923","filename":"file2"},{"photo_id":"1331380916","filename":"file1"},{"photo_id":"1331380910","filename":"file0"},{"photo_id":"1331380928","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331380923":["hashtag1","hashtag2"]},{"1331380928":["hashtag1","hashtag2"]},{"1331380916":["hashtag1","hashtag2"]},{"1331380910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331380923, 1331380928, 1331380916, 1331380910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.968565940856934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 16:19:02.576673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/30/image_21012025_21_30_02_821080_0002.jpg', '/home/pi/Desktop/images/21012025/21/30/image_21012025_21_30_02_821080_0003.jpg', '/home/pi/Desktop/images/21012025/21/31/image_21012025_21_31_03_069355_0000.jpg', '/home/pi/Desktop/images/21012025/21/31/image_21012025_21_31_03_069355_0001.jpg', '/home/pi/Desktop/images/21012025/21/31/image_21012025_21_31_03_069355_0002.jpg', '/home/pi/Desktop/images/21012025/21/32/image_21012025_21_32_02_352586_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/21/30/image_21012025_21_30_02_821080_0002.jpg
/home/pi/Desktop/images/21012025/21/30/image_21012025_21_30_02_821080_0003.jpg
/home/pi/Desktop/images/21012025/21/31/image_21012025_21_31_03_069355_0000.jpg
/home/pi/Desktop/images/21012025/21/31/image_21012025_21_31_03_069355_0001.jpg
/home/pi/Desktop/images/21012025/21/31/image_21012025_21_31_03_069355_0002.jpg
/home/pi/Desktop/images/21012025/21/32/image_21012025_21_32_02_352586_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.458768367767334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:19:22.074526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/18/image_25012025_16_18_03_024777_0003.jpg', '/home/pi/Desktop/images/25012025/16/19/image_25012025_16_19_02_197217_0000.jpg', '/home/pi/Desktop/images/25012025/16/19/image_25012025_16_19_02_197217_0001.jpg', '/home/pi/Desktop/images/25012025/16/19/image_25012025_16_19_02_197217_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/18/image_25012025_16_18_03_024777_0003.jpg
/home/pi/Desktop/images/25012025/16/19/image_25012025_16_19_02_197217_0000.jpg
/home/pi/Desktop/images/25012025/16/19/image_25012025_16_19_02_197217_0001.jpg
/home/pi/Desktop/images/25012025/16/19/image_25012025_16_19_02_197217_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 [200]>
b'{"photo_ids":["1331380995","1331380983","1331380958","1331381017"],"photo_ids_order":["1331380958","1331380983","1331380995","1331381017"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f857cacbd93f11253c07559c62129d50.jpg","text":"TemporaryFile(/tmp/multipartBody8098524160867381373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818433544,"filename":"image_25012025_16_19_02_197217_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/939b3565133ce32e8e8d070df92a6b64.jpg","text":"TemporaryFile(/tmp/multipartBody2453611536305508343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818433544,"filename":"image_25012025_16_19_02_197217_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c173e7c8b436e415a71c2db44f894c85.jpg","text":"TemporaryFile(/tmp/multipartBody7268074554745377883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818433544,"filename":"image_25012025_16_18_03_024777_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d9efa5df83a44a8b0b8b9cb5e40feb8d.jpg","text":"TemporaryFile(/tmp/multipartBody5812544225286936107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818433544,"filename":"image_25012025_16_19_02_197217_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331380995","file1":"1331380983","file0":"1331380958","file3":"1331381017"},"map_files_photo_id_array":[{"photo_id":"1331380995","filename":"file2"},{"photo_id":"1331380983","filename":"file1"},{"photo_id":"1331380958","filename":"file0"},{"photo_id":"1331381017","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331380995":["hashtag1","hashtag2"]},{"1331380983":["hashtag1","hashtag2"]},{"1331380958":["hashtag1","hashtag2"]},{"1331381017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331380995, 1331380983, 1331380958, 1331381017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.875014781951904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:20:22.251165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/19/image_25012025_16_19_02_197217_0003.jpg', '/home/pi/Desktop/images/25012025/16/20/image_25012025_16_20_02_367073_0000.jpg', '/home/pi/Desktop/images/25012025/16/20/image_25012025_16_20_02_367073_0001.jpg', '/home/pi/Desktop/images/25012025/16/20/image_25012025_16_20_02_367073_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/19/image_25012025_16_19_02_197217_0003.jpg
/home/pi/Desktop/images/25012025/16/20/image_25012025_16_20_02_367073_0000.jpg
/home/pi/Desktop/images/25012025/16/20/image_25012025_16_20_02_367073_0001.jpg
/home/pi/Desktop/images/25012025/16/20/image_25012025_16_20_02_367073_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":["1331381052","1331381046","1331381036","1331381041"],"photo_ids_order":["1331381036","1331381041","1331381046","1331381052"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3727932d5c927245d93b084f2e7608d7.jpg","text":"TemporaryFile(/tmp/multipartBody2153104803306273021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818493552,"filename":"image_25012025_16_20_02_367073_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5e7a83faae9b497a020ead2f9ec35eeb.jpg","text":"TemporaryFile(/tmp/multipartBody8219072584781845929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818493552,"filename":"image_25012025_16_20_02_367073_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/435dd3587a4815fe20402532b94bfbf0.jpg","text":"TemporaryFile(/tmp/multipartBody8938561338707708486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818493552,"filename":"image_25012025_16_19_02_197217_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b6a3dd2c4f199f53826436923213fd50.jpg","text":"TemporaryFile(/tmp/multipartBody6824061376611408995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818493552,"filename":"image_25012025_16_20_02_367073_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331381046","file1":"1331381041","file0":"1331381036","file3":"1331381052"},"map_files_photo_id_array":[{"photo_id":"1331381046","filename":"file2"},{"photo_id":"1331381041","filename":"file1"},{"photo_id":"1331381036","filename":"file0"},{"photo_id":"1331381052","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331381052":["hashtag1","hashtag2"]},{"1331381046":["hashtag1","hashtag2"]},{"1331381036":["hashtag1","hashtag2"]},{"1331381041":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331381052, 1331381046, 1331381036, 1331381041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.92159652709961 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 16:21:03.032909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/30/image_21012025_21_30_02_821080_0002.jpg', '/home/pi/Desktop/images/21012025/21/30/image_21012025_21_30_02_821080_0003.jpg', '/home/pi/Desktop/images/21012025/21/31/image_21012025_21_31_03_069355_0000.jpg', '/home/pi/Desktop/images/21012025/21/31/image_21012025_21_31_03_069355_0001.jpg', '/home/pi/Desktop/images/21012025/21/31/image_21012025_21_31_03_069355_0002.jpg', '/home/pi/Desktop/images/21012025/21/32/image_21012025_21_32_02_352586_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2498595&datou=0
/home/pi/Desktop/images/21012025/21/30/image_21012025_21_30_02_821080_0002.jpg
/home/pi/Desktop/images/21012025/21/30/image_21012025_21_30_02_821080_0003.jpg
/home/pi/Desktop/images/21012025/21/31/image_21012025_21_31_03_069355_0000.jpg
/home/pi/Desktop/images/21012025/21/31/image_21012025_21_31_03_069355_0001.jpg
/home/pi/Desktop/images/21012025/21/31/image_21012025_21_31_03_069355_0002.jpg
/home/pi/Desktop/images/21012025/21/32/image_21012025_21_32_02_352586_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 [200]>
b'{"photo_ids":["1331381424","1331381241","1331381354","1331381114","1331381650","1331381539"],"photo_ids_order":["1331381114","1331381241","1331381354","1331381424","1331381539","1331381650"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7f6d227fbb2764645f8e197133576437.jpg","text":"TemporaryFile(/tmp/multipartBody1552051849302827460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818538850,"filename":"image_21012025_21_31_03_069355_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e178214cceb2056a76370b18693207b5.jpg","text":"TemporaryFile(/tmp/multipartBody6916670677906180422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818538850,"filename":"image_21012025_21_30_02_821080_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3c8b606018b30a6b44028b09dcd62d5c.jpg","text":"TemporaryFile(/tmp/multipartBody6789768331873484872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818538850,"filename":"image_21012025_21_31_03_069355_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4fabcaa72abf1025e6491977f43567ed.jpg","text":"TemporaryFile(/tmp/multipartBody6268359353512539380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818538850,"filename":"image_21012025_21_30_02_821080_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d5942b24d8795b6207124aa483e73c35.jpg","text":"TemporaryFile(/tmp/multipartBody6204187392752303532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818538850,"filename":"image_21012025_21_32_02_352586_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2943d542746c66a64ebdb7e544fd8714.jpg","text":"TemporaryFile(/tmp/multipartBody5067523755519795337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818538850,"filename":"image_21012025_21_31_03_069355_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331381354","file1":"1331381241","file0":"1331381114","file4":"1331381539","file5":"1331381650","file3":"1331381424"},"map_files_photo_id_array":[{"photo_id":"1331381650","filename":"file5"},{"photo_id":"1331381354","filename":"file2"},{"photo_id":"1331381539","filename":"file4"},{"photo_id":"1331381241","filename":"file1"},{"photo_id":"1331381114","filename":"file0"},{"photo_id":"1331381424","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331381424":["hashtag1","hashtag2"]},{"1331381241":["hashtag1","hashtag2"]},{"1331381354":["hashtag1","hashtag2"]},{"1331381114":["hashtag1","hashtag2"]},{"1331381650":["hashtag1","hashtag2"]},{"1331381539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331381424, 1331381241, 1331381354, 1331381114, 1331381650, 1331381539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.87776303291321 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 16:22:03.110461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/20/image_25012025_16_20_02_367073_0003.jpg', '/home/pi/Desktop/images/25012025/16/21/image_25012025_16_21_02_561623_0000.jpg', '/home/pi/Desktop/images/25012025/16/21/image_25012025_16_21_02_561623_0001.jpg', '/home/pi/Desktop/images/25012025/16/21/image_25012025_16_21_02_561623_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/20/image_25012025_16_20_02_367073_0003.jpg
/home/pi/Desktop/images/25012025/16/21/image_25012025_16_21_02_561623_0000.jpg
/home/pi/Desktop/images/25012025/16/21/image_25012025_16_21_02_561623_0001.jpg
/home/pi/Desktop/images/25012025/16/21/image_25012025_16_21_02_561623_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.808746337890625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:22:22.566582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/20/image_25012025_16_20_02_367073_0003.jpg', '/home/pi/Desktop/images/25012025/16/21/image_25012025_16_21_02_561623_0000.jpg', '/home/pi/Desktop/images/25012025/16/21/image_25012025_16_21_02_561623_0001.jpg', '/home/pi/Desktop/images/25012025/16/21/image_25012025_16_21_02_561623_0002.jpg', '/home/pi/Desktop/images/25012025/16/21/image_25012025_16_21_02_561623_0003.jpg', '/home/pi/Desktop/images/25012025/16/22/image_25012025_16_22_02_697340_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/20/image_25012025_16_20_02_367073_0003.jpg
/home/pi/Desktop/images/25012025/16/21/image_25012025_16_21_02_561623_0000.jpg
/home/pi/Desktop/images/25012025/16/21/image_25012025_16_21_02_561623_0001.jpg
/home/pi/Desktop/images/25012025/16/21/image_25012025_16_21_02_561623_0002.jpg
/home/pi/Desktop/images/25012025/16/21/image_25012025_16_21_02_561623_0003.jpg
/home/pi/Desktop/images/25012025/16/22/image_25012025_16_22_02_697340_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331382438","1331382339","1331382233","1331382361","1331382558","1331382249"],"photo_ids_order":["1331382233","1331382249","1331382339","1331382361","1331382438","1331382558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/822e607c4881c9c46cf0f01869b91957.jpg","text":"TemporaryFile(/tmp/multipartBody7213126973978895504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818619051,"filename":"image_25012025_16_21_02_561623_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/32484ee6581fc25fd66f10064d89f699.jpg","text":"TemporaryFile(/tmp/multipartBody6653586403631155886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818619051,"filename":"image_25012025_16_21_02_561623_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f780b5515316ffca6e8743b03e6ebc74.jpg","text":"TemporaryFile(/tmp/multipartBody1831154853240249083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818619051,"filename":"image_25012025_16_20_02_367073_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/60ae8c1580f059cf9593ca0dddfb7ada.jpg","text":"TemporaryFile(/tmp/multipartBody1157559668419444360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818619051,"filename":"image_25012025_16_21_02_561623_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/88e54a4c9b1f1c016b78d7e8075261ed.jpg","text":"TemporaryFile(/tmp/multipartBody5840754816982827956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818619051,"filename":"image_25012025_16_22_02_697340_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d899029db5f852d9f564d187a21138d4.jpg","text":"TemporaryFile(/tmp/multipartBody8171660416130572605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818619051,"filename":"image_25012025_16_21_02_561623_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331382339","file1":"1331382249","file0":"1331382233","file4":"1331382438","file5":"1331382558","file3":"1331382361"},"map_files_photo_id_array":[{"photo_id":"1331382558","filename":"file5"},{"photo_id":"1331382339","filename":"file2"},{"photo_id":"1331382438","filename":"file4"},{"photo_id":"1331382249","filename":"file1"},{"photo_id":"1331382233","filename":"file0"},{"photo_id":"1331382361","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331382438":["hashtag1","hashtag2"]},{"1331382339":["hashtag1","hashtag2"]},{"1331382233":["hashtag1","hashtag2"]},{"1331382361":["hashtag1","hashtag2"]},{"1331382558":["hashtag1","hashtag2"]},{"1331382249":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331382438, 1331382339, 1331382233, 1331382361, 1331382558, 1331382249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.84002614021301 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 16:23:32.786725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/22/image_25012025_16_22_02_697340_0001.jpg', '/home/pi/Desktop/images/25012025/16/22/image_25012025_16_22_02_697340_0002.jpg', '/home/pi/Desktop/images/25012025/16/22/image_25012025_16_22_02_697340_0003.jpg', '/home/pi/Desktop/images/25012025/16/23/image_25012025_16_23_02_951325_0000.jpg', '/home/pi/Desktop/images/25012025/16/23/image_25012025_16_23_02_951325_0001.jpg', '/home/pi/Desktop/images/25012025/16/23/image_25012025_16_23_02_951325_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/22/image_25012025_16_22_02_697340_0001.jpg
/home/pi/Desktop/images/25012025/16/22/image_25012025_16_22_02_697340_0002.jpg
/home/pi/Desktop/images/25012025/16/22/image_25012025_16_22_02_697340_0003.jpg
/home/pi/Desktop/images/25012025/16/23/image_25012025_16_23_02_951325_0000.jpg
/home/pi/Desktop/images/25012025/16/23/image_25012025_16_23_02_951325_0001.jpg
/home/pi/Desktop/images/25012025/16/23/image_25012025_16_23_02_951325_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 [200]>
b'{"photo_ids":["1331382797","1331382967","1331382925","1331382829","1331382960","1331382963"],"photo_ids_order":["1331382797","1331382829","1331382925","1331382960","1331382963","1331382967"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bee6268d445f05b7567aa3e4b976054f.jpg","text":"TemporaryFile(/tmp/multipartBody5693179332604102420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818689438,"filename":"image_25012025_16_22_02_697340_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0a687a61433a300e438aa5065e54f9aa.jpg","text":"TemporaryFile(/tmp/multipartBody4441659559760796548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818689438,"filename":"image_25012025_16_23_02_951325_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/27cbaaaccf56ee1d164843d0e4dfaf68.jpg","text":"TemporaryFile(/tmp/multipartBody4773548495232918939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818689438,"filename":"image_25012025_16_22_02_697340_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c9e2e95afd6a63ab07d4abf6fdae58af.jpg","text":"TemporaryFile(/tmp/multipartBody3220212342520374777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818689438,"filename":"image_25012025_16_22_02_697340_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/916b74186babffa3a651ed302ee3e26b.jpg","text":"TemporaryFile(/tmp/multipartBody8893240966050302280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818689438,"filename":"image_25012025_16_23_02_951325_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a6be6bbecfd3fe286a023c453f394a69.jpg","text":"TemporaryFile(/tmp/multipartBody6018986791667399001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818689438,"filename":"image_25012025_16_23_02_951325_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331382925","file1":"1331382829","file0":"1331382797","file4":"1331382963","file5":"1331382967","file3":"1331382960"},"map_files_photo_id_array":[{"photo_id":"1331382967","filename":"file5"},{"photo_id":"1331382925","filename":"file2"},{"photo_id":"1331382963","filename":"file4"},{"photo_id":"1331382829","filename":"file1"},{"photo_id":"1331382797","filename":"file0"},{"photo_id":"1331382960","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331382797":["hashtag1","hashtag2"]},{"1331382967":["hashtag1","hashtag2"]},{"1331382925":["hashtag1","hashtag2"]},{"1331382829":["hashtag1","hashtag2"]},{"1331382960":["hashtag1","hashtag2"]},{"1331382963":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331382797, 1331382967, 1331382925, 1331382829, 1331382960, 1331382963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.98659348487854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 16:24:31.923740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/23/image_25012025_16_23_02_951325_0003.jpg', '/home/pi/Desktop/images/25012025/16/24/image_25012025_16_24_03_193745_0000.jpg', '/home/pi/Desktop/images/25012025/16/24/image_25012025_16_24_03_193745_0001.jpg', '/home/pi/Desktop/images/25012025/16/24/image_25012025_16_24_03_193745_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/23/image_25012025_16_23_02_951325_0003.jpg
/home/pi/Desktop/images/25012025/16/24/image_25012025_16_24_03_193745_0000.jpg
/home/pi/Desktop/images/25012025/16/24/image_25012025_16_24_03_193745_0001.jpg
/home/pi/Desktop/images/25012025/16/24/image_25012025_16_24_03_193745_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":["1331383109","1331382987","1331383002","1331382981"],"photo_ids_order":["1331382981","1331382987","1331383002","1331383109"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d07c64ed911ca17e5f231fcc1fda41ef.jpg","text":"TemporaryFile(/tmp/multipartBody9211498703203388878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818743267,"filename":"image_25012025_16_24_03_193745_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a2bb2ec433ec07da7067bf6e62faac06.jpg","text":"TemporaryFile(/tmp/multipartBody8942797659251262240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818743267,"filename":"image_25012025_16_24_03_193745_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9e13d3b9251f83d4dfa9708ce1477241.jpg","text":"TemporaryFile(/tmp/multipartBody3164601080831131602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818743267,"filename":"image_25012025_16_24_03_193745_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/95f08f035ceaf2f0265ed08249113bfb.jpg","text":"TemporaryFile(/tmp/multipartBody5582431097458053745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818743267,"filename":"image_25012025_16_23_02_951325_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331383002","file1":"1331382987","file0":"1331382981","file3":"1331383109"},"map_files_photo_id_array":[{"photo_id":"1331383002","filename":"file2"},{"photo_id":"1331382987","filename":"file1"},{"photo_id":"1331382981","filename":"file0"},{"photo_id":"1331383109","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331383109":["hashtag1","hashtag2"]},{"1331382987":["hashtag1","hashtag2"]},{"1331383002":["hashtag1","hashtag2"]},{"1331382981":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331383109, 1331382987, 1331383002, 1331382981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.25834774971008 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:25:22.136588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/24/image_25012025_16_24_03_193745_0003.jpg', '/home/pi/Desktop/images/25012025/16/25/image_25012025_16_25_02_335531_0000.jpg', '/home/pi/Desktop/images/25012025/16/25/image_25012025_16_25_02_335531_0001.jpg', '/home/pi/Desktop/images/25012025/16/25/image_25012025_16_25_02_335531_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/24/image_25012025_16_24_03_193745_0003.jpg
/home/pi/Desktop/images/25012025/16/25/image_25012025_16_25_02_335531_0000.jpg
/home/pi/Desktop/images/25012025/16/25/image_25012025_16_25_02_335531_0001.jpg
/home/pi/Desktop/images/25012025/16/25/image_25012025_16_25_02_335531_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 [200]>
b'{"photo_ids":["1331383298","1331383283","1331383322","1331383317"],"photo_ids_order":["1331383283","1331383298","1331383317","1331383322"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0b3d1eac4e5ac0d09872762a60f5505d.jpg","text":"TemporaryFile(/tmp/multipartBody2688410281397307765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818793541,"filename":"image_25012025_16_25_02_335531_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/29e567e7b7828368c8a347dc46f1fb90.jpg","text":"TemporaryFile(/tmp/multipartBody4710532267600143120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818793541,"filename":"image_25012025_16_24_03_193745_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c638048ad9d7696078d42fe9c04fb15.jpg","text":"TemporaryFile(/tmp/multipartBody6895032009871276355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818793541,"filename":"image_25012025_16_25_02_335531_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a9c9437a5d9d484c99bb9d98f5986d3c.jpg","text":"TemporaryFile(/tmp/multipartBody3146573151524929987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818793541,"filename":"image_25012025_16_25_02_335531_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331383317","file1":"1331383298","file0":"1331383283","file3":"1331383322"},"map_files_photo_id_array":[{"photo_id":"1331383317","filename":"file2"},{"photo_id":"1331383298","filename":"file1"},{"photo_id":"1331383283","filename":"file0"},{"photo_id":"1331383322","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331383298":["hashtag1","hashtag2"]},{"1331383283":["hashtag1","hashtag2"]},{"1331383322":["hashtag1","hashtag2"]},{"1331383317":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331383298, 1331383283, 1331383322, 1331383317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.64918088912964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:26:22.422763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/25/image_25012025_16_25_02_335531_0003.jpg', '/home/pi/Desktop/images/25012025/16/26/image_25012025_16_26_02_495409_0000.jpg', '/home/pi/Desktop/images/25012025/16/26/image_25012025_16_26_02_495409_0001.jpg', '/home/pi/Desktop/images/25012025/16/26/image_25012025_16_26_02_495409_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/25/image_25012025_16_25_02_335531_0003.jpg
/home/pi/Desktop/images/25012025/16/26/image_25012025_16_26_02_495409_0000.jpg
/home/pi/Desktop/images/25012025/16/26/image_25012025_16_26_02_495409_0001.jpg
/home/pi/Desktop/images/25012025/16/26/image_25012025_16_26_02_495409_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 [200]>
b'{"photo_ids":["1331383355","1331383364","1331383360","1331383368"],"photo_ids_order":["1331383355","1331383360","1331383364","1331383368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/73e910ab9f4481b9e89b2b8d93eb2258.jpg","text":"TemporaryFile(/tmp/multipartBody7340127698666189424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818853756,"filename":"image_25012025_16_25_02_335531_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0e7e1bd47213ee848e4b35385935c61f.jpg","text":"TemporaryFile(/tmp/multipartBody8080727375714866848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818853756,"filename":"image_25012025_16_26_02_495409_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/858cd90fd15632bcff070fd6f8e59844.jpg","text":"TemporaryFile(/tmp/multipartBody1105106783665542668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818853756,"filename":"image_25012025_16_26_02_495409_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/139e04bc9d4bfe21059fb991e9d80527.jpg","text":"TemporaryFile(/tmp/multipartBody6657044817472460907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818853756,"filename":"image_25012025_16_26_02_495409_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331383364","file1":"1331383360","file0":"1331383355","file3":"1331383368"},"map_files_photo_id_array":[{"photo_id":"1331383364","filename":"file2"},{"photo_id":"1331383360","filename":"file1"},{"photo_id":"1331383355","filename":"file0"},{"photo_id":"1331383368","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331383355":["hashtag1","hashtag2"]},{"1331383364":["hashtag1","hashtag2"]},{"1331383360":["hashtag1","hashtag2"]},{"1331383368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331383355, 1331383364, 1331383360, 1331383368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.408565044403076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:27:22.584956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/26/image_25012025_16_26_02_495409_0003.jpg', '/home/pi/Desktop/images/25012025/16/27/image_25012025_16_27_02_641902_0000.jpg', '/home/pi/Desktop/images/25012025/16/27/image_25012025_16_27_02_641902_0001.jpg', '/home/pi/Desktop/images/25012025/16/27/image_25012025_16_27_02_641902_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/26/image_25012025_16_26_02_495409_0003.jpg
/home/pi/Desktop/images/25012025/16/27/image_25012025_16_27_02_641902_0000.jpg
/home/pi/Desktop/images/25012025/16/27/image_25012025_16_27_02_641902_0001.jpg
/home/pi/Desktop/images/25012025/16/27/image_25012025_16_27_02_641902_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 [200]>
b'{"photo_ids":["1331383436","1331383430","1331383427","1331383441"],"photo_ids_order":["1331383427","1331383430","1331383436","1331383441"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/29aa12b780171d30d369f9fc9e0e2cf4.jpg","text":"TemporaryFile(/tmp/multipartBody4136257434933676456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818913754,"filename":"image_25012025_16_27_02_641902_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9642fc9d2698886f50090d7ba0738eb0.jpg","text":"TemporaryFile(/tmp/multipartBody2277408128899924789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818913754,"filename":"image_25012025_16_27_02_641902_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/83f25e55c98b941215e4696a73bee793.jpg","text":"TemporaryFile(/tmp/multipartBody3339772047493037997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818913754,"filename":"image_25012025_16_26_02_495409_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/39b0bd768eadc3d35bd80d2e4d5d9694.jpg","text":"TemporaryFile(/tmp/multipartBody2469278289777608036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818913754,"filename":"image_25012025_16_27_02_641902_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331383436","file1":"1331383430","file0":"1331383427","file3":"1331383441"},"map_files_photo_id_array":[{"photo_id":"1331383436","filename":"file2"},{"photo_id":"1331383430","filename":"file1"},{"photo_id":"1331383427","filename":"file0"},{"photo_id":"1331383441","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331383436":["hashtag1","hashtag2"]},{"1331383430":["hashtag1","hashtag2"]},{"1331383427":["hashtag1","hashtag2"]},{"1331383441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331383436, 1331383430, 1331383427, 1331383441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.08835172653198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:28:22.701387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/27/image_25012025_16_27_02_641902_0003.jpg', '/home/pi/Desktop/images/25012025/16/28/image_25012025_16_28_02_917605_0000.jpg', '/home/pi/Desktop/images/25012025/16/28/image_25012025_16_28_02_917605_0001.jpg', '/home/pi/Desktop/images/25012025/16/28/image_25012025_16_28_02_917605_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/27/image_25012025_16_27_02_641902_0003.jpg
/home/pi/Desktop/images/25012025/16/28/image_25012025_16_28_02_917605_0000.jpg
/home/pi/Desktop/images/25012025/16/28/image_25012025_16_28_02_917605_0001.jpg
/home/pi/Desktop/images/25012025/16/28/image_25012025_16_28_02_917605_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 [200]>
b'{"photo_ids":["1331383513","1331383491","1331383518","1331383521"],"photo_ids_order":["1331383491","1331383513","1331383518","1331383521"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dfbc96627378844a3fd081894ac0e5b4.jpg","text":"TemporaryFile(/tmp/multipartBody1002427322251123730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818974235,"filename":"image_25012025_16_28_02_917605_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a062d6bb38f41ec0a04ee0416837c52f.jpg","text":"TemporaryFile(/tmp/multipartBody3176727861310365925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818974235,"filename":"image_25012025_16_27_02_641902_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/687911ccb5b150d8b109ff10a6f17a7b.jpg","text":"TemporaryFile(/tmp/multipartBody4626614083638300924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818974235,"filename":"image_25012025_16_28_02_917605_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3f2966be6994be6c34e6d25b9deb19bb.jpg","text":"TemporaryFile(/tmp/multipartBody814793590908803353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737818974235,"filename":"image_25012025_16_28_02_917605_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331383518","file1":"1331383513","file0":"1331383491","file3":"1331383521"},"map_files_photo_id_array":[{"photo_id":"1331383518","filename":"file2"},{"photo_id":"1331383513","filename":"file1"},{"photo_id":"1331383491","filename":"file0"},{"photo_id":"1331383521","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331383513":["hashtag1","hashtag2"]},{"1331383491":["hashtag1","hashtag2"]},{"1331383518":["hashtag1","hashtag2"]},{"1331383521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331383513, 1331383491, 1331383518, 1331383521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.6121506690979 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:29:22.065960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/28/image_25012025_16_28_02_917605_0003.jpg', '/home/pi/Desktop/images/25012025/16/29/image_25012025_16_29_03_018339_0000.jpg', '/home/pi/Desktop/images/25012025/16/29/image_25012025_16_29_03_018339_0001.jpg', '/home/pi/Desktop/images/25012025/16/29/image_25012025_16_29_03_018339_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/28/image_25012025_16_28_02_917605_0003.jpg
/home/pi/Desktop/images/25012025/16/29/image_25012025_16_29_03_018339_0000.jpg
/home/pi/Desktop/images/25012025/16/29/image_25012025_16_29_03_018339_0001.jpg
/home/pi/Desktop/images/25012025/16/29/image_25012025_16_29_03_018339_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":["1331383561","1331383557","1331383551","1331383565"],"photo_ids_order":["1331383551","1331383557","1331383561","1331383565"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/03ccf0267e22799f5ab08ee5de5dbb26.jpg","text":"TemporaryFile(/tmp/multipartBody767641761792087625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819033614,"filename":"image_25012025_16_29_03_018339_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/22c771ece28da6821f694c5157190e91.jpg","text":"TemporaryFile(/tmp/multipartBody8314127022219808180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819033614,"filename":"image_25012025_16_29_03_018339_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4ed158bc0e8816051bb653e34cc0f813.jpg","text":"TemporaryFile(/tmp/multipartBody7108013917786509743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819033614,"filename":"image_25012025_16_28_02_917605_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e8e47083e261b21bb6abe83e2c37cc92.jpg","text":"TemporaryFile(/tmp/multipartBody5554184204605313717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819033614,"filename":"image_25012025_16_29_03_018339_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331383561","file1":"1331383557","file0":"1331383551","file3":"1331383565"},"map_files_photo_id_array":[{"photo_id":"1331383561","filename":"file2"},{"photo_id":"1331383557","filename":"file1"},{"photo_id":"1331383551","filename":"file0"},{"photo_id":"1331383565","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331383561":["hashtag1","hashtag2"]},{"1331383557":["hashtag1","hashtag2"]},{"1331383551":["hashtag1","hashtag2"]},{"1331383565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331383561, 1331383557, 1331383551, 1331383565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.696107625961304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 16:30:02.364073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/32/image_21012025_21_32_02_352586_0001.jpg', '/home/pi/Desktop/images/21012025/21/32/image_21012025_21_32_02_352586_0002.jpg', '/home/pi/Desktop/images/21012025/21/32/image_21012025_21_32_02_352586_0003.jpg', '/home/pi/Desktop/images/21012025/21/33/image_21012025_21_33_02_498437_0000.jpg', '/home/pi/Desktop/images/21012025/21/34/image_21012025_21_34_02_776558_0000.jpg', '/home/pi/Desktop/images/21012025/21/34/image_21012025_21_34_02_776558_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/21/32/image_21012025_21_32_02_352586_0001.jpg
/home/pi/Desktop/images/21012025/21/32/image_21012025_21_32_02_352586_0002.jpg
/home/pi/Desktop/images/21012025/21/32/image_21012025_21_32_02_352586_0003.jpg
/home/pi/Desktop/images/21012025/21/33/image_21012025_21_33_02_498437_0000.jpg
/home/pi/Desktop/images/21012025/21/34/image_21012025_21_34_02_776558_0000.jpg
/home/pi/Desktop/images/21012025/21/34/image_21012025_21_34_02_776558_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.524985551834106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:30:21.937303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/29/image_25012025_16_29_03_018339_0003.jpg', '/home/pi/Desktop/images/25012025/16/30/image_25012025_16_30_02_223679_0000.jpg', '/home/pi/Desktop/images/25012025/16/30/image_25012025_16_30_02_223679_0001.jpg', '/home/pi/Desktop/images/25012025/16/30/image_25012025_16_30_02_223679_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/29/image_25012025_16_29_03_018339_0003.jpg
/home/pi/Desktop/images/25012025/16/30/image_25012025_16_30_02_223679_0000.jpg
/home/pi/Desktop/images/25012025/16/30/image_25012025_16_30_02_223679_0001.jpg
/home/pi/Desktop/images/25012025/16/30/image_25012025_16_30_02_223679_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":["1331383599","1331383603","1331383592","1331383586"],"photo_ids_order":["1331383586","1331383592","1331383599","1331383603"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ba267d840495e2b1f65ec61ce208a22f.jpg","text":"TemporaryFile(/tmp/multipartBody8944230913882987079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819093048,"filename":"image_25012025_16_30_02_223679_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/739443eb35a3ed584ac121e4ddcbdfec.jpg","text":"TemporaryFile(/tmp/multipartBody4073017285088370510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819093048,"filename":"image_25012025_16_30_02_223679_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2005c7105e8ce9f9349f6c05a1a1e536.jpg","text":"TemporaryFile(/tmp/multipartBody2909652237621300541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819093048,"filename":"image_25012025_16_30_02_223679_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/47f27361fe8d55843332c4702feeddb9.jpg","text":"TemporaryFile(/tmp/multipartBody2159719015164863282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819093048,"filename":"image_25012025_16_29_03_018339_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331383599","file1":"1331383592","file0":"1331383586","file3":"1331383603"},"map_files_photo_id_array":[{"photo_id":"1331383599","filename":"file2"},{"photo_id":"1331383592","filename":"file1"},{"photo_id":"1331383586","filename":"file0"},{"photo_id":"1331383603","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331383599":["hashtag1","hashtag2"]},{"1331383603":["hashtag1","hashtag2"]},{"1331383592":["hashtag1","hashtag2"]},{"1331383586":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331383599, 1331383603, 1331383592, 1331383586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.219048738479614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 16:31:02.834784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/32/image_21012025_21_32_02_352586_0001.jpg', '/home/pi/Desktop/images/21012025/21/32/image_21012025_21_32_02_352586_0002.jpg', '/home/pi/Desktop/images/21012025/21/32/image_21012025_21_32_02_352586_0003.jpg', '/home/pi/Desktop/images/21012025/21/33/image_21012025_21_33_02_498437_0000.jpg', '/home/pi/Desktop/images/21012025/21/34/image_21012025_21_34_02_776558_0000.jpg', '/home/pi/Desktop/images/21012025/21/34/image_21012025_21_34_02_776558_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/21/32/image_21012025_21_32_02_352586_0001.jpg
/home/pi/Desktop/images/21012025/21/32/image_21012025_21_32_02_352586_0002.jpg
/home/pi/Desktop/images/21012025/21/32/image_21012025_21_32_02_352586_0003.jpg
/home/pi/Desktop/images/21012025/21/33/image_21012025_21_33_02_498437_0000.jpg
/home/pi/Desktop/images/21012025/21/34/image_21012025_21_34_02_776558_0000.jpg
/home/pi/Desktop/images/21012025/21/34/image_21012025_21_34_02_776558_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.44358777999878 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:31:22.177218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/30/image_25012025_16_30_02_223679_0003.jpg', '/home/pi/Desktop/images/25012025/16/31/image_25012025_16_31_02_406473_0000.jpg', '/home/pi/Desktop/images/25012025/16/31/image_25012025_16_31_02_406473_0001.jpg', '/home/pi/Desktop/images/25012025/16/31/image_25012025_16_31_02_406473_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/30/image_25012025_16_30_02_223679_0003.jpg
/home/pi/Desktop/images/25012025/16/31/image_25012025_16_31_02_406473_0000.jpg
/home/pi/Desktop/images/25012025/16/31/image_25012025_16_31_02_406473_0001.jpg
/home/pi/Desktop/images/25012025/16/31/image_25012025_16_31_02_406473_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":["1331383630","1331383636","1331383641","1331383623"],"photo_ids_order":["1331383623","1331383630","1331383636","1331383641"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4c9f43d2a7e86aeabf44b4c71dcbc2ad.jpg","text":"TemporaryFile(/tmp/multipartBody6483635393216204435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819153271,"filename":"image_25012025_16_31_02_406473_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ccfc324bd705c7cb495d7860af85c407.jpg","text":"TemporaryFile(/tmp/multipartBody7292073063207500261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819153271,"filename":"image_25012025_16_31_02_406473_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e3257fa627d0a24abf9876a39447ce4e.jpg","text":"TemporaryFile(/tmp/multipartBody5318145146846856668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819153271,"filename":"image_25012025_16_31_02_406473_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c633136e7c1fd30882a2997a78a1d25a.jpg","text":"TemporaryFile(/tmp/multipartBody7467787671060283927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819153271,"filename":"image_25012025_16_30_02_223679_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331383636","file1":"1331383630","file0":"1331383623","file3":"1331383641"},"map_files_photo_id_array":[{"photo_id":"1331383636","filename":"file2"},{"photo_id":"1331383630","filename":"file1"},{"photo_id":"1331383623","filename":"file0"},{"photo_id":"1331383641","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331383630":["hashtag1","hashtag2"]},{"1331383636":["hashtag1","hashtag2"]},{"1331383641":["hashtag1","hashtag2"]},{"1331383623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331383630, 1331383636, 1331383641, 1331383623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.0922417640686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 16:32:02.789197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/32/image_21012025_21_32_02_352586_0001.jpg', '/home/pi/Desktop/images/21012025/21/32/image_21012025_21_32_02_352586_0002.jpg', '/home/pi/Desktop/images/21012025/21/32/image_21012025_21_32_02_352586_0003.jpg', '/home/pi/Desktop/images/21012025/21/33/image_21012025_21_33_02_498437_0000.jpg', '/home/pi/Desktop/images/21012025/21/34/image_21012025_21_34_02_776558_0000.jpg', '/home/pi/Desktop/images/21012025/21/34/image_21012025_21_34_02_776558_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/21/32/image_21012025_21_32_02_352586_0001.jpg
/home/pi/Desktop/images/21012025/21/32/image_21012025_21_32_02_352586_0002.jpg
/home/pi/Desktop/images/21012025/21/32/image_21012025_21_32_02_352586_0003.jpg
/home/pi/Desktop/images/21012025/21/33/image_21012025_21_33_02_498437_0000.jpg
/home/pi/Desktop/images/21012025/21/34/image_21012025_21_34_02_776558_0000.jpg
/home/pi/Desktop/images/21012025/21/34/image_21012025_21_34_02_776558_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":["1331384098","1331384110","1331384104","1331384094","1331384057","1331383790"],"photo_ids_order":["1331383790","1331384057","1331384094","1331384098","1331384104","1331384110"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7eed566d117126e1d6e30d620c724275.jpg","text":"TemporaryFile(/tmp/multipartBody6755526236295538409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819198530,"filename":"image_21012025_21_33_02_498437_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/564ae915b8525bd3711a32e6cab62362.jpg","text":"TemporaryFile(/tmp/multipartBody2686664598561586007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819198530,"filename":"image_21012025_21_34_02_776558_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ffce256608da860573c8b6d9ad533d5d.jpg","text":"TemporaryFile(/tmp/multipartBody6197258537760609285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819198530,"filename":"image_21012025_21_34_02_776558_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b1074b482b6e0a799ad3d21f6d4703b.jpg","text":"TemporaryFile(/tmp/multipartBody3429907216621061863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819198530,"filename":"image_21012025_21_32_02_352586_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0543c51f12b5049ab76c1cd966dad757.jpg","text":"TemporaryFile(/tmp/multipartBody7399939004168759974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819198530,"filename":"image_21012025_21_32_02_352586_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/adbc7a0480ea0f48571e2a0264e09c5e.jpg","text":"TemporaryFile(/tmp/multipartBody8230064474396349305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819198530,"filename":"image_21012025_21_32_02_352586_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331384094","file1":"1331384057","file0":"1331383790","file4":"1331384104","file5":"1331384110","file3":"1331384098"},"map_files_photo_id_array":[{"photo_id":"1331384110","filename":"file5"},{"photo_id":"1331384094","filename":"file2"},{"photo_id":"1331384104","filename":"file4"},{"photo_id":"1331384057","filename":"file1"},{"photo_id":"1331383790","filename":"file0"},{"photo_id":"1331384098","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331384098":["hashtag1","hashtag2"]},{"1331384110":["hashtag1","hashtag2"]},{"1331384104":["hashtag1","hashtag2"]},{"1331384094":["hashtag1","hashtag2"]},{"1331384057":["hashtag1","hashtag2"]},{"1331383790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331384098, 1331384110, 1331384104, 1331384094, 1331384057, 1331383790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.74248170852661 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 16:33:03.075017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/31/image_25012025_16_31_02_406473_0003.jpg', '/home/pi/Desktop/images/25012025/16/32/image_25012025_16_32_02_545658_0000.jpg', '/home/pi/Desktop/images/25012025/16/32/image_25012025_16_32_02_545658_0001.jpg', '/home/pi/Desktop/images/25012025/16/32/image_25012025_16_32_02_545658_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/31/image_25012025_16_31_02_406473_0003.jpg
/home/pi/Desktop/images/25012025/16/32/image_25012025_16_32_02_545658_0000.jpg
/home/pi/Desktop/images/25012025/16/32/image_25012025_16_32_02_545658_0001.jpg
/home/pi/Desktop/images/25012025/16/32/image_25012025_16_32_02_545658_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":["1331384275","1331384358","1331384363","1331384366"],"photo_ids_order":["1331384275","1331384358","1331384363","1331384366"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9564d6486ca2ded6938cccf8f3e9e6e3.jpg","text":"TemporaryFile(/tmp/multipartBody1944820011495772502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819254247,"filename":"image_25012025_16_31_02_406473_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7bbfb7f5e1598a2982e84a4910b8b010.jpg","text":"TemporaryFile(/tmp/multipartBody982380763673944241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819254247,"filename":"image_25012025_16_32_02_545658_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c8aa8722faeb800ae04e2235a0e5df32.jpg","text":"TemporaryFile(/tmp/multipartBody3894813985139376095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819254247,"filename":"image_25012025_16_32_02_545658_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/decbcd6ab259cfdaa311c21ed5a72b65.jpg","text":"TemporaryFile(/tmp/multipartBody2688846278939026634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819254247,"filename":"image_25012025_16_32_02_545658_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331384363","file1":"1331384358","file0":"1331384275","file3":"1331384366"},"map_files_photo_id_array":[{"photo_id":"1331384363","filename":"file2"},{"photo_id":"1331384358","filename":"file1"},{"photo_id":"1331384275","filename":"file0"},{"photo_id":"1331384366","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331384275":["hashtag1","hashtag2"]},{"1331384358":["hashtag1","hashtag2"]},{"1331384363":["hashtag1","hashtag2"]},{"1331384366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331384275, 1331384358, 1331384363, 1331384366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.20862674713135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 16:33:52.518800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/32/image_25012025_16_32_02_545658_0003.jpg', '/home/pi/Desktop/images/25012025/16/33/image_25012025_16_33_02_718071_0000.jpg', '/home/pi/Desktop/images/25012025/16/33/image_25012025_16_33_02_718071_0001.jpg', '/home/pi/Desktop/images/25012025/16/33/image_25012025_16_33_02_718071_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/32/image_25012025_16_32_02_545658_0003.jpg
/home/pi/Desktop/images/25012025/16/33/image_25012025_16_33_02_718071_0000.jpg
/home/pi/Desktop/images/25012025/16/33/image_25012025_16_33_02_718071_0001.jpg
/home/pi/Desktop/images/25012025/16/33/image_25012025_16_33_02_718071_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":["1331384518","1331384515","1331384520","1331384523"],"photo_ids_order":["1331384515","1331384518","1331384520","1331384523"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7a585150ed10fb239e88df978e10d6a2.jpg","text":"TemporaryFile(/tmp/multipartBody8979437073465621106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819303583,"filename":"image_25012025_16_33_02_718071_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e44d69a541a315ffe4fb184bacd0850b.jpg","text":"TemporaryFile(/tmp/multipartBody4520649633395701790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819303583,"filename":"image_25012025_16_32_02_545658_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ea00fc2f204fb3b3df9dac1be71b6d44.jpg","text":"TemporaryFile(/tmp/multipartBody1355946477240443952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819303583,"filename":"image_25012025_16_33_02_718071_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/32a516caa23495d77de9288abda2fc2b.jpg","text":"TemporaryFile(/tmp/multipartBody6510419010965080776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819303583,"filename":"image_25012025_16_33_02_718071_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331384520","file1":"1331384518","file0":"1331384515","file3":"1331384523"},"map_files_photo_id_array":[{"photo_id":"1331384520","filename":"file2"},{"photo_id":"1331384518","filename":"file1"},{"photo_id":"1331384515","filename":"file0"},{"photo_id":"1331384523","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331384518":["hashtag1","hashtag2"]},{"1331384515":["hashtag1","hashtag2"]},{"1331384520":["hashtag1","hashtag2"]},{"1331384523":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331384518, 1331384515, 1331384520, 1331384523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.279417276382446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 16:34:32.728296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/33/image_25012025_16_33_02_718071_0003.jpg', '/home/pi/Desktop/images/25012025/16/34/image_25012025_16_34_02_915767_0000.jpg', '/home/pi/Desktop/images/25012025/16/34/image_25012025_16_34_02_915767_0001.jpg', '/home/pi/Desktop/images/25012025/16/34/image_25012025_16_34_02_915767_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/33/image_25012025_16_33_02_718071_0003.jpg
/home/pi/Desktop/images/25012025/16/34/image_25012025_16_34_02_915767_0000.jpg
/home/pi/Desktop/images/25012025/16/34/image_25012025_16_34_02_915767_0001.jpg
/home/pi/Desktop/images/25012025/16/34/image_25012025_16_34_02_915767_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":["1331384816","1331384602","1331384937","1331384696"],"photo_ids_order":["1331384602","1331384696","1331384816","1331384937"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eb8e7aadb34d6ba4ed1fabb602626368.jpg","text":"TemporaryFile(/tmp/multipartBody6397680030635345909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819343948,"filename":"image_25012025_16_34_02_915767_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6c612013cc0a2d1cf2a7db9854a4b1a2.jpg","text":"TemporaryFile(/tmp/multipartBody3883405835637996602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819343948,"filename":"image_25012025_16_33_02_718071_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a66b888cf24d1e80440e3e6c2121aa7a.jpg","text":"TemporaryFile(/tmp/multipartBody1167302481605759933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819343948,"filename":"image_25012025_16_34_02_915767_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/373a643c81b614a25ce73c615c833250.jpg","text":"TemporaryFile(/tmp/multipartBody7566277983642629818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819343948,"filename":"image_25012025_16_34_02_915767_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331384816","file1":"1331384696","file0":"1331384602","file3":"1331384937"},"map_files_photo_id_array":[{"photo_id":"1331384816","filename":"file2"},{"photo_id":"1331384696","filename":"file1"},{"photo_id":"1331384602","filename":"file0"},{"photo_id":"1331384937","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331384816":["hashtag1","hashtag2"]},{"1331384602":["hashtag1","hashtag2"]},{"1331384937":["hashtag1","hashtag2"]},{"1331384696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331384816, 1331384602, 1331384937, 1331384696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.72594714164734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:35:22.041654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/34/image_25012025_16_34_02_915767_0003.jpg', '/home/pi/Desktop/images/25012025/16/35/image_25012025_16_35_03_094508_0000.jpg', '/home/pi/Desktop/images/25012025/16/35/image_25012025_16_35_03_094508_0001.jpg', '/home/pi/Desktop/images/25012025/16/35/image_25012025_16_35_03_094508_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/34/image_25012025_16_34_02_915767_0003.jpg
/home/pi/Desktop/images/25012025/16/35/image_25012025_16_35_03_094508_0000.jpg
/home/pi/Desktop/images/25012025/16/35/image_25012025_16_35_03_094508_0001.jpg
/home/pi/Desktop/images/25012025/16/35/image_25012025_16_35_03_094508_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 [200]>
b'{"photo_ids":["1331385850","1331385846","1331385854","1331385713"],"photo_ids_order":["1331385713","1331385846","1331385850","1331385854"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/033600179b8db9288408ad512fbdb98a.jpg","text":"TemporaryFile(/tmp/multipartBody7214832769859835517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819393649,"filename":"image_25012025_16_35_03_094508_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/26ca41c8dfa23a9c8a9f76ad2f75cc49.jpg","text":"TemporaryFile(/tmp/multipartBody5290369538459892869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819393649,"filename":"image_25012025_16_35_03_094508_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f02d6b6d6e41609ce25c1a37fcfee627.jpg","text":"TemporaryFile(/tmp/multipartBody7000444664978407598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819393649,"filename":"image_25012025_16_35_03_094508_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/69557a0f380d6909a2545320fd08009d.jpg","text":"TemporaryFile(/tmp/multipartBody156843905419529653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819393649,"filename":"image_25012025_16_34_02_915767_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331385850","file1":"1331385846","file0":"1331385713","file3":"1331385854"},"map_files_photo_id_array":[{"photo_id":"1331385850","filename":"file2"},{"photo_id":"1331385846","filename":"file1"},{"photo_id":"1331385713","filename":"file0"},{"photo_id":"1331385854","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331385850":["hashtag1","hashtag2"]},{"1331385846":["hashtag1","hashtag2"]},{"1331385854":["hashtag1","hashtag2"]},{"1331385713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331385850, 1331385846, 1331385854, 1331385713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.66365456581116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:36:22.190398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/35/image_25012025_16_35_03_094508_0003.jpg', '/home/pi/Desktop/images/25012025/16/36/image_25012025_16_36_02_309286_0000.jpg', '/home/pi/Desktop/images/25012025/16/36/image_25012025_16_36_02_309286_0001.jpg', '/home/pi/Desktop/images/25012025/16/36/image_25012025_16_36_02_309286_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/35/image_25012025_16_35_03_094508_0003.jpg
/home/pi/Desktop/images/25012025/16/36/image_25012025_16_36_02_309286_0000.jpg
/home/pi/Desktop/images/25012025/16/36/image_25012025_16_36_02_309286_0001.jpg
/home/pi/Desktop/images/25012025/16/36/image_25012025_16_36_02_309286_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: 10.98142695426941 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 16:36:42.154747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/35/image_25012025_16_35_03_094508_0003.jpg', '/home/pi/Desktop/images/25012025/16/36/image_25012025_16_36_02_309286_0000.jpg', '/home/pi/Desktop/images/25012025/16/36/image_25012025_16_36_02_309286_0001.jpg', '/home/pi/Desktop/images/25012025/16/36/image_25012025_16_36_02_309286_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/35/image_25012025_16_35_03_094508_0003.jpg
/home/pi/Desktop/images/25012025/16/36/image_25012025_16_36_02_309286_0000.jpg
/home/pi/Desktop/images/25012025/16/36/image_25012025_16_36_02_309286_0001.jpg
/home/pi/Desktop/images/25012025/16/36/image_25012025_16_36_02_309286_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":["1331386231","1331386181","1331386229","1331386234"],"photo_ids_order":["1331386181","1331386229","1331386231","1331386234"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8e82c57b4a1ab46b1e6853b5836cfd6e.jpg","text":"TemporaryFile(/tmp/multipartBody3699834010306825158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819473518,"filename":"image_25012025_16_36_02_309286_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d2666d26c5e1d0b4b7ca97489a186c49.jpg","text":"TemporaryFile(/tmp/multipartBody4808527347597320914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819473518,"filename":"image_25012025_16_35_03_094508_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/728a59cf4e9611a8e3d8b4b64befb7e8.jpg","text":"TemporaryFile(/tmp/multipartBody898494827850822643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819473518,"filename":"image_25012025_16_36_02_309286_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/72dada77b825672aa9f3c964322db3fd.jpg","text":"TemporaryFile(/tmp/multipartBody4689761714853387453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819473518,"filename":"image_25012025_16_36_02_309286_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331386231","file1":"1331386229","file0":"1331386181","file3":"1331386234"},"map_files_photo_id_array":[{"photo_id":"1331386231","filename":"file2"},{"photo_id":"1331386229","filename":"file1"},{"photo_id":"1331386181","filename":"file0"},{"photo_id":"1331386234","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331386231":["hashtag1","hashtag2"]},{"1331386181":["hashtag1","hashtag2"]},{"1331386229":["hashtag1","hashtag2"]},{"1331386234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331386231, 1331386181, 1331386229, 1331386234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.88044619560242 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:37:22.471386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/36/image_25012025_16_36_02_309286_0003.jpg', '/home/pi/Desktop/images/25012025/16/37/image_25012025_16_37_02_464161_0000.jpg', '/home/pi/Desktop/images/25012025/16/37/image_25012025_16_37_02_464161_0001.jpg', '/home/pi/Desktop/images/25012025/16/37/image_25012025_16_37_02_464161_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/36/image_25012025_16_36_02_309286_0003.jpg
/home/pi/Desktop/images/25012025/16/37/image_25012025_16_37_02_464161_0000.jpg
/home/pi/Desktop/images/25012025/16/37/image_25012025_16_37_02_464161_0001.jpg
/home/pi/Desktop/images/25012025/16/37/image_25012025_16_37_02_464161_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: 10.827053308486938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 16:37:42.358138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/36/image_25012025_16_36_02_309286_0003.jpg', '/home/pi/Desktop/images/25012025/16/37/image_25012025_16_37_02_464161_0000.jpg', '/home/pi/Desktop/images/25012025/16/37/image_25012025_16_37_02_464161_0001.jpg', '/home/pi/Desktop/images/25012025/16/37/image_25012025_16_37_02_464161_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/36/image_25012025_16_36_02_309286_0003.jpg
/home/pi/Desktop/images/25012025/16/37/image_25012025_16_37_02_464161_0000.jpg
/home/pi/Desktop/images/25012025/16/37/image_25012025_16_37_02_464161_0001.jpg
/home/pi/Desktop/images/25012025/16/37/image_25012025_16_37_02_464161_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":["1331386482","1331386503","1331386390","1331386387"],"photo_ids_order":["1331386387","1331386390","1331386482","1331386503"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7762438ef2aa595ac52f64c5dccac3d6.jpg","text":"TemporaryFile(/tmp/multipartBody1116279802577859990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819533565,"filename":"image_25012025_16_37_02_464161_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ce4248c05b7678c2eec0e7d04036665c.jpg","text":"TemporaryFile(/tmp/multipartBody2242427841908038989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819533565,"filename":"image_25012025_16_37_02_464161_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5986ee90882d1708551ddf9a2faf4a55.jpg","text":"TemporaryFile(/tmp/multipartBody64691633809312810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819533565,"filename":"image_25012025_16_37_02_464161_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c0bc3d9f54d7bd4210c4b3130db4ce3.jpg","text":"TemporaryFile(/tmp/multipartBody4715833770821205171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819533565,"filename":"image_25012025_16_36_02_309286_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331386482","file1":"1331386390","file0":"1331386387","file3":"1331386503"},"map_files_photo_id_array":[{"photo_id":"1331386482","filename":"file2"},{"photo_id":"1331386390","filename":"file1"},{"photo_id":"1331386387","filename":"file0"},{"photo_id":"1331386503","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331386482":["hashtag1","hashtag2"]},{"1331386503":["hashtag1","hashtag2"]},{"1331386390":["hashtag1","hashtag2"]},{"1331386387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331386482, 1331386503, 1331386390, 1331386387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.220269441604614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:38:22.431863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/37/image_25012025_16_37_02_464161_0003.jpg', '/home/pi/Desktop/images/25012025/16/38/image_25012025_16_38_02_792402_0000.jpg', '/home/pi/Desktop/images/25012025/16/38/image_25012025_16_38_02_792402_0001.jpg', '/home/pi/Desktop/images/25012025/16/38/image_25012025_16_38_02_792402_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/37/image_25012025_16_37_02_464161_0003.jpg
/home/pi/Desktop/images/25012025/16/38/image_25012025_16_38_02_792402_0000.jpg
/home/pi/Desktop/images/25012025/16/38/image_25012025_16_38_02_792402_0001.jpg
/home/pi/Desktop/images/25012025/16/38/image_25012025_16_38_02_792402_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 [200]>
b'{"photo_ids":["1331386569","1331386574","1331386561","1331386564"],"photo_ids_order":["1331386561","1331386564","1331386569","1331386574"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8da43da5700302e69ffbbad8fb05a669.jpg","text":"TemporaryFile(/tmp/multipartBody3821004655536757257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819574206,"filename":"image_25012025_16_38_02_792402_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9067c7597b75f3b428743fe47036c086.jpg","text":"TemporaryFile(/tmp/multipartBody1344992914887669506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819574206,"filename":"image_25012025_16_38_02_792402_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8801ff0dc9448a26d0f22e75023d83df.jpg","text":"TemporaryFile(/tmp/multipartBody3428849454462134789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819574206,"filename":"image_25012025_16_37_02_464161_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6047181d0a93b2e1b6b5545a0f78d9d2.jpg","text":"TemporaryFile(/tmp/multipartBody7167189227165384265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819574206,"filename":"image_25012025_16_38_02_792402_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331386569","file1":"1331386564","file0":"1331386561","file3":"1331386574"},"map_files_photo_id_array":[{"photo_id":"1331386569","filename":"file2"},{"photo_id":"1331386564","filename":"file1"},{"photo_id":"1331386561","filename":"file0"},{"photo_id":"1331386574","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331386569":["hashtag1","hashtag2"]},{"1331386574":["hashtag1","hashtag2"]},{"1331386561":["hashtag1","hashtag2"]},{"1331386564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331386569, 1331386574, 1331386561, 1331386564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.335548639297485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:39:22.786928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/38/image_25012025_16_38_02_792402_0003.jpg', '/home/pi/Desktop/images/25012025/16/39/image_25012025_16_39_02_904409_0000.jpg', '/home/pi/Desktop/images/25012025/16/39/image_25012025_16_39_02_904409_0001.jpg', '/home/pi/Desktop/images/25012025/16/39/image_25012025_16_39_02_904409_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/38/image_25012025_16_38_02_792402_0003.jpg
/home/pi/Desktop/images/25012025/16/39/image_25012025_16_39_02_904409_0000.jpg
/home/pi/Desktop/images/25012025/16/39/image_25012025_16_39_02_904409_0001.jpg
/home/pi/Desktop/images/25012025/16/39/image_25012025_16_39_02_904409_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 [200]>
b'{"photo_ids":["1331386620","1331386608","1331386616","1331386612"],"photo_ids_order":["1331386608","1331386612","1331386616","1331386620"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/98fb102b91c55d0ff5145748dccd762b.jpg","text":"TemporaryFile(/tmp/multipartBody89479539721542092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819633836,"filename":"image_25012025_16_39_02_904409_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b9f8a8e8950680b03cabf6b73a01a1be.jpg","text":"TemporaryFile(/tmp/multipartBody4870751176676425195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819633836,"filename":"image_25012025_16_38_02_792402_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/40bf83f3b680436a55c3bbe580816ec8.jpg","text":"TemporaryFile(/tmp/multipartBody1040107250421132898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819633836,"filename":"image_25012025_16_39_02_904409_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d61d7e25cc31f7894c1060330fbd8cbf.jpg","text":"TemporaryFile(/tmp/multipartBody2338505604610541113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819633836,"filename":"image_25012025_16_39_02_904409_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331386616","file1":"1331386612","file0":"1331386608","file3":"1331386620"},"map_files_photo_id_array":[{"photo_id":"1331386616","filename":"file2"},{"photo_id":"1331386612","filename":"file1"},{"photo_id":"1331386608","filename":"file0"},{"photo_id":"1331386620","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331386620":["hashtag1","hashtag2"]},{"1331386608":["hashtag1","hashtag2"]},{"1331386616":["hashtag1","hashtag2"]},{"1331386612":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331386620, 1331386608, 1331386616, 1331386612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.07283663749695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:40:21.865251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/39/image_25012025_16_39_02_904409_0003.jpg', '/home/pi/Desktop/images/25012025/16/40/image_25012025_16_40_03_031790_0000.jpg', '/home/pi/Desktop/images/25012025/16/40/image_25012025_16_40_03_031790_0001.jpg', '/home/pi/Desktop/images/25012025/16/40/image_25012025_16_40_03_031790_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/39/image_25012025_16_39_02_904409_0003.jpg
/home/pi/Desktop/images/25012025/16/40/image_25012025_16_40_03_031790_0000.jpg
/home/pi/Desktop/images/25012025/16/40/image_25012025_16_40_03_031790_0001.jpg
/home/pi/Desktop/images/25012025/16/40/image_25012025_16_40_03_031790_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":["1331386702","1331386680","1331386697","1331386709"],"photo_ids_order":["1331386680","1331386697","1331386702","1331386709"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/86de7fca6133a41e68e895910e9e12b6.jpg","text":"TemporaryFile(/tmp/multipartBody5210366934724542800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819692696,"filename":"image_25012025_16_40_03_031790_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/020bf0cd275bac358eba747774d4112c.jpg","text":"TemporaryFile(/tmp/multipartBody7741104970229424582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819692696,"filename":"image_25012025_16_39_02_904409_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/47f295e3e79ae2f36bf9232a0802ac71.jpg","text":"TemporaryFile(/tmp/multipartBody2858508220952981299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819692696,"filename":"image_25012025_16_40_03_031790_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f5eb95904c6b83fcc0ce667c110fd85c.jpg","text":"TemporaryFile(/tmp/multipartBody1557594075931035190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819692696,"filename":"image_25012025_16_40_03_031790_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331386702","file1":"1331386697","file0":"1331386680","file3":"1331386709"},"map_files_photo_id_array":[{"photo_id":"1331386702","filename":"file2"},{"photo_id":"1331386697","filename":"file1"},{"photo_id":"1331386680","filename":"file0"},{"photo_id":"1331386709","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331386702":["hashtag1","hashtag2"]},{"1331386680":["hashtag1","hashtag2"]},{"1331386697":["hashtag1","hashtag2"]},{"1331386709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331386702, 1331386680, 1331386697, 1331386709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.212998390197754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 16:41:02.569003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/34/image_21012025_21_34_02_776558_0002.jpg', '/home/pi/Desktop/images/21012025/21/35/image_21012025_21_35_02_839920_0000.jpg', '/home/pi/Desktop/images/21012025/21/35/image_21012025_21_35_02_839920_0001.jpg', '/home/pi/Desktop/images/21012025/21/35/image_21012025_21_35_02_839920_0002.jpg', '/home/pi/Desktop/images/21012025/21/36/image_21012025_21_36_02_980381_0000.jpg', '/home/pi/Desktop/images/21012025/21/36/image_21012025_21_36_02_980381_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/21/34/image_21012025_21_34_02_776558_0002.jpg
/home/pi/Desktop/images/21012025/21/35/image_21012025_21_35_02_839920_0000.jpg
/home/pi/Desktop/images/21012025/21/35/image_21012025_21_35_02_839920_0001.jpg
/home/pi/Desktop/images/21012025/21/35/image_21012025_21_35_02_839920_0002.jpg
/home/pi/Desktop/images/21012025/21/36/image_21012025_21_36_02_980381_0000.jpg
/home/pi/Desktop/images/21012025/21/36/image_21012025_21_36_02_980381_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 [200]>
b'{"photo_ids":["1331386788","1331386815","1331386868","1331386823","1331386802","1331386876"],"photo_ids_order":["1331386788","1331386802","1331386815","1331386823","1331386868","1331386876"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f82181cd810f00bae7bcf4da89ca34ef.jpg","text":"TemporaryFile(/tmp/multipartBody4734723012339778976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819738590,"filename":"image_21012025_21_34_02_776558_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9d323ce953bf5d7837ea11872b655eb5.jpg","text":"TemporaryFile(/tmp/multipartBody2016042025768252903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819738590,"filename":"image_21012025_21_35_02_839920_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c3bfb5efd9119926bbe34afc28c8e1a0.jpg","text":"TemporaryFile(/tmp/multipartBody141249291351548222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819738590,"filename":"image_21012025_21_36_02_980381_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bd5f18df69230c4ac188603289d1c8fb.jpg","text":"TemporaryFile(/tmp/multipartBody2110749950361997847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819738590,"filename":"image_21012025_21_35_02_839920_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f48d6380e260888e03c7b18179711e14.jpg","text":"TemporaryFile(/tmp/multipartBody7901255748102413627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819738590,"filename":"image_21012025_21_35_02_839920_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/91d7195f79eac7120b0ddbeb6e368c97.jpg","text":"TemporaryFile(/tmp/multipartBody9093127081462488318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819738590,"filename":"image_21012025_21_36_02_980381_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331386815","file1":"1331386802","file0":"1331386788","file4":"1331386868","file5":"1331386876","file3":"1331386823"},"map_files_photo_id_array":[{"photo_id":"1331386876","filename":"file5"},{"photo_id":"1331386815","filename":"file2"},{"photo_id":"1331386868","filename":"file4"},{"photo_id":"1331386802","filename":"file1"},{"photo_id":"1331386788","filename":"file0"},{"photo_id":"1331386823","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331386788":["hashtag1","hashtag2"]},{"1331386815":["hashtag1","hashtag2"]},{"1331386868":["hashtag1","hashtag2"]},{"1331386823":["hashtag1","hashtag2"]},{"1331386802":["hashtag1","hashtag2"]},{"1331386876":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331386788, 1331386815, 1331386868, 1331386823, 1331386802, 1331386876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.410215616226196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 16:42:02.710226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/40/image_25012025_16_40_03_031790_0003.jpg', '/home/pi/Desktop/images/25012025/16/41/image_25012025_16_41_02_232728_0000.jpg', '/home/pi/Desktop/images/25012025/16/41/image_25012025_16_41_02_232728_0001.jpg', '/home/pi/Desktop/images/25012025/16/41/image_25012025_16_41_02_232728_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/40/image_25012025_16_40_03_031790_0003.jpg
/home/pi/Desktop/images/25012025/16/41/image_25012025_16_41_02_232728_0000.jpg
/home/pi/Desktop/images/25012025/16/41/image_25012025_16_41_02_232728_0001.jpg
/home/pi/Desktop/images/25012025/16/41/image_25012025_16_41_02_232728_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":["1331386896","1331386900","1331386890","1331386892"],"photo_ids_order":["1331386890","1331386892","1331386896","1331386900"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b37826d1e45b6d78bcbd821ba7e7c72a.jpg","text":"TemporaryFile(/tmp/multipartBody1764880885628311666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819793549,"filename":"image_25012025_16_41_02_232728_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b92f270cbd190189ad8752ce0937d93.jpg","text":"TemporaryFile(/tmp/multipartBody515944406719104267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819793549,"filename":"image_25012025_16_41_02_232728_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4d18c99191e0d6f2e9243b18cf0f70fa.jpg","text":"TemporaryFile(/tmp/multipartBody6582863336312919649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819793549,"filename":"image_25012025_16_40_03_031790_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c96963fda5b7ae055db5e9dd1216333e.jpg","text":"TemporaryFile(/tmp/multipartBody6986484622905361923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819793549,"filename":"image_25012025_16_41_02_232728_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331386896","file1":"1331386892","file0":"1331386890","file3":"1331386900"},"map_files_photo_id_array":[{"photo_id":"1331386896","filename":"file2"},{"photo_id":"1331386892","filename":"file1"},{"photo_id":"1331386890","filename":"file0"},{"photo_id":"1331386900","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331386896":["hashtag1","hashtag2"]},{"1331386900":["hashtag1","hashtag2"]},{"1331386890":["hashtag1","hashtag2"]},{"1331386892":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331386896, 1331386900, 1331386890, 1331386892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.049283027648926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 16:42:52.280686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/41/image_25012025_16_41_02_232728_0003.jpg', '/home/pi/Desktop/images/25012025/16/42/image_25012025_16_42_02_320538_0000.jpg', '/home/pi/Desktop/images/25012025/16/42/image_25012025_16_42_02_320538_0001.jpg', '/home/pi/Desktop/images/25012025/16/42/image_25012025_16_42_02_320538_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/41/image_25012025_16_41_02_232728_0003.jpg
/home/pi/Desktop/images/25012025/16/42/image_25012025_16_42_02_320538_0000.jpg
/home/pi/Desktop/images/25012025/16/42/image_25012025_16_42_02_320538_0001.jpg
/home/pi/Desktop/images/25012025/16/42/image_25012025_16_42_02_320538_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":["1331386920","1331386922","1331386942","1331386936"],"photo_ids_order":["1331386920","1331386922","1331386936","1331386942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/88f655549acbbc207bf21172e728528a.jpg","text":"TemporaryFile(/tmp/multipartBody711041241971046249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819842943,"filename":"image_25012025_16_41_02_232728_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1ef39b8b0d2722ce4eb755668c37dce2.jpg","text":"TemporaryFile(/tmp/multipartBody788451447394571329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819842943,"filename":"image_25012025_16_42_02_320538_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2e7c0606284095853893e9560a32a4f3.jpg","text":"TemporaryFile(/tmp/multipartBody5690071049761671636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819842943,"filename":"image_25012025_16_42_02_320538_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d0882e84217eb9818c95fbc2fd11abfe.jpg","text":"TemporaryFile(/tmp/multipartBody5685657858777388782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819842943,"filename":"image_25012025_16_42_02_320538_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331386936","file1":"1331386922","file0":"1331386920","file3":"1331386942"},"map_files_photo_id_array":[{"photo_id":"1331386936","filename":"file2"},{"photo_id":"1331386922","filename":"file1"},{"photo_id":"1331386920","filename":"file0"},{"photo_id":"1331386942","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331386920":["hashtag1","hashtag2"]},{"1331386922":["hashtag1","hashtag2"]},{"1331386942":["hashtag1","hashtag2"]},{"1331386936":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331386920, 1331386922, 1331386942, 1331386936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.112228870391846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 16:43:32.457719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/42/image_25012025_16_42_02_320538_0003.jpg', '/home/pi/Desktop/images/25012025/16/43/image_25012025_16_43_02_618193_0000.jpg', '/home/pi/Desktop/images/25012025/16/43/image_25012025_16_43_02_618193_0001.jpg', '/home/pi/Desktop/images/25012025/16/43/image_25012025_16_43_02_618193_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/42/image_25012025_16_42_02_320538_0003.jpg
/home/pi/Desktop/images/25012025/16/43/image_25012025_16_43_02_618193_0000.jpg
/home/pi/Desktop/images/25012025/16/43/image_25012025_16_43_02_618193_0001.jpg
/home/pi/Desktop/images/25012025/16/43/image_25012025_16_43_02_618193_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":["1331386974","1331387013","1331387002","1331387008"],"photo_ids_order":["1331386974","1331387002","1331387008","1331387013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5f428a0344d2cbc5e9aa45c096484893.jpg","text":"TemporaryFile(/tmp/multipartBody8241178784008283080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819883244,"filename":"image_25012025_16_42_02_320538_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0e5b65654e9bf745cb9c9d52312eb682.jpg","text":"TemporaryFile(/tmp/multipartBody2311819766458232948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819883244,"filename":"image_25012025_16_43_02_618193_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/abe08b8201d857fa5005257d659fbcc5.jpg","text":"TemporaryFile(/tmp/multipartBody8180059090373742770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819883244,"filename":"image_25012025_16_43_02_618193_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/37fb326ed51c64290899cf2c3b630a3a.jpg","text":"TemporaryFile(/tmp/multipartBody3339169917120073812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819883244,"filename":"image_25012025_16_43_02_618193_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331387008","file1":"1331387002","file0":"1331386974","file3":"1331387013"},"map_files_photo_id_array":[{"photo_id":"1331387008","filename":"file2"},{"photo_id":"1331387002","filename":"file1"},{"photo_id":"1331386974","filename":"file0"},{"photo_id":"1331387013","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331386974":["hashtag1","hashtag2"]},{"1331387013":["hashtag1","hashtag2"]},{"1331387002":["hashtag1","hashtag2"]},{"1331387008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331386974, 1331387013, 1331387002, 1331387008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.36342430114746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:44:22.661253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/43/image_25012025_16_43_02_618193_0003.jpg', '/home/pi/Desktop/images/25012025/16/44/image_25012025_16_44_02_802126_0000.jpg', '/home/pi/Desktop/images/25012025/16/44/image_25012025_16_44_02_802126_0001.jpg', '/home/pi/Desktop/images/25012025/16/44/image_25012025_16_44_02_802126_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/43/image_25012025_16_43_02_618193_0003.jpg
/home/pi/Desktop/images/25012025/16/44/image_25012025_16_44_02_802126_0000.jpg
/home/pi/Desktop/images/25012025/16/44/image_25012025_16_44_02_802126_0001.jpg
/home/pi/Desktop/images/25012025/16/44/image_25012025_16_44_02_802126_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 [200]>
b'{"photo_ids":["1331387091","1331387073","1331387081","1331387086"],"photo_ids_order":["1331387073","1331387081","1331387086","1331387091"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1cfdd3292abace20c901cc06f505c4bf.jpg","text":"TemporaryFile(/tmp/multipartBody3640959519348100843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819939080,"filename":"image_25012025_16_44_02_802126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/af4294a676ba5945c8c27047c54b32f0.jpg","text":"TemporaryFile(/tmp/multipartBody4830066929750079014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819939080,"filename":"image_25012025_16_43_02_618193_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0af918f702a333da6bd82e7377633f12.jpg","text":"TemporaryFile(/tmp/multipartBody6524147213963776773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819939080,"filename":"image_25012025_16_44_02_802126_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/090012af604d2f1cecf1614dacd1bf90.jpg","text":"TemporaryFile(/tmp/multipartBody2119377471002858741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819939080,"filename":"image_25012025_16_44_02_802126_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331387086","file1":"1331387081","file0":"1331387073","file3":"1331387091"},"map_files_photo_id_array":[{"photo_id":"1331387086","filename":"file2"},{"photo_id":"1331387081","filename":"file1"},{"photo_id":"1331387073","filename":"file0"},{"photo_id":"1331387091","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331387091":["hashtag1","hashtag2"]},{"1331387073":["hashtag1","hashtag2"]},{"1331387081":["hashtag1","hashtag2"]},{"1331387086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331387091, 1331387073, 1331387081, 1331387086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.38097310066223 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:45:21.845883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/44/image_25012025_16_44_02_802126_0003.jpg', '/home/pi/Desktop/images/25012025/16/45/image_25012025_16_45_02_985937_0000.jpg', '/home/pi/Desktop/images/25012025/16/45/image_25012025_16_45_02_985937_0001.jpg', '/home/pi/Desktop/images/25012025/16/45/image_25012025_16_45_02_985937_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/44/image_25012025_16_44_02_802126_0003.jpg
/home/pi/Desktop/images/25012025/16/45/image_25012025_16_45_02_985937_0000.jpg
/home/pi/Desktop/images/25012025/16/45/image_25012025_16_45_02_985937_0001.jpg
/home/pi/Desktop/images/25012025/16/45/image_25012025_16_45_02_985937_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 [200]>
b'{"photo_ids":["1331387208","1331387243","1331387221","1331387274"],"photo_ids_order":["1331387208","1331387221","1331387243","1331387274"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5afef50ada870caca48d4077e4eec620.jpg","text":"TemporaryFile(/tmp/multipartBody5400956614473938103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819993412,"filename":"image_25012025_16_44_02_802126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/786760ded55027452af2cf6f5c10d832.jpg","text":"TemporaryFile(/tmp/multipartBody5292012835982812274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819993412,"filename":"image_25012025_16_45_02_985937_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b7a211a4284ae9cd435e3f3b905a7358.jpg","text":"TemporaryFile(/tmp/multipartBody6586189244651200703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819993412,"filename":"image_25012025_16_45_02_985937_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fb5cbcd2c793fe2100bff541b30dffeb.jpg","text":"TemporaryFile(/tmp/multipartBody4973326523138926137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737819993412,"filename":"image_25012025_16_45_02_985937_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331387243","file1":"1331387221","file0":"1331387208","file3":"1331387274"},"map_files_photo_id_array":[{"photo_id":"1331387243","filename":"file2"},{"photo_id":"1331387221","filename":"file1"},{"photo_id":"1331387208","filename":"file0"},{"photo_id":"1331387274","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331387208":["hashtag1","hashtag2"]},{"1331387243":["hashtag1","hashtag2"]},{"1331387221":["hashtag1","hashtag2"]},{"1331387274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331387208, 1331387243, 1331387221, 1331387274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.21584343910217 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:46:22.151109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/45/image_25012025_16_45_02_985937_0003.jpg', '/home/pi/Desktop/images/25012025/16/46/image_25012025_16_46_02_188504_0000.jpg', '/home/pi/Desktop/images/25012025/16/46/image_25012025_16_46_02_188504_0001.jpg', '/home/pi/Desktop/images/25012025/16/46/image_25012025_16_46_02_188504_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/45/image_25012025_16_45_02_985937_0003.jpg
/home/pi/Desktop/images/25012025/16/46/image_25012025_16_46_02_188504_0000.jpg
/home/pi/Desktop/images/25012025/16/46/image_25012025_16_46_02_188504_0001.jpg
/home/pi/Desktop/images/25012025/16/46/image_25012025_16_46_02_188504_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 [200]>
b'{"photo_ids":["1331387342","1331387332","1331387320","1331387295"],"photo_ids_order":["1331387295","1331387320","1331387332","1331387342"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/547612c814dc6bb9274bb25765568764.jpg","text":"TemporaryFile(/tmp/multipartBody1892223196786657117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820053886,"filename":"image_25012025_16_46_02_188504_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/09cac772360ea9899826065d516f0be9.jpg","text":"TemporaryFile(/tmp/multipartBody8735161124351511372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820053886,"filename":"image_25012025_16_46_02_188504_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/12359e5f90148613ffc9726b61ac1171.jpg","text":"TemporaryFile(/tmp/multipartBody279268515321375929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820053886,"filename":"image_25012025_16_46_02_188504_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5e915b404837146c2d0a34a81a260e58.jpg","text":"TemporaryFile(/tmp/multipartBody5854455926705521344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820053886,"filename":"image_25012025_16_45_02_985937_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331387332","file1":"1331387320","file0":"1331387295","file3":"1331387342"},"map_files_photo_id_array":[{"photo_id":"1331387332","filename":"file2"},{"photo_id":"1331387320","filename":"file1"},{"photo_id":"1331387295","filename":"file0"},{"photo_id":"1331387342","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331387342":["hashtag1","hashtag2"]},{"1331387332":["hashtag1","hashtag2"]},{"1331387320":["hashtag1","hashtag2"]},{"1331387295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331387342, 1331387332, 1331387320, 1331387295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.23009753227234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:47:22.303499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/46/image_25012025_16_46_02_188504_0003.jpg', '/home/pi/Desktop/images/25012025/16/47/image_25012025_16_47_02_438182_0000.jpg', '/home/pi/Desktop/images/25012025/16/47/image_25012025_16_47_02_438182_0001.jpg', '/home/pi/Desktop/images/25012025/16/47/image_25012025_16_47_02_438182_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/46/image_25012025_16_46_02_188504_0003.jpg
/home/pi/Desktop/images/25012025/16/47/image_25012025_16_47_02_438182_0000.jpg
/home/pi/Desktop/images/25012025/16/47/image_25012025_16_47_02_438182_0001.jpg
/home/pi/Desktop/images/25012025/16/47/image_25012025_16_47_02_438182_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 [200]>
b'{"photo_ids":["1331387462","1331387408","1331387470","1331387478"],"photo_ids_order":["1331387408","1331387462","1331387470","1331387478"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/22881567d531781a37f1eef4d874c0f1.jpg","text":"TemporaryFile(/tmp/multipartBody1359159516963108105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820113859,"filename":"image_25012025_16_47_02_438182_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c574c3682877e109d3976fc374b18575.jpg","text":"TemporaryFile(/tmp/multipartBody8516739348602055195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820113859,"filename":"image_25012025_16_46_02_188504_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/79a05581b28cac54b1122e3823bc6c46.jpg","text":"TemporaryFile(/tmp/multipartBody6484625724926574230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820113859,"filename":"image_25012025_16_47_02_438182_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/05d61c300dadd7522c06382549d95e4c.jpg","text":"TemporaryFile(/tmp/multipartBody6520564779543988457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820113859,"filename":"image_25012025_16_47_02_438182_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331387470","file1":"1331387462","file0":"1331387408","file3":"1331387478"},"map_files_photo_id_array":[{"photo_id":"1331387470","filename":"file2"},{"photo_id":"1331387462","filename":"file1"},{"photo_id":"1331387408","filename":"file0"},{"photo_id":"1331387478","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331387462":["hashtag1","hashtag2"]},{"1331387408":["hashtag1","hashtag2"]},{"1331387470":["hashtag1","hashtag2"]},{"1331387478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331387462, 1331387408, 1331387470, 1331387478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.80161738395691 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:48:22.458560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/47/image_25012025_16_47_02_438182_0003.jpg', '/home/pi/Desktop/images/25012025/16/48/image_25012025_16_48_02_613286_0000.jpg', '/home/pi/Desktop/images/25012025/16/48/image_25012025_16_48_02_613286_0001.jpg', '/home/pi/Desktop/images/25012025/16/48/image_25012025_16_48_02_613286_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/47/image_25012025_16_47_02_438182_0003.jpg
/home/pi/Desktop/images/25012025/16/48/image_25012025_16_48_02_613286_0000.jpg
/home/pi/Desktop/images/25012025/16/48/image_25012025_16_48_02_613286_0001.jpg
/home/pi/Desktop/images/25012025/16/48/image_25012025_16_48_02_613286_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":["1331387591","1331387588","1331387582","1331387577"],"photo_ids_order":["1331387577","1331387582","1331387588","1331387591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c72ad691dc3150ddbf9a2f82012d65e3.jpg","text":"TemporaryFile(/tmp/multipartBody3402419629485814498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820173867,"filename":"image_25012025_16_48_02_613286_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eec2a808431da3c59d52a88d7aeddfae.jpg","text":"TemporaryFile(/tmp/multipartBody3426946085266802497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820173867,"filename":"image_25012025_16_48_02_613286_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/86a0ef383c3da337e270452c26ab6d21.jpg","text":"TemporaryFile(/tmp/multipartBody2546321892227627146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820173867,"filename":"image_25012025_16_48_02_613286_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8ba007906cdb22c0a824d4587db05b46.jpg","text":"TemporaryFile(/tmp/multipartBody5118464094443897909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820173867,"filename":"image_25012025_16_47_02_438182_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331387588","file1":"1331387582","file0":"1331387577","file3":"1331387591"},"map_files_photo_id_array":[{"photo_id":"1331387588","filename":"file2"},{"photo_id":"1331387582","filename":"file1"},{"photo_id":"1331387577","filename":"file0"},{"photo_id":"1331387591","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331387591":["hashtag1","hashtag2"]},{"1331387588":["hashtag1","hashtag2"]},{"1331387582":["hashtag1","hashtag2"]},{"1331387577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331387591, 1331387588, 1331387582, 1331387577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.65903282165527 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-25 16:49:22.667022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/48/image_25012025_16_48_02_613286_0003.jpg', '/home/pi/Desktop/images/25012025/16/49/image_25012025_16_49_02_798771_0000.jpg', '/home/pi/Desktop/images/25012025/16/49/image_25012025_16_49_02_798771_0001.jpg', '/home/pi/Desktop/images/25012025/16/49/image_25012025_16_49_02_798771_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/48/image_25012025_16_48_02_613286_0003.jpg
/home/pi/Desktop/images/25012025/16/49/image_25012025_16_49_02_798771_0000.jpg
/home/pi/Desktop/images/25012025/16/49/image_25012025_16_49_02_798771_0001.jpg
/home/pi/Desktop/images/25012025/16/49/image_25012025_16_49_02_798771_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 [200]>
b'{"photo_ids":["1331387642","1331387633","1331387656","1331387658"],"photo_ids_order":["1331387633","1331387642","1331387656","1331387658"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bcb400741e80a592aa0862e61775446e.jpg","text":"TemporaryFile(/tmp/multipartBody1200675800414854750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820233784,"filename":"image_25012025_16_49_02_798771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/feb65199dc20563303c18041aff6a38b.jpg","text":"TemporaryFile(/tmp/multipartBody6293466487781152245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820233784,"filename":"image_25012025_16_48_02_613286_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ca23a2cd780dd54eab93ba01c064237e.jpg","text":"TemporaryFile(/tmp/multipartBody3825853255417218564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820233784,"filename":"image_25012025_16_49_02_798771_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4e55f723359335a768549d9f9f2659af.jpg","text":"TemporaryFile(/tmp/multipartBody5423531728909274605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820233784,"filename":"image_25012025_16_49_02_798771_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331387656","file1":"1331387642","file0":"1331387633","file3":"1331387658"},"map_files_photo_id_array":[{"photo_id":"1331387656","filename":"file2"},{"photo_id":"1331387642","filename":"file1"},{"photo_id":"1331387633","filename":"file0"},{"photo_id":"1331387658","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331387642":["hashtag1","hashtag2"]},{"1331387633":["hashtag1","hashtag2"]},{"1331387656":["hashtag1","hashtag2"]},{"1331387658":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331387642, 1331387633, 1331387656, 1331387658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.27229881286621 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:50:21.832031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/49/image_25012025_16_49_02_798771_0003.jpg', '/home/pi/Desktop/images/25012025/16/50/image_25012025_16_50_02_988108_0000.jpg', '/home/pi/Desktop/images/25012025/16/50/image_25012025_16_50_02_988108_0001.jpg', '/home/pi/Desktop/images/25012025/16/50/image_25012025_16_50_02_988108_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/49/image_25012025_16_49_02_798771_0003.jpg
/home/pi/Desktop/images/25012025/16/50/image_25012025_16_50_02_988108_0000.jpg
/home/pi/Desktop/images/25012025/16/50/image_25012025_16_50_02_988108_0001.jpg
/home/pi/Desktop/images/25012025/16/50/image_25012025_16_50_02_988108_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":["1331387699","1331387688","1331387682","1331387676"],"photo_ids_order":["1331387676","1331387682","1331387688","1331387699"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/367d221f2a6252a0638c1c938af358be.jpg","text":"TemporaryFile(/tmp/multipartBody2138720761696871360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820293066,"filename":"image_25012025_16_50_02_988108_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/05f1e13314b5ad936541fc1a23a85832.jpg","text":"TemporaryFile(/tmp/multipartBody8944865683990143786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820293066,"filename":"image_25012025_16_50_02_988108_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0769990e8f56e4d31df988b84251c9a7.jpg","text":"TemporaryFile(/tmp/multipartBody7010662857184302497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820293066,"filename":"image_25012025_16_50_02_988108_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c165e522da88d9d69c96f0f18749e0f0.jpg","text":"TemporaryFile(/tmp/multipartBody7626806160601346524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820293066,"filename":"image_25012025_16_49_02_798771_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331387688","file1":"1331387682","file0":"1331387676","file3":"1331387699"},"map_files_photo_id_array":[{"photo_id":"1331387688","filename":"file2"},{"photo_id":"1331387682","filename":"file1"},{"photo_id":"1331387676","filename":"file0"},{"photo_id":"1331387699","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331387699":["hashtag1","hashtag2"]},{"1331387688":["hashtag1","hashtag2"]},{"1331387682":["hashtag1","hashtag2"]},{"1331387676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331387699, 1331387688, 1331387682, 1331387676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.4143853187561 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 16:51:02.608324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/37/image_21012025_21_37_02_243889_0000.jpg', '/home/pi/Desktop/images/21012025/21/37/image_21012025_21_37_02_243889_0001.jpg', '/home/pi/Desktop/images/21012025/21/38/image_21012025_21_38_02_419422_0000.jpg', '/home/pi/Desktop/images/21012025/21/38/image_21012025_21_38_02_419422_0001.jpg', '/home/pi/Desktop/images/21012025/21/38/image_21012025_21_38_02_419422_0002.jpg', '/home/pi/Desktop/images/21012025/21/38/image_21012025_21_38_02_419422_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/21/37/image_21012025_21_37_02_243889_0000.jpg
/home/pi/Desktop/images/21012025/21/37/image_21012025_21_37_02_243889_0001.jpg
/home/pi/Desktop/images/21012025/21/38/image_21012025_21_38_02_419422_0000.jpg
/home/pi/Desktop/images/21012025/21/38/image_21012025_21_38_02_419422_0001.jpg
/home/pi/Desktop/images/21012025/21/38/image_21012025_21_38_02_419422_0002.jpg
/home/pi/Desktop/images/21012025/21/38/image_21012025_21_38_02_419422_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 [200]>
b'{"photo_ids":["1331388566","1331388889","1331388280","1331388897","1331387914","1331388893"],"photo_ids_order":["1331387914","1331388280","1331388566","1331388889","1331388893","1331388897"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/df9c914a090808983d82b7716069917f.jpg","text":"TemporaryFile(/tmp/multipartBody1428525519554424378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820338977,"filename":"image_21012025_21_38_02_419422_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/892e6b728164c3259699415ba957123c.jpg","text":"TemporaryFile(/tmp/multipartBody64662290486023137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820338977,"filename":"image_21012025_21_38_02_419422_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/01c68df9d551d3b5f480b7131f2523ba.jpg","text":"TemporaryFile(/tmp/multipartBody655483786610920311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820338977,"filename":"image_21012025_21_37_02_243889_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/016136601e9a0ba5b1ed05fdbd5f5c98.jpg","text":"TemporaryFile(/tmp/multipartBody5877612898113540491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820338977,"filename":"image_21012025_21_38_02_419422_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4aa2e0e6100ea9e8bf22219116239645.jpg","text":"TemporaryFile(/tmp/multipartBody8674278680449859781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820338977,"filename":"image_21012025_21_37_02_243889_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3231e17f8fb38f1e6e06f7a2d16a6c79.jpg","text":"TemporaryFile(/tmp/multipartBody4714098215193021018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820338977,"filename":"image_21012025_21_38_02_419422_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331388566","file1":"1331388280","file0":"1331387914","file4":"1331388893","file5":"1331388897","file3":"1331388889"},"map_files_photo_id_array":[{"photo_id":"1331388897","filename":"file5"},{"photo_id":"1331388566","filename":"file2"},{"photo_id":"1331388893","filename":"file4"},{"photo_id":"1331388280","filename":"file1"},{"photo_id":"1331387914","filename":"file0"},{"photo_id":"1331388889","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331388566":["hashtag1","hashtag2"]},{"1331388889":["hashtag1","hashtag2"]},{"1331388280":["hashtag1","hashtag2"]},{"1331388897":["hashtag1","hashtag2"]},{"1331387914":["hashtag1","hashtag2"]},{"1331388893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331388566, 1331388889, 1331388280, 1331388897, 1331387914, 1331388893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.89577341079712 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 16:52:02.602078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/50/image_25012025_16_50_02_988108_0003.jpg', '/home/pi/Desktop/images/25012025/16/51/image_25012025_16_51_02_147083_0000.jpg', '/home/pi/Desktop/images/25012025/16/51/image_25012025_16_51_02_147083_0001.jpg', '/home/pi/Desktop/images/25012025/16/51/image_25012025_16_51_02_147083_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/50/image_25012025_16_50_02_988108_0003.jpg
/home/pi/Desktop/images/25012025/16/51/image_25012025_16_51_02_147083_0000.jpg
/home/pi/Desktop/images/25012025/16/51/image_25012025_16_51_02_147083_0001.jpg
/home/pi/Desktop/images/25012025/16/51/image_25012025_16_51_02_147083_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.886841297149658 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:52:22.229471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/50/image_25012025_16_50_02_988108_0003.jpg', '/home/pi/Desktop/images/25012025/16/51/image_25012025_16_51_02_147083_0000.jpg', '/home/pi/Desktop/images/25012025/16/51/image_25012025_16_51_02_147083_0001.jpg', '/home/pi/Desktop/images/25012025/16/51/image_25012025_16_51_02_147083_0002.jpg', '/home/pi/Desktop/images/25012025/16/51/image_25012025_16_51_02_147083_0003.jpg', '/home/pi/Desktop/images/25012025/16/52/image_25012025_16_52_02_448038_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/50/image_25012025_16_50_02_988108_0003.jpg
/home/pi/Desktop/images/25012025/16/51/image_25012025_16_51_02_147083_0000.jpg
/home/pi/Desktop/images/25012025/16/51/image_25012025_16_51_02_147083_0001.jpg
/home/pi/Desktop/images/25012025/16/51/image_25012025_16_51_02_147083_0002.jpg
/home/pi/Desktop/images/25012025/16/51/image_25012025_16_51_02_147083_0003.jpg
/home/pi/Desktop/images/25012025/16/52/image_25012025_16_52_02_448038_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 [200]>
b'{"photo_ids":["1331389349","1331389364","1331388929","1331388937","1331389026","1331388933"],"photo_ids_order":["1331388929","1331388933","1331388937","1331389026","1331389349","1331389364"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/55a908aa0495c29beecc32ee23c8277e.jpg","text":"TemporaryFile(/tmp/multipartBody7378014683298544503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820418829,"filename":"image_25012025_16_51_02_147083_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/34c19109142dd80d8f6d14ab037fbfbf.jpg","text":"TemporaryFile(/tmp/multipartBody2002411129331356713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820418829,"filename":"image_25012025_16_52_02_448038_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/711c5e6fc2a160ce9926f31226819027.jpg","text":"TemporaryFile(/tmp/multipartBody792704614954268485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820418829,"filename":"image_25012025_16_50_02_988108_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/46160cf38e2f2427244c5414e5361964.jpg","text":"TemporaryFile(/tmp/multipartBody7074076458088450421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820418829,"filename":"image_25012025_16_51_02_147083_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e020d0bb8f414163572111b50c763578.jpg","text":"TemporaryFile(/tmp/multipartBody2120411878402493623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820418829,"filename":"image_25012025_16_51_02_147083_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/521bdc9993a73420f81fdba94e173307.jpg","text":"TemporaryFile(/tmp/multipartBody3527062567595437396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820418829,"filename":"image_25012025_16_51_02_147083_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331388937","file1":"1331388933","file0":"1331388929","file4":"1331389349","file5":"1331389364","file3":"1331389026"},"map_files_photo_id_array":[{"photo_id":"1331389364","filename":"file5"},{"photo_id":"1331388937","filename":"file2"},{"photo_id":"1331389349","filename":"file4"},{"photo_id":"1331388933","filename":"file1"},{"photo_id":"1331388929","filename":"file0"},{"photo_id":"1331389026","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331389349":["hashtag1","hashtag2"]},{"1331389364":["hashtag1","hashtag2"]},{"1331388929":["hashtag1","hashtag2"]},{"1331388937":["hashtag1","hashtag2"]},{"1331389026":["hashtag1","hashtag2"]},{"1331388933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331389349, 1331389364, 1331388929, 1331388937, 1331389026, 1331388933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.510825872421265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:53:22.416930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/52/image_25012025_16_52_02_448038_0001.jpg', '/home/pi/Desktop/images/25012025/16/52/image_25012025_16_52_02_448038_0002.jpg', '/home/pi/Desktop/images/25012025/16/52/image_25012025_16_52_02_448038_0003.jpg', '/home/pi/Desktop/images/25012025/16/53/image_25012025_16_53_02_587706_0000.jpg', '/home/pi/Desktop/images/25012025/16/53/image_25012025_16_53_02_587706_0001.jpg', '/home/pi/Desktop/images/25012025/16/53/image_25012025_16_53_02_587706_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/52/image_25012025_16_52_02_448038_0001.jpg
/home/pi/Desktop/images/25012025/16/52/image_25012025_16_52_02_448038_0002.jpg
/home/pi/Desktop/images/25012025/16/52/image_25012025_16_52_02_448038_0003.jpg
/home/pi/Desktop/images/25012025/16/53/image_25012025_16_53_02_587706_0000.jpg
/home/pi/Desktop/images/25012025/16/53/image_25012025_16_53_02_587706_0001.jpg
/home/pi/Desktop/images/25012025/16/53/image_25012025_16_53_02_587706_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 [200]>
b'{"photo_ids":["1331389733","1331389870","1331389993","1331390101","1331389536","1331389611"],"photo_ids_order":["1331389536","1331389611","1331389733","1331389870","1331389993","1331390101"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/af619356a537147d0bd0b0bb8e89394e.jpg","text":"TemporaryFile(/tmp/multipartBody207988662377527371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820479374,"filename":"image_25012025_16_52_02_448038_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/45d56118c922310af8fd6008404e4f5c.jpg","text":"TemporaryFile(/tmp/multipartBody3697623406580284040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820479374,"filename":"image_25012025_16_53_02_587706_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d38b024a2c54065a0014b0409cea4c2a.jpg","text":"TemporaryFile(/tmp/multipartBody8211490501789915728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820479374,"filename":"image_25012025_16_53_02_587706_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/919dc9a9ca6116bc541e23a1c472dac3.jpg","text":"TemporaryFile(/tmp/multipartBody1271260480828115293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820479374,"filename":"image_25012025_16_53_02_587706_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5523deba92d82ab8b07b3dc1dbf3173e.jpg","text":"TemporaryFile(/tmp/multipartBody2820691338250608997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820479374,"filename":"image_25012025_16_52_02_448038_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a254a0b6ae9b19506057a30e55141717.jpg","text":"TemporaryFile(/tmp/multipartBody8304734493439169587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820479374,"filename":"image_25012025_16_52_02_448038_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331389733","file1":"1331389611","file0":"1331389536","file4":"1331389993","file5":"1331390101","file3":"1331389870"},"map_files_photo_id_array":[{"photo_id":"1331390101","filename":"file5"},{"photo_id":"1331389733","filename":"file2"},{"photo_id":"1331389993","filename":"file4"},{"photo_id":"1331389611","filename":"file1"},{"photo_id":"1331389536","filename":"file0"},{"photo_id":"1331389870","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331389733":["hashtag1","hashtag2"]},{"1331389870":["hashtag1","hashtag2"]},{"1331389993":["hashtag1","hashtag2"]},{"1331390101":["hashtag1","hashtag2"]},{"1331389536":["hashtag1","hashtag2"]},{"1331389611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331389733, 1331389870, 1331389993, 1331390101, 1331389536, 1331389611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.44769310951233 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:54:22.614018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/53/image_25012025_16_53_02_587706_0003.jpg', '/home/pi/Desktop/images/25012025/16/54/image_25012025_16_54_02_809635_0000.jpg', '/home/pi/Desktop/images/25012025/16/54/image_25012025_16_54_02_809635_0001.jpg', '/home/pi/Desktop/images/25012025/16/54/image_25012025_16_54_02_809635_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/53/image_25012025_16_53_02_587706_0003.jpg
/home/pi/Desktop/images/25012025/16/54/image_25012025_16_54_02_809635_0000.jpg
/home/pi/Desktop/images/25012025/16/54/image_25012025_16_54_02_809635_0001.jpg
/home/pi/Desktop/images/25012025/16/54/image_25012025_16_54_02_809635_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 [200]>
b'{"photo_ids":["1331390406","1331390135","1331390413","1331390110"],"photo_ids_order":["1331390110","1331390135","1331390406","1331390413"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cd4e21ba5d284b5a2ec2ff6af10a2f65.jpg","text":"TemporaryFile(/tmp/multipartBody7979494133310873940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820533711,"filename":"image_25012025_16_54_02_809635_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b501997ef857530220166692cf414cf4.jpg","text":"TemporaryFile(/tmp/multipartBody6565407145766493846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820533711,"filename":"image_25012025_16_54_02_809635_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/139bf87b59c80f27d7f9dc5a80e1dd1a.jpg","text":"TemporaryFile(/tmp/multipartBody241941327225288013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820533711,"filename":"image_25012025_16_54_02_809635_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c59f39150b3d4c90d4ce124c14ca7bf.jpg","text":"TemporaryFile(/tmp/multipartBody4603925801883450237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820533711,"filename":"image_25012025_16_53_02_587706_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331390406","file1":"1331390135","file0":"1331390110","file3":"1331390413"},"map_files_photo_id_array":[{"photo_id":"1331390406","filename":"file2"},{"photo_id":"1331390135","filename":"file1"},{"photo_id":"1331390110","filename":"file0"},{"photo_id":"1331390413","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331390406":["hashtag1","hashtag2"]},{"1331390135":["hashtag1","hashtag2"]},{"1331390413":["hashtag1","hashtag2"]},{"1331390110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331390406, 1331390135, 1331390413, 1331390110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.22010111808777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 16:55:21.832213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/54/image_25012025_16_54_02_809635_0003.jpg', '/home/pi/Desktop/images/25012025/16/55/image_25012025_16_55_02_972680_0000.jpg', '/home/pi/Desktop/images/25012025/16/55/image_25012025_16_55_02_972680_0001.jpg', '/home/pi/Desktop/images/25012025/16/55/image_25012025_16_55_02_972680_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/54/image_25012025_16_54_02_809635_0003.jpg
/home/pi/Desktop/images/25012025/16/55/image_25012025_16_55_02_972680_0000.jpg
/home/pi/Desktop/images/25012025/16/55/image_25012025_16_55_02_972680_0001.jpg
/home/pi/Desktop/images/25012025/16/55/image_25012025_16_55_02_972680_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":["1331390849","1331390965","1331390866","1331390902"],"photo_ids_order":["1331390849","1331390866","1331390902","1331390965"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/489385251d607508b9ad7385da759b85.jpg","text":"TemporaryFile(/tmp/multipartBody7697306304497131292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820592943,"filename":"image_25012025_16_54_02_809635_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/718c98127b1a89cad0c0980cbdc759e0.jpg","text":"TemporaryFile(/tmp/multipartBody7212028979456761004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820592943,"filename":"image_25012025_16_55_02_972680_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/43a4425007c1514c458aabc1a944aee2.jpg","text":"TemporaryFile(/tmp/multipartBody4705433294186668891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820592943,"filename":"image_25012025_16_55_02_972680_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c42b1f47d788b95d54b9387de48634f.jpg","text":"TemporaryFile(/tmp/multipartBody6154545066151237691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820592943,"filename":"image_25012025_16_55_02_972680_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331390902","file1":"1331390866","file0":"1331390849","file3":"1331390965"},"map_files_photo_id_array":[{"photo_id":"1331390902","filename":"file2"},{"photo_id":"1331390866","filename":"file1"},{"photo_id":"1331390849","filename":"file0"},{"photo_id":"1331390965","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331390849":["hashtag1","hashtag2"]},{"1331390965":["hashtag1","hashtag2"]},{"1331390866":["hashtag1","hashtag2"]},{"1331390902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331390849, 1331390965, 1331390866, 1331390902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.35954213142395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 16:56:02.476062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/39/image_21012025_21_39_02_652058_0000.jpg', '/home/pi/Desktop/images/21012025/21/39/image_21012025_21_39_02_652058_0001.jpg', '/home/pi/Desktop/images/21012025/21/39/image_21012025_21_39_02_652058_0002.jpg', '/home/pi/Desktop/images/21012025/21/39/image_21012025_21_39_02_652058_0003.jpg', '/home/pi/Desktop/images/21012025/21/40/image_21012025_21_40_02_832830_0000.jpg', '/home/pi/Desktop/images/21012025/21/40/image_21012025_21_40_02_832830_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/21/39/image_21012025_21_39_02_652058_0000.jpg
/home/pi/Desktop/images/21012025/21/39/image_21012025_21_39_02_652058_0001.jpg
/home/pi/Desktop/images/21012025/21/39/image_21012025_21_39_02_652058_0002.jpg
/home/pi/Desktop/images/21012025/21/39/image_21012025_21_39_02_652058_0003.jpg
/home/pi/Desktop/images/21012025/21/40/image_21012025_21_40_02_832830_0000.jpg
/home/pi/Desktop/images/21012025/21/40/image_21012025_21_40_02_832830_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":["1331391089","1331391094","1331391082","1331391238","1331391120","1331391098"],"photo_ids_order":["1331391082","1331391089","1331391094","1331391098","1331391120","1331391238"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/065a4a304bc6202934ea48e3eb63c848.jpg","text":"TemporaryFile(/tmp/multipartBody8842363229173498126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820639015,"filename":"image_21012025_21_39_02_652058_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1029855aa04515fd25012309c1dd2998.jpg","text":"TemporaryFile(/tmp/multipartBody746022470935274860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820639015,"filename":"image_21012025_21_39_02_652058_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8e57fbaf535076022f026db95c0228f4.jpg","text":"TemporaryFile(/tmp/multipartBody1229562723364080803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820639015,"filename":"image_21012025_21_39_02_652058_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b73a2ce228014094206c56d4795f05d.jpg","text":"TemporaryFile(/tmp/multipartBody1982909830308452978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820639015,"filename":"image_21012025_21_40_02_832830_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bbd3a3f6396014b8139bce67abf70a6d.jpg","text":"TemporaryFile(/tmp/multipartBody2271797528612388421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820639015,"filename":"image_21012025_21_40_02_832830_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b7bcdc7c2e34fd0df679ef46df55b75a.jpg","text":"TemporaryFile(/tmp/multipartBody7434132888866579221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820639015,"filename":"image_21012025_21_39_02_652058_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331391094","file1":"1331391089","file0":"1331391082","file4":"1331391120","file5":"1331391238","file3":"1331391098"},"map_files_photo_id_array":[{"photo_id":"1331391238","filename":"file5"},{"photo_id":"1331391094","filename":"file2"},{"photo_id":"1331391120","filename":"file4"},{"photo_id":"1331391089","filename":"file1"},{"photo_id":"1331391082","filename":"file0"},{"photo_id":"1331391098","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331391089":["hashtag1","hashtag2"]},{"1331391094":["hashtag1","hashtag2"]},{"1331391082":["hashtag1","hashtag2"]},{"1331391238":["hashtag1","hashtag2"]},{"1331391120":["hashtag1","hashtag2"]},{"1331391098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331391089, 1331391094, 1331391082, 1331391238, 1331391120, 1331391098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.243406772613525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 16:57:02.874814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/55/image_25012025_16_55_02_972680_0003.jpg', '/home/pi/Desktop/images/25012025/16/56/image_25012025_16_56_02_132223_0000.jpg', '/home/pi/Desktop/images/25012025/16/56/image_25012025_16_56_02_132223_0001.jpg', '/home/pi/Desktop/images/25012025/16/56/image_25012025_16_56_02_132223_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/55/image_25012025_16_55_02_972680_0003.jpg
/home/pi/Desktop/images/25012025/16/56/image_25012025_16_56_02_132223_0000.jpg
/home/pi/Desktop/images/25012025/16/56/image_25012025_16_56_02_132223_0001.jpg
/home/pi/Desktop/images/25012025/16/56/image_25012025_16_56_02_132223_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":["1331391478","1331391469","1331391480","1331391473"],"photo_ids_order":["1331391469","1331391473","1331391478","1331391480"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8a55823a5549dc8445837d2d4c605702.jpg","text":"TemporaryFile(/tmp/multipartBody837339097785855238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820693855,"filename":"image_25012025_16_56_02_132223_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/94c481cc9ccf9c1faf117c4092082bfa.jpg","text":"TemporaryFile(/tmp/multipartBody5211607956162365616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820693855,"filename":"image_25012025_16_55_02_972680_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/25341fe32dc1cb4cd899d22ce2d56694.jpg","text":"TemporaryFile(/tmp/multipartBody6155818187298120732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820693855,"filename":"image_25012025_16_56_02_132223_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1fb0793db633827f46d73187a88d3542.jpg","text":"TemporaryFile(/tmp/multipartBody3539435476033131824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820693855,"filename":"image_25012025_16_56_02_132223_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331391478","file1":"1331391473","file0":"1331391469","file3":"1331391480"},"map_files_photo_id_array":[{"photo_id":"1331391478","filename":"file2"},{"photo_id":"1331391473","filename":"file1"},{"photo_id":"1331391469","filename":"file0"},{"photo_id":"1331391480","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331391478":["hashtag1","hashtag2"]},{"1331391469":["hashtag1","hashtag2"]},{"1331391480":["hashtag1","hashtag2"]},{"1331391473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331391478, 1331391469, 1331391480, 1331391473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01425623893738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 16:57:52.138898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/56/image_25012025_16_56_02_132223_0003.jpg', '/home/pi/Desktop/images/25012025/16/57/image_25012025_16_57_02_358564_0000.jpg', '/home/pi/Desktop/images/25012025/16/57/image_25012025_16_57_02_358564_0001.jpg', '/home/pi/Desktop/images/25012025/16/57/image_25012025_16_57_02_358564_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/56/image_25012025_16_56_02_132223_0003.jpg
/home/pi/Desktop/images/25012025/16/57/image_25012025_16_57_02_358564_0000.jpg
/home/pi/Desktop/images/25012025/16/57/image_25012025_16_57_02_358564_0001.jpg
/home/pi/Desktop/images/25012025/16/57/image_25012025_16_57_02_358564_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-25 16:59:03.163734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/56/image_25012025_16_56_02_132223_0003.jpg', '/home/pi/Desktop/images/25012025/16/57/image_25012025_16_57_02_358564_0000.jpg', '/home/pi/Desktop/images/25012025/16/57/image_25012025_16_57_02_358564_0001.jpg', '/home/pi/Desktop/images/25012025/16/57/image_25012025_16_57_02_358564_0002.jpg', '/home/pi/Desktop/images/25012025/16/57/image_25012025_16_57_02_358564_0003.jpg', '/home/pi/Desktop/images/25012025/16/58/image_25012025_16_58_02_530910_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/56/image_25012025_16_56_02_132223_0003.jpg
/home/pi/Desktop/images/25012025/16/57/image_25012025_16_57_02_358564_0000.jpg
/home/pi/Desktop/images/25012025/16/57/image_25012025_16_57_02_358564_0001.jpg
/home/pi/Desktop/images/25012025/16/57/image_25012025_16_57_02_358564_0002.jpg
/home/pi/Desktop/images/25012025/16/57/image_25012025_16_57_02_358564_0003.jpg
/home/pi/Desktop/images/25012025/16/58/image_25012025_16_58_02_530910_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 [200]>
b'{"photo_ids":["1331391577","1331391565","1331391574","1331391582","1331391569","1331391560"],"photo_ids_order":["1331391560","1331391565","1331391569","1331391574","1331391577","1331391582"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cd3574c431cb2d2af3e9646ddf93c454.jpg","text":"TemporaryFile(/tmp/multipartBody2159784669833322025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820819744,"filename":"image_25012025_16_57_02_358564_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/560da0bf487a4f055737b5bb94e2aff4.jpg","text":"TemporaryFile(/tmp/multipartBody870713460209954702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820819744,"filename":"image_25012025_16_57_02_358564_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/54825da34748a7e851211fdce93b79d9.jpg","text":"TemporaryFile(/tmp/multipartBody8653781244158158644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820819744,"filename":"image_25012025_16_57_02_358564_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c3541ec0e3dc90057bcf6f59c2b0d6ef.jpg","text":"TemporaryFile(/tmp/multipartBody8839191835121542800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820819744,"filename":"image_25012025_16_58_02_530910_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/82e96640be05fbcbe4bb67e823bbfceb.jpg","text":"TemporaryFile(/tmp/multipartBody1667428154161160892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820819744,"filename":"image_25012025_16_57_02_358564_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/091b23d16d9df46a85527e36878e6b66.jpg","text":"TemporaryFile(/tmp/multipartBody365185369972867743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820819744,"filename":"image_25012025_16_56_02_132223_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331391569","file1":"1331391565","file0":"1331391560","file4":"1331391577","file5":"1331391582","file3":"1331391574"},"map_files_photo_id_array":[{"photo_id":"1331391582","filename":"file5"},{"photo_id":"1331391569","filename":"file2"},{"photo_id":"1331391577","filename":"file4"},{"photo_id":"1331391565","filename":"file1"},{"photo_id":"1331391560","filename":"file0"},{"photo_id":"1331391574","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331391577":["hashtag1","hashtag2"]},{"1331391565":["hashtag1","hashtag2"]},{"1331391574":["hashtag1","hashtag2"]},{"1331391582":["hashtag1","hashtag2"]},{"1331391569":["hashtag1","hashtag2"]},{"1331391560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331391577, 1331391565, 1331391574, 1331391582, 1331391569, 1331391560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.29209280014038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 17:00:02.973937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/58/image_25012025_16_58_02_530910_0001.jpg', '/home/pi/Desktop/images/25012025/16/58/image_25012025_16_58_02_530910_0002.jpg', '/home/pi/Desktop/images/25012025/16/59/image_25012025_16_59_02_661455_0000.jpg', '/home/pi/Desktop/images/25012025/16/59/image_25012025_16_59_02_661455_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/58/image_25012025_16_58_02_530910_0001.jpg
/home/pi/Desktop/images/25012025/16/58/image_25012025_16_58_02_530910_0002.jpg
/home/pi/Desktop/images/25012025/16/59/image_25012025_16_59_02_661455_0000.jpg
/home/pi/Desktop/images/25012025/16/59/image_25012025_16_59_02_661455_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":["1331391613","1331391601","1331391607","1331391621"],"photo_ids_order":["1331391601","1331391607","1331391613","1331391621"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f6a8008602d520c2641efdca15c09bce.jpg","text":"TemporaryFile(/tmp/multipartBody788149212710908850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820874315,"filename":"image_25012025_16_59_02_661455_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e060aef11df45f89f1652484fc10e3d5.jpg","text":"TemporaryFile(/tmp/multipartBody8500172867707335531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820874315,"filename":"image_25012025_16_58_02_530910_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7804ee95250494516311038709751f5e.jpg","text":"TemporaryFile(/tmp/multipartBody738431590506416985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820874315,"filename":"image_25012025_16_58_02_530910_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ab1a1897a8dbc680534e79f668782893.jpg","text":"TemporaryFile(/tmp/multipartBody7813221432338362211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820874315,"filename":"image_25012025_16_59_02_661455_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331391613","file1":"1331391607","file0":"1331391601","file3":"1331391621"},"map_files_photo_id_array":[{"photo_id":"1331391613","filename":"file2"},{"photo_id":"1331391607","filename":"file1"},{"photo_id":"1331391601","filename":"file0"},{"photo_id":"1331391621","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331391613":["hashtag1","hashtag2"]},{"1331391601":["hashtag1","hashtag2"]},{"1331391607":["hashtag1","hashtag2"]},{"1331391621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331391613, 1331391601, 1331391607, 1331391621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.50786876678467 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 17:00:52.686496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/16/59/image_25012025_16_59_02_661455_0003.jpg', '/home/pi/Desktop/images/25012025/17/00/image_25012025_17_00_02_825584_0000.jpg', '/home/pi/Desktop/images/25012025/17/00/image_25012025_17_00_02_825584_0001.jpg', '/home/pi/Desktop/images/25012025/17/00/image_25012025_17_00_02_825584_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/16/59/image_25012025_16_59_02_661455_0003.jpg
/home/pi/Desktop/images/25012025/17/00/image_25012025_17_00_02_825584_0000.jpg
/home/pi/Desktop/images/25012025/17/00/image_25012025_17_00_02_825584_0001.jpg
/home/pi/Desktop/images/25012025/17/00/image_25012025_17_00_02_825584_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":["1331391879","1331391837","1331391804","1331391875"],"photo_ids_order":["1331391804","1331391837","1331391875","1331391879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/878474407176579585a05b400cf39907.jpg","text":"TemporaryFile(/tmp/multipartBody7879987453338859435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820923957,"filename":"image_25012025_17_00_02_825584_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5e0a53239e7e1b6a312311042ef70c57.jpg","text":"TemporaryFile(/tmp/multipartBody8192426283121993814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820923957,"filename":"image_25012025_17_00_02_825584_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9633491acc918d27208192682030b982.jpg","text":"TemporaryFile(/tmp/multipartBody2994295850166375187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820923957,"filename":"image_25012025_16_59_02_661455_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8b884991ce5bc61188673f3f9edd22ab.jpg","text":"TemporaryFile(/tmp/multipartBody467766572290951664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820923957,"filename":"image_25012025_17_00_02_825584_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331391875","file1":"1331391837","file0":"1331391804","file3":"1331391879"},"map_files_photo_id_array":[{"photo_id":"1331391875","filename":"file2"},{"photo_id":"1331391837","filename":"file1"},{"photo_id":"1331391804","filename":"file0"},{"photo_id":"1331391879","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331391879":["hashtag1","hashtag2"]},{"1331391837":["hashtag1","hashtag2"]},{"1331391804":["hashtag1","hashtag2"]},{"1331391875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331391879, 1331391837, 1331391804, 1331391875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.485954999923706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 17:01:41.901985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/00/image_25012025_17_00_02_825584_0003.jpg', '/home/pi/Desktop/images/25012025/17/01/image_25012025_17_01_03_104209_0000.jpg', '/home/pi/Desktop/images/25012025/17/01/image_25012025_17_01_03_104209_0001.jpg', '/home/pi/Desktop/images/25012025/17/01/image_25012025_17_01_03_104209_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/00/image_25012025_17_00_02_825584_0003.jpg
/home/pi/Desktop/images/25012025/17/01/image_25012025_17_01_03_104209_0000.jpg
/home/pi/Desktop/images/25012025/17/01/image_25012025_17_01_03_104209_0001.jpg
/home/pi/Desktop/images/25012025/17/01/image_25012025_17_01_03_104209_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: 10.877628087997437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 17:02:02.480556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/00/image_25012025_17_00_02_825584_0003.jpg', '/home/pi/Desktop/images/25012025/17/01/image_25012025_17_01_03_104209_0000.jpg', '/home/pi/Desktop/images/25012025/17/01/image_25012025_17_01_03_104209_0001.jpg', '/home/pi/Desktop/images/25012025/17/01/image_25012025_17_01_03_104209_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/00/image_25012025_17_00_02_825584_0003.jpg
/home/pi/Desktop/images/25012025/17/01/image_25012025_17_01_03_104209_0000.jpg
/home/pi/Desktop/images/25012025/17/01/image_25012025_17_01_03_104209_0001.jpg
/home/pi/Desktop/images/25012025/17/01/image_25012025_17_01_03_104209_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":["1331393110","1331392633","1331393106","1331392947"],"photo_ids_order":["1331392633","1331392947","1331393106","1331393110"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4d9d240ab58000bdb709ade005ec5f8b.jpg","text":"TemporaryFile(/tmp/multipartBody5488828115380214254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820993764,"filename":"image_25012025_17_01_03_104209_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/96bf4777e809b22b401ac99f0a17d6a9.jpg","text":"TemporaryFile(/tmp/multipartBody3110898717347731965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820993764,"filename":"image_25012025_17_00_02_825584_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6a66d21b855fbdf073bba74d0ce90774.jpg","text":"TemporaryFile(/tmp/multipartBody6995010394668659360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820993764,"filename":"image_25012025_17_01_03_104209_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a027ed9d3ad480d0140b90ef79f5fbd6.jpg","text":"TemporaryFile(/tmp/multipartBody529566762388714912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737820993764,"filename":"image_25012025_17_01_03_104209_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331393106","file1":"1331392947","file0":"1331392633","file3":"1331393110"},"map_files_photo_id_array":[{"photo_id":"1331393106","filename":"file2"},{"photo_id":"1331392947","filename":"file1"},{"photo_id":"1331392633","filename":"file0"},{"photo_id":"1331393110","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331393110":["hashtag1","hashtag2"]},{"1331392633":["hashtag1","hashtag2"]},{"1331393106":["hashtag1","hashtag2"]},{"1331392947":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331393110, 1331392633, 1331393106, 1331392947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.29786157608032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 17:02:52.033064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/01/image_25012025_17_01_03_104209_0003.jpg', '/home/pi/Desktop/images/25012025/17/02/image_25012025_17_02_02_210879_0000.jpg', '/home/pi/Desktop/images/25012025/17/02/image_25012025_17_02_02_210879_0001.jpg', '/home/pi/Desktop/images/25012025/17/02/image_25012025_17_02_02_210879_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/01/image_25012025_17_01_03_104209_0003.jpg
/home/pi/Desktop/images/25012025/17/02/image_25012025_17_02_02_210879_0000.jpg
/home/pi/Desktop/images/25012025/17/02/image_25012025_17_02_02_210879_0001.jpg
/home/pi/Desktop/images/25012025/17/02/image_25012025_17_02_02_210879_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":["1331393274","1331393393","1331393129","1331393132"],"photo_ids_order":["1331393129","1331393132","1331393274","1331393393"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5f85f0cb194208851e3c91874543abae.jpg","text":"TemporaryFile(/tmp/multipartBody1825670035306796165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821043313,"filename":"image_25012025_17_02_02_210879_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/360ee20232d432d2b5badd933c8449f8.jpg","text":"TemporaryFile(/tmp/multipartBody1989789279937982623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821043313,"filename":"image_25012025_17_02_02_210879_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f59733ce33ee3b2b0f7d7bc4566f208d.jpg","text":"TemporaryFile(/tmp/multipartBody4065146080371424842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821043313,"filename":"image_25012025_17_01_03_104209_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1d72a6046667c51d2f771e052e68506a.jpg","text":"TemporaryFile(/tmp/multipartBody7429738687293312262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821043313,"filename":"image_25012025_17_02_02_210879_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331393274","file1":"1331393132","file0":"1331393129","file3":"1331393393"},"map_files_photo_id_array":[{"photo_id":"1331393274","filename":"file2"},{"photo_id":"1331393132","filename":"file1"},{"photo_id":"1331393129","filename":"file0"},{"photo_id":"1331393393","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331393274":["hashtag1","hashtag2"]},{"1331393393":["hashtag1","hashtag2"]},{"1331393129":["hashtag1","hashtag2"]},{"1331393132":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331393274, 1331393393, 1331393129, 1331393132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.040642499923706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 17:03:42.297961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/02/image_25012025_17_02_02_210879_0003.jpg', '/home/pi/Desktop/images/25012025/17/03/image_25012025_17_03_02_402414_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/02/image_25012025_17_02_02_210879_0003.jpg
/home/pi/Desktop/images/25012025/17/03/image_25012025_17_03_02_402414_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":["1331394209","1331394241"],"photo_ids_order":["1331394209","1331394241"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/576e2d08633507e925ea802af41e2683.jpg","text":"TemporaryFile(/tmp/multipartBody2520838482964343181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821088257,"filename":"image_25012025_17_02_02_210879_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f9932074a553a5a44cc3a12f5005a6f5.jpg","text":"TemporaryFile(/tmp/multipartBody2865711877317915822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821088257,"filename":"image_25012025_17_03_02_402414_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1331394241","file0":"1331394209"},"map_files_photo_id_array":[{"photo_id":"1331394241","filename":"file1"},{"photo_id":"1331394209","filename":"file0"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331394209":["hashtag1","hashtag2"]},{"1331394241":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331394209, 1331394241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.668174982070923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:04:22.464150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/03/image_25012025_17_03_02_402414_0001.jpg', '/home/pi/Desktop/images/25012025/17/04/image_25012025_17_04_02_567088_0000.jpg', '/home/pi/Desktop/images/25012025/17/04/image_25012025_17_04_02_567088_0001.jpg', '/home/pi/Desktop/images/25012025/17/04/image_25012025_17_04_02_567088_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/03/image_25012025_17_03_02_402414_0001.jpg
/home/pi/Desktop/images/25012025/17/04/image_25012025_17_04_02_567088_0000.jpg
/home/pi/Desktop/images/25012025/17/04/image_25012025_17_04_02_567088_0001.jpg
/home/pi/Desktop/images/25012025/17/04/image_25012025_17_04_02_567088_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":["1331394531","1331394475","1331394361","1331394492"],"photo_ids_order":["1331394361","1331394475","1331394492","1331394531"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/df935af6fbbbabe09f6ec3f82e055a30.jpg","text":"TemporaryFile(/tmp/multipartBody2401042082262913398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821133743,"filename":"image_25012025_17_04_02_567088_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/db4af3933b2df42875ecd9f139ff5783.jpg","text":"TemporaryFile(/tmp/multipartBody6052867223896652477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821133743,"filename":"image_25012025_17_04_02_567088_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/154d7df816dc814a9cfb0c90d81a78b0.jpg","text":"TemporaryFile(/tmp/multipartBody3820281406423882180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821133743,"filename":"image_25012025_17_03_02_402414_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e32108bf9b301bde1b4959817a238bdd.jpg","text":"TemporaryFile(/tmp/multipartBody2925133410145866222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821133743,"filename":"image_25012025_17_04_02_567088_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331394492","file1":"1331394475","file0":"1331394361","file3":"1331394531"},"map_files_photo_id_array":[{"photo_id":"1331394492","filename":"file2"},{"photo_id":"1331394475","filename":"file1"},{"photo_id":"1331394361","filename":"file0"},{"photo_id":"1331394531","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331394531":["hashtag1","hashtag2"]},{"1331394475":["hashtag1","hashtag2"]},{"1331394361":["hashtag1","hashtag2"]},{"1331394492":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331394531, 1331394475, 1331394361, 1331394492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.4903302192688 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-25 17:05:22.615080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/04/image_25012025_17_04_02_567088_0003.jpg', '/home/pi/Desktop/images/25012025/17/05/image_25012025_17_05_02_828310_0000.jpg', '/home/pi/Desktop/images/25012025/17/05/image_25012025_17_05_02_828310_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/04/image_25012025_17_04_02_567088_0003.jpg
/home/pi/Desktop/images/25012025/17/05/image_25012025_17_05_02_828310_0000.jpg
/home/pi/Desktop/images/25012025/17/05/image_25012025_17_05_02_828310_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":["1331394618","1331394627","1331394623"],"photo_ids_order":["1331394618","1331394623","1331394627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fca20d6be758180f23f116836e5b4604.jpg","text":"TemporaryFile(/tmp/multipartBody292690660508344683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821191216,"filename":"image_25012025_17_04_02_567088_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f2b0a0164f0f5c024d20bf16ddba4d39.jpg","text":"TemporaryFile(/tmp/multipartBody4778875518837605504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821191216,"filename":"image_25012025_17_05_02_828310_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/395f484727f50223ed372e21cd503676.jpg","text":"TemporaryFile(/tmp/multipartBody5820026750569978854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821191216,"filename":"image_25012025_17_05_02_828310_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331394627","file1":"1331394623","file0":"1331394618"},"map_files_photo_id_array":[{"photo_id":"1331394627","filename":"file2"},{"photo_id":"1331394623","filename":"file1"},{"photo_id":"1331394618","filename":"file0"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331394618":["hashtag1","hashtag2"]},{"1331394627":["hashtag1","hashtag2"]},{"1331394623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331394618, 1331394627, 1331394623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.550036907196045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 17:06:03.177537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/40/image_21012025_21_40_02_832830_0002.jpg', '/home/pi/Desktop/images/21012025/21/40/image_21012025_21_40_02_832830_0003.jpg', '/home/pi/Desktop/images/21012025/21/41/image_21012025_21_41_03_044658_0000.jpg', '/home/pi/Desktop/images/21012025/21/41/image_21012025_21_41_03_044658_0001.jpg', '/home/pi/Desktop/images/21012025/21/41/image_21012025_21_41_03_044658_0002.jpg', '/home/pi/Desktop/images/21012025/21/41/image_21012025_21_41_03_044658_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/21/40/image_21012025_21_40_02_832830_0002.jpg
/home/pi/Desktop/images/21012025/21/40/image_21012025_21_40_02_832830_0003.jpg
/home/pi/Desktop/images/21012025/21/41/image_21012025_21_41_03_044658_0000.jpg
/home/pi/Desktop/images/21012025/21/41/image_21012025_21_41_03_044658_0001.jpg
/home/pi/Desktop/images/21012025/21/41/image_21012025_21_41_03_044658_0002.jpg
/home/pi/Desktop/images/21012025/21/41/image_21012025_21_41_03_044658_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":["1331394666","1331394645","1331394659","1331394674","1331394653","1331394649"],"photo_ids_order":["1331394645","1331394649","1331394653","1331394659","1331394666","1331394674"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c9959d17d64758513e9fd0b1f96cd8a8.jpg","text":"TemporaryFile(/tmp/multipartBody571342974572285850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821240384,"filename":"image_21012025_21_41_03_044658_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1c90e2eda82ea46ee2dae44c8cd3ae3e.jpg","text":"TemporaryFile(/tmp/multipartBody5617189990698328513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821240384,"filename":"image_21012025_21_40_02_832830_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f5589a88a6e35d2f5ba7f95ddf2abde8.jpg","text":"TemporaryFile(/tmp/multipartBody1099055883900730808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821240384,"filename":"image_21012025_21_41_03_044658_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ff4b75f51f36549b6b7b154ef37e5c98.jpg","text":"TemporaryFile(/tmp/multipartBody2242895489350303009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821240384,"filename":"image_21012025_21_41_03_044658_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a2d5b512a8c04de513f4c33ebaf7ad33.jpg","text":"TemporaryFile(/tmp/multipartBody1438423940309258377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821240384,"filename":"image_21012025_21_41_03_044658_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/113776a0b12f4c16d598750ca4a900d2.jpg","text":"TemporaryFile(/tmp/multipartBody8104068251031357143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821240384,"filename":"image_21012025_21_40_02_832830_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331394653","file1":"1331394649","file0":"1331394645","file4":"1331394666","file5":"1331394674","file3":"1331394659"},"map_files_photo_id_array":[{"photo_id":"1331394674","filename":"file5"},{"photo_id":"1331394653","filename":"file2"},{"photo_id":"1331394666","filename":"file4"},{"photo_id":"1331394649","filename":"file1"},{"photo_id":"1331394645","filename":"file0"},{"photo_id":"1331394659","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331394666":["hashtag1","hashtag2"]},{"1331394645":["hashtag1","hashtag2"]},{"1331394659":["hashtag1","hashtag2"]},{"1331394674":["hashtag1","hashtag2"]},{"1331394653":["hashtag1","hashtag2"]},{"1331394649":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331394666, 1331394645, 1331394659, 1331394674, 1331394653, 1331394649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.44089651107788 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:07:22.051626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/05/image_25012025_17_05_02_828310_0003.jpg', '/home/pi/Desktop/images/25012025/17/06/image_25012025_17_06_03_003964_0000.jpg', '/home/pi/Desktop/images/25012025/17/06/image_25012025_17_06_03_003964_0001.jpg', '/home/pi/Desktop/images/25012025/17/06/image_25012025_17_06_03_003964_0002.jpg', '/home/pi/Desktop/images/25012025/17/06/image_25012025_17_06_03_003964_0003.jpg', '/home/pi/Desktop/images/25012025/17/07/image_25012025_17_07_03_108894_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/05/image_25012025_17_05_02_828310_0003.jpg
/home/pi/Desktop/images/25012025/17/06/image_25012025_17_06_03_003964_0000.jpg
/home/pi/Desktop/images/25012025/17/06/image_25012025_17_06_03_003964_0001.jpg
/home/pi/Desktop/images/25012025/17/06/image_25012025_17_06_03_003964_0002.jpg
/home/pi/Desktop/images/25012025/17/06/image_25012025_17_06_03_003964_0003.jpg
/home/pi/Desktop/images/25012025/17/07/image_25012025_17_07_03_108894_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 [200]>
b'{"photo_ids":["1331395458","1331395469","1331395426","1331395507","1331395306","1331395533"],"photo_ids_order":["1331395306","1331395426","1331395458","1331395469","1331395507","1331395533"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/db5de05a18a7ff86810c2279ba46a678.jpg","text":"TemporaryFile(/tmp/multipartBody1590071510921372306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821318876,"filename":"image_25012025_17_06_03_003964_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/012624d550c651edd521638a242193fc.jpg","text":"TemporaryFile(/tmp/multipartBody4355540003453037778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821318876,"filename":"image_25012025_17_06_03_003964_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e264dad76dab704d6e32b1dec0bdafa0.jpg","text":"TemporaryFile(/tmp/multipartBody728570631262762812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821318876,"filename":"image_25012025_17_06_03_003964_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b9265ae5fd517e6ed2cba438324d3ada.jpg","text":"TemporaryFile(/tmp/multipartBody539486327516339822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821318876,"filename":"image_25012025_17_06_03_003964_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7721c2ed9c4b59eacbd2e1fc4381040f.jpg","text":"TemporaryFile(/tmp/multipartBody7950030594530137635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821318876,"filename":"image_25012025_17_05_02_828310_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f50f6428dab8226a1e62ac84c1242587.jpg","text":"TemporaryFile(/tmp/multipartBody1836023804409526756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821318876,"filename":"image_25012025_17_07_03_108894_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331395458","file1":"1331395426","file0":"1331395306","file4":"1331395507","file5":"1331395533","file3":"1331395469"},"map_files_photo_id_array":[{"photo_id":"1331395533","filename":"file5"},{"photo_id":"1331395458","filename":"file2"},{"photo_id":"1331395507","filename":"file4"},{"photo_id":"1331395426","filename":"file1"},{"photo_id":"1331395306","filename":"file0"},{"photo_id":"1331395469","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331395458":["hashtag1","hashtag2"]},{"1331395469":["hashtag1","hashtag2"]},{"1331395426":["hashtag1","hashtag2"]},{"1331395507":["hashtag1","hashtag2"]},{"1331395306":["hashtag1","hashtag2"]},{"1331395533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331395458, 1331395469, 1331395426, 1331395507, 1331395306, 1331395533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.12695813179016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:08:22.179425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/07/image_25012025_17_07_03_108894_0001.jpg', '/home/pi/Desktop/images/25012025/17/07/image_25012025_17_07_03_108894_0002.jpg', '/home/pi/Desktop/images/25012025/17/07/image_25012025_17_07_03_108894_0003.jpg', '/home/pi/Desktop/images/25012025/17/08/image_25012025_17_08_02_450431_0000.jpg', '/home/pi/Desktop/images/25012025/17/08/image_25012025_17_08_02_450431_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/07/image_25012025_17_07_03_108894_0001.jpg
/home/pi/Desktop/images/25012025/17/07/image_25012025_17_07_03_108894_0002.jpg
/home/pi/Desktop/images/25012025/17/07/image_25012025_17_07_03_108894_0003.jpg
/home/pi/Desktop/images/25012025/17/08/image_25012025_17_08_02_450431_0000.jpg
/home/pi/Desktop/images/25012025/17/08/image_25012025_17_08_02_450431_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":["1331395691","1331395617","1331395681","1331395686","1331395674"],"photo_ids_order":["1331395617","1331395674","1331395681","1331395686","1331395691"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4c434141b61bb30867638ebb21145ec8.jpg","text":"TemporaryFile(/tmp/multipartBody1685928916364116370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821376117,"filename":"image_25012025_17_08_02_450431_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2d33396ed159138d78075c780be71bff.jpg","text":"TemporaryFile(/tmp/multipartBody5023997785819652850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821376117,"filename":"image_25012025_17_07_03_108894_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bf1619ab0731a0bb06f4133d55996fca.jpg","text":"TemporaryFile(/tmp/multipartBody7051420614955598681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821376117,"filename":"image_25012025_17_07_03_108894_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6c1f92fab57bb7714dc7fbe37ac35a1c.jpg","text":"TemporaryFile(/tmp/multipartBody572812223962247571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821376117,"filename":"image_25012025_17_08_02_450431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/33586a0632fa93924336da8cf61396a3.jpg","text":"TemporaryFile(/tmp/multipartBody9101602366799535737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821376117,"filename":"image_25012025_17_07_03_108894_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331395681","file1":"1331395674","file0":"1331395617","file4":"1331395691","file3":"1331395686"},"map_files_photo_id_array":[{"photo_id":"1331395681","filename":"file2"},{"photo_id":"1331395691","filename":"file4"},{"photo_id":"1331395674","filename":"file1"},{"photo_id":"1331395617","filename":"file0"},{"photo_id":"1331395686","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331395691":["hashtag1","hashtag2"]},{"1331395617":["hashtag1","hashtag2"]},{"1331395681":["hashtag1","hashtag2"]},{"1331395686":["hashtag1","hashtag2"]},{"1331395674":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331395691, 1331395617, 1331395681, 1331395686, 1331395674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 57.605666399002075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:09:22.528497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/08/image_25012025_17_08_02_450431_0003.jpg', '/home/pi/Desktop/images/25012025/17/09/image_25012025_17_09_02_561973_0000.jpg', '/home/pi/Desktop/images/25012025/17/09/image_25012025_17_09_02_561973_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/08/image_25012025_17_08_02_450431_0003.jpg
/home/pi/Desktop/images/25012025/17/09/image_25012025_17_09_02_561973_0000.jpg
/home/pi/Desktop/images/25012025/17/09/image_25012025_17_09_02_561973_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":["1331395701","1331395707","1331395712"],"photo_ids_order":["1331395701","1331395707","1331395712"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d1d9b6e11c073f6e291d719b54973b2e.jpg","text":"TemporaryFile(/tmp/multipartBody5222519996190940102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821431171,"filename":"image_25012025_17_08_02_450431_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7efdd7dadc89baad760e7eccf5d97615.jpg","text":"TemporaryFile(/tmp/multipartBody1854491028875187798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821431171,"filename":"image_25012025_17_09_02_561973_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ac8ec8f3e266084f9a9f6a7aeeaa5fb2.jpg","text":"TemporaryFile(/tmp/multipartBody1504917894708351079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821431171,"filename":"image_25012025_17_09_02_561973_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331395712","file1":"1331395707","file0":"1331395701"},"map_files_photo_id_array":[{"photo_id":"1331395712","filename":"file2"},{"photo_id":"1331395707","filename":"file1"},{"photo_id":"1331395701","filename":"file0"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331395701":["hashtag1","hashtag2"]},{"1331395707":["hashtag1","hashtag2"]},{"1331395712":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331395701, 1331395707, 1331395712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.45947074890137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 17:10:02.948927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/42/image_21012025_21_42_02_180927_0000.jpg', '/home/pi/Desktop/images/21012025/21/42/image_21012025_21_42_02_180927_0001.jpg', '/home/pi/Desktop/images/21012025/21/42/image_21012025_21_42_02_180927_0002.jpg', '/home/pi/Desktop/images/21012025/21/42/image_21012025_21_42_02_180927_0003.jpg', '/home/pi/Desktop/images/21012025/21/43/image_21012025_21_43_02_447713_0000.jpg', '/home/pi/Desktop/images/21012025/21/43/image_21012025_21_43_02_447713_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/21/42/image_21012025_21_42_02_180927_0000.jpg
/home/pi/Desktop/images/21012025/21/42/image_21012025_21_42_02_180927_0001.jpg
/home/pi/Desktop/images/21012025/21/42/image_21012025_21_42_02_180927_0002.jpg
/home/pi/Desktop/images/21012025/21/42/image_21012025_21_42_02_180927_0003.jpg
/home/pi/Desktop/images/21012025/21/43/image_21012025_21_43_02_447713_0000.jpg
/home/pi/Desktop/images/21012025/21/43/image_21012025_21_43_02_447713_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: 16.222100496292114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:10:22.708906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/09/image_25012025_17_09_02_561973_0003.jpg', '/home/pi/Desktop/images/25012025/17/10/image_25012025_17_10_02_847512_0000.jpg', '/home/pi/Desktop/images/25012025/17/10/image_25012025_17_10_02_847512_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/09/image_25012025_17_09_02_561973_0003.jpg
/home/pi/Desktop/images/25012025/17/10/image_25012025_17_10_02_847512_0000.jpg
/home/pi/Desktop/images/25012025/17/10/image_25012025_17_10_02_847512_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":["1331395761","1331395737","1331395751"],"photo_ids_order":["1331395737","1331395751","1331395761"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/294104678ed1e221505848f3f04da2c4.jpg","text":"TemporaryFile(/tmp/multipartBody8472154883851181020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821491351,"filename":"image_25012025_17_10_02_847512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3595cb7cf3ccc9038dc09946372a1f87.jpg","text":"TemporaryFile(/tmp/multipartBody880279689217050244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821491351,"filename":"image_25012025_17_09_02_561973_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/763238bfb47cdf7109ea96b37b2a39c5.jpg","text":"TemporaryFile(/tmp/multipartBody552878586210123435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821491351,"filename":"image_25012025_17_10_02_847512_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331395761","file1":"1331395751","file0":"1331395737"},"map_files_photo_id_array":[{"photo_id":"1331395761","filename":"file2"},{"photo_id":"1331395751","filename":"file1"},{"photo_id":"1331395737","filename":"file0"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331395761":["hashtag1","hashtag2"]},{"1331395737":["hashtag1","hashtag2"]},{"1331395751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331395761, 1331395737, 1331395751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.90682554244995 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 17:11:03.382187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/42/image_21012025_21_42_02_180927_0000.jpg', '/home/pi/Desktop/images/21012025/21/42/image_21012025_21_42_02_180927_0001.jpg', '/home/pi/Desktop/images/21012025/21/42/image_21012025_21_42_02_180927_0002.jpg', '/home/pi/Desktop/images/21012025/21/42/image_21012025_21_42_02_180927_0003.jpg', '/home/pi/Desktop/images/21012025/21/43/image_21012025_21_43_02_447713_0000.jpg', '/home/pi/Desktop/images/21012025/21/43/image_21012025_21_43_02_447713_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/21/42/image_21012025_21_42_02_180927_0000.jpg
/home/pi/Desktop/images/21012025/21/42/image_21012025_21_42_02_180927_0001.jpg
/home/pi/Desktop/images/21012025/21/42/image_21012025_21_42_02_180927_0002.jpg
/home/pi/Desktop/images/21012025/21/42/image_21012025_21_42_02_180927_0003.jpg
/home/pi/Desktop/images/21012025/21/43/image_21012025_21_43_02_447713_0000.jpg
/home/pi/Desktop/images/21012025/21/43/image_21012025_21_43_02_447713_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: 16.173645734786987 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:11:22.833642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/10/image_25012025_17_10_02_847512_0003.jpg', '/home/pi/Desktop/images/25012025/17/11/image_25012025_17_11_03_041967_0000.jpg', '/home/pi/Desktop/images/25012025/17/11/image_25012025_17_11_03_041967_0001.jpg', '/home/pi/Desktop/images/25012025/17/11/image_25012025_17_11_03_041967_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/10/image_25012025_17_10_02_847512_0003.jpg
/home/pi/Desktop/images/25012025/17/11/image_25012025_17_11_03_041967_0000.jpg
/home/pi/Desktop/images/25012025/17/11/image_25012025_17_11_03_041967_0001.jpg
/home/pi/Desktop/images/25012025/17/11/image_25012025_17_11_03_041967_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 [200]>
b'{"photo_ids":["1331396060","1331396080","1331396071","1331396076"],"photo_ids_order":["1331396060","1331396071","1331396076","1331396080"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a9857ee3ddba7643e6a12702f30baa4a.jpg","text":"TemporaryFile(/tmp/multipartBody2575515080986152100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821554142,"filename":"image_25012025_17_10_02_847512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2b0165e6ebe834ec1215fba254454ccb.jpg","text":"TemporaryFile(/tmp/multipartBody5121818233734003996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821554142,"filename":"image_25012025_17_11_03_041967_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/211449483271bf7a17fad173f963cf65.jpg","text":"TemporaryFile(/tmp/multipartBody8930531701385889049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821554142,"filename":"image_25012025_17_11_03_041967_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/270e9decf347a996cf8c8f2fb27b3eea.jpg","text":"TemporaryFile(/tmp/multipartBody2459146245224509090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821554142,"filename":"image_25012025_17_11_03_041967_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331396076","file1":"1331396071","file0":"1331396060","file3":"1331396080"},"map_files_photo_id_array":[{"photo_id":"1331396076","filename":"file2"},{"photo_id":"1331396071","filename":"file1"},{"photo_id":"1331396060","filename":"file0"},{"photo_id":"1331396080","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331396060":["hashtag1","hashtag2"]},{"1331396080":["hashtag1","hashtag2"]},{"1331396071":["hashtag1","hashtag2"]},{"1331396076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331396060, 1331396080, 1331396071, 1331396076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.915833950042725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:12:21.930194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/11/image_25012025_17_11_03_041967_0003.jpg', '/home/pi/Desktop/images/25012025/17/12/image_25012025_17_12_03_125812_0000.jpg', '/home/pi/Desktop/images/25012025/17/12/image_25012025_17_12_03_125812_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/11/image_25012025_17_11_03_041967_0003.jpg
/home/pi/Desktop/images/25012025/17/12/image_25012025_17_12_03_125812_0000.jpg
/home/pi/Desktop/images/25012025/17/12/image_25012025_17_12_03_125812_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: 8.247398853302002 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 17:12:31.976369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/11/image_25012025_17_11_03_041967_0003.jpg', '/home/pi/Desktop/images/25012025/17/12/image_25012025_17_12_03_125812_0000.jpg', '/home/pi/Desktop/images/25012025/17/12/image_25012025_17_12_03_125812_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/11/image_25012025_17_11_03_041967_0003.jpg
/home/pi/Desktop/images/25012025/17/12/image_25012025_17_12_03_125812_0000.jpg
/home/pi/Desktop/images/25012025/17/12/image_25012025_17_12_03_125812_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":["1331396109","1331396114","1331396119"],"photo_ids_order":["1331396109","1331396114","1331396119"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eb4bfbcc1698fad582a31d631f3cc0b8.jpg","text":"TemporaryFile(/tmp/multipartBody8116090364930337978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821620609,"filename":"image_25012025_17_11_03_041967_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/151d28f55f099d7258d607a5e1543c40.jpg","text":"TemporaryFile(/tmp/multipartBody3682994551682761530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821620609,"filename":"image_25012025_17_12_03_125812_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bc104854f0cba2a2f0504cf40f8e9e9e.jpg","text":"TemporaryFile(/tmp/multipartBody8821597063382730696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821620609,"filename":"image_25012025_17_12_03_125812_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331396119","file1":"1331396114","file0":"1331396109"},"map_files_photo_id_array":[{"photo_id":"1331396119","filename":"file2"},{"photo_id":"1331396114","filename":"file1"},{"photo_id":"1331396109","filename":"file0"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331396109":["hashtag1","hashtag2"]},{"1331396114":["hashtag1","hashtag2"]},{"1331396119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331396109, 1331396114, 1331396119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.338550090789795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:13:22.070653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/12/image_25012025_17_12_03_125812_0002.jpg', '/home/pi/Desktop/images/25012025/17/13/image_25012025_17_13_02_353670_0000.jpg', '/home/pi/Desktop/images/25012025/17/13/image_25012025_17_13_02_353670_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/12/image_25012025_17_12_03_125812_0002.jpg
/home/pi/Desktop/images/25012025/17/13/image_25012025_17_13_02_353670_0000.jpg
/home/pi/Desktop/images/25012025/17/13/image_25012025_17_13_02_353670_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":["1331396146","1331396140","1331396133"],"photo_ids_order":["1331396133","1331396140","1331396146"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aa2fac12116519226bd3f477afa66077.jpg","text":"TemporaryFile(/tmp/multipartBody7517135632286123374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821670691,"filename":"image_25012025_17_13_02_353670_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/238da882488dcef91ee6055acb825309.jpg","text":"TemporaryFile(/tmp/multipartBody3741085842864741392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821670691,"filename":"image_25012025_17_13_02_353670_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/af5a5250b50259f810753d80a6626831.jpg","text":"TemporaryFile(/tmp/multipartBody8875307184940557796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821670691,"filename":"image_25012025_17_12_03_125812_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331396146","file1":"1331396140","file0":"1331396133"},"map_files_photo_id_array":[{"photo_id":"1331396146","filename":"file2"},{"photo_id":"1331396140","filename":"file1"},{"photo_id":"1331396133","filename":"file0"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331396146":["hashtag1","hashtag2"]},{"1331396140":["hashtag1","hashtag2"]},{"1331396133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331396146, 1331396140, 1331396133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.32512354850769 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 17:14:02.710733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/42/image_21012025_21_42_02_180927_0000.jpg', '/home/pi/Desktop/images/21012025/21/42/image_21012025_21_42_02_180927_0001.jpg', '/home/pi/Desktop/images/21012025/21/42/image_21012025_21_42_02_180927_0002.jpg', '/home/pi/Desktop/images/21012025/21/42/image_21012025_21_42_02_180927_0003.jpg', '/home/pi/Desktop/images/21012025/21/43/image_21012025_21_43_02_447713_0000.jpg', '/home/pi/Desktop/images/21012025/21/43/image_21012025_21_43_02_447713_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/21/42/image_21012025_21_42_02_180927_0000.jpg
/home/pi/Desktop/images/21012025/21/42/image_21012025_21_42_02_180927_0001.jpg
/home/pi/Desktop/images/21012025/21/42/image_21012025_21_42_02_180927_0002.jpg
/home/pi/Desktop/images/21012025/21/42/image_21012025_21_42_02_180927_0003.jpg
/home/pi/Desktop/images/21012025/21/43/image_21012025_21_43_02_447713_0000.jpg
/home/pi/Desktop/images/21012025/21/43/image_21012025_21_43_02_447713_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":["1331396198","1331396201","1331396210","1331396204","1331396221","1331396217"],"photo_ids_order":["1331396198","1331396201","1331396204","1331396210","1331396217","1331396221"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8f45fe7665e8e0ff6ddd1fb255bfad8d.jpg","text":"TemporaryFile(/tmp/multipartBody5562724233313495118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821719191,"filename":"image_21012025_21_42_02_180927_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6c94739ae5fc4de91833fe0067790bfa.jpg","text":"TemporaryFile(/tmp/multipartBody5846766976600493748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821719191,"filename":"image_21012025_21_42_02_180927_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/76e17d47ced6820262af3fc3050168d8.jpg","text":"TemporaryFile(/tmp/multipartBody1361492339012598976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821719191,"filename":"image_21012025_21_42_02_180927_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/38c9c5ab3282485a089945fdf0244eac.jpg","text":"TemporaryFile(/tmp/multipartBody3347396230182615356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821719191,"filename":"image_21012025_21_42_02_180927_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1ebecbbdb963fbbee53d69d9a972db87.jpg","text":"TemporaryFile(/tmp/multipartBody8550694484618578171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821719191,"filename":"image_21012025_21_43_02_447713_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9512d699564a4f72226e8fd885eb9ec1.jpg","text":"TemporaryFile(/tmp/multipartBody1482601188764841020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821719191,"filename":"image_21012025_21_43_02_447713_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331396204","file1":"1331396201","file0":"1331396198","file4":"1331396217","file5":"1331396221","file3":"1331396210"},"map_files_photo_id_array":[{"photo_id":"1331396221","filename":"file5"},{"photo_id":"1331396204","filename":"file2"},{"photo_id":"1331396217","filename":"file4"},{"photo_id":"1331396201","filename":"file1"},{"photo_id":"1331396198","filename":"file0"},{"photo_id":"1331396210","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331396198":["hashtag1","hashtag2"]},{"1331396201":["hashtag1","hashtag2"]},{"1331396210":["hashtag1","hashtag2"]},{"1331396204":["hashtag1","hashtag2"]},{"1331396221":["hashtag1","hashtag2"]},{"1331396217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331396198, 1331396201, 1331396210, 1331396204, 1331396221, 1331396217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.256577491760254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 17:15:03.057420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/13/image_25012025_17_13_02_353670_0003.jpg', '/home/pi/Desktop/images/25012025/17/14/image_25012025_17_14_02_497717_0000.jpg', '/home/pi/Desktop/images/25012025/17/14/image_25012025_17_14_02_497717_0001.jpg', '/home/pi/Desktop/images/25012025/17/14/image_25012025_17_14_02_497717_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/13/image_25012025_17_13_02_353670_0003.jpg
/home/pi/Desktop/images/25012025/17/14/image_25012025_17_14_02_497717_0000.jpg
/home/pi/Desktop/images/25012025/17/14/image_25012025_17_14_02_497717_0001.jpg
/home/pi/Desktop/images/25012025/17/14/image_25012025_17_14_02_497717_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.04365587234497 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:15:22.501991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/13/image_25012025_17_13_02_353670_0003.jpg', '/home/pi/Desktop/images/25012025/17/14/image_25012025_17_14_02_497717_0000.jpg', '/home/pi/Desktop/images/25012025/17/14/image_25012025_17_14_02_497717_0001.jpg', '/home/pi/Desktop/images/25012025/17/14/image_25012025_17_14_02_497717_0002.jpg', '/home/pi/Desktop/images/25012025/17/14/image_25012025_17_14_02_497717_0003.jpg', '/home/pi/Desktop/images/25012025/17/15/image_25012025_17_15_02_621326_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/13/image_25012025_17_13_02_353670_0003.jpg
/home/pi/Desktop/images/25012025/17/14/image_25012025_17_14_02_497717_0000.jpg
/home/pi/Desktop/images/25012025/17/14/image_25012025_17_14_02_497717_0001.jpg
/home/pi/Desktop/images/25012025/17/14/image_25012025_17_14_02_497717_0002.jpg
/home/pi/Desktop/images/25012025/17/14/image_25012025_17_14_02_497717_0003.jpg
/home/pi/Desktop/images/25012025/17/15/image_25012025_17_15_02_621326_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 [200]>
b'{"photo_ids":["1331396297","1331396264","1331396345","1331396342","1331396256","1331396301"],"photo_ids_order":["1331396256","1331396264","1331396297","1331396301","1331396342","1331396345"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/49583433944933fdf42d14fd76c29603.jpg","text":"TemporaryFile(/tmp/multipartBody6205079167791283138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821799139,"filename":"image_25012025_17_14_02_497717_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eac813d0dd6dc0d39c40e5651fb84b16.jpg","text":"TemporaryFile(/tmp/multipartBody2533799145823306730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821799139,"filename":"image_25012025_17_14_02_497717_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/de28202b1d11fb3a7cee24c87234db9d.jpg","text":"TemporaryFile(/tmp/multipartBody3847807389175588997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821799139,"filename":"image_25012025_17_15_02_621326_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7e36fc0ade4dfee55c24e7081dba69a7.jpg","text":"TemporaryFile(/tmp/multipartBody9200179255592988884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821799139,"filename":"image_25012025_17_14_02_497717_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/05063e1b1d7689b14c1cef6aaa5cc31b.jpg","text":"TemporaryFile(/tmp/multipartBody2987034379452714153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821799139,"filename":"image_25012025_17_13_02_353670_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bea59ed37067ca610d9d7c0ecacefa92.jpg","text":"TemporaryFile(/tmp/multipartBody3719385054268278547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821799139,"filename":"image_25012025_17_14_02_497717_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331396297","file1":"1331396264","file0":"1331396256","file4":"1331396342","file5":"1331396345","file3":"1331396301"},"map_files_photo_id_array":[{"photo_id":"1331396345","filename":"file5"},{"photo_id":"1331396297","filename":"file2"},{"photo_id":"1331396342","filename":"file4"},{"photo_id":"1331396264","filename":"file1"},{"photo_id":"1331396256","filename":"file0"},{"photo_id":"1331396301","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331396297":["hashtag1","hashtag2"]},{"1331396264":["hashtag1","hashtag2"]},{"1331396345":["hashtag1","hashtag2"]},{"1331396342":["hashtag1","hashtag2"]},{"1331396256":["hashtag1","hashtag2"]},{"1331396301":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331396297, 1331396264, 1331396345, 1331396342, 1331396256, 1331396301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.33536219596863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:16:22.700925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/15/image_25012025_17_15_02_621326_0001.jpg', '/home/pi/Desktop/images/25012025/17/15/image_25012025_17_15_02_621326_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/15/image_25012025_17_15_02_621326_0001.jpg
/home/pi/Desktop/images/25012025/17/15/image_25012025_17_15_02_621326_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: 5.576224327087402 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 17:16:32.697835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/15/image_25012025_17_15_02_621326_0001.jpg', '/home/pi/Desktop/images/25012025/17/15/image_25012025_17_15_02_621326_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/15/image_25012025_17_15_02_621326_0001.jpg
/home/pi/Desktop/images/25012025/17/15/image_25012025_17_15_02_621326_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":["1331396428","1331396367"],"photo_ids_order":["1331396367","1331396428"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aa013ca8875305fbd177faf660abef6a.jpg","text":"TemporaryFile(/tmp/multipartBody6431022887253991603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821858656,"filename":"image_25012025_17_15_02_621326_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/54c26da02fcded4fed3dd0a4ee5e55c8.jpg","text":"TemporaryFile(/tmp/multipartBody6650911385038740228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821858656,"filename":"image_25012025_17_15_02_621326_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1331396428","file0":"1331396367"},"map_files_photo_id_array":[{"photo_id":"1331396428","filename":"file1"},{"photo_id":"1331396367","filename":"file0"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331396428":["hashtag1","hashtag2"]},{"1331396367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331396428, 1331396367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.45905327796936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 17:17:02.377158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/43/image_21012025_21_43_02_447713_0002.jpg', '/home/pi/Desktop/images/21012025/21/43/image_21012025_21_43_02_447713_0003.jpg', '/home/pi/Desktop/images/21012025/21/44/image_21012025_21_44_02_550485_0000.jpg', '/home/pi/Desktop/images/21012025/21/44/image_21012025_21_44_02_550485_0001.jpg', '/home/pi/Desktop/images/21012025/21/44/image_21012025_21_44_02_550485_0002.jpg', '/home/pi/Desktop/images/21012025/21/44/image_21012025_21_44_02_550485_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/21/43/image_21012025_21_43_02_447713_0002.jpg
/home/pi/Desktop/images/21012025/21/43/image_21012025_21_43_02_447713_0003.jpg
/home/pi/Desktop/images/21012025/21/44/image_21012025_21_44_02_550485_0000.jpg
/home/pi/Desktop/images/21012025/21/44/image_21012025_21_44_02_550485_0001.jpg
/home/pi/Desktop/images/21012025/21/44/image_21012025_21_44_02_550485_0002.jpg
/home/pi/Desktop/images/21012025/21/44/image_21012025_21_44_02_550485_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":["1331396858","1331397014","1331396960","1331396756","1331396650","1331397021"],"photo_ids_order":["1331396650","1331396756","1331396858","1331396960","1331397014","1331397021"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1e813782a748a52e02597d02ea59ce2d.jpg","text":"TemporaryFile(/tmp/multipartBody7774597959547465306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821899673,"filename":"image_21012025_21_44_02_550485_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/048e34dbc490b1ce503c83968b99528d.jpg","text":"TemporaryFile(/tmp/multipartBody7876097804729901370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821899673,"filename":"image_21012025_21_44_02_550485_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b25f008ba41a220ef4c543842feb975d.jpg","text":"TemporaryFile(/tmp/multipartBody3818352293157867364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821899673,"filename":"image_21012025_21_44_02_550485_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/789ecc6b93e9b9babe4c54f45f9a6c28.jpg","text":"TemporaryFile(/tmp/multipartBody3608467438656275470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821899673,"filename":"image_21012025_21_43_02_447713_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7d483ebd1246a7a3d0450f18e3ca8610.jpg","text":"TemporaryFile(/tmp/multipartBody5256216871920537379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821899673,"filename":"image_21012025_21_43_02_447713_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7df3914f62a3b9e22fa11cb4f723f8fd.jpg","text":"TemporaryFile(/tmp/multipartBody3208705866960203137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821899673,"filename":"image_21012025_21_44_02_550485_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331396858","file1":"1331396756","file0":"1331396650","file4":"1331397014","file5":"1331397021","file3":"1331396960"},"map_files_photo_id_array":[{"photo_id":"1331397021","filename":"file5"},{"photo_id":"1331396858","filename":"file2"},{"photo_id":"1331397014","filename":"file4"},{"photo_id":"1331396756","filename":"file1"},{"photo_id":"1331396650","filename":"file0"},{"photo_id":"1331396960","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331396858":["hashtag1","hashtag2"]},{"1331397014":["hashtag1","hashtag2"]},{"1331396960":["hashtag1","hashtag2"]},{"1331396756":["hashtag1","hashtag2"]},{"1331396650":["hashtag1","hashtag2"]},{"1331397021":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331396858, 1331397014, 1331396960, 1331396756, 1331396650, 1331397021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.809874296188354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:18:22.082365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/16/image_25012025_17_16_02_859418_0001.jpg', '/home/pi/Desktop/images/25012025/17/17/image_25012025_17_17_03_015553_0000.jpg', '/home/pi/Desktop/images/25012025/17/17/image_25012025_17_17_03_015553_0001.jpg', '/home/pi/Desktop/images/25012025/17/18/image_25012025_17_18_02_198421_0000.jpg', '/home/pi/Desktop/images/25012025/17/18/image_25012025_17_18_02_198421_0001.jpg', '/home/pi/Desktop/images/25012025/17/18/image_25012025_17_18_02_198421_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/16/image_25012025_17_16_02_859418_0001.jpg
/home/pi/Desktop/images/25012025/17/17/image_25012025_17_17_03_015553_0000.jpg
/home/pi/Desktop/images/25012025/17/17/image_25012025_17_17_03_015553_0001.jpg
/home/pi/Desktop/images/25012025/17/18/image_25012025_17_18_02_198421_0000.jpg
/home/pi/Desktop/images/25012025/17/18/image_25012025_17_18_02_198421_0001.jpg
/home/pi/Desktop/images/25012025/17/18/image_25012025_17_18_02_198421_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331397277","1331397280","1331397247","1331397262","1331397279","1331397207"],"photo_ids_order":["1331397207","1331397247","1331397262","1331397277","1331397279","1331397280"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/58069e89391230667e632647c6683724.jpg","text":"TemporaryFile(/tmp/multipartBody7339652924739788383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821978710,"filename":"image_25012025_17_18_02_198421_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c3e6d41b59ca8f110d3e4cfe7fb97664.jpg","text":"TemporaryFile(/tmp/multipartBody5845936331417398020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821978710,"filename":"image_25012025_17_18_02_198421_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5f22d2c46d9b2f05678bb16f2b207dcb.jpg","text":"TemporaryFile(/tmp/multipartBody3387640988898220575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821978710,"filename":"image_25012025_17_17_03_015553_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6c311b044bb3208f9b6501497866c718.jpg","text":"TemporaryFile(/tmp/multipartBody8585673748889174191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821978710,"filename":"image_25012025_17_17_03_015553_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/800d4389474afa257eee2dd38330c2ca.jpg","text":"TemporaryFile(/tmp/multipartBody7961379607597353601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821978710,"filename":"image_25012025_17_18_02_198421_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5f7989f54440045fec47bf81a79dec61.jpg","text":"TemporaryFile(/tmp/multipartBody2012960442762697148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737821978710,"filename":"image_25012025_17_16_02_859418_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331397262","file1":"1331397247","file0":"1331397207","file4":"1331397279","file5":"1331397280","file3":"1331397277"},"map_files_photo_id_array":[{"photo_id":"1331397280","filename":"file5"},{"photo_id":"1331397262","filename":"file2"},{"photo_id":"1331397279","filename":"file4"},{"photo_id":"1331397247","filename":"file1"},{"photo_id":"1331397207","filename":"file0"},{"photo_id":"1331397277","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331397277":["hashtag1","hashtag2"]},{"1331397280":["hashtag1","hashtag2"]},{"1331397247":["hashtag1","hashtag2"]},{"1331397262":["hashtag1","hashtag2"]},{"1331397279":["hashtag1","hashtag2"]},{"1331397207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331397277, 1331397280, 1331397247, 1331397262, 1331397279, 1331397207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.37803030014038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 17:19:32.260366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/18/image_25012025_17_18_02_198421_0003.jpg', '/home/pi/Desktop/images/25012025/17/19/image_25012025_17_19_02_424186_0000.jpg', '/home/pi/Desktop/images/25012025/17/19/image_25012025_17_19_02_424186_0001.jpg', '/home/pi/Desktop/images/25012025/17/19/image_25012025_17_19_02_424186_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/18/image_25012025_17_18_02_198421_0003.jpg
/home/pi/Desktop/images/25012025/17/19/image_25012025_17_19_02_424186_0000.jpg
/home/pi/Desktop/images/25012025/17/19/image_25012025_17_19_02_424186_0001.jpg
/home/pi/Desktop/images/25012025/17/19/image_25012025_17_19_02_424186_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":["1331397431","1331397436","1331397426","1331397420"],"photo_ids_order":["1331397420","1331397426","1331397431","1331397436"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2907b172c28fb5ff59f9ad78a32790d1.jpg","text":"TemporaryFile(/tmp/multipartBody6389827698063111838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822043577,"filename":"image_25012025_17_19_02_424186_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2c9056cf692af589c262368810e03c30.jpg","text":"TemporaryFile(/tmp/multipartBody3314572474897334296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822043577,"filename":"image_25012025_17_19_02_424186_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/67977f535712025ddbe92189df19bcf7.jpg","text":"TemporaryFile(/tmp/multipartBody3104253583948927909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822043577,"filename":"image_25012025_17_19_02_424186_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/11aab1403570e1a6ed5d9541c19abeb1.jpg","text":"TemporaryFile(/tmp/multipartBody7089176064737385504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822043577,"filename":"image_25012025_17_18_02_198421_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331397431","file1":"1331397426","file0":"1331397420","file3":"1331397436"},"map_files_photo_id_array":[{"photo_id":"1331397431","filename":"file2"},{"photo_id":"1331397426","filename":"file1"},{"photo_id":"1331397420","filename":"file0"},{"photo_id":"1331397436","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331397431":["hashtag1","hashtag2"]},{"1331397436":["hashtag1","hashtag2"]},{"1331397426":["hashtag1","hashtag2"]},{"1331397420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331397431, 1331397436, 1331397426, 1331397420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.132086992263794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:20:22.438593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/19/image_25012025_17_19_02_424186_0003.jpg', '/home/pi/Desktop/images/25012025/17/20/image_25012025_17_20_02_698072_0000.jpg', '/home/pi/Desktop/images/25012025/17/20/image_25012025_17_20_02_698072_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/19/image_25012025_17_19_02_424186_0003.jpg
/home/pi/Desktop/images/25012025/17/20/image_25012025_17_20_02_698072_0000.jpg
/home/pi/Desktop/images/25012025/17/20/image_25012025_17_20_02_698072_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: 8.316629648208618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 17:20:32.421532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/19/image_25012025_17_19_02_424186_0003.jpg', '/home/pi/Desktop/images/25012025/17/20/image_25012025_17_20_02_698072_0000.jpg', '/home/pi/Desktop/images/25012025/17/20/image_25012025_17_20_02_698072_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/19/image_25012025_17_19_02_424186_0003.jpg
/home/pi/Desktop/images/25012025/17/20/image_25012025_17_20_02_698072_0000.jpg
/home/pi/Desktop/images/25012025/17/20/image_25012025_17_20_02_698072_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":["1331397562","1331397457","1331397527"],"photo_ids_order":["1331397457","1331397527","1331397562"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0093de47cbe6bd55e761d0efab16995b.jpg","text":"TemporaryFile(/tmp/multipartBody5445382747285640517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822101506,"filename":"image_25012025_17_20_02_698072_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8ffcf3edc4212b3e23020ea554560c2e.jpg","text":"TemporaryFile(/tmp/multipartBody8961544632515510114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822101506,"filename":"image_25012025_17_19_02_424186_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3dc088a8de044189b0219634c091db43.jpg","text":"TemporaryFile(/tmp/multipartBody6529416108064207610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822101506,"filename":"image_25012025_17_20_02_698072_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331397562","file1":"1331397527","file0":"1331397457"},"map_files_photo_id_array":[{"photo_id":"1331397562","filename":"file2"},{"photo_id":"1331397527","filename":"file1"},{"photo_id":"1331397457","filename":"file0"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331397562":["hashtag1","hashtag2"]},{"1331397457":["hashtag1","hashtag2"]},{"1331397527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331397562, 1331397457, 1331397527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 42.03309106826782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:21:22.678527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/20/image_25012025_17_20_02_698072_0002.jpg', '/home/pi/Desktop/images/25012025/17/21/image_25012025_17_21_02_788392_0001.jpg', '/home/pi/Desktop/images/25012025/17/21/image_25012025_17_21_02_788392_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/20/image_25012025_17_20_02_698072_0002.jpg
/home/pi/Desktop/images/25012025/17/21/image_25012025_17_21_02_788392_0001.jpg
/home/pi/Desktop/images/25012025/17/21/image_25012025_17_21_02_788392_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":["1331398094","1331397680","1331397896"],"photo_ids_order":["1331397680","1331397896","1331398094"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4fd2df3a7f335cabffe4f9f542647001.jpg","text":"TemporaryFile(/tmp/multipartBody5544045670446075467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822151299,"filename":"image_25012025_17_21_02_788392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/04af3b4ecb2fb2b024d709d56add37ce.jpg","text":"TemporaryFile(/tmp/multipartBody3101870868527433779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822151299,"filename":"image_25012025_17_20_02_698072_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/585102dd9d87f15c69ef9fde3ab1a335.jpg","text":"TemporaryFile(/tmp/multipartBody6388097053231344604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822151299,"filename":"image_25012025_17_21_02_788392_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331398094","file1":"1331397896","file0":"1331397680"},"map_files_photo_id_array":[{"photo_id":"1331398094","filename":"file2"},{"photo_id":"1331397896","filename":"file1"},{"photo_id":"1331397680","filename":"file0"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331398094":["hashtag1","hashtag2"]},{"1331397680":["hashtag1","hashtag2"]},{"1331397896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331398094, 1331397680, 1331397896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.280587673187256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 17:22:02.326228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/45/image_21012025_21_45_02_773360_0000.jpg', '/home/pi/Desktop/images/21012025/21/45/image_21012025_21_45_02_773360_0001.jpg', '/home/pi/Desktop/images/21012025/21/45/image_21012025_21_45_02_773360_0002.jpg', '/home/pi/Desktop/images/21012025/21/45/image_21012025_21_45_02_773360_0003.jpg', '/home/pi/Desktop/images/21012025/21/46/image_21012025_21_46_02_940175_0000.jpg', '/home/pi/Desktop/images/21012025/21/46/image_21012025_21_46_02_940175_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/21/45/image_21012025_21_45_02_773360_0000.jpg
/home/pi/Desktop/images/21012025/21/45/image_21012025_21_45_02_773360_0001.jpg
/home/pi/Desktop/images/21012025/21/45/image_21012025_21_45_02_773360_0002.jpg
/home/pi/Desktop/images/21012025/21/45/image_21012025_21_45_02_773360_0003.jpg
/home/pi/Desktop/images/21012025/21/46/image_21012025_21_46_02_940175_0000.jpg
/home/pi/Desktop/images/21012025/21/46/image_21012025_21_46_02_940175_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":["1331398744","1331398788","1331398773","1331398793","1331398781","1331398751"],"photo_ids_order":["1331398744","1331398751","1331398773","1331398781","1331398788","1331398793"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b81b32e571e413f8357a93c29f619669.jpg","text":"TemporaryFile(/tmp/multipartBody315094174956948861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822199981,"filename":"image_21012025_21_45_02_773360_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5070dcea79ede178428bf895ade2a1b2.jpg","text":"TemporaryFile(/tmp/multipartBody5658594606758642204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822199981,"filename":"image_21012025_21_46_02_940175_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7d79a5538f8dbf57b553f98e3f2859e7.jpg","text":"TemporaryFile(/tmp/multipartBody8927870761304088377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822199981,"filename":"image_21012025_21_45_02_773360_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/17c41fbb16bdd1cff5a1b616dfde6395.jpg","text":"TemporaryFile(/tmp/multipartBody4539283398959833803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822199981,"filename":"image_21012025_21_46_02_940175_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/93cf0322c219261a6a736fec17c08527.jpg","text":"TemporaryFile(/tmp/multipartBody1741189712711460502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822199981,"filename":"image_21012025_21_45_02_773360_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/31b9f26af41c3d8b617efcc5279f7ec3.jpg","text":"TemporaryFile(/tmp/multipartBody6537729496808645303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822199981,"filename":"image_21012025_21_45_02_773360_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331398773","file1":"1331398751","file0":"1331398744","file4":"1331398788","file5":"1331398793","file3":"1331398781"},"map_files_photo_id_array":[{"photo_id":"1331398793","filename":"file5"},{"photo_id":"1331398773","filename":"file2"},{"photo_id":"1331398788","filename":"file4"},{"photo_id":"1331398751","filename":"file1"},{"photo_id":"1331398744","filename":"file0"},{"photo_id":"1331398781","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331398744":["hashtag1","hashtag2"]},{"1331398788":["hashtag1","hashtag2"]},{"1331398773":["hashtag1","hashtag2"]},{"1331398793":["hashtag1","hashtag2"]},{"1331398781":["hashtag1","hashtag2"]},{"1331398751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331398744, 1331398788, 1331398773, 1331398793, 1331398781, 1331398751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.37845039367676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 17:23:02.676660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/21/image_25012025_17_21_02_788392_0003.jpg', '/home/pi/Desktop/images/25012025/17/22/image_25012025_17_22_03_115385_0000.jpg', '/home/pi/Desktop/images/25012025/17/22/image_25012025_17_22_03_115385_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/21/image_25012025_17_21_02_788392_0003.jpg
/home/pi/Desktop/images/25012025/17/22/image_25012025_17_22_03_115385_0000.jpg
/home/pi/Desktop/images/25012025/17/22/image_25012025_17_22_03_115385_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: 8.303155660629272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:23:21.899292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/21/image_25012025_17_21_02_788392_0003.jpg', '/home/pi/Desktop/images/25012025/17/22/image_25012025_17_22_03_115385_0000.jpg', '/home/pi/Desktop/images/25012025/17/22/image_25012025_17_22_03_115385_0001.jpg', '/home/pi/Desktop/images/25012025/17/22/image_25012025_17_22_03_115385_0002.jpg', '/home/pi/Desktop/images/25012025/17/23/image_25012025_17_23_02_163458_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/21/image_25012025_17_21_02_788392_0003.jpg
/home/pi/Desktop/images/25012025/17/22/image_25012025_17_22_03_115385_0000.jpg
/home/pi/Desktop/images/25012025/17/22/image_25012025_17_22_03_115385_0001.jpg
/home/pi/Desktop/images/25012025/17/22/image_25012025_17_22_03_115385_0002.jpg
/home/pi/Desktop/images/25012025/17/23/image_25012025_17_23_02_163458_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":["1331399151","1331399148","1331399136","1331399141","1331399129"],"photo_ids_order":["1331399129","1331399136","1331399141","1331399148","1331399151"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0cacc7bda1292292ff5d0137fac11984.jpg","text":"TemporaryFile(/tmp/multipartBody7686203921020583319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822275873,"filename":"image_25012025_17_23_02_163458_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0f99cc6217f04c73364444df4f31a8f0.jpg","text":"TemporaryFile(/tmp/multipartBody3572375831397773715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822275873,"filename":"image_25012025_17_22_03_115385_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6954faf0f55cbb99026a2c4d8a160668.jpg","text":"TemporaryFile(/tmp/multipartBody1074121278278044424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822275873,"filename":"image_25012025_17_22_03_115385_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/938c49c3868edb36bc62d9c0d789049f.jpg","text":"TemporaryFile(/tmp/multipartBody5694920922528932312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822275873,"filename":"image_25012025_17_22_03_115385_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5bc80149346d68356eb6b20163fcb3a9.jpg","text":"TemporaryFile(/tmp/multipartBody3337139355213762429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822275873,"filename":"image_25012025_17_21_02_788392_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331399141","file1":"1331399136","file0":"1331399129","file4":"1331399151","file3":"1331399148"},"map_files_photo_id_array":[{"photo_id":"1331399141","filename":"file2"},{"photo_id":"1331399151","filename":"file4"},{"photo_id":"1331399136","filename":"file1"},{"photo_id":"1331399129","filename":"file0"},{"photo_id":"1331399148","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331399151":["hashtag1","hashtag2"]},{"1331399148":["hashtag1","hashtag2"]},{"1331399136":["hashtag1","hashtag2"]},{"1331399141":["hashtag1","hashtag2"]},{"1331399129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331399151, 1331399148, 1331399136, 1331399141, 1331399129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 49.126739740371704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:24:22.108738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/23/image_25012025_17_23_02_163458_0003.jpg', '/home/pi/Desktop/images/25012025/17/24/image_25012025_17_24_02_272897_0000.jpg', '/home/pi/Desktop/images/25012025/17/24/image_25012025_17_24_02_272897_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/23/image_25012025_17_23_02_163458_0003.jpg
/home/pi/Desktop/images/25012025/17/24/image_25012025_17_24_02_272897_0000.jpg
/home/pi/Desktop/images/25012025/17/24/image_25012025_17_24_02_272897_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":["1331399317","1331399324","1331399321"],"photo_ids_order":["1331399317","1331399321","1331399324"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/892a45f61647fb84ff128bdded71b47b.jpg","text":"TemporaryFile(/tmp/multipartBody3780060479086184753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822330749,"filename":"image_25012025_17_23_02_163458_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/55efd3736f379717ab5eaa23df627cbe.jpg","text":"TemporaryFile(/tmp/multipartBody4149154575653008559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822330749,"filename":"image_25012025_17_24_02_272897_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6d77566a6de639f8fbaea79e5de2b44f.jpg","text":"TemporaryFile(/tmp/multipartBody7617338198195788110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822330749,"filename":"image_25012025_17_24_02_272897_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331399324","file1":"1331399321","file0":"1331399317"},"map_files_photo_id_array":[{"photo_id":"1331399324","filename":"file2"},{"photo_id":"1331399321","filename":"file1"},{"photo_id":"1331399317","filename":"file0"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331399317":["hashtag1","hashtag2"]},{"1331399324":["hashtag1","hashtag2"]},{"1331399321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331399317, 1331399324, 1331399321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.647450923919678 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 17:25:03.072068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/46/image_21012025_21_46_02_940175_0002.jpg', '/home/pi/Desktop/images/21012025/21/46/image_21012025_21_46_02_940175_0003.jpg', '/home/pi/Desktop/images/21012025/21/47/image_21012025_21_47_02_185882_0000.jpg', '/home/pi/Desktop/images/21012025/21/47/image_21012025_21_47_02_185882_0001.jpg', '/home/pi/Desktop/images/21012025/21/47/image_21012025_21_47_02_185882_0002.jpg', '/home/pi/Desktop/images/21012025/21/47/image_21012025_21_47_02_185882_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/21/46/image_21012025_21_46_02_940175_0002.jpg
/home/pi/Desktop/images/21012025/21/46/image_21012025_21_46_02_940175_0003.jpg
/home/pi/Desktop/images/21012025/21/47/image_21012025_21_47_02_185882_0000.jpg
/home/pi/Desktop/images/21012025/21/47/image_21012025_21_47_02_185882_0001.jpg
/home/pi/Desktop/images/21012025/21/47/image_21012025_21_47_02_185882_0002.jpg
/home/pi/Desktop/images/21012025/21/47/image_21012025_21_47_02_185882_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 [200]>
b'{"photo_ids":["1331399812","1331399688","1331399664","1331399805","1331399693","1331399698"],"photo_ids_order":["1331399664","1331399688","1331399693","1331399698","1331399805","1331399812"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ff97aef13679988e41c8d15f2c4cc6b7.jpg","text":"TemporaryFile(/tmp/multipartBody3250764140985452224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822380479,"filename":"image_21012025_21_47_02_185882_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4510b0c42b17a7b90a1e07363d4455e6.jpg","text":"TemporaryFile(/tmp/multipartBody7095256073815460547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822380479,"filename":"image_21012025_21_46_02_940175_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c42e122b861c2df68d2856380b5cf04b.jpg","text":"TemporaryFile(/tmp/multipartBody3192352506191144121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822380479,"filename":"image_21012025_21_46_02_940175_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a90fcb1f86c05b51664512b9ee47d62e.jpg","text":"TemporaryFile(/tmp/multipartBody4365606360355980993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822380479,"filename":"image_21012025_21_47_02_185882_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/076039b2bcbddc2efe1885982f42a97a.jpg","text":"TemporaryFile(/tmp/multipartBody5606811324445630505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822380479,"filename":"image_21012025_21_47_02_185882_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6c4fcaa668aad9c143d381c37434f7d0.jpg","text":"TemporaryFile(/tmp/multipartBody1213894336885722374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822380479,"filename":"image_21012025_21_47_02_185882_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331399693","file1":"1331399688","file0":"1331399664","file4":"1331399805","file5":"1331399812","file3":"1331399698"},"map_files_photo_id_array":[{"photo_id":"1331399812","filename":"file5"},{"photo_id":"1331399693","filename":"file2"},{"photo_id":"1331399805","filename":"file4"},{"photo_id":"1331399688","filename":"file1"},{"photo_id":"1331399664","filename":"file0"},{"photo_id":"1331399698","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331399812":["hashtag1","hashtag2"]},{"1331399688":["hashtag1","hashtag2"]},{"1331399664":["hashtag1","hashtag2"]},{"1331399805":["hashtag1","hashtag2"]},{"1331399693":["hashtag1","hashtag2"]},{"1331399698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331399812, 1331399688, 1331399664, 1331399805, 1331399693, 1331399698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.70780396461487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 17:26:03.028644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/24/image_25012025_17_24_02_272897_0002.jpg', '/home/pi/Desktop/images/25012025/17/25/image_25012025_17_25_02_448549_0000.jpg', '/home/pi/Desktop/images/25012025/17/25/image_25012025_17_25_02_448549_0001.jpg', '/home/pi/Desktop/images/25012025/17/25/image_25012025_17_25_02_448549_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/24/image_25012025_17_24_02_272897_0002.jpg
/home/pi/Desktop/images/25012025/17/25/image_25012025_17_25_02_448549_0000.jpg
/home/pi/Desktop/images/25012025/17/25/image_25012025_17_25_02_448549_0001.jpg
/home/pi/Desktop/images/25012025/17/25/image_25012025_17_25_02_448549_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":["1331399926","1331399920","1331399928","1331399923"],"photo_ids_order":["1331399920","1331399923","1331399926","1331399928"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/79e55c1c1b46f9911ce1215242af8d8e.jpg","text":"TemporaryFile(/tmp/multipartBody3376208615324335722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822434067,"filename":"image_25012025_17_25_02_448549_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/477959a6a4a1daf35e8968c52e3d2443.jpg","text":"TemporaryFile(/tmp/multipartBody8830337392916495535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822434067,"filename":"image_25012025_17_24_02_272897_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2578128023b87771f1ccb9b9d9d14cf5.jpg","text":"TemporaryFile(/tmp/multipartBody8705108822601845670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822434067,"filename":"image_25012025_17_25_02_448549_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8cf3149d1c8bcb3e466541cd339d5723.jpg","text":"TemporaryFile(/tmp/multipartBody2257376359501352374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822434067,"filename":"image_25012025_17_25_02_448549_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331399926","file1":"1331399923","file0":"1331399920","file3":"1331399928"},"map_files_photo_id_array":[{"photo_id":"1331399926","filename":"file2"},{"photo_id":"1331399923","filename":"file1"},{"photo_id":"1331399920","filename":"file0"},{"photo_id":"1331399928","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331399926":["hashtag1","hashtag2"]},{"1331399920":["hashtag1","hashtag2"]},{"1331399928":["hashtag1","hashtag2"]},{"1331399923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331399926, 1331399920, 1331399928, 1331399923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.54539394378662 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 17:26:52.513296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/25/image_25012025_17_25_02_448549_0003.jpg', '/home/pi/Desktop/images/25012025/17/26/image_25012025_17_26_02_627658_0000.jpg', '/home/pi/Desktop/images/25012025/17/26/image_25012025_17_26_02_627658_0001.jpg', '/home/pi/Desktop/images/25012025/17/26/image_25012025_17_26_02_627658_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/25/image_25012025_17_25_02_448549_0003.jpg
/home/pi/Desktop/images/25012025/17/26/image_25012025_17_26_02_627658_0000.jpg
/home/pi/Desktop/images/25012025/17/26/image_25012025_17_26_02_627658_0001.jpg
/home/pi/Desktop/images/25012025/17/26/image_25012025_17_26_02_627658_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: 10.545764684677124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:27:22.672690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/25/image_25012025_17_25_02_448549_0003.jpg', '/home/pi/Desktop/images/25012025/17/26/image_25012025_17_26_02_627658_0000.jpg', '/home/pi/Desktop/images/25012025/17/26/image_25012025_17_26_02_627658_0001.jpg', '/home/pi/Desktop/images/25012025/17/26/image_25012025_17_26_02_627658_0002.jpg', '/home/pi/Desktop/images/25012025/17/26/image_25012025_17_26_02_627658_0003.jpg', '/home/pi/Desktop/images/25012025/17/27/image_25012025_17_27_02_836325_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/25/image_25012025_17_25_02_448549_0003.jpg
/home/pi/Desktop/images/25012025/17/26/image_25012025_17_26_02_627658_0000.jpg
/home/pi/Desktop/images/25012025/17/26/image_25012025_17_26_02_627658_0001.jpg
/home/pi/Desktop/images/25012025/17/26/image_25012025_17_26_02_627658_0002.jpg
/home/pi/Desktop/images/25012025/17/26/image_25012025_17_26_02_627658_0003.jpg
/home/pi/Desktop/images/25012025/17/27/image_25012025_17_27_02_836325_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 [200]>
b'{"photo_ids":["1331399982","1331400015","1331399967","1331399993","1331399971","1331399974"],"photo_ids_order":["1331399967","1331399971","1331399974","1331399982","1331399993","1331400015"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9d903428ab3ac378657d9249907af877.jpg","text":"TemporaryFile(/tmp/multipartBody8244271769333507398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822518793,"filename":"image_25012025_17_26_02_627658_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/029593c3765c44afc82eb1ab7d1dd4d1.jpg","text":"TemporaryFile(/tmp/multipartBody2462483803910958037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822518793,"filename":"image_25012025_17_27_02_836325_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/45c4f654e0da46b9334eeb2b0b09f6dc.jpg","text":"TemporaryFile(/tmp/multipartBody980582743835777859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822518793,"filename":"image_25012025_17_25_02_448549_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/84b341217e435472e17e0baed9ae1353.jpg","text":"TemporaryFile(/tmp/multipartBody2227839022933356297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822518793,"filename":"image_25012025_17_26_02_627658_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ede7c8a99b439e18628e74bcafd626fa.jpg","text":"TemporaryFile(/tmp/multipartBody7425483089077181781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822518793,"filename":"image_25012025_17_26_02_627658_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5062b74bb43a81f9cb50e084c818d3a2.jpg","text":"TemporaryFile(/tmp/multipartBody5740050088391250850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822518793,"filename":"image_25012025_17_26_02_627658_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331399974","file1":"1331399971","file0":"1331399967","file4":"1331399993","file5":"1331400015","file3":"1331399982"},"map_files_photo_id_array":[{"photo_id":"1331400015","filename":"file5"},{"photo_id":"1331399974","filename":"file2"},{"photo_id":"1331399993","filename":"file4"},{"photo_id":"1331399971","filename":"file1"},{"photo_id":"1331399967","filename":"file0"},{"photo_id":"1331399982","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331399982":["hashtag1","hashtag2"]},{"1331400015":["hashtag1","hashtag2"]},{"1331399967":["hashtag1","hashtag2"]},{"1331399993":["hashtag1","hashtag2"]},{"1331399971":["hashtag1","hashtag2"]},{"1331399974":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331399982, 1331400015, 1331399967, 1331399993, 1331399971, 1331399974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.641687870025635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:28:21.903050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/27/image_25012025_17_27_02_836325_0001.jpg', '/home/pi/Desktop/images/25012025/17/27/image_25012025_17_27_02_836325_0002.jpg', '/home/pi/Desktop/images/25012025/17/27/image_25012025_17_27_02_836325_0003.jpg', '/home/pi/Desktop/images/25012025/17/28/image_25012025_17_28_03_028991_0000.jpg', '/home/pi/Desktop/images/25012025/17/28/image_25012025_17_28_03_028991_0001.jpg', '/home/pi/Desktop/images/25012025/17/28/image_25012025_17_28_03_028991_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/27/image_25012025_17_27_02_836325_0001.jpg
/home/pi/Desktop/images/25012025/17/27/image_25012025_17_27_02_836325_0002.jpg
/home/pi/Desktop/images/25012025/17/27/image_25012025_17_27_02_836325_0003.jpg
/home/pi/Desktop/images/25012025/17/28/image_25012025_17_28_03_028991_0000.jpg
/home/pi/Desktop/images/25012025/17/28/image_25012025_17_28_03_028991_0001.jpg
/home/pi/Desktop/images/25012025/17/28/image_25012025_17_28_03_028991_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 [200]>
b'{"photo_ids":["1331400246","1331400277","1331400101","1331400253","1331400273","1331400267"],"photo_ids_order":["1331400101","1331400246","1331400253","1331400267","1331400273","1331400277"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f55c447e0c9de4f35730eda3cfdffa76.jpg","text":"TemporaryFile(/tmp/multipartBody2853754176326742786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822578353,"filename":"image_25012025_17_27_02_836325_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/96b3462ee91dd9b7ea468c45ca7a1034.jpg","text":"TemporaryFile(/tmp/multipartBody1232045094764113637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822578353,"filename":"image_25012025_17_28_03_028991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e0523c6fe31784d6bd3937b9ae7391ed.jpg","text":"TemporaryFile(/tmp/multipartBody3767896284356149914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822578353,"filename":"image_25012025_17_27_02_836325_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dfdd09bf9c270739d77d79e1b46d77ea.jpg","text":"TemporaryFile(/tmp/multipartBody7954754271022168955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822578353,"filename":"image_25012025_17_27_02_836325_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/076038f4b4a6e47a28fc3f2e3cab85ab.jpg","text":"TemporaryFile(/tmp/multipartBody8673979249145265118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822578353,"filename":"image_25012025_17_28_03_028991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/41c53e0ef0457c903955166bce3434e5.jpg","text":"TemporaryFile(/tmp/multipartBody5460998114887891662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822578353,"filename":"image_25012025_17_28_03_028991_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331400253","file1":"1331400246","file0":"1331400101","file4":"1331400273","file5":"1331400277","file3":"1331400267"},"map_files_photo_id_array":[{"photo_id":"1331400277","filename":"file5"},{"photo_id":"1331400253","filename":"file2"},{"photo_id":"1331400273","filename":"file4"},{"photo_id":"1331400246","filename":"file1"},{"photo_id":"1331400101","filename":"file0"},{"photo_id":"1331400267","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331400246":["hashtag1","hashtag2"]},{"1331400277":["hashtag1","hashtag2"]},{"1331400101":["hashtag1","hashtag2"]},{"1331400253":["hashtag1","hashtag2"]},{"1331400273":["hashtag1","hashtag2"]},{"1331400267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331400246, 1331400277, 1331400101, 1331400253, 1331400273, 1331400267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.93188238143921 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:29:22.129563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/28/image_25012025_17_28_03_028991_0003.jpg', '/home/pi/Desktop/images/25012025/17/29/image_25012025_17_29_02_275849_0000.jpg', '/home/pi/Desktop/images/25012025/17/29/image_25012025_17_29_02_275849_0001.jpg', '/home/pi/Desktop/images/25012025/17/29/image_25012025_17_29_02_275849_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/28/image_25012025_17_28_03_028991_0003.jpg
/home/pi/Desktop/images/25012025/17/29/image_25012025_17_29_02_275849_0000.jpg
/home/pi/Desktop/images/25012025/17/29/image_25012025_17_29_02_275849_0001.jpg
/home/pi/Desktop/images/25012025/17/29/image_25012025_17_29_02_275849_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":["1331400422","1331400418","1331400412","1331400406"],"photo_ids_order":["1331400406","1331400412","1331400418","1331400422"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/11c00c95305151bf94e3d07577b65c9e.jpg","text":"TemporaryFile(/tmp/multipartBody2234071327380542595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822632844,"filename":"image_25012025_17_29_02_275849_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4e58319fe3c9ad0a85dabd6704522b25.jpg","text":"TemporaryFile(/tmp/multipartBody223693517815073898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822632844,"filename":"image_25012025_17_29_02_275849_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bd8f3016956728d31932c84da81479d1.jpg","text":"TemporaryFile(/tmp/multipartBody5720277128409099298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822632844,"filename":"image_25012025_17_29_02_275849_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dde5ce25b1bc75747ff66f2b3ef36d8f.jpg","text":"TemporaryFile(/tmp/multipartBody1570214850659396181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822632844,"filename":"image_25012025_17_28_03_028991_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331400418","file1":"1331400412","file0":"1331400406","file3":"1331400422"},"map_files_photo_id_array":[{"photo_id":"1331400418","filename":"file2"},{"photo_id":"1331400412","filename":"file1"},{"photo_id":"1331400406","filename":"file0"},{"photo_id":"1331400422","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331400422":["hashtag1","hashtag2"]},{"1331400418":["hashtag1","hashtag2"]},{"1331400412":["hashtag1","hashtag2"]},{"1331400406":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331400422, 1331400418, 1331400412, 1331400406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.68047595024109 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 17:30:02.610618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/48/image_21012025_21_48_02_365477_0000.jpg', '/home/pi/Desktop/images/21012025/21/48/image_21012025_21_48_02_365477_0001.jpg', '/home/pi/Desktop/images/21012025/21/48/image_21012025_21_48_02_365477_0002.jpg', '/home/pi/Desktop/images/21012025/21/48/image_21012025_21_48_02_365477_0003.jpg', '/home/pi/Desktop/images/21012025/21/49/image_21012025_21_49_02_503825_0000.jpg', '/home/pi/Desktop/images/21012025/21/49/image_21012025_21_49_02_503825_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/21/48/image_21012025_21_48_02_365477_0000.jpg
/home/pi/Desktop/images/21012025/21/48/image_21012025_21_48_02_365477_0001.jpg
/home/pi/Desktop/images/21012025/21/48/image_21012025_21_48_02_365477_0002.jpg
/home/pi/Desktop/images/21012025/21/48/image_21012025_21_48_02_365477_0003.jpg
/home/pi/Desktop/images/21012025/21/49/image_21012025_21_49_02_503825_0000.jpg
/home/pi/Desktop/images/21012025/21/49/image_21012025_21_49_02_503825_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.0555157661438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:30:22.311562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/29/image_25012025_17_29_02_275849_0003.jpg', '/home/pi/Desktop/images/25012025/17/30/image_25012025_17_30_02_453645_0000.jpg', '/home/pi/Desktop/images/25012025/17/30/image_25012025_17_30_02_453645_0001.jpg', '/home/pi/Desktop/images/25012025/17/30/image_25012025_17_30_02_453645_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/29/image_25012025_17_29_02_275849_0003.jpg
/home/pi/Desktop/images/25012025/17/30/image_25012025_17_30_02_453645_0000.jpg
/home/pi/Desktop/images/25012025/17/30/image_25012025_17_30_02_453645_0001.jpg
/home/pi/Desktop/images/25012025/17/30/image_25012025_17_30_02_453645_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":["1331400624","1331400531","1331400601","1331400570"],"photo_ids_order":["1331400531","1331400570","1331400601","1331400624"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d18e7b983c8bf8eba9a206511a45ac71.jpg","text":"TemporaryFile(/tmp/multipartBody6543396894148789682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822693062,"filename":"image_25012025_17_30_02_453645_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9975d9492dea2e2aa8712c1306e03bec.jpg","text":"TemporaryFile(/tmp/multipartBody7318892256547324005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822693062,"filename":"image_25012025_17_29_02_275849_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7b756f6f76df9945af6dc5abf59c5fca.jpg","text":"TemporaryFile(/tmp/multipartBody4029158114433419505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822693062,"filename":"image_25012025_17_30_02_453645_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/89f2fcc0610b3456f68ee89db53c9369.jpg","text":"TemporaryFile(/tmp/multipartBody3744833189159201386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822693062,"filename":"image_25012025_17_30_02_453645_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331400601","file1":"1331400570","file0":"1331400531","file3":"1331400624"},"map_files_photo_id_array":[{"photo_id":"1331400601","filename":"file2"},{"photo_id":"1331400570","filename":"file1"},{"photo_id":"1331400531","filename":"file0"},{"photo_id":"1331400624","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331400624":["hashtag1","hashtag2"]},{"1331400531":["hashtag1","hashtag2"]},{"1331400601":["hashtag1","hashtag2"]},{"1331400570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331400624, 1331400531, 1331400601, 1331400570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.06024241447449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 17:31:03.038035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/48/image_21012025_21_48_02_365477_0000.jpg', '/home/pi/Desktop/images/21012025/21/48/image_21012025_21_48_02_365477_0001.jpg', '/home/pi/Desktop/images/21012025/21/48/image_21012025_21_48_02_365477_0002.jpg', '/home/pi/Desktop/images/21012025/21/48/image_21012025_21_48_02_365477_0003.jpg', '/home/pi/Desktop/images/21012025/21/49/image_21012025_21_49_02_503825_0000.jpg', '/home/pi/Desktop/images/21012025/21/49/image_21012025_21_49_02_503825_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/21/48/image_21012025_21_48_02_365477_0000.jpg
/home/pi/Desktop/images/21012025/21/48/image_21012025_21_48_02_365477_0001.jpg
/home/pi/Desktop/images/21012025/21/48/image_21012025_21_48_02_365477_0002.jpg
/home/pi/Desktop/images/21012025/21/48/image_21012025_21_48_02_365477_0003.jpg
/home/pi/Desktop/images/21012025/21/49/image_21012025_21_49_02_503825_0000.jpg
/home/pi/Desktop/images/21012025/21/49/image_21012025_21_49_02_503825_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: 17.947608709335327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:31:22.304632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/30/image_25012025_17_30_02_453645_0003.jpg', '/home/pi/Desktop/images/25012025/17/31/image_25012025_17_31_02_588108_0000.jpg', '/home/pi/Desktop/images/25012025/17/31/image_25012025_17_31_02_588108_0001.jpg', '/home/pi/Desktop/images/25012025/17/31/image_25012025_17_31_02_588108_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/30/image_25012025_17_30_02_453645_0003.jpg
/home/pi/Desktop/images/25012025/17/31/image_25012025_17_31_02_588108_0000.jpg
/home/pi/Desktop/images/25012025/17/31/image_25012025_17_31_02_588108_0001.jpg
/home/pi/Desktop/images/25012025/17/31/image_25012025_17_31_02_588108_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":["1331400683","1331400694","1331400655","1331400709"],"photo_ids_order":["1331400655","1331400683","1331400694","1331400709"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b779b99b2ac5f1f71c6bbe675dd87175.jpg","text":"TemporaryFile(/tmp/multipartBody7726743131225546945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822753281,"filename":"image_25012025_17_31_02_588108_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/85829324e9d3b2da1ecd64d8cbd22a03.jpg","text":"TemporaryFile(/tmp/multipartBody2681677516381739109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822753281,"filename":"image_25012025_17_31_02_588108_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c4e518f04609b404650ab24893c9dd9f.jpg","text":"TemporaryFile(/tmp/multipartBody491379175540060370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822753281,"filename":"image_25012025_17_30_02_453645_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b8fff1598a5b32828308175bdc3c8ea3.jpg","text":"TemporaryFile(/tmp/multipartBody7570328104086990297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822753281,"filename":"image_25012025_17_31_02_588108_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331400694","file1":"1331400683","file0":"1331400655","file3":"1331400709"},"map_files_photo_id_array":[{"photo_id":"1331400694","filename":"file2"},{"photo_id":"1331400683","filename":"file1"},{"photo_id":"1331400655","filename":"file0"},{"photo_id":"1331400709","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331400683":["hashtag1","hashtag2"]},{"1331400694":["hashtag1","hashtag2"]},{"1331400655":["hashtag1","hashtag2"]},{"1331400709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331400683, 1331400694, 1331400655, 1331400709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.39854097366333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 17:32:02.887221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/48/image_21012025_21_48_02_365477_0000.jpg', '/home/pi/Desktop/images/21012025/21/48/image_21012025_21_48_02_365477_0001.jpg', '/home/pi/Desktop/images/21012025/21/48/image_21012025_21_48_02_365477_0002.jpg', '/home/pi/Desktop/images/21012025/21/48/image_21012025_21_48_02_365477_0003.jpg', '/home/pi/Desktop/images/21012025/21/49/image_21012025_21_49_02_503825_0000.jpg', '/home/pi/Desktop/images/21012025/21/49/image_21012025_21_49_02_503825_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/21/48/image_21012025_21_48_02_365477_0000.jpg
/home/pi/Desktop/images/21012025/21/48/image_21012025_21_48_02_365477_0001.jpg
/home/pi/Desktop/images/21012025/21/48/image_21012025_21_48_02_365477_0002.jpg
/home/pi/Desktop/images/21012025/21/48/image_21012025_21_48_02_365477_0003.jpg
/home/pi/Desktop/images/21012025/21/49/image_21012025_21_49_02_503825_0000.jpg
/home/pi/Desktop/images/21012025/21/49/image_21012025_21_49_02_503825_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":["1331400735","1331400731","1331400725","1331400727","1331400721","1331400744"],"photo_ids_order":["1331400721","1331400725","1331400727","1331400731","1331400735","1331400744"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/38be7fd50430b8b048fe3fde57eaa86e.jpg","text":"TemporaryFile(/tmp/multipartBody3698033995615079162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822801146,"filename":"image_21012025_21_49_02_503825_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f5ad9bdd2b42f6bd7b3506a4bb592b2c.jpg","text":"TemporaryFile(/tmp/multipartBody8121529458667889319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822801146,"filename":"image_21012025_21_48_02_365477_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/24e31f3f4fbd2395de32cf70e9c275ce.jpg","text":"TemporaryFile(/tmp/multipartBody528228634347170620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822801146,"filename":"image_21012025_21_48_02_365477_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/af1520e1badbd9ecdab01a13a0008fe0.jpg","text":"TemporaryFile(/tmp/multipartBody172596711043502111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822801146,"filename":"image_21012025_21_48_02_365477_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c9db399739edbc1a08c0e3cea478ec09.jpg","text":"TemporaryFile(/tmp/multipartBody4908686821000273385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822801146,"filename":"image_21012025_21_48_02_365477_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fd3eb1c8695c7427ac7e195c8314e846.jpg","text":"TemporaryFile(/tmp/multipartBody558656399785543122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822801146,"filename":"image_21012025_21_49_02_503825_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331400727","file1":"1331400725","file0":"1331400721","file4":"1331400735","file5":"1331400744","file3":"1331400731"},"map_files_photo_id_array":[{"photo_id":"1331400744","filename":"file5"},{"photo_id":"1331400727","filename":"file2"},{"photo_id":"1331400735","filename":"file4"},{"photo_id":"1331400725","filename":"file1"},{"photo_id":"1331400721","filename":"file0"},{"photo_id":"1331400731","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331400735":["hashtag1","hashtag2"]},{"1331400731":["hashtag1","hashtag2"]},{"1331400725":["hashtag1","hashtag2"]},{"1331400727":["hashtag1","hashtag2"]},{"1331400721":["hashtag1","hashtag2"]},{"1331400744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331400735, 1331400731, 1331400725, 1331400727, 1331400721, 1331400744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.424304246902466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 17:33:03.460170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/31/image_25012025_17_31_02_588108_0003.jpg', '/home/pi/Desktop/images/25012025/17/32/image_25012025_17_32_02_698672_0000.jpg', '/home/pi/Desktop/images/25012025/17/32/image_25012025_17_32_02_698672_0001.jpg', '/home/pi/Desktop/images/25012025/17/32/image_25012025_17_32_02_698672_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/31/image_25012025_17_31_02_588108_0003.jpg
/home/pi/Desktop/images/25012025/17/32/image_25012025_17_32_02_698672_0000.jpg
/home/pi/Desktop/images/25012025/17/32/image_25012025_17_32_02_698672_0001.jpg
/home/pi/Desktop/images/25012025/17/32/image_25012025_17_32_02_698672_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":["1331401586","1331401544","1331401182","1331400760"],"photo_ids_order":["1331400760","1331401182","1331401544","1331401586"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0aa9fc93d858efe4cf0084f4d754a16e.jpg","text":"TemporaryFile(/tmp/multipartBody5033683312176588207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822855102,"filename":"image_25012025_17_32_02_698672_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/926cf3d20d3b6898db8b64355d73355e.jpg","text":"TemporaryFile(/tmp/multipartBody2716149708983544540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822855102,"filename":"image_25012025_17_32_02_698672_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f8eac8318ea972c40086db28d08d2eb9.jpg","text":"TemporaryFile(/tmp/multipartBody3702994891526682685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822855102,"filename":"image_25012025_17_32_02_698672_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6edc6c64b30d1a42e6c24f8c8c16948d.jpg","text":"TemporaryFile(/tmp/multipartBody8687254021190064866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822855102,"filename":"image_25012025_17_31_02_588108_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331401544","file1":"1331401182","file0":"1331400760","file3":"1331401586"},"map_files_photo_id_array":[{"photo_id":"1331401544","filename":"file2"},{"photo_id":"1331401182","filename":"file1"},{"photo_id":"1331400760","filename":"file0"},{"photo_id":"1331401586","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331401586":["hashtag1","hashtag2"]},{"1331401544":["hashtag1","hashtag2"]},{"1331401182":["hashtag1","hashtag2"]},{"1331400760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331401586, 1331401544, 1331401182, 1331400760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.04121947288513 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 17:33:52.640601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/32/image_25012025_17_32_02_698672_0003.jpg', '/home/pi/Desktop/images/25012025/17/33/image_25012025_17_33_02_922183_0000.jpg', '/home/pi/Desktop/images/25012025/17/33/image_25012025_17_33_02_922183_0001.jpg', '/home/pi/Desktop/images/25012025/17/33/image_25012025_17_33_02_922183_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/32/image_25012025_17_32_02_698672_0003.jpg
/home/pi/Desktop/images/25012025/17/33/image_25012025_17_33_02_922183_0000.jpg
/home/pi/Desktop/images/25012025/17/33/image_25012025_17_33_02_922183_0001.jpg
/home/pi/Desktop/images/25012025/17/33/image_25012025_17_33_02_922183_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":["1331401901","1331401885","1331401881","1331401920"],"photo_ids_order":["1331401881","1331401885","1331401901","1331401920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9dbe3d376ed2093502a4dc785a60dea0.jpg","text":"TemporaryFile(/tmp/multipartBody5475590754769294132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822904229,"filename":"image_25012025_17_33_02_922183_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/46808d149cc08b928363d7bf820d9229.jpg","text":"TemporaryFile(/tmp/multipartBody9066557894384941886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822904229,"filename":"image_25012025_17_33_02_922183_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/97ca16d0f5ee267c94fe5dc7c067d151.jpg","text":"TemporaryFile(/tmp/multipartBody7633207480637215914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822904229,"filename":"image_25012025_17_32_02_698672_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3bc3cd64f06ee12bf3911b6b9447ec18.jpg","text":"TemporaryFile(/tmp/multipartBody2230695656247668429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822904229,"filename":"image_25012025_17_33_02_922183_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331401901","file1":"1331401885","file0":"1331401881","file3":"1331401920"},"map_files_photo_id_array":[{"photo_id":"1331401901","filename":"file2"},{"photo_id":"1331401885","filename":"file1"},{"photo_id":"1331401881","filename":"file0"},{"photo_id":"1331401920","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331401901":["hashtag1","hashtag2"]},{"1331401885":["hashtag1","hashtag2"]},{"1331401881":["hashtag1","hashtag2"]},{"1331401920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331401901, 1331401885, 1331401881, 1331401920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.09993004798889 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 17:34:41.875727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/33/image_25012025_17_33_02_922183_0003.jpg', '/home/pi/Desktop/images/25012025/17/34/image_25012025_17_34_03_031141_0000.jpg', '/home/pi/Desktop/images/25012025/17/34/image_25012025_17_34_03_031141_0001.jpg', '/home/pi/Desktop/images/25012025/17/34/image_25012025_17_34_03_031141_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/33/image_25012025_17_33_02_922183_0003.jpg
/home/pi/Desktop/images/25012025/17/34/image_25012025_17_34_03_031141_0000.jpg
/home/pi/Desktop/images/25012025/17/34/image_25012025_17_34_03_031141_0001.jpg
/home/pi/Desktop/images/25012025/17/34/image_25012025_17_34_03_031141_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":["1331402231","1331402071","1331402131","1331402075"],"photo_ids_order":["1331402071","1331402075","1331402131","1331402231"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/646ecdf85eda7ff1411c72abd7e571da.jpg","text":"TemporaryFile(/tmp/multipartBody7932334439394603834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822952953,"filename":"image_25012025_17_34_03_031141_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/97eed2d0f9d5bf68949412ec21bf1744.jpg","text":"TemporaryFile(/tmp/multipartBody7437457915444166796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822952953,"filename":"image_25012025_17_33_02_922183_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4d03e51e738b9230b92db72a05c7df9a.jpg","text":"TemporaryFile(/tmp/multipartBody4621871765478515088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822952953,"filename":"image_25012025_17_34_03_031141_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eae1c7e3c470c08ee3c6b6f99aa9236c.jpg","text":"TemporaryFile(/tmp/multipartBody4655439846996796833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822952953,"filename":"image_25012025_17_34_03_031141_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331402131","file1":"1331402075","file0":"1331402071","file3":"1331402231"},"map_files_photo_id_array":[{"photo_id":"1331402131","filename":"file2"},{"photo_id":"1331402075","filename":"file1"},{"photo_id":"1331402071","filename":"file0"},{"photo_id":"1331402231","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331402231":["hashtag1","hashtag2"]},{"1331402071":["hashtag1","hashtag2"]},{"1331402131":["hashtag1","hashtag2"]},{"1331402075":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331402231, 1331402071, 1331402131, 1331402075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.224382162094116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:35:21.979386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/34/image_25012025_17_34_03_031141_0003.jpg', '/home/pi/Desktop/images/25012025/17/35/image_25012025_17_35_02_211583_0000.jpg', '/home/pi/Desktop/images/25012025/17/35/image_25012025_17_35_02_211583_0001.jpg', '/home/pi/Desktop/images/25012025/17/35/image_25012025_17_35_02_211583_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/34/image_25012025_17_34_03_031141_0003.jpg
/home/pi/Desktop/images/25012025/17/35/image_25012025_17_35_02_211583_0000.jpg
/home/pi/Desktop/images/25012025/17/35/image_25012025_17_35_02_211583_0001.jpg
/home/pi/Desktop/images/25012025/17/35/image_25012025_17_35_02_211583_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 [200]>
b'{"photo_ids":["1331402264","1331402258","1331402272","1331402279"],"photo_ids_order":["1331402258","1331402264","1331402272","1331402279"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a7ca82c151916160c20db5ee74c37b29.jpg","text":"TemporaryFile(/tmp/multipartBody2675769417025548799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822993443,"filename":"image_25012025_17_35_02_211583_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6f168708157089c2ca1dd3f202e9943f.jpg","text":"TemporaryFile(/tmp/multipartBody759808508886045058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822993443,"filename":"image_25012025_17_34_03_031141_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1eae748593d44b058bd8c96f125a522e.jpg","text":"TemporaryFile(/tmp/multipartBody4357448512095729511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822993443,"filename":"image_25012025_17_35_02_211583_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8b131128c74a837921ac04899dc2002d.jpg","text":"TemporaryFile(/tmp/multipartBody8655040963353614408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737822993443,"filename":"image_25012025_17_35_02_211583_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331402272","file1":"1331402264","file0":"1331402258","file3":"1331402279"},"map_files_photo_id_array":[{"photo_id":"1331402272","filename":"file2"},{"photo_id":"1331402264","filename":"file1"},{"photo_id":"1331402258","filename":"file0"},{"photo_id":"1331402279","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331402264":["hashtag1","hashtag2"]},{"1331402258":["hashtag1","hashtag2"]},{"1331402272":["hashtag1","hashtag2"]},{"1331402279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331402264, 1331402258, 1331402272, 1331402279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.61314797401428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:36:22.191298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/35/image_25012025_17_35_02_211583_0003.jpg', '/home/pi/Desktop/images/25012025/17/36/image_25012025_17_36_02_353634_0000.jpg', '/home/pi/Desktop/images/25012025/17/36/image_25012025_17_36_02_353634_0001.jpg', '/home/pi/Desktop/images/25012025/17/36/image_25012025_17_36_02_353634_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/35/image_25012025_17_35_02_211583_0003.jpg
/home/pi/Desktop/images/25012025/17/36/image_25012025_17_36_02_353634_0000.jpg
/home/pi/Desktop/images/25012025/17/36/image_25012025_17_36_02_353634_0001.jpg
/home/pi/Desktop/images/25012025/17/36/image_25012025_17_36_02_353634_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 [200]>
b'{"photo_ids":["1331402303","1331402312","1331402306","1331402297"],"photo_ids_order":["1331402297","1331402303","1331402306","1331402312"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/180a83ca3d5869211f906549e00b6b44.jpg","text":"TemporaryFile(/tmp/multipartBody3325421539203220343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823053420,"filename":"image_25012025_17_36_02_353634_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e2f3c1bf402df43e1c8b70c0bfa30389.jpg","text":"TemporaryFile(/tmp/multipartBody3269203882424019660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823053420,"filename":"image_25012025_17_36_02_353634_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1e14f7c6182801582a19e5c7e0d12ea4.jpg","text":"TemporaryFile(/tmp/multipartBody5078033167668911992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823053420,"filename":"image_25012025_17_36_02_353634_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/896198a43f3efa6515616cfee9691bc8.jpg","text":"TemporaryFile(/tmp/multipartBody6063385739571499125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823053420,"filename":"image_25012025_17_35_02_211583_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331402306","file1":"1331402303","file0":"1331402297","file3":"1331402312"},"map_files_photo_id_array":[{"photo_id":"1331402306","filename":"file2"},{"photo_id":"1331402303","filename":"file1"},{"photo_id":"1331402297","filename":"file0"},{"photo_id":"1331402312","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331402303":["hashtag1","hashtag2"]},{"1331402312":["hashtag1","hashtag2"]},{"1331402306":["hashtag1","hashtag2"]},{"1331402297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331402303, 1331402312, 1331402306, 1331402297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.13071322441101 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:37:22.451596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/36/image_25012025_17_36_02_353634_0003.jpg', '/home/pi/Desktop/images/25012025/17/37/image_25012025_17_37_02_555580_0000.jpg', '/home/pi/Desktop/images/25012025/17/37/image_25012025_17_37_02_555580_0001.jpg', '/home/pi/Desktop/images/25012025/17/37/image_25012025_17_37_02_555580_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/36/image_25012025_17_36_02_353634_0003.jpg
/home/pi/Desktop/images/25012025/17/37/image_25012025_17_37_02_555580_0000.jpg
/home/pi/Desktop/images/25012025/17/37/image_25012025_17_37_02_555580_0001.jpg
/home/pi/Desktop/images/25012025/17/37/image_25012025_17_37_02_555580_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":["1331402383","1331402377","1331402365","1331402370"],"photo_ids_order":["1331402365","1331402370","1331402377","1331402383"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ae39e0b054173b5f766cb3d18f235c1d.jpg","text":"TemporaryFile(/tmp/multipartBody348581882233280640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823113844,"filename":"image_25012025_17_37_02_555580_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f15f4059f626bf464308d790b6448adf.jpg","text":"TemporaryFile(/tmp/multipartBody8418254487380666130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823113844,"filename":"image_25012025_17_37_02_555580_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c3cb7652ed03a6aaacee64ca585dd5aa.jpg","text":"TemporaryFile(/tmp/multipartBody8546673368204732552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823113844,"filename":"image_25012025_17_36_02_353634_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d218835ef9d1efa0b0080bb655e0e5f4.jpg","text":"TemporaryFile(/tmp/multipartBody5067573933765262317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823113844,"filename":"image_25012025_17_37_02_555580_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331402377","file1":"1331402370","file0":"1331402365","file3":"1331402383"},"map_files_photo_id_array":[{"photo_id":"1331402377","filename":"file2"},{"photo_id":"1331402370","filename":"file1"},{"photo_id":"1331402365","filename":"file0"},{"photo_id":"1331402383","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331402383":["hashtag1","hashtag2"]},{"1331402377":["hashtag1","hashtag2"]},{"1331402365":["hashtag1","hashtag2"]},{"1331402370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331402383, 1331402377, 1331402365, 1331402370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01696276664734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 17:38:02.841700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/49/image_21012025_21_49_02_503825_0002.jpg', '/home/pi/Desktop/images/21012025/21/49/image_21012025_21_49_02_503825_0003.jpg', '/home/pi/Desktop/images/21012025/21/50/image_21012025_21_50_02_789984_0000.jpg', '/home/pi/Desktop/images/21012025/21/50/image_21012025_21_50_02_789984_0001.jpg', '/home/pi/Desktop/images/21012025/21/50/image_21012025_21_50_02_789984_0002.jpg', '/home/pi/Desktop/images/21012025/21/50/image_21012025_21_50_02_789984_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/21/49/image_21012025_21_49_02_503825_0002.jpg
/home/pi/Desktop/images/21012025/21/49/image_21012025_21_49_02_503825_0003.jpg
/home/pi/Desktop/images/21012025/21/50/image_21012025_21_50_02_789984_0000.jpg
/home/pi/Desktop/images/21012025/21/50/image_21012025_21_50_02_789984_0001.jpg
/home/pi/Desktop/images/21012025/21/50/image_21012025_21_50_02_789984_0002.jpg
/home/pi/Desktop/images/21012025/21/50/image_21012025_21_50_02_789984_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 [200]>
b'{"photo_ids":["1331402389","1331402416","1331402401","1331402391","1331402394","1331402409"],"photo_ids_order":["1331402389","1331402391","1331402394","1331402401","1331402409","1331402416"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8b8d40e8ec4b91b0ddf49f9cc29738dc.jpg","text":"TemporaryFile(/tmp/multipartBody7067740492232458781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823160478,"filename":"image_21012025_21_49_02_503825_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/743764080ffc095dad220e765504896c.jpg","text":"TemporaryFile(/tmp/multipartBody2459724096263205820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823160478,"filename":"image_21012025_21_50_02_789984_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1482f4a4de20933e36320553972c200e.jpg","text":"TemporaryFile(/tmp/multipartBody6650385987925864659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823160478,"filename":"image_21012025_21_50_02_789984_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bfe5d333c9ef70bb621b4f7e739e4c2a.jpg","text":"TemporaryFile(/tmp/multipartBody1647704956873069387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823160478,"filename":"image_21012025_21_49_02_503825_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/df88941de72166de7fd3deab1a55178c.jpg","text":"TemporaryFile(/tmp/multipartBody8148530094046844745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823160478,"filename":"image_21012025_21_50_02_789984_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d5ba144ea80bf5c8ee1edc2f78c55a95.jpg","text":"TemporaryFile(/tmp/multipartBody4416668774956709626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823160478,"filename":"image_21012025_21_50_02_789984_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331402394","file1":"1331402391","file0":"1331402389","file4":"1331402409","file5":"1331402416","file3":"1331402401"},"map_files_photo_id_array":[{"photo_id":"1331402416","filename":"file5"},{"photo_id":"1331402394","filename":"file2"},{"photo_id":"1331402409","filename":"file4"},{"photo_id":"1331402391","filename":"file1"},{"photo_id":"1331402389","filename":"file0"},{"photo_id":"1331402401","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331402389":["hashtag1","hashtag2"]},{"1331402416":["hashtag1","hashtag2"]},{"1331402401":["hashtag1","hashtag2"]},{"1331402391":["hashtag1","hashtag2"]},{"1331402394":["hashtag1","hashtag2"]},{"1331402409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331402389, 1331402416, 1331402401, 1331402391, 1331402394, 1331402409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.35938239097595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 17:39:03.371706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/37/image_25012025_17_37_02_555580_0003.jpg', '/home/pi/Desktop/images/25012025/17/38/image_25012025_17_38_02_741069_0000.jpg', '/home/pi/Desktop/images/25012025/17/38/image_25012025_17_38_02_741069_0001.jpg', '/home/pi/Desktop/images/25012025/17/38/image_25012025_17_38_02_741069_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/37/image_25012025_17_37_02_555580_0003.jpg
/home/pi/Desktop/images/25012025/17/38/image_25012025_17_38_02_741069_0000.jpg
/home/pi/Desktop/images/25012025/17/38/image_25012025_17_38_02_741069_0001.jpg
/home/pi/Desktop/images/25012025/17/38/image_25012025_17_38_02_741069_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":["1331402443","1331402434","1331402437","1331402432"],"photo_ids_order":["1331402432","1331402434","1331402437","1331402443"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6dae42a65ee89bda7da6146466fd1d20.jpg","text":"TemporaryFile(/tmp/multipartBody577244015477986211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823214584,"filename":"image_25012025_17_38_02_741069_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/293f4fdd1a0285a814ef82b20651d2eb.jpg","text":"TemporaryFile(/tmp/multipartBody8402156637069083978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823214584,"filename":"image_25012025_17_38_02_741069_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a93802bd7534aaf75f44aa327815dfb7.jpg","text":"TemporaryFile(/tmp/multipartBody7980933294632803273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823214584,"filename":"image_25012025_17_38_02_741069_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/57de4a8ac0a3f27f059785fd93129931.jpg","text":"TemporaryFile(/tmp/multipartBody6717933665690023133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823214584,"filename":"image_25012025_17_37_02_555580_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331402437","file1":"1331402434","file0":"1331402432","file3":"1331402443"},"map_files_photo_id_array":[{"photo_id":"1331402437","filename":"file2"},{"photo_id":"1331402434","filename":"file1"},{"photo_id":"1331402432","filename":"file0"},{"photo_id":"1331402443","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331402443":["hashtag1","hashtag2"]},{"1331402434":["hashtag1","hashtag2"]},{"1331402437":["hashtag1","hashtag2"]},{"1331402432":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331402443, 1331402434, 1331402437, 1331402432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.08998155593872 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 17:39:52.735060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/38/image_25012025_17_38_02_741069_0003.jpg', '/home/pi/Desktop/images/25012025/17/39/image_25012025_17_39_02_946019_0000.jpg', '/home/pi/Desktop/images/25012025/17/39/image_25012025_17_39_02_946019_0001.jpg', '/home/pi/Desktop/images/25012025/17/39/image_25012025_17_39_02_946019_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/38/image_25012025_17_38_02_741069_0003.jpg
/home/pi/Desktop/images/25012025/17/39/image_25012025_17_39_02_946019_0000.jpg
/home/pi/Desktop/images/25012025/17/39/image_25012025_17_39_02_946019_0001.jpg
/home/pi/Desktop/images/25012025/17/39/image_25012025_17_39_02_946019_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":["1331402513","1331402509","1331402490","1331402474"],"photo_ids_order":["1331402474","1331402490","1331402509","1331402513"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0f1e45e86ed646cdb30c3cde57a40d3a.jpg","text":"TemporaryFile(/tmp/multipartBody4616795358699409112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823264324,"filename":"image_25012025_17_39_02_946019_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5fde346d0f35447a5340605debbee792.jpg","text":"TemporaryFile(/tmp/multipartBody8299071533393910041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823264324,"filename":"image_25012025_17_39_02_946019_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d9dbfa9307fc9dddd672dc264b3c57c9.jpg","text":"TemporaryFile(/tmp/multipartBody4045866740024205131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823264324,"filename":"image_25012025_17_39_02_946019_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8576d1dfe0cb7a4c30b44aa8b8085c84.jpg","text":"TemporaryFile(/tmp/multipartBody8056071363454556029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823264324,"filename":"image_25012025_17_38_02_741069_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331402509","file1":"1331402490","file0":"1331402474","file3":"1331402513"},"map_files_photo_id_array":[{"photo_id":"1331402509","filename":"file2"},{"photo_id":"1331402490","filename":"file1"},{"photo_id":"1331402474","filename":"file0"},{"photo_id":"1331402513","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331402513":["hashtag1","hashtag2"]},{"1331402509":["hashtag1","hashtag2"]},{"1331402490":["hashtag1","hashtag2"]},{"1331402474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331402513, 1331402509, 1331402490, 1331402474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.15792107582092 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 17:40:42.057977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/39/image_25012025_17_39_02_946019_0003.jpg', '/home/pi/Desktop/images/25012025/17/40/image_25012025_17_40_03_092080_0000.jpg', '/home/pi/Desktop/images/25012025/17/40/image_25012025_17_40_03_092080_0001.jpg', '/home/pi/Desktop/images/25012025/17/40/image_25012025_17_40_03_092080_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/39/image_25012025_17_39_02_946019_0003.jpg
/home/pi/Desktop/images/25012025/17/40/image_25012025_17_40_03_092080_0000.jpg
/home/pi/Desktop/images/25012025/17/40/image_25012025_17_40_03_092080_0001.jpg
/home/pi/Desktop/images/25012025/17/40/image_25012025_17_40_03_092080_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: 10.82642388343811 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 17:41:02.833420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/39/image_25012025_17_39_02_946019_0003.jpg', '/home/pi/Desktop/images/25012025/17/40/image_25012025_17_40_03_092080_0000.jpg', '/home/pi/Desktop/images/25012025/17/40/image_25012025_17_40_03_092080_0001.jpg', '/home/pi/Desktop/images/25012025/17/40/image_25012025_17_40_03_092080_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/39/image_25012025_17_39_02_946019_0003.jpg
/home/pi/Desktop/images/25012025/17/40/image_25012025_17_40_03_092080_0000.jpg
/home/pi/Desktop/images/25012025/17/40/image_25012025_17_40_03_092080_0001.jpg
/home/pi/Desktop/images/25012025/17/40/image_25012025_17_40_03_092080_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":["1331402563","1331402557","1331402566","1331402559"],"photo_ids_order":["1331402557","1331402559","1331402563","1331402566"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/04137530e3fefa68bc27aba13505ee7b.jpg","text":"TemporaryFile(/tmp/multipartBody4498115017651554228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823334051,"filename":"image_25012025_17_40_03_092080_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f4c75470c1b7fd4d5d39d1e866ca9db8.jpg","text":"TemporaryFile(/tmp/multipartBody3777950937187340747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823334051,"filename":"image_25012025_17_39_02_946019_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1d9a36ebe55b14c0d626ea364f45d2ea.jpg","text":"TemporaryFile(/tmp/multipartBody5969121249783336518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823334051,"filename":"image_25012025_17_40_03_092080_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/515117a2e7f4af5ebf32419218f10f6b.jpg","text":"TemporaryFile(/tmp/multipartBody6832853449196150287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823334051,"filename":"image_25012025_17_40_03_092080_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331402563","file1":"1331402559","file0":"1331402557","file3":"1331402566"},"map_files_photo_id_array":[{"photo_id":"1331402563","filename":"file2"},{"photo_id":"1331402559","filename":"file1"},{"photo_id":"1331402557","filename":"file0"},{"photo_id":"1331402566","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331402563":["hashtag1","hashtag2"]},{"1331402557":["hashtag1","hashtag2"]},{"1331402566":["hashtag1","hashtag2"]},{"1331402559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331402563, 1331402557, 1331402566, 1331402559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.51831364631653 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 17:41:42.042718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/40/image_25012025_17_40_03_092080_0003.jpg', '/home/pi/Desktop/images/25012025/17/41/image_25012025_17_41_02_250071_0000.jpg', '/home/pi/Desktop/images/25012025/17/41/image_25012025_17_41_02_250071_0001.jpg', '/home/pi/Desktop/images/25012025/17/41/image_25012025_17_41_02_250071_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/40/image_25012025_17_40_03_092080_0003.jpg
/home/pi/Desktop/images/25012025/17/41/image_25012025_17_41_02_250071_0000.jpg
/home/pi/Desktop/images/25012025/17/41/image_25012025_17_41_02_250071_0001.jpg
/home/pi/Desktop/images/25012025/17/41/image_25012025_17_41_02_250071_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":["1331402659","1331402614","1331402685","1331402694"],"photo_ids_order":["1331402614","1331402659","1331402685","1331402694"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c788ac18822fe8c77e738ee63c616d94.jpg","text":"TemporaryFile(/tmp/multipartBody3050191555925036063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823373623,"filename":"image_25012025_17_41_02_250071_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/83a3ee97f6b2f0c6b15ffc0520ffd5bb.jpg","text":"TemporaryFile(/tmp/multipartBody801554410641897463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823373623,"filename":"image_25012025_17_40_03_092080_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a28b9534e5bcc910f3c2d6650cb2540c.jpg","text":"TemporaryFile(/tmp/multipartBody2501241862496591310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823373623,"filename":"image_25012025_17_41_02_250071_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a78b9795842b8451df7bf39cf79349b6.jpg","text":"TemporaryFile(/tmp/multipartBody5181622163921867893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823373623,"filename":"image_25012025_17_41_02_250071_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331402685","file1":"1331402659","file0":"1331402614","file3":"1331402694"},"map_files_photo_id_array":[{"photo_id":"1331402685","filename":"file2"},{"photo_id":"1331402659","filename":"file1"},{"photo_id":"1331402614","filename":"file0"},{"photo_id":"1331402694","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331402659":["hashtag1","hashtag2"]},{"1331402614":["hashtag1","hashtag2"]},{"1331402685":["hashtag1","hashtag2"]},{"1331402694":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331402659, 1331402614, 1331402685, 1331402694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.15346622467041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 17:42:32.290179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/41/image_25012025_17_41_02_250071_0003.jpg', '/home/pi/Desktop/images/25012025/17/42/image_25012025_17_42_02_493066_0000.jpg', '/home/pi/Desktop/images/25012025/17/42/image_25012025_17_42_02_493066_0001.jpg', '/home/pi/Desktop/images/25012025/17/42/image_25012025_17_42_02_493066_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/41/image_25012025_17_41_02_250071_0003.jpg
/home/pi/Desktop/images/25012025/17/42/image_25012025_17_42_02_493066_0000.jpg
/home/pi/Desktop/images/25012025/17/42/image_25012025_17_42_02_493066_0001.jpg
/home/pi/Desktop/images/25012025/17/42/image_25012025_17_42_02_493066_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":["1331402824","1331402806","1331402733","1331402771"],"photo_ids_order":["1331402733","1331402771","1331402806","1331402824"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/07255129931ceb6da6c16f990d2221fb.jpg","text":"TemporaryFile(/tmp/multipartBody8531064077939839327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823423621,"filename":"image_25012025_17_42_02_493066_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8d442f7ba56c853ed4ce63892f03ab21.jpg","text":"TemporaryFile(/tmp/multipartBody4376046304830704865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823423621,"filename":"image_25012025_17_42_02_493066_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/56dcad942b3929fa7edc13adc181c8b3.jpg","text":"TemporaryFile(/tmp/multipartBody3587893406993339710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823423621,"filename":"image_25012025_17_41_02_250071_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/17c3113da1e605c339df90cebcac1c29.jpg","text":"TemporaryFile(/tmp/multipartBody3724362462139900635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823423621,"filename":"image_25012025_17_42_02_493066_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331402806","file1":"1331402771","file0":"1331402733","file3":"1331402824"},"map_files_photo_id_array":[{"photo_id":"1331402806","filename":"file2"},{"photo_id":"1331402771","filename":"file1"},{"photo_id":"1331402733","filename":"file0"},{"photo_id":"1331402824","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331402824":["hashtag1","hashtag2"]},{"1331402806":["hashtag1","hashtag2"]},{"1331402733":["hashtag1","hashtag2"]},{"1331402771":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331402824, 1331402806, 1331402733, 1331402771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.6475567817688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:43:22.476346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/42/image_25012025_17_42_02_493066_0003.jpg', '/home/pi/Desktop/images/25012025/17/43/image_25012025_17_43_02_638273_0000.jpg', '/home/pi/Desktop/images/25012025/17/43/image_25012025_17_43_02_638273_0001.jpg', '/home/pi/Desktop/images/25012025/17/43/image_25012025_17_43_02_638273_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/42/image_25012025_17_42_02_493066_0003.jpg
/home/pi/Desktop/images/25012025/17/43/image_25012025_17_43_02_638273_0000.jpg
/home/pi/Desktop/images/25012025/17/43/image_25012025_17_43_02_638273_0001.jpg
/home/pi/Desktop/images/25012025/17/43/image_25012025_17_43_02_638273_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 [200]>
b'{"photo_ids":["1331402895","1331402889","1331402874","1331402882"],"photo_ids_order":["1331402874","1331402882","1331402889","1331402895"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9880be9a49bc06bd76b9209b943624c8.jpg","text":"TemporaryFile(/tmp/multipartBody579760873091343144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823473757,"filename":"image_25012025_17_43_02_638273_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ce6cbfebfee1eaf990ed128a0734d06a.jpg","text":"TemporaryFile(/tmp/multipartBody7115037528210158485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823473757,"filename":"image_25012025_17_43_02_638273_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/baef820487a5b6fe272e1c7f25cff16a.jpg","text":"TemporaryFile(/tmp/multipartBody5270022121268699394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823473757,"filename":"image_25012025_17_42_02_493066_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/de029860c90242aa7970edd41bd900f5.jpg","text":"TemporaryFile(/tmp/multipartBody7098767336871672689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823473757,"filename":"image_25012025_17_43_02_638273_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331402889","file1":"1331402882","file0":"1331402874","file3":"1331402895"},"map_files_photo_id_array":[{"photo_id":"1331402889","filename":"file2"},{"photo_id":"1331402882","filename":"file1"},{"photo_id":"1331402874","filename":"file0"},{"photo_id":"1331402895","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331402895":["hashtag1","hashtag2"]},{"1331402889":["hashtag1","hashtag2"]},{"1331402874":["hashtag1","hashtag2"]},{"1331402882":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331402895, 1331402889, 1331402874, 1331402882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.86210513114929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:44:22.715548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/43/image_25012025_17_43_02_638273_0003.jpg', '/home/pi/Desktop/images/25012025/17/44/image_25012025_17_44_02_884091_0000.jpg', '/home/pi/Desktop/images/25012025/17/44/image_25012025_17_44_02_884091_0001.jpg', '/home/pi/Desktop/images/25012025/17/44/image_25012025_17_44_02_884091_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/43/image_25012025_17_43_02_638273_0003.jpg
/home/pi/Desktop/images/25012025/17/44/image_25012025_17_44_02_884091_0000.jpg
/home/pi/Desktop/images/25012025/17/44/image_25012025_17_44_02_884091_0001.jpg
/home/pi/Desktop/images/25012025/17/44/image_25012025_17_44_02_884091_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 [200]>
b'{"photo_ids":["1331402915","1331402905","1331402910","1331402921"],"photo_ids_order":["1331402905","1331402910","1331402915","1331402921"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dc2c015116a97a02fe9ae7d824955bbe.jpg","text":"TemporaryFile(/tmp/multipartBody6946538900532894098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823533864,"filename":"image_25012025_17_44_02_884091_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/93bfc26db90f3949632d92ce7c0e900d.jpg","text":"TemporaryFile(/tmp/multipartBody7067424479550333832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823533864,"filename":"image_25012025_17_43_02_638273_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fe702690291da9ef661063b03ac343ea.jpg","text":"TemporaryFile(/tmp/multipartBody6476775688466051403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823533864,"filename":"image_25012025_17_44_02_884091_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/be6edeca467f96b86c603268bba6e72f.jpg","text":"TemporaryFile(/tmp/multipartBody5236973683860110951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823533864,"filename":"image_25012025_17_44_02_884091_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331402915","file1":"1331402910","file0":"1331402905","file3":"1331402921"},"map_files_photo_id_array":[{"photo_id":"1331402915","filename":"file2"},{"photo_id":"1331402910","filename":"file1"},{"photo_id":"1331402905","filename":"file0"},{"photo_id":"1331402921","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331402915":["hashtag1","hashtag2"]},{"1331402905":["hashtag1","hashtag2"]},{"1331402910":["hashtag1","hashtag2"]},{"1331402921":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331402915, 1331402905, 1331402910, 1331402921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.330031394958496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:45:21.955179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/44/image_25012025_17_44_02_884091_0003.jpg', '/home/pi/Desktop/images/25012025/17/45/image_25012025_17_45_03_015463_0000.jpg', '/home/pi/Desktop/images/25012025/17/45/image_25012025_17_45_03_015463_0001.jpg', '/home/pi/Desktop/images/25012025/17/45/image_25012025_17_45_03_015463_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/44/image_25012025_17_44_02_884091_0003.jpg
/home/pi/Desktop/images/25012025/17/45/image_25012025_17_45_03_015463_0000.jpg
/home/pi/Desktop/images/25012025/17/45/image_25012025_17_45_03_015463_0001.jpg
/home/pi/Desktop/images/25012025/17/45/image_25012025_17_45_03_015463_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 [200]>
b'{"photo_ids":["1331402945","1331402950","1331402938","1331402955"],"photo_ids_order":["1331402938","1331402945","1331402950","1331402955"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2225dc1e25e1f22f6b59eda17404d782.jpg","text":"TemporaryFile(/tmp/multipartBody1370433428087048398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823593339,"filename":"image_25012025_17_45_03_015463_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8ccc7e00566b137441cde8a342e9a2d0.jpg","text":"TemporaryFile(/tmp/multipartBody3746201798889946774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823593339,"filename":"image_25012025_17_45_03_015463_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cfc01e54d1287723cba109a6fe7de225.jpg","text":"TemporaryFile(/tmp/multipartBody9222394142309394288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823593339,"filename":"image_25012025_17_44_02_884091_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c28a1ced571a00ee8e2e6cde0b4252e.jpg","text":"TemporaryFile(/tmp/multipartBody1590032071267656759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823593339,"filename":"image_25012025_17_45_03_015463_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331402950","file1":"1331402945","file0":"1331402938","file3":"1331402955"},"map_files_photo_id_array":[{"photo_id":"1331402950","filename":"file2"},{"photo_id":"1331402945","filename":"file1"},{"photo_id":"1331402938","filename":"file0"},{"photo_id":"1331402955","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331402945":["hashtag1","hashtag2"]},{"1331402950":["hashtag1","hashtag2"]},{"1331402938":["hashtag1","hashtag2"]},{"1331402955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331402945, 1331402950, 1331402938, 1331402955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.19049143791199 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:46:22.081791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/45/image_25012025_17_45_03_015463_0003.jpg', '/home/pi/Desktop/images/25012025/17/46/image_25012025_17_46_02_298573_0000.jpg', '/home/pi/Desktop/images/25012025/17/46/image_25012025_17_46_02_298573_0001.jpg', '/home/pi/Desktop/images/25012025/17/46/image_25012025_17_46_02_298573_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/45/image_25012025_17_45_03_015463_0003.jpg
/home/pi/Desktop/images/25012025/17/46/image_25012025_17_46_02_298573_0000.jpg
/home/pi/Desktop/images/25012025/17/46/image_25012025_17_46_02_298573_0001.jpg
/home/pi/Desktop/images/25012025/17/46/image_25012025_17_46_02_298573_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 [200]>
b'{"photo_ids":["1331403028","1331403013","1331403023","1331403017"],"photo_ids_order":["1331403013","1331403017","1331403023","1331403028"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6b79d3fb6569091c023bcbc7b394b4e2.jpg","text":"TemporaryFile(/tmp/multipartBody2518750852857792550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823653559,"filename":"image_25012025_17_46_02_298573_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0b87fe6408db7e1455452872edc36146.jpg","text":"TemporaryFile(/tmp/multipartBody5505652274064794442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823653559,"filename":"image_25012025_17_45_03_015463_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0d01f40dabce298534efb5567da032e6.jpg","text":"TemporaryFile(/tmp/multipartBody5478141610328432570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823653559,"filename":"image_25012025_17_46_02_298573_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/40d7a519d53533df8dff6b8882faf079.jpg","text":"TemporaryFile(/tmp/multipartBody5070090262188076355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823653559,"filename":"image_25012025_17_46_02_298573_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331403023","file1":"1331403017","file0":"1331403013","file3":"1331403028"},"map_files_photo_id_array":[{"photo_id":"1331403023","filename":"file2"},{"photo_id":"1331403017","filename":"file1"},{"photo_id":"1331403013","filename":"file0"},{"photo_id":"1331403028","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331403028":["hashtag1","hashtag2"]},{"1331403013":["hashtag1","hashtag2"]},{"1331403023":["hashtag1","hashtag2"]},{"1331403017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331403028, 1331403013, 1331403023, 1331403017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.770737409591675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:47:22.370330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/46/image_25012025_17_46_02_298573_0003.jpg', '/home/pi/Desktop/images/25012025/17/47/image_25012025_17_47_02_402945_0000.jpg', '/home/pi/Desktop/images/25012025/17/47/image_25012025_17_47_02_402945_0001.jpg', '/home/pi/Desktop/images/25012025/17/47/image_25012025_17_47_02_402945_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/46/image_25012025_17_46_02_298573_0003.jpg
/home/pi/Desktop/images/25012025/17/47/image_25012025_17_47_02_402945_0000.jpg
/home/pi/Desktop/images/25012025/17/47/image_25012025_17_47_02_402945_0001.jpg
/home/pi/Desktop/images/25012025/17/47/image_25012025_17_47_02_402945_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 [200]>
b'{"photo_ids":["1331403649","1331403520","1331403516","1331403512"],"photo_ids_order":["1331403512","1331403516","1331403520","1331403649"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8f34dd9ef6275e0bce403ace2cf9362c.jpg","text":"TemporaryFile(/tmp/multipartBody4748482289710888244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823714007,"filename":"image_25012025_17_47_02_402945_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/edc4d0e0972c7fb7f37ea6a742f24b5e.jpg","text":"TemporaryFile(/tmp/multipartBody8745403911775213115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823714007,"filename":"image_25012025_17_47_02_402945_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2afd4538f7ca9f4ce84ea92df53dc115.jpg","text":"TemporaryFile(/tmp/multipartBody3106729646066213887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823714007,"filename":"image_25012025_17_47_02_402945_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/36f7831cf967f8ae03c6613415c215b6.jpg","text":"TemporaryFile(/tmp/multipartBody2691615530900387305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823714007,"filename":"image_25012025_17_46_02_298573_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331403520","file1":"1331403516","file0":"1331403512","file3":"1331403649"},"map_files_photo_id_array":[{"photo_id":"1331403520","filename":"file2"},{"photo_id":"1331403516","filename":"file1"},{"photo_id":"1331403512","filename":"file0"},{"photo_id":"1331403649","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331403649":["hashtag1","hashtag2"]},{"1331403520":["hashtag1","hashtag2"]},{"1331403516":["hashtag1","hashtag2"]},{"1331403512":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331403649, 1331403520, 1331403516, 1331403512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.63765287399292 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:48:22.400426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/47/image_25012025_17_47_02_402945_0003.jpg', '/home/pi/Desktop/images/25012025/17/48/image_25012025_17_48_02_613302_0000.jpg', '/home/pi/Desktop/images/25012025/17/48/image_25012025_17_48_02_613302_0001.jpg', '/home/pi/Desktop/images/25012025/17/48/image_25012025_17_48_02_613302_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/47/image_25012025_17_47_02_402945_0003.jpg
/home/pi/Desktop/images/25012025/17/48/image_25012025_17_48_02_613302_0000.jpg
/home/pi/Desktop/images/25012025/17/48/image_25012025_17_48_02_613302_0001.jpg
/home/pi/Desktop/images/25012025/17/48/image_25012025_17_48_02_613302_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 [200]>
b'{"photo_ids":["1331403945","1331403930","1331403791","1331403796"],"photo_ids_order":["1331403791","1331403796","1331403930","1331403945"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2300da46d18877d7f006a6fb098c0b97.jpg","text":"TemporaryFile(/tmp/multipartBody6323237771449193879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823774113,"filename":"image_25012025_17_48_02_613302_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/680684311a289de8a5b0a4d6fa3fba21.jpg","text":"TemporaryFile(/tmp/multipartBody5612246012504840756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823774113,"filename":"image_25012025_17_48_02_613302_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2f90bfe92c2630e2bd2af915dc7715da.jpg","text":"TemporaryFile(/tmp/multipartBody6170893668839330315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823774113,"filename":"image_25012025_17_47_02_402945_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d6ae342dc704a36149897e30b72db2b2.jpg","text":"TemporaryFile(/tmp/multipartBody6787714733042206123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823774113,"filename":"image_25012025_17_48_02_613302_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331403930","file1":"1331403796","file0":"1331403791","file3":"1331403945"},"map_files_photo_id_array":[{"photo_id":"1331403930","filename":"file2"},{"photo_id":"1331403796","filename":"file1"},{"photo_id":"1331403791","filename":"file0"},{"photo_id":"1331403945","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331403945":["hashtag1","hashtag2"]},{"1331403930":["hashtag1","hashtag2"]},{"1331403791":["hashtag1","hashtag2"]},{"1331403796":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331403945, 1331403930, 1331403791, 1331403796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.24380826950073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:49:22.605138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/48/image_25012025_17_48_02_613302_0003.jpg', '/home/pi/Desktop/images/25012025/17/49/image_25012025_17_49_02_749722_0000.jpg', '/home/pi/Desktop/images/25012025/17/49/image_25012025_17_49_02_749722_0001.jpg', '/home/pi/Desktop/images/25012025/17/49/image_25012025_17_49_02_749722_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/48/image_25012025_17_48_02_613302_0003.jpg
/home/pi/Desktop/images/25012025/17/49/image_25012025_17_49_02_749722_0000.jpg
/home/pi/Desktop/images/25012025/17/49/image_25012025_17_49_02_749722_0001.jpg
/home/pi/Desktop/images/25012025/17/49/image_25012025_17_49_02_749722_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 [200]>
b'{"photo_ids":["1331404033","1331404015","1331404005","1331404010"],"photo_ids_order":["1331404005","1331404010","1331404015","1331404033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/59f32c5680637242e3ca01af134e6565.jpg","text":"TemporaryFile(/tmp/multipartBody4107628892928446929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823834160,"filename":"image_25012025_17_49_02_749722_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/671d448f6c4377252bd29e79f9690a3c.jpg","text":"TemporaryFile(/tmp/multipartBody2882065933772753699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823834160,"filename":"image_25012025_17_49_02_749722_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/11c0fa0a4ded815cd2bd971412319040.jpg","text":"TemporaryFile(/tmp/multipartBody9142289000793275866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823834160,"filename":"image_25012025_17_48_02_613302_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c599a928bf5b2642bf98ceef9c9f67c6.jpg","text":"TemporaryFile(/tmp/multipartBody8386471148677075860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823834160,"filename":"image_25012025_17_49_02_749722_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331404015","file1":"1331404010","file0":"1331404005","file3":"1331404033"},"map_files_photo_id_array":[{"photo_id":"1331404015","filename":"file2"},{"photo_id":"1331404010","filename":"file1"},{"photo_id":"1331404005","filename":"file0"},{"photo_id":"1331404033","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331404033":["hashtag1","hashtag2"]},{"1331404015":["hashtag1","hashtag2"]},{"1331404005":["hashtag1","hashtag2"]},{"1331404010":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331404033, 1331404015, 1331404005, 1331404010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.39489769935608 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:50:21.839599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/49/image_25012025_17_49_02_749722_0003.jpg', '/home/pi/Desktop/images/25012025/17/50/image_25012025_17_50_02_999269_0000.jpg', '/home/pi/Desktop/images/25012025/17/50/image_25012025_17_50_02_999269_0001.jpg', '/home/pi/Desktop/images/25012025/17/50/image_25012025_17_50_02_999269_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/49/image_25012025_17_49_02_749722_0003.jpg
/home/pi/Desktop/images/25012025/17/50/image_25012025_17_50_02_999269_0000.jpg
/home/pi/Desktop/images/25012025/17/50/image_25012025_17_50_02_999269_0001.jpg
/home/pi/Desktop/images/25012025/17/50/image_25012025_17_50_02_999269_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 [200]>
b'{"photo_ids":["1331404056","1331404064","1331404072","1331404075"],"photo_ids_order":["1331404056","1331404064","1331404072","1331404075"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/72e4885fb9db706110b6127ad3d46836.jpg","text":"TemporaryFile(/tmp/multipartBody273545505428788137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823893269,"filename":"image_25012025_17_49_02_749722_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/396c95f8029a41b305736322439325dd.jpg","text":"TemporaryFile(/tmp/multipartBody610022378525472051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823893269,"filename":"image_25012025_17_50_02_999269_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a6a83da4c2d472b3012b995075e1f491.jpg","text":"TemporaryFile(/tmp/multipartBody777965125073912505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823893269,"filename":"image_25012025_17_50_02_999269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5058e60edf086b02f652be5b7c64ef9b.jpg","text":"TemporaryFile(/tmp/multipartBody5056871780659136048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823893269,"filename":"image_25012025_17_50_02_999269_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331404072","file1":"1331404064","file0":"1331404056","file3":"1331404075"},"map_files_photo_id_array":[{"photo_id":"1331404072","filename":"file2"},{"photo_id":"1331404064","filename":"file1"},{"photo_id":"1331404056","filename":"file0"},{"photo_id":"1331404075","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331404056":["hashtag1","hashtag2"]},{"1331404064":["hashtag1","hashtag2"]},{"1331404072":["hashtag1","hashtag2"]},{"1331404075":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331404056, 1331404064, 1331404072, 1331404075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.67812204360962 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:51:22.035327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/50/image_25012025_17_50_02_999269_0003.jpg', '/home/pi/Desktop/images/25012025/17/51/image_25012025_17_51_02_161559_0000.jpg', '/home/pi/Desktop/images/25012025/17/51/image_25012025_17_51_02_161559_0001.jpg', '/home/pi/Desktop/images/25012025/17/51/image_25012025_17_51_02_161559_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/50/image_25012025_17_50_02_999269_0003.jpg
/home/pi/Desktop/images/25012025/17/51/image_25012025_17_51_02_161559_0000.jpg
/home/pi/Desktop/images/25012025/17/51/image_25012025_17_51_02_161559_0001.jpg
/home/pi/Desktop/images/25012025/17/51/image_25012025_17_51_02_161559_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":["1331404108","1331404098","1331404094","1331404103"],"photo_ids_order":["1331404094","1331404098","1331404103","1331404108"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/93d12b5cedfb2481fc86acc36d0d4548.jpg","text":"TemporaryFile(/tmp/multipartBody4967899251194768665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823953366,"filename":"image_25012025_17_51_02_161559_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8a068e88869607974658d111adc1cf81.jpg","text":"TemporaryFile(/tmp/multipartBody7579490773733526561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823953366,"filename":"image_25012025_17_51_02_161559_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f8557670098211fb1b2195e9d876c14b.jpg","text":"TemporaryFile(/tmp/multipartBody8255199534662850897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823953366,"filename":"image_25012025_17_50_02_999269_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/639388feb2a80f988cea23a65686f928.jpg","text":"TemporaryFile(/tmp/multipartBody6270870570038014421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737823953366,"filename":"image_25012025_17_51_02_161559_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331404103","file1":"1331404098","file0":"1331404094","file3":"1331404108"},"map_files_photo_id_array":[{"photo_id":"1331404103","filename":"file2"},{"photo_id":"1331404098","filename":"file1"},{"photo_id":"1331404094","filename":"file0"},{"photo_id":"1331404108","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331404108":["hashtag1","hashtag2"]},{"1331404098":["hashtag1","hashtag2"]},{"1331404094":["hashtag1","hashtag2"]},{"1331404103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331404108, 1331404098, 1331404094, 1331404103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.14729118347168 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 17:52:02.448573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/51/image_21012025_21_51_02_917413_0000.jpg', '/home/pi/Desktop/images/21012025/21/51/image_21012025_21_51_02_917413_0001.jpg', '/home/pi/Desktop/images/21012025/21/51/image_21012025_21_51_02_917413_0002.jpg', '/home/pi/Desktop/images/21012025/21/51/image_21012025_21_51_02_917413_0003.jpg', '/home/pi/Desktop/images/21012025/21/52/image_21012025_21_52_03_062700_0000.jpg', '/home/pi/Desktop/images/21012025/21/52/image_21012025_21_52_03_062700_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/21/51/image_21012025_21_51_02_917413_0000.jpg
/home/pi/Desktop/images/21012025/21/51/image_21012025_21_51_02_917413_0001.jpg
/home/pi/Desktop/images/21012025/21/51/image_21012025_21_51_02_917413_0002.jpg
/home/pi/Desktop/images/21012025/21/51/image_21012025_21_51_02_917413_0003.jpg
/home/pi/Desktop/images/21012025/21/52/image_21012025_21_52_03_062700_0000.jpg
/home/pi/Desktop/images/21012025/21/52/image_21012025_21_52_03_062700_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":["1331404456","1331404179","1331404175","1331404184","1331404445","1331404307"],"photo_ids_order":["1331404175","1331404179","1331404184","1331404307","1331404445","1331404456"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/96b064475d1d40728f66ebdaeab08948.jpg","text":"TemporaryFile(/tmp/multipartBody2592664806013785957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824000681,"filename":"image_21012025_21_52_03_062700_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0b618849ba9f83f1a131074c4c1058ac.jpg","text":"TemporaryFile(/tmp/multipartBody7053489510137600861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824000681,"filename":"image_21012025_21_51_02_917413_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9e42f9944f6dc965576cbcaa04617488.jpg","text":"TemporaryFile(/tmp/multipartBody3175817159441179230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824000681,"filename":"image_21012025_21_51_02_917413_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/341330424fa73aece427ed13693738b4.jpg","text":"TemporaryFile(/tmp/multipartBody2913026545769569854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824000681,"filename":"image_21012025_21_51_02_917413_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eb39693c9606af0dced8e144eec76dd6.jpg","text":"TemporaryFile(/tmp/multipartBody4471237838876762896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824000681,"filename":"image_21012025_21_52_03_062700_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/47368f54fe18d31a0c1883fba04c18b0.jpg","text":"TemporaryFile(/tmp/multipartBody7212087106238097652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824000681,"filename":"image_21012025_21_51_02_917413_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331404184","file1":"1331404179","file0":"1331404175","file4":"1331404445","file5":"1331404456","file3":"1331404307"},"map_files_photo_id_array":[{"photo_id":"1331404456","filename":"file5"},{"photo_id":"1331404184","filename":"file2"},{"photo_id":"1331404445","filename":"file4"},{"photo_id":"1331404179","filename":"file1"},{"photo_id":"1331404175","filename":"file0"},{"photo_id":"1331404307","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331404456":["hashtag1","hashtag2"]},{"1331404179":["hashtag1","hashtag2"]},{"1331404175":["hashtag1","hashtag2"]},{"1331404184":["hashtag1","hashtag2"]},{"1331404445":["hashtag1","hashtag2"]},{"1331404307":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331404456, 1331404179, 1331404175, 1331404184, 1331404445, 1331404307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.46903991699219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:53:22.389571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/51/image_25012025_17_51_02_161559_0003.jpg', '/home/pi/Desktop/images/25012025/17/52/image_25012025_17_52_02_416088_0000.jpg', '/home/pi/Desktop/images/25012025/17/52/image_25012025_17_52_02_416088_0001.jpg', '/home/pi/Desktop/images/25012025/17/52/image_25012025_17_52_02_416088_0002.jpg', '/home/pi/Desktop/images/25012025/17/52/image_25012025_17_52_02_416088_0003.jpg', '/home/pi/Desktop/images/25012025/17/53/image_25012025_17_53_02_518323_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/51/image_25012025_17_51_02_161559_0003.jpg
/home/pi/Desktop/images/25012025/17/52/image_25012025_17_52_02_416088_0000.jpg
/home/pi/Desktop/images/25012025/17/52/image_25012025_17_52_02_416088_0001.jpg
/home/pi/Desktop/images/25012025/17/52/image_25012025_17_52_02_416088_0002.jpg
/home/pi/Desktop/images/25012025/17/52/image_25012025_17_52_02_416088_0003.jpg
/home/pi/Desktop/images/25012025/17/53/image_25012025_17_53_02_518323_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 [200]>
b'{"photo_ids":["1331404549","1331404554","1331404556","1331404558","1331404552","1331404546"],"photo_ids_order":["1331404546","1331404549","1331404552","1331404554","1331404556","1331404558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/258b512f529bacefe47ac3f4d95e6d0d.jpg","text":"TemporaryFile(/tmp/multipartBody2830657850854191525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824079172,"filename":"image_25012025_17_52_02_416088_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9690b9a5041888a00a20b954ee4ee7ef.jpg","text":"TemporaryFile(/tmp/multipartBody379956613914378123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824079172,"filename":"image_25012025_17_52_02_416088_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6b2919ccd23838933fdf6c675d3d9ed7.jpg","text":"TemporaryFile(/tmp/multipartBody8844737030181431828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824079172,"filename":"image_25012025_17_52_02_416088_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eedcc21f3ee71b6a868a1d56c4157b2e.jpg","text":"TemporaryFile(/tmp/multipartBody6700771760382341355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824079172,"filename":"image_25012025_17_53_02_518323_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c34e4b01f8a31d916f3cac38751a0919.jpg","text":"TemporaryFile(/tmp/multipartBody2713221954462068442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824079172,"filename":"image_25012025_17_52_02_416088_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/588b5a4a450cd6792316ea903490a55d.jpg","text":"TemporaryFile(/tmp/multipartBody4637331660794962572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824079172,"filename":"image_25012025_17_51_02_161559_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331404552","file1":"1331404549","file0":"1331404546","file4":"1331404556","file5":"1331404558","file3":"1331404554"},"map_files_photo_id_array":[{"photo_id":"1331404558","filename":"file5"},{"photo_id":"1331404552","filename":"file2"},{"photo_id":"1331404556","filename":"file4"},{"photo_id":"1331404549","filename":"file1"},{"photo_id":"1331404546","filename":"file0"},{"photo_id":"1331404554","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331404549":["hashtag1","hashtag2"]},{"1331404554":["hashtag1","hashtag2"]},{"1331404556":["hashtag1","hashtag2"]},{"1331404558":["hashtag1","hashtag2"]},{"1331404552":["hashtag1","hashtag2"]},{"1331404546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331404549, 1331404554, 1331404556, 1331404558, 1331404552, 1331404546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.537184953689575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:54:22.558336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/53/image_25012025_17_53_02_518323_0001.jpg', '/home/pi/Desktop/images/25012025/17/53/image_25012025_17_53_02_518323_0002.jpg', '/home/pi/Desktop/images/25012025/17/53/image_25012025_17_53_02_518323_0003.jpg', '/home/pi/Desktop/images/25012025/17/54/image_25012025_17_54_02_738560_0000.jpg', '/home/pi/Desktop/images/25012025/17/54/image_25012025_17_54_02_738560_0001.jpg', '/home/pi/Desktop/images/25012025/17/54/image_25012025_17_54_02_738560_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/53/image_25012025_17_53_02_518323_0001.jpg
/home/pi/Desktop/images/25012025/17/53/image_25012025_17_53_02_518323_0002.jpg
/home/pi/Desktop/images/25012025/17/53/image_25012025_17_53_02_518323_0003.jpg
/home/pi/Desktop/images/25012025/17/54/image_25012025_17_54_02_738560_0000.jpg
/home/pi/Desktop/images/25012025/17/54/image_25012025_17_54_02_738560_0001.jpg
/home/pi/Desktop/images/25012025/17/54/image_25012025_17_54_02_738560_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 [200]>
b'{"photo_ids":["1331404599","1331404620","1331404580","1331404588","1331404657","1331404624"],"photo_ids_order":["1331404580","1331404588","1331404599","1331404620","1331404624","1331404657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7fb780fb6dfe696742097acb92ea4c84.jpg","text":"TemporaryFile(/tmp/multipartBody6186577035022156721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824138956,"filename":"image_25012025_17_53_02_518323_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3c36667039fad842557f187042724869.jpg","text":"TemporaryFile(/tmp/multipartBody803190989139546265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824138956,"filename":"image_25012025_17_54_02_738560_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/673cb4a0d7180cd3e96c56f12c6bf110.jpg","text":"TemporaryFile(/tmp/multipartBody3992412360111605679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824138956,"filename":"image_25012025_17_53_02_518323_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bd9999b8b422352b93d5f04a9f48a70f.jpg","text":"TemporaryFile(/tmp/multipartBody6177203451414248493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824138956,"filename":"image_25012025_17_53_02_518323_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ca28c3b98dcb759d69a47d640c65495b.jpg","text":"TemporaryFile(/tmp/multipartBody209827405130641388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824138956,"filename":"image_25012025_17_54_02_738560_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dd06a0da6e83024cc781133f0ac3a8ed.jpg","text":"TemporaryFile(/tmp/multipartBody5914141008100901456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824138956,"filename":"image_25012025_17_54_02_738560_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331404599","file1":"1331404588","file0":"1331404580","file4":"1331404624","file5":"1331404657","file3":"1331404620"},"map_files_photo_id_array":[{"photo_id":"1331404657","filename":"file5"},{"photo_id":"1331404599","filename":"file2"},{"photo_id":"1331404624","filename":"file4"},{"photo_id":"1331404588","filename":"file1"},{"photo_id":"1331404580","filename":"file0"},{"photo_id":"1331404620","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331404599":["hashtag1","hashtag2"]},{"1331404620":["hashtag1","hashtag2"]},{"1331404580":["hashtag1","hashtag2"]},{"1331404588":["hashtag1","hashtag2"]},{"1331404657":["hashtag1","hashtag2"]},{"1331404624":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331404599, 1331404620, 1331404580, 1331404588, 1331404657, 1331404624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.10404896736145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:55:22.700053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/54/image_25012025_17_54_02_738560_0003.jpg', '/home/pi/Desktop/images/25012025/17/55/image_25012025_17_55_02_830861_0000.jpg', '/home/pi/Desktop/images/25012025/17/55/image_25012025_17_55_02_830861_0001.jpg', '/home/pi/Desktop/images/25012025/17/55/image_25012025_17_55_02_830861_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/54/image_25012025_17_54_02_738560_0003.jpg
/home/pi/Desktop/images/25012025/17/55/image_25012025_17_55_02_830861_0000.jpg
/home/pi/Desktop/images/25012025/17/55/image_25012025_17_55_02_830861_0001.jpg
/home/pi/Desktop/images/25012025/17/55/image_25012025_17_55_02_830861_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 [200]>
b'{"photo_ids":["1331404791","1331404799","1331404787","1331404795"],"photo_ids_order":["1331404787","1331404791","1331404795","1331404799"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a579f3266e247fe1145d8b0246dc4408.jpg","text":"TemporaryFile(/tmp/multipartBody8136807274638336701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824194353,"filename":"image_25012025_17_55_02_830861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/34b7138c6364829748e50fd8bc6832db.jpg","text":"TemporaryFile(/tmp/multipartBody1931999242493452101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824194353,"filename":"image_25012025_17_55_02_830861_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9088ff0e4e4cc53315298e4dc197a77a.jpg","text":"TemporaryFile(/tmp/multipartBody2548556313342267424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824194353,"filename":"image_25012025_17_54_02_738560_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/74a4fdb918be6682d1acb1e646d7d92a.jpg","text":"TemporaryFile(/tmp/multipartBody2714639567642669548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824194353,"filename":"image_25012025_17_55_02_830861_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331404795","file1":"1331404791","file0":"1331404787","file3":"1331404799"},"map_files_photo_id_array":[{"photo_id":"1331404795","filename":"file2"},{"photo_id":"1331404791","filename":"file1"},{"photo_id":"1331404787","filename":"file0"},{"photo_id":"1331404799","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331404791":["hashtag1","hashtag2"]},{"1331404799":["hashtag1","hashtag2"]},{"1331404787":["hashtag1","hashtag2"]},{"1331404795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331404791, 1331404799, 1331404787, 1331404795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.49659490585327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:56:22.019025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/55/image_25012025_17_55_02_830861_0003.jpg', '/home/pi/Desktop/images/25012025/17/56/image_25012025_17_56_03_019753_0000.jpg', '/home/pi/Desktop/images/25012025/17/56/image_25012025_17_56_03_019753_0001.jpg', '/home/pi/Desktop/images/25012025/17/56/image_25012025_17_56_03_019753_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/55/image_25012025_17_55_02_830861_0003.jpg
/home/pi/Desktop/images/25012025/17/56/image_25012025_17_56_03_019753_0000.jpg
/home/pi/Desktop/images/25012025/17/56/image_25012025_17_56_03_019753_0001.jpg
/home/pi/Desktop/images/25012025/17/56/image_25012025_17_56_03_019753_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 [200]>
b'{"photo_ids":["1331404828","1331404816","1331404832","1331404822"],"photo_ids_order":["1331404816","1331404822","1331404828","1331404832"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/109e4d5723c4ec2a34f5d208f4809793.jpg","text":"TemporaryFile(/tmp/multipartBody9198073641313402683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824253280,"filename":"image_25012025_17_56_03_019753_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2d686feb94ab9dc46e6421f00c32430a.jpg","text":"TemporaryFile(/tmp/multipartBody8245939932283223971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824253280,"filename":"image_25012025_17_55_02_830861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ddf6e0de3baa2028c586380eb5adab3e.jpg","text":"TemporaryFile(/tmp/multipartBody6046319678642701717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824253280,"filename":"image_25012025_17_56_03_019753_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3f1208be1b8d66e4491a1a8c597a15f2.jpg","text":"TemporaryFile(/tmp/multipartBody3776018740018782362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824253280,"filename":"image_25012025_17_56_03_019753_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331404828","file1":"1331404822","file0":"1331404816","file3":"1331404832"},"map_files_photo_id_array":[{"photo_id":"1331404828","filename":"file2"},{"photo_id":"1331404822","filename":"file1"},{"photo_id":"1331404816","filename":"file0"},{"photo_id":"1331404832","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331404828":["hashtag1","hashtag2"]},{"1331404816":["hashtag1","hashtag2"]},{"1331404832":["hashtag1","hashtag2"]},{"1331404822":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331404828, 1331404816, 1331404832, 1331404822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.670862913131714 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 17:57:22.051983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/56/image_25012025_17_56_03_019753_0003.jpg', '/home/pi/Desktop/images/25012025/17/57/image_25012025_17_57_02_325157_0000.jpg', '/home/pi/Desktop/images/25012025/17/57/image_25012025_17_57_02_325157_0001.jpg', '/home/pi/Desktop/images/25012025/17/57/image_25012025_17_57_02_325157_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/56/image_25012025_17_56_03_019753_0003.jpg
/home/pi/Desktop/images/25012025/17/57/image_25012025_17_57_02_325157_0000.jpg
/home/pi/Desktop/images/25012025/17/57/image_25012025_17_57_02_325157_0001.jpg
/home/pi/Desktop/images/25012025/17/57/image_25012025_17_57_02_325157_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-25 17:59:02.822797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/56/image_25012025_17_56_03_019753_0003.jpg', '/home/pi/Desktop/images/25012025/17/57/image_25012025_17_57_02_325157_0000.jpg', '/home/pi/Desktop/images/25012025/17/57/image_25012025_17_57_02_325157_0001.jpg', '/home/pi/Desktop/images/25012025/17/57/image_25012025_17_57_02_325157_0002.jpg', '/home/pi/Desktop/images/25012025/17/57/image_25012025_17_57_02_325157_0003.jpg', '/home/pi/Desktop/images/25012025/17/58/image_25012025_17_58_02_455574_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/56/image_25012025_17_56_03_019753_0003.jpg
/home/pi/Desktop/images/25012025/17/57/image_25012025_17_57_02_325157_0000.jpg
/home/pi/Desktop/images/25012025/17/57/image_25012025_17_57_02_325157_0001.jpg
/home/pi/Desktop/images/25012025/17/57/image_25012025_17_57_02_325157_0002.jpg
/home/pi/Desktop/images/25012025/17/57/image_25012025_17_57_02_325157_0003.jpg
/home/pi/Desktop/images/25012025/17/58/image_25012025_17_58_02_455574_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331404947","1331404932","1331404929","1331404938","1331404943","1331404925"],"photo_ids_order":["1331404925","1331404929","1331404932","1331404938","1331404943","1331404947"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c440f764d600f86210fd761f4b1f2c90.jpg","text":"TemporaryFile(/tmp/multipartBody1643864932226291284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824419199,"filename":"image_25012025_17_58_02_455574_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/900dca47e8d42f4e48320c26291c7d5b.jpg","text":"TemporaryFile(/tmp/multipartBody3580269953232696503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824419199,"filename":"image_25012025_17_57_02_325157_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a5c986c34496549060c113f48713c9ba.jpg","text":"TemporaryFile(/tmp/multipartBody5827965352892941627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824419199,"filename":"image_25012025_17_57_02_325157_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/650910ec3c91612215260a1d3940066c.jpg","text":"TemporaryFile(/tmp/multipartBody1278000017827875766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824419199,"filename":"image_25012025_17_57_02_325157_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/95c0ff4c96b7e7ebbb54a9282cff2fab.jpg","text":"TemporaryFile(/tmp/multipartBody8282361750756762688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824419199,"filename":"image_25012025_17_57_02_325157_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eb165fb6e1bc60ebfbdedb33d06a7654.jpg","text":"TemporaryFile(/tmp/multipartBody2002835160187741652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824419199,"filename":"image_25012025_17_56_03_019753_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331404932","file1":"1331404929","file0":"1331404925","file4":"1331404943","file5":"1331404947","file3":"1331404938"},"map_files_photo_id_array":[{"photo_id":"1331404947","filename":"file5"},{"photo_id":"1331404932","filename":"file2"},{"photo_id":"1331404943","filename":"file4"},{"photo_id":"1331404929","filename":"file1"},{"photo_id":"1331404925","filename":"file0"},{"photo_id":"1331404938","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331404947":["hashtag1","hashtag2"]},{"1331404932":["hashtag1","hashtag2"]},{"1331404929":["hashtag1","hashtag2"]},{"1331404938":["hashtag1","hashtag2"]},{"1331404943":["hashtag1","hashtag2"]},{"1331404925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331404947, 1331404932, 1331404929, 1331404938, 1331404943, 1331404925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.545546770095825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:00:22.632525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/58/image_25012025_17_58_02_455574_0001.jpg', '/home/pi/Desktop/images/25012025/17/58/image_25012025_17_58_02_455574_0002.jpg', '/home/pi/Desktop/images/25012025/17/58/image_25012025_17_58_02_455574_0003.jpg', '/home/pi/Desktop/images/25012025/17/59/image_25012025_17_59_02_576267_0000.jpg', '/home/pi/Desktop/images/25012025/17/59/image_25012025_17_59_02_576267_0001.jpg', '/home/pi/Desktop/images/25012025/17/59/image_25012025_17_59_02_576267_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/58/image_25012025_17_58_02_455574_0001.jpg
/home/pi/Desktop/images/25012025/17/58/image_25012025_17_58_02_455574_0002.jpg
/home/pi/Desktop/images/25012025/17/58/image_25012025_17_58_02_455574_0003.jpg
/home/pi/Desktop/images/25012025/17/59/image_25012025_17_59_02_576267_0000.jpg
/home/pi/Desktop/images/25012025/17/59/image_25012025_17_59_02_576267_0001.jpg
/home/pi/Desktop/images/25012025/17/59/image_25012025_17_59_02_576267_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 [200]>
b'{"photo_ids":["1331404989","1331404977","1331404997","1331404985","1331404993","1331404981"],"photo_ids_order":["1331404977","1331404981","1331404985","1331404989","1331404993","1331404997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f4b56717982fc9595316eafadab49639.jpg","text":"TemporaryFile(/tmp/multipartBody3443088586089860945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824499572,"filename":"image_25012025_17_59_02_576267_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3f4121f2295c1faf37c02a8ceebaa14b.jpg","text":"TemporaryFile(/tmp/multipartBody5366126846307653458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824499572,"filename":"image_25012025_17_58_02_455574_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c05dcd853d1f5765da344939003a9d51.jpg","text":"TemporaryFile(/tmp/multipartBody1658347362375023927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824499572,"filename":"image_25012025_17_59_02_576267_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/be517a04637aba06438dfdb6b598b017.jpg","text":"TemporaryFile(/tmp/multipartBody7164907803956726744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824499572,"filename":"image_25012025_17_58_02_455574_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/be24904b0bcff8b96de6c5064770e1fe.jpg","text":"TemporaryFile(/tmp/multipartBody4609806177075792359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824499572,"filename":"image_25012025_17_59_02_576267_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/216d4cd53de5a744e87274bfc3b174ee.jpg","text":"TemporaryFile(/tmp/multipartBody3329400974801170047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824499572,"filename":"image_25012025_17_58_02_455574_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331404985","file1":"1331404981","file0":"1331404977","file4":"1331404993","file5":"1331404997","file3":"1331404989"},"map_files_photo_id_array":[{"photo_id":"1331404997","filename":"file5"},{"photo_id":"1331404985","filename":"file2"},{"photo_id":"1331404993","filename":"file4"},{"photo_id":"1331404981","filename":"file1"},{"photo_id":"1331404977","filename":"file0"},{"photo_id":"1331404989","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331404989":["hashtag1","hashtag2"]},{"1331404977":["hashtag1","hashtag2"]},{"1331404997":["hashtag1","hashtag2"]},{"1331404985":["hashtag1","hashtag2"]},{"1331404993":["hashtag1","hashtag2"]},{"1331404981":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331404989, 1331404977, 1331404997, 1331404985, 1331404993, 1331404981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.89913749694824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:01:22.845851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/17/59/image_25012025_17_59_02_576267_0003.jpg', '/home/pi/Desktop/images/25012025/18/00/image_25012025_18_00_02_781749_0000.jpg', '/home/pi/Desktop/images/25012025/18/00/image_25012025_18_00_02_781749_0001.jpg', '/home/pi/Desktop/images/25012025/18/00/image_25012025_18_00_02_781749_0002.jpg', '/home/pi/Desktop/images/25012025/18/00/image_25012025_18_00_02_781749_0003.jpg', '/home/pi/Desktop/images/25012025/18/01/image_25012025_18_01_02_921148_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/17/59/image_25012025_17_59_02_576267_0003.jpg
/home/pi/Desktop/images/25012025/18/00/image_25012025_18_00_02_781749_0000.jpg
/home/pi/Desktop/images/25012025/18/00/image_25012025_18_00_02_781749_0001.jpg
/home/pi/Desktop/images/25012025/18/00/image_25012025_18_00_02_781749_0002.jpg
/home/pi/Desktop/images/25012025/18/00/image_25012025_18_00_02_781749_0003.jpg
/home/pi/Desktop/images/25012025/18/01/image_25012025_18_01_02_921148_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 [200]>
b'{"photo_ids":["1331406530","1331406533","1331406527","1331406329","1331405615","1331405986"],"photo_ids_order":["1331405615","1331405986","1331406329","1331406527","1331406530","1331406533"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/15ce5a6a2c7512b09e42041f33b38804.jpg","text":"TemporaryFile(/tmp/multipartBody1534760208593480379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824559213,"filename":"image_25012025_18_00_02_781749_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f7e280162e1da654141a9e692fe6a54a.jpg","text":"TemporaryFile(/tmp/multipartBody8483179960692990790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824559213,"filename":"image_25012025_18_01_02_921148_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2d7e9c8a820a4aeffe57f47fb4ba25ee.jpg","text":"TemporaryFile(/tmp/multipartBody8884034322850191469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824559213,"filename":"image_25012025_18_00_02_781749_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f4a475256a8cea2db64c093dc318ef87.jpg","text":"TemporaryFile(/tmp/multipartBody6854347841713047883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824559213,"filename":"image_25012025_18_00_02_781749_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/49b8de1be900126d2ba2548d3438ca92.jpg","text":"TemporaryFile(/tmp/multipartBody7597156755168757118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824559213,"filename":"image_25012025_17_59_02_576267_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/46d137b647002153f95eaebef0be88f0.jpg","text":"TemporaryFile(/tmp/multipartBody6160240182903164674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824559213,"filename":"image_25012025_18_00_02_781749_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331406329","file1":"1331405986","file0":"1331405615","file4":"1331406530","file5":"1331406533","file3":"1331406527"},"map_files_photo_id_array":[{"photo_id":"1331406533","filename":"file5"},{"photo_id":"1331406329","filename":"file2"},{"photo_id":"1331406530","filename":"file4"},{"photo_id":"1331405986","filename":"file1"},{"photo_id":"1331405615","filename":"file0"},{"photo_id":"1331406527","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331406530":["hashtag1","hashtag2"]},{"1331406533":["hashtag1","hashtag2"]},{"1331406527":["hashtag1","hashtag2"]},{"1331406329":["hashtag1","hashtag2"]},{"1331405615":["hashtag1","hashtag2"]},{"1331405986":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331406530, 1331406533, 1331406527, 1331406329, 1331405615, 1331405986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.72557520866394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:02:21.949261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/01/image_25012025_18_01_02_921148_0001.jpg', '/home/pi/Desktop/images/25012025/18/01/image_25012025_18_01_02_921148_0002.jpg', '/home/pi/Desktop/images/25012025/18/01/image_25012025_18_01_02_921148_0003.jpg', '/home/pi/Desktop/images/25012025/18/02/image_25012025_18_02_03_087175_0000.jpg', '/home/pi/Desktop/images/25012025/18/02/image_25012025_18_02_03_087175_0001.jpg', '/home/pi/Desktop/images/25012025/18/02/image_25012025_18_02_03_087175_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/01/image_25012025_18_01_02_921148_0001.jpg
/home/pi/Desktop/images/25012025/18/01/image_25012025_18_01_02_921148_0002.jpg
/home/pi/Desktop/images/25012025/18/01/image_25012025_18_01_02_921148_0003.jpg
/home/pi/Desktop/images/25012025/18/02/image_25012025_18_02_03_087175_0000.jpg
/home/pi/Desktop/images/25012025/18/02/image_25012025_18_02_03_087175_0001.jpg
/home/pi/Desktop/images/25012025/18/02/image_25012025_18_02_03_087175_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 [200]>
b'{"photo_ids":["1331406726","1331406791","1331406547","1331406829","1331406786","1331406552"],"photo_ids_order":["1331406547","1331406552","1331406726","1331406786","1331406791","1331406829"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2eb471abb3827e667daac77d4798e32d.jpg","text":"TemporaryFile(/tmp/multipartBody7737207114960488005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824618535,"filename":"image_25012025_18_01_02_921148_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ae6f1342e192aed97d973e65a14b6e26.jpg","text":"TemporaryFile(/tmp/multipartBody6145297729120580686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824618535,"filename":"image_25012025_18_02_03_087175_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a735ded2ab17ce4f247c03603f88eb65.jpg","text":"TemporaryFile(/tmp/multipartBody4233486879610630518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824618535,"filename":"image_25012025_18_01_02_921148_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f2c82805e17b4cf54cf8840a0127c2e1.jpg","text":"TemporaryFile(/tmp/multipartBody6505568625531080522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824618535,"filename":"image_25012025_18_02_03_087175_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c2004386649452ad12b091bbacdb0e97.jpg","text":"TemporaryFile(/tmp/multipartBody4625908954252732335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824618535,"filename":"image_25012025_18_02_03_087175_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/40a9bafde6d88662dbc0f789f82677af.jpg","text":"TemporaryFile(/tmp/multipartBody4151204013692080599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824618535,"filename":"image_25012025_18_01_02_921148_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331406726","file1":"1331406552","file0":"1331406547","file4":"1331406791","file5":"1331406829","file3":"1331406786"},"map_files_photo_id_array":[{"photo_id":"1331406829","filename":"file5"},{"photo_id":"1331406726","filename":"file2"},{"photo_id":"1331406791","filename":"file4"},{"photo_id":"1331406552","filename":"file1"},{"photo_id":"1331406547","filename":"file0"},{"photo_id":"1331406786","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331406726":["hashtag1","hashtag2"]},{"1331406791":["hashtag1","hashtag2"]},{"1331406547":["hashtag1","hashtag2"]},{"1331406829":["hashtag1","hashtag2"]},{"1331406786":["hashtag1","hashtag2"]},{"1331406552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331406726, 1331406791, 1331406547, 1331406829, 1331406786, 1331406552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.50725221633911 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:03:22.136795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/02/image_25012025_18_02_03_087175_0003.jpg', '/home/pi/Desktop/images/25012025/18/03/image_25012025_18_03_02_284457_0000.jpg', '/home/pi/Desktop/images/25012025/18/03/image_25012025_18_03_02_284457_0001.jpg', '/home/pi/Desktop/images/25012025/18/03/image_25012025_18_03_02_284457_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/02/image_25012025_18_02_03_087175_0003.jpg
/home/pi/Desktop/images/25012025/18/03/image_25012025_18_03_02_284457_0000.jpg
/home/pi/Desktop/images/25012025/18/03/image_25012025_18_03_02_284457_0001.jpg
/home/pi/Desktop/images/25012025/18/03/image_25012025_18_03_02_284457_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":["1331406900","1331406897","1331406904","1331406894"],"photo_ids_order":["1331406894","1331406897","1331406900","1331406904"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ac489ba676c0974e5e3e9cbee19e6690.jpg","text":"TemporaryFile(/tmp/multipartBody1928772292093114497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824673636,"filename":"image_25012025_18_03_02_284457_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c6073b66ba2773c5d29176d6bdb089d6.jpg","text":"TemporaryFile(/tmp/multipartBody1909541728679918291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824673636,"filename":"image_25012025_18_03_02_284457_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/00ac29dc6662eacefe76a5ec6d0864a7.jpg","text":"TemporaryFile(/tmp/multipartBody6172850549642556743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824673636,"filename":"image_25012025_18_03_02_284457_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9000559f79b520db3e1160c661a98fea.jpg","text":"TemporaryFile(/tmp/multipartBody1376218098203554719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824673636,"filename":"image_25012025_18_02_03_087175_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331406900","file1":"1331406897","file0":"1331406894","file3":"1331406904"},"map_files_photo_id_array":[{"photo_id":"1331406900","filename":"file2"},{"photo_id":"1331406897","filename":"file1"},{"photo_id":"1331406894","filename":"file0"},{"photo_id":"1331406904","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331406900":["hashtag1","hashtag2"]},{"1331406897":["hashtag1","hashtag2"]},{"1331406904":["hashtag1","hashtag2"]},{"1331406894":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331406900, 1331406897, 1331406904, 1331406894)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.716482639312744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:04:22.370283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/03/image_25012025_18_03_02_284457_0003.jpg', '/home/pi/Desktop/images/25012025/18/04/image_25012025_18_04_02_470088_0000.jpg', '/home/pi/Desktop/images/25012025/18/04/image_25012025_18_04_02_470088_0001.jpg', '/home/pi/Desktop/images/25012025/18/04/image_25012025_18_04_02_470088_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/03/image_25012025_18_03_02_284457_0003.jpg
/home/pi/Desktop/images/25012025/18/04/image_25012025_18_04_02_470088_0000.jpg
/home/pi/Desktop/images/25012025/18/04/image_25012025_18_04_02_470088_0001.jpg
/home/pi/Desktop/images/25012025/18/04/image_25012025_18_04_02_470088_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 [200]>
b'{"photo_ids":["1331407031","1331407024","1331407068","1331407062"],"photo_ids_order":["1331407024","1331407031","1331407062","1331407068"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/673298375635fc9c374de4a3f69f469c.jpg","text":"TemporaryFile(/tmp/multipartBody386554349304036870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824733675,"filename":"image_25012025_18_04_02_470088_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4324245907b31bbafcb7bd23c43c0137.jpg","text":"TemporaryFile(/tmp/multipartBody4871613260227000199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824733675,"filename":"image_25012025_18_03_02_284457_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d4afb89546e2cd9f52858123f75e8260.jpg","text":"TemporaryFile(/tmp/multipartBody8398945465824404592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824733675,"filename":"image_25012025_18_04_02_470088_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/19831e8e035b54e91d753365deafb476.jpg","text":"TemporaryFile(/tmp/multipartBody4110614309862366299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824733675,"filename":"image_25012025_18_04_02_470088_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331407062","file1":"1331407031","file0":"1331407024","file3":"1331407068"},"map_files_photo_id_array":[{"photo_id":"1331407062","filename":"file2"},{"photo_id":"1331407031","filename":"file1"},{"photo_id":"1331407024","filename":"file0"},{"photo_id":"1331407068","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331407031":["hashtag1","hashtag2"]},{"1331407024":["hashtag1","hashtag2"]},{"1331407068":["hashtag1","hashtag2"]},{"1331407062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331407031, 1331407024, 1331407068, 1331407062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.88013529777527 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:05:22.674601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/04/image_25012025_18_04_02_470088_0003.jpg', '/home/pi/Desktop/images/25012025/18/05/image_25012025_18_05_02_669643_0000.jpg', '/home/pi/Desktop/images/25012025/18/05/image_25012025_18_05_02_669643_0001.jpg', '/home/pi/Desktop/images/25012025/18/05/image_25012025_18_05_02_669643_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/04/image_25012025_18_04_02_470088_0003.jpg
/home/pi/Desktop/images/25012025/18/05/image_25012025_18_05_02_669643_0000.jpg
/home/pi/Desktop/images/25012025/18/05/image_25012025_18_05_02_669643_0001.jpg
/home/pi/Desktop/images/25012025/18/05/image_25012025_18_05_02_669643_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 [200]>
b'{"photo_ids":["1331407097","1331407092","1331407086","1331407188"],"photo_ids_order":["1331407086","1331407092","1331407097","1331407188"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/29f92718f1caee1ed421fc726c9c8bd1.jpg","text":"TemporaryFile(/tmp/multipartBody6734707767956299817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824794085,"filename":"image_25012025_18_05_02_669643_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1fb4303e53e60bd2d7afcded3a4f46ba.jpg","text":"TemporaryFile(/tmp/multipartBody7842669643160280865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824794085,"filename":"image_25012025_18_05_02_669643_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3f1e5626442a039f4afa35bb795b3262.jpg","text":"TemporaryFile(/tmp/multipartBody8839716283292410625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824794085,"filename":"image_25012025_18_04_02_470088_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/857375c2571217462d04e824120db5d6.jpg","text":"TemporaryFile(/tmp/multipartBody8876801208872172005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824794085,"filename":"image_25012025_18_05_02_669643_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331407097","file1":"1331407092","file0":"1331407086","file3":"1331407188"},"map_files_photo_id_array":[{"photo_id":"1331407097","filename":"file2"},{"photo_id":"1331407092","filename":"file1"},{"photo_id":"1331407086","filename":"file0"},{"photo_id":"1331407188","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331407097":["hashtag1","hashtag2"]},{"1331407092":["hashtag1","hashtag2"]},{"1331407086":["hashtag1","hashtag2"]},{"1331407188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331407097, 1331407092, 1331407086, 1331407188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.358933448791504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:06:22.763429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/05/image_25012025_18_05_02_669643_0003.jpg', '/home/pi/Desktop/images/25012025/18/06/image_25012025_18_06_02_870110_0000.jpg', '/home/pi/Desktop/images/25012025/18/06/image_25012025_18_06_02_870110_0001.jpg', '/home/pi/Desktop/images/25012025/18/06/image_25012025_18_06_02_870110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/05/image_25012025_18_05_02_669643_0003.jpg
/home/pi/Desktop/images/25012025/18/06/image_25012025_18_06_02_870110_0000.jpg
/home/pi/Desktop/images/25012025/18/06/image_25012025_18_06_02_870110_0001.jpg
/home/pi/Desktop/images/25012025/18/06/image_25012025_18_06_02_870110_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: 10.800039529800415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 18:06:42.689061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/05/image_25012025_18_05_02_669643_0003.jpg', '/home/pi/Desktop/images/25012025/18/06/image_25012025_18_06_02_870110_0000.jpg', '/home/pi/Desktop/images/25012025/18/06/image_25012025_18_06_02_870110_0001.jpg', '/home/pi/Desktop/images/25012025/18/06/image_25012025_18_06_02_870110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/05/image_25012025_18_05_02_669643_0003.jpg
/home/pi/Desktop/images/25012025/18/06/image_25012025_18_06_02_870110_0000.jpg
/home/pi/Desktop/images/25012025/18/06/image_25012025_18_06_02_870110_0001.jpg
/home/pi/Desktop/images/25012025/18/06/image_25012025_18_06_02_870110_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":["1331407447","1331407420","1331407458","1331407416"],"photo_ids_order":["1331407416","1331407420","1331407447","1331407458"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dfc733eae879a89e20edc94961a2f6e5.jpg","text":"TemporaryFile(/tmp/multipartBody9034336316404984474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824873861,"filename":"image_25012025_18_06_02_870110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8f18f31688db582321cb6260916598fe.jpg","text":"TemporaryFile(/tmp/multipartBody279655543100238449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824873861,"filename":"image_25012025_18_06_02_870110_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/82b6e31b3e96b633b5a61472ee9c7717.jpg","text":"TemporaryFile(/tmp/multipartBody4706245055394517084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824873861,"filename":"image_25012025_18_06_02_870110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/264c07756ac99c1997d6c9a7ba9f2a58.jpg","text":"TemporaryFile(/tmp/multipartBody5474638295741067418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824873861,"filename":"image_25012025_18_05_02_669643_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331407447","file1":"1331407420","file0":"1331407416","file3":"1331407458"},"map_files_photo_id_array":[{"photo_id":"1331407447","filename":"file2"},{"photo_id":"1331407420","filename":"file1"},{"photo_id":"1331407416","filename":"file0"},{"photo_id":"1331407458","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331407447":["hashtag1","hashtag2"]},{"1331407420":["hashtag1","hashtag2"]},{"1331407458":["hashtag1","hashtag2"]},{"1331407416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331407447, 1331407420, 1331407458, 1331407416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.748958349227905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 18:07:31.876037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/06/image_25012025_18_06_02_870110_0003.jpg', '/home/pi/Desktop/images/25012025/18/07/image_25012025_18_07_03_066446_0000.jpg', '/home/pi/Desktop/images/25012025/18/07/image_25012025_18_07_03_066446_0001.jpg', '/home/pi/Desktop/images/25012025/18/07/image_25012025_18_07_03_066446_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/06/image_25012025_18_06_02_870110_0003.jpg
/home/pi/Desktop/images/25012025/18/07/image_25012025_18_07_03_066446_0000.jpg
/home/pi/Desktop/images/25012025/18/07/image_25012025_18_07_03_066446_0001.jpg
/home/pi/Desktop/images/25012025/18/07/image_25012025_18_07_03_066446_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":["1331407574","1331407610","1331407578","1331407583"],"photo_ids_order":["1331407574","1331407578","1331407583","1331407610"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/638a7d93fb60899fb488e63cc35bfbe4.jpg","text":"TemporaryFile(/tmp/multipartBody8424276772204634953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824923277,"filename":"image_25012025_18_06_02_870110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/959084489018964208aac7c6e532c7e5.jpg","text":"TemporaryFile(/tmp/multipartBody5102407590171800099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824923277,"filename":"image_25012025_18_07_03_066446_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2d21f0e691d4aae28b022d0247bba1d4.jpg","text":"TemporaryFile(/tmp/multipartBody967527382822469904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824923277,"filename":"image_25012025_18_07_03_066446_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8221a27f2563c99c40039b8fa3a3ce25.jpg","text":"TemporaryFile(/tmp/multipartBody6974099303720408052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824923277,"filename":"image_25012025_18_07_03_066446_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331407583","file1":"1331407578","file0":"1331407574","file3":"1331407610"},"map_files_photo_id_array":[{"photo_id":"1331407583","filename":"file2"},{"photo_id":"1331407578","filename":"file1"},{"photo_id":"1331407574","filename":"file0"},{"photo_id":"1331407610","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331407574":["hashtag1","hashtag2"]},{"1331407610":["hashtag1","hashtag2"]},{"1331407578":["hashtag1","hashtag2"]},{"1331407583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331407574, 1331407610, 1331407578, 1331407583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62273907661438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:08:22.098742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/07/image_25012025_18_07_03_066446_0003.jpg', '/home/pi/Desktop/images/25012025/18/08/image_25012025_18_08_02_278478_0000.jpg', '/home/pi/Desktop/images/25012025/18/08/image_25012025_18_08_02_278478_0001.jpg', '/home/pi/Desktop/images/25012025/18/08/image_25012025_18_08_02_278478_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/07/image_25012025_18_07_03_066446_0003.jpg
/home/pi/Desktop/images/25012025/18/08/image_25012025_18_08_02_278478_0000.jpg
/home/pi/Desktop/images/25012025/18/08/image_25012025_18_08_02_278478_0001.jpg
/home/pi/Desktop/images/25012025/18/08/image_25012025_18_08_02_278478_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 [200]>
b'{"photo_ids":["1331407652","1331407647","1331407641","1331407635"],"photo_ids_order":["1331407635","1331407641","1331407647","1331407652"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d32b6b809bc880485aa34b28a99ab371.jpg","text":"TemporaryFile(/tmp/multipartBody7527213702249911354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824973860,"filename":"image_25012025_18_08_02_278478_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/183fef51fe5071b51f297c56469e8007.jpg","text":"TemporaryFile(/tmp/multipartBody1195964658348172908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824973860,"filename":"image_25012025_18_08_02_278478_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c79f5e040d9bbb9fcd4d2080b36f715d.jpg","text":"TemporaryFile(/tmp/multipartBody5517152741772717568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824973860,"filename":"image_25012025_18_08_02_278478_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2ed9f1b0f05530b89c8c24ef185b27c2.jpg","text":"TemporaryFile(/tmp/multipartBody8173961251124187627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737824973860,"filename":"image_25012025_18_07_03_066446_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331407647","file1":"1331407641","file0":"1331407635","file3":"1331407652"},"map_files_photo_id_array":[{"photo_id":"1331407647","filename":"file2"},{"photo_id":"1331407641","filename":"file1"},{"photo_id":"1331407635","filename":"file0"},{"photo_id":"1331407652","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331407652":["hashtag1","hashtag2"]},{"1331407647":["hashtag1","hashtag2"]},{"1331407641":["hashtag1","hashtag2"]},{"1331407635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331407652, 1331407647, 1331407641, 1331407635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.5822172164917 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:09:22.272630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/08/image_25012025_18_08_02_278478_0003.jpg', '/home/pi/Desktop/images/25012025/18/09/image_25012025_18_09_02_429053_0000.jpg', '/home/pi/Desktop/images/25012025/18/09/image_25012025_18_09_02_429053_0001.jpg', '/home/pi/Desktop/images/25012025/18/09/image_25012025_18_09_02_429053_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/08/image_25012025_18_08_02_278478_0003.jpg
/home/pi/Desktop/images/25012025/18/09/image_25012025_18_09_02_429053_0000.jpg
/home/pi/Desktop/images/25012025/18/09/image_25012025_18_09_02_429053_0001.jpg
/home/pi/Desktop/images/25012025/18/09/image_25012025_18_09_02_429053_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 [200]>
b'{"photo_ids":["1331407681","1331407684","1331407671","1331407677"],"photo_ids_order":["1331407671","1331407677","1331407681","1331407684"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cf2d892076a7b18e401898930005d223.jpg","text":"TemporaryFile(/tmp/multipartBody6423122131448560298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825033895,"filename":"image_25012025_18_09_02_429053_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2c5f01333242d32c6e2677e4aabdf2ea.jpg","text":"TemporaryFile(/tmp/multipartBody2097443984128876682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825033895,"filename":"image_25012025_18_09_02_429053_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/be2c9b4ad5c446e45c997fffd160485e.jpg","text":"TemporaryFile(/tmp/multipartBody4534168445054473377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825033895,"filename":"image_25012025_18_08_02_278478_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dd69852489bde50e7da47684192ca61d.jpg","text":"TemporaryFile(/tmp/multipartBody8126154917060279611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825033895,"filename":"image_25012025_18_09_02_429053_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331407681","file1":"1331407677","file0":"1331407671","file3":"1331407684"},"map_files_photo_id_array":[{"photo_id":"1331407681","filename":"file2"},{"photo_id":"1331407677","filename":"file1"},{"photo_id":"1331407671","filename":"file0"},{"photo_id":"1331407684","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331407681":["hashtag1","hashtag2"]},{"1331407684":["hashtag1","hashtag2"]},{"1331407671":["hashtag1","hashtag2"]},{"1331407677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331407681, 1331407684, 1331407671, 1331407677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.15017509460449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:10:22.499106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/09/image_25012025_18_09_02_429053_0003.jpg', '/home/pi/Desktop/images/25012025/18/10/image_25012025_18_10_02_700763_0000.jpg', '/home/pi/Desktop/images/25012025/18/10/image_25012025_18_10_02_700763_0001.jpg', '/home/pi/Desktop/images/25012025/18/10/image_25012025_18_10_02_700763_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/09/image_25012025_18_09_02_429053_0003.jpg
/home/pi/Desktop/images/25012025/18/10/image_25012025_18_10_02_700763_0000.jpg
/home/pi/Desktop/images/25012025/18/10/image_25012025_18_10_02_700763_0001.jpg
/home/pi/Desktop/images/25012025/18/10/image_25012025_18_10_02_700763_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":["1331407727","1331407762","1331407756","1331407720"],"photo_ids_order":["1331407720","1331407727","1331407756","1331407762"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c3ef922bcf2c9e6e10f245b0be845eb9.jpg","text":"TemporaryFile(/tmp/multipartBody2670208211726972096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825093675,"filename":"image_25012025_18_10_02_700763_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/83513f0a9ae45c7b0bed611856247924.jpg","text":"TemporaryFile(/tmp/multipartBody2339145810255292680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825093675,"filename":"image_25012025_18_10_02_700763_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bea52ed12b206a08f3223315af6a1c40.jpg","text":"TemporaryFile(/tmp/multipartBody7309844517796513229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825093675,"filename":"image_25012025_18_10_02_700763_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/665f0389dc5ee18f480ec53899ecf4cd.jpg","text":"TemporaryFile(/tmp/multipartBody1951058983379188828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825093675,"filename":"image_25012025_18_09_02_429053_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331407756","file1":"1331407727","file0":"1331407720","file3":"1331407762"},"map_files_photo_id_array":[{"photo_id":"1331407756","filename":"file2"},{"photo_id":"1331407727","filename":"file1"},{"photo_id":"1331407720","filename":"file0"},{"photo_id":"1331407762","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331407727":["hashtag1","hashtag2"]},{"1331407762":["hashtag1","hashtag2"]},{"1331407756":["hashtag1","hashtag2"]},{"1331407720":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331407727, 1331407762, 1331407756, 1331407720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.97964024543762 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 18:11:03.355539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/52/image_21012025_21_52_03_062700_0002.jpg', '/home/pi/Desktop/images/21012025/21/52/image_21012025_21_52_03_062700_0003.jpg', '/home/pi/Desktop/images/21012025/21/53/image_21012025_21_53_02_301035_0000.jpg', '/home/pi/Desktop/images/21012025/21/53/image_21012025_21_53_02_301035_0001.jpg', '/home/pi/Desktop/images/21012025/21/53/image_21012025_21_53_02_301035_0002.jpg', '/home/pi/Desktop/images/21012025/21/53/image_21012025_21_53_02_301035_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/21/52/image_21012025_21_52_03_062700_0002.jpg
/home/pi/Desktop/images/21012025/21/52/image_21012025_21_52_03_062700_0003.jpg
/home/pi/Desktop/images/21012025/21/53/image_21012025_21_53_02_301035_0000.jpg
/home/pi/Desktop/images/21012025/21/53/image_21012025_21_53_02_301035_0001.jpg
/home/pi/Desktop/images/21012025/21/53/image_21012025_21_53_02_301035_0002.jpg
/home/pi/Desktop/images/21012025/21/53/image_21012025_21_53_02_301035_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 [200]>
b'{"photo_ids":["1331407786","1331407791","1331407800","1331407803","1331407806","1331407796"],"photo_ids_order":["1331407786","1331407791","1331407796","1331407800","1331407803","1331407806"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4dc400a599259e1460a4842f93920f28.jpg","text":"TemporaryFile(/tmp/multipartBody1399736897404503979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825141087,"filename":"image_21012025_21_52_03_062700_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c3f24add8827b4d66a6d302fe955d596.jpg","text":"TemporaryFile(/tmp/multipartBody3444158304396143531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825141087,"filename":"image_21012025_21_52_03_062700_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f7ff2a4dfaa2e6fda7be1d4b2e3b31fc.jpg","text":"TemporaryFile(/tmp/multipartBody3143457778544774696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825141087,"filename":"image_21012025_21_53_02_301035_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1589625272753dbc56d2abb35159f9bc.jpg","text":"TemporaryFile(/tmp/multipartBody7985395436035309304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825141087,"filename":"image_21012025_21_53_02_301035_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/365bb8f39177c723966c2153b6fe2cac.jpg","text":"TemporaryFile(/tmp/multipartBody7852713959749181454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825141087,"filename":"image_21012025_21_53_02_301035_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0cf3f8585ebad3e1157d6787e00ae774.jpg","text":"TemporaryFile(/tmp/multipartBody2499062681090382734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825141087,"filename":"image_21012025_21_53_02_301035_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331407796","file1":"1331407791","file0":"1331407786","file4":"1331407803","file5":"1331407806","file3":"1331407800"},"map_files_photo_id_array":[{"photo_id":"1331407806","filename":"file5"},{"photo_id":"1331407796","filename":"file2"},{"photo_id":"1331407803","filename":"file4"},{"photo_id":"1331407791","filename":"file1"},{"photo_id":"1331407786","filename":"file0"},{"photo_id":"1331407800","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331407786":["hashtag1","hashtag2"]},{"1331407791":["hashtag1","hashtag2"]},{"1331407800":["hashtag1","hashtag2"]},{"1331407803":["hashtag1","hashtag2"]},{"1331407806":["hashtag1","hashtag2"]},{"1331407796":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331407786, 1331407791, 1331407800, 1331407803, 1331407806, 1331407796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.826268911361694 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-25 18:12:21.844231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/10/image_25012025_18_10_02_700763_0003.jpg', '/home/pi/Desktop/images/25012025/18/11/image_25012025_18_11_02_860562_0000.jpg', '/home/pi/Desktop/images/25012025/18/11/image_25012025_18_11_02_860562_0001.jpg', '/home/pi/Desktop/images/25012025/18/11/image_25012025_18_11_02_860562_0002.jpg', '/home/pi/Desktop/images/25012025/18/11/image_25012025_18_11_02_860562_0003.jpg', '/home/pi/Desktop/images/25012025/18/12/image_25012025_18_12_03_066987_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/10/image_25012025_18_10_02_700763_0003.jpg
/home/pi/Desktop/images/25012025/18/11/image_25012025_18_11_02_860562_0000.jpg
/home/pi/Desktop/images/25012025/18/11/image_25012025_18_11_02_860562_0001.jpg
/home/pi/Desktop/images/25012025/18/11/image_25012025_18_11_02_860562_0002.jpg
/home/pi/Desktop/images/25012025/18/11/image_25012025_18_11_02_860562_0003.jpg
/home/pi/Desktop/images/25012025/18/12/image_25012025_18_12_03_066987_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: 16.24147081375122 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 18:12:41.810887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/10/image_25012025_18_10_02_700763_0003.jpg', '/home/pi/Desktop/images/25012025/18/11/image_25012025_18_11_02_860562_0000.jpg', '/home/pi/Desktop/images/25012025/18/11/image_25012025_18_11_02_860562_0001.jpg', '/home/pi/Desktop/images/25012025/18/11/image_25012025_18_11_02_860562_0002.jpg', '/home/pi/Desktop/images/25012025/18/11/image_25012025_18_11_02_860562_0003.jpg', '/home/pi/Desktop/images/25012025/18/12/image_25012025_18_12_03_066987_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/10/image_25012025_18_10_02_700763_0003.jpg
/home/pi/Desktop/images/25012025/18/11/image_25012025_18_11_02_860562_0000.jpg
/home/pi/Desktop/images/25012025/18/11/image_25012025_18_11_02_860562_0001.jpg
/home/pi/Desktop/images/25012025/18/11/image_25012025_18_11_02_860562_0002.jpg
/home/pi/Desktop/images/25012025/18/11/image_25012025_18_11_02_860562_0003.jpg
/home/pi/Desktop/images/25012025/18/12/image_25012025_18_12_03_066987_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 [200]>
b'{"photo_ids":["1331407844","1331407852","1331407855","1331407849","1331407858","1331407863"],"photo_ids_order":["1331407844","1331407849","1331407852","1331407855","1331407858","1331407863"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7d0ae96e1e2a97215e281ec754c54c5c.jpg","text":"TemporaryFile(/tmp/multipartBody6176094786124671041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825238457,"filename":"image_25012025_18_10_02_700763_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/55915f4f121605c43759ff8eba2d164b.jpg","text":"TemporaryFile(/tmp/multipartBody2648569015877780533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825238457,"filename":"image_25012025_18_11_02_860562_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/192aa13279ea109322b9885282d847df.jpg","text":"TemporaryFile(/tmp/multipartBody894919564165524556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825238457,"filename":"image_25012025_18_11_02_860562_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c7e06e78929b4c5deabbc9610230ee0.jpg","text":"TemporaryFile(/tmp/multipartBody3659206330485999950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825238457,"filename":"image_25012025_18_11_02_860562_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2441f78e40b6e846a6dce1d89e8ed8e7.jpg","text":"TemporaryFile(/tmp/multipartBody3120732330939208924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825238457,"filename":"image_25012025_18_11_02_860562_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/697482f6f52f087fb46f89eab8d35b56.jpg","text":"TemporaryFile(/tmp/multipartBody5997596610798743200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825238457,"filename":"image_25012025_18_12_03_066987_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331407852","file1":"1331407849","file0":"1331407844","file4":"1331407858","file5":"1331407863","file3":"1331407855"},"map_files_photo_id_array":[{"photo_id":"1331407863","filename":"file5"},{"photo_id":"1331407852","filename":"file2"},{"photo_id":"1331407858","filename":"file4"},{"photo_id":"1331407849","filename":"file1"},{"photo_id":"1331407844","filename":"file0"},{"photo_id":"1331407855","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331407844":["hashtag1","hashtag2"]},{"1331407852":["hashtag1","hashtag2"]},{"1331407855":["hashtag1","hashtag2"]},{"1331407849":["hashtag1","hashtag2"]},{"1331407858":["hashtag1","hashtag2"]},{"1331407863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331407844, 1331407852, 1331407855, 1331407849, 1331407858, 1331407863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.76730966567993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 18:13:41.961886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/12/image_25012025_18_12_03_066987_0001.jpg', '/home/pi/Desktop/images/25012025/18/12/image_25012025_18_12_03_066987_0002.jpg', '/home/pi/Desktop/images/25012025/18/12/image_25012025_18_12_03_066987_0003.jpg', '/home/pi/Desktop/images/25012025/18/13/image_25012025_18_13_02_192705_0000.jpg', '/home/pi/Desktop/images/25012025/18/13/image_25012025_18_13_02_192705_0001.jpg', '/home/pi/Desktop/images/25012025/18/13/image_25012025_18_13_02_192705_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/12/image_25012025_18_12_03_066987_0001.jpg
/home/pi/Desktop/images/25012025/18/12/image_25012025_18_12_03_066987_0002.jpg
/home/pi/Desktop/images/25012025/18/12/image_25012025_18_12_03_066987_0003.jpg
/home/pi/Desktop/images/25012025/18/13/image_25012025_18_13_02_192705_0000.jpg
/home/pi/Desktop/images/25012025/18/13/image_25012025_18_13_02_192705_0001.jpg
/home/pi/Desktop/images/25012025/18/13/image_25012025_18_13_02_192705_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: 16.853045225143433 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 18:14:02.636174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/12/image_25012025_18_12_03_066987_0001.jpg', '/home/pi/Desktop/images/25012025/18/12/image_25012025_18_12_03_066987_0002.jpg', '/home/pi/Desktop/images/25012025/18/12/image_25012025_18_12_03_066987_0003.jpg', '/home/pi/Desktop/images/25012025/18/13/image_25012025_18_13_02_192705_0000.jpg', '/home/pi/Desktop/images/25012025/18/13/image_25012025_18_13_02_192705_0001.jpg', '/home/pi/Desktop/images/25012025/18/13/image_25012025_18_13_02_192705_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/12/image_25012025_18_12_03_066987_0001.jpg
/home/pi/Desktop/images/25012025/18/12/image_25012025_18_12_03_066987_0002.jpg
/home/pi/Desktop/images/25012025/18/12/image_25012025_18_12_03_066987_0003.jpg
/home/pi/Desktop/images/25012025/18/13/image_25012025_18_13_02_192705_0000.jpg
/home/pi/Desktop/images/25012025/18/13/image_25012025_18_13_02_192705_0001.jpg
/home/pi/Desktop/images/25012025/18/13/image_25012025_18_13_02_192705_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 [200]>
b'{"photo_ids":["1331407958","1331407952","1331407962","1331407944","1331407947","1331407938"],"photo_ids_order":["1331407938","1331407944","1331407947","1331407952","1331407958","1331407962"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6d27bbaee2e5d1b661dd9fab74fbcdcb.jpg","text":"TemporaryFile(/tmp/multipartBody1559121991581347820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825319873,"filename":"image_25012025_18_13_02_192705_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e605db1b80f4c0eff830da723a430c7b.jpg","text":"TemporaryFile(/tmp/multipartBody5628100089978745795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825319873,"filename":"image_25012025_18_13_02_192705_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0d4965f18c5c98425d6e0b5de311081b.jpg","text":"TemporaryFile(/tmp/multipartBody2298038865635343850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825319873,"filename":"image_25012025_18_13_02_192705_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3a57b66647a8fee5e3cfe9a42a320a2e.jpg","text":"TemporaryFile(/tmp/multipartBody518389112537096480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825319873,"filename":"image_25012025_18_12_03_066987_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/af7606cd69756c06411f94e099f97b2d.jpg","text":"TemporaryFile(/tmp/multipartBody7364619951239773217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825319873,"filename":"image_25012025_18_12_03_066987_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6ef64fd5b4cc23b7ad504c33427b76a6.jpg","text":"TemporaryFile(/tmp/multipartBody1650397943030672563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825319873,"filename":"image_25012025_18_12_03_066987_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331407947","file1":"1331407944","file0":"1331407938","file4":"1331407958","file5":"1331407962","file3":"1331407952"},"map_files_photo_id_array":[{"photo_id":"1331407962","filename":"file5"},{"photo_id":"1331407947","filename":"file2"},{"photo_id":"1331407958","filename":"file4"},{"photo_id":"1331407944","filename":"file1"},{"photo_id":"1331407938","filename":"file0"},{"photo_id":"1331407952","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331407958":["hashtag1","hashtag2"]},{"1331407952":["hashtag1","hashtag2"]},{"1331407962":["hashtag1","hashtag2"]},{"1331407944":["hashtag1","hashtag2"]},{"1331407947":["hashtag1","hashtag2"]},{"1331407938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331407958, 1331407952, 1331407962, 1331407944, 1331407947, 1331407938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.78304123878479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 18:15:03.155873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/13/image_25012025_18_13_02_192705_0003.jpg', '/home/pi/Desktop/images/25012025/18/14/image_25012025_18_14_02_491888_0000.jpg', '/home/pi/Desktop/images/25012025/18/14/image_25012025_18_14_02_491888_0001.jpg', '/home/pi/Desktop/images/25012025/18/14/image_25012025_18_14_02_491888_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/13/image_25012025_18_13_02_192705_0003.jpg
/home/pi/Desktop/images/25012025/18/14/image_25012025_18_14_02_491888_0000.jpg
/home/pi/Desktop/images/25012025/18/14/image_25012025_18_14_02_491888_0001.jpg
/home/pi/Desktop/images/25012025/18/14/image_25012025_18_14_02_491888_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.971883296966553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:15:22.405109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/13/image_25012025_18_13_02_192705_0003.jpg', '/home/pi/Desktop/images/25012025/18/14/image_25012025_18_14_02_491888_0000.jpg', '/home/pi/Desktop/images/25012025/18/14/image_25012025_18_14_02_491888_0001.jpg', '/home/pi/Desktop/images/25012025/18/14/image_25012025_18_14_02_491888_0002.jpg', '/home/pi/Desktop/images/25012025/18/14/image_25012025_18_14_02_491888_0003.jpg', '/home/pi/Desktop/images/25012025/18/15/image_25012025_18_15_02_560007_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/13/image_25012025_18_13_02_192705_0003.jpg
/home/pi/Desktop/images/25012025/18/14/image_25012025_18_14_02_491888_0000.jpg
/home/pi/Desktop/images/25012025/18/14/image_25012025_18_14_02_491888_0001.jpg
/home/pi/Desktop/images/25012025/18/14/image_25012025_18_14_02_491888_0002.jpg
/home/pi/Desktop/images/25012025/18/14/image_25012025_18_14_02_491888_0003.jpg
/home/pi/Desktop/images/25012025/18/15/image_25012025_18_15_02_560007_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 [200]>
b'{"photo_ids":["1331408201","1331408132","1331408233","1331408212","1331408187","1331408255"],"photo_ids_order":["1331408132","1331408187","1331408201","1331408212","1331408233","1331408255"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1fa2867312525fad85f897bdc5a8160e.jpg","text":"TemporaryFile(/tmp/multipartBody8202246297533229529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825399269,"filename":"image_25012025_18_14_02_491888_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0987d43fa3c62053cd0e099e5531c3cc.jpg","text":"TemporaryFile(/tmp/multipartBody857335539935074376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825399269,"filename":"image_25012025_18_13_02_192705_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/433369142749296934e67024d63c4f0b.jpg","text":"TemporaryFile(/tmp/multipartBody4702506409322356599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825399269,"filename":"image_25012025_18_14_02_491888_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4eae2a9fc5e2734fed7fb601395af427.jpg","text":"TemporaryFile(/tmp/multipartBody2366660737975973951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825399269,"filename":"image_25012025_18_14_02_491888_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ca592ca0d11fa28aef7e0416ee9ba051.jpg","text":"TemporaryFile(/tmp/multipartBody2579679758582282680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825399269,"filename":"image_25012025_18_14_02_491888_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ada622c5e02b87b9f26d08fc4e58ec41.jpg","text":"TemporaryFile(/tmp/multipartBody6653977325186837485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825399269,"filename":"image_25012025_18_15_02_560007_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331408201","file1":"1331408187","file0":"1331408132","file4":"1331408233","file5":"1331408255","file3":"1331408212"},"map_files_photo_id_array":[{"photo_id":"1331408255","filename":"file5"},{"photo_id":"1331408201","filename":"file2"},{"photo_id":"1331408233","filename":"file4"},{"photo_id":"1331408187","filename":"file1"},{"photo_id":"1331408132","filename":"file0"},{"photo_id":"1331408212","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331408201":["hashtag1","hashtag2"]},{"1331408132":["hashtag1","hashtag2"]},{"1331408233":["hashtag1","hashtag2"]},{"1331408212":["hashtag1","hashtag2"]},{"1331408187":["hashtag1","hashtag2"]},{"1331408255":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331408201, 1331408132, 1331408233, 1331408212, 1331408187, 1331408255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.156750440597534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:16:22.658369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/15/image_25012025_18_15_02_560007_0001.jpg', '/home/pi/Desktop/images/25012025/18/15/image_25012025_18_15_02_560007_0002.jpg', '/home/pi/Desktop/images/25012025/18/15/image_25012025_18_15_02_560007_0003.jpg', '/home/pi/Desktop/images/25012025/18/16/image_25012025_18_16_02_781179_0000.jpg', '/home/pi/Desktop/images/25012025/18/16/image_25012025_18_16_02_781179_0001.jpg', '/home/pi/Desktop/images/25012025/18/16/image_25012025_18_16_02_781179_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/15/image_25012025_18_15_02_560007_0001.jpg
/home/pi/Desktop/images/25012025/18/15/image_25012025_18_15_02_560007_0002.jpg
/home/pi/Desktop/images/25012025/18/15/image_25012025_18_15_02_560007_0003.jpg
/home/pi/Desktop/images/25012025/18/16/image_25012025_18_16_02_781179_0000.jpg
/home/pi/Desktop/images/25012025/18/16/image_25012025_18_16_02_781179_0001.jpg
/home/pi/Desktop/images/25012025/18/16/image_25012025_18_16_02_781179_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: 16.004614114761353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 18:16:42.680661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/15/image_25012025_18_15_02_560007_0001.jpg', '/home/pi/Desktop/images/25012025/18/15/image_25012025_18_15_02_560007_0002.jpg', '/home/pi/Desktop/images/25012025/18/15/image_25012025_18_15_02_560007_0003.jpg', '/home/pi/Desktop/images/25012025/18/16/image_25012025_18_16_02_781179_0000.jpg', '/home/pi/Desktop/images/25012025/18/16/image_25012025_18_16_02_781179_0001.jpg', '/home/pi/Desktop/images/25012025/18/16/image_25012025_18_16_02_781179_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/15/image_25012025_18_15_02_560007_0001.jpg
/home/pi/Desktop/images/25012025/18/15/image_25012025_18_15_02_560007_0002.jpg
/home/pi/Desktop/images/25012025/18/15/image_25012025_18_15_02_560007_0003.jpg
/home/pi/Desktop/images/25012025/18/16/image_25012025_18_16_02_781179_0000.jpg
/home/pi/Desktop/images/25012025/18/16/image_25012025_18_16_02_781179_0001.jpg
/home/pi/Desktop/images/25012025/18/16/image_25012025_18_16_02_781179_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 [200]>
b'{"photo_ids":["1331408350","1331408353","1331408347","1331408349","1331408345","1331408348"],"photo_ids_order":["1331408345","1331408347","1331408348","1331408349","1331408350","1331408353"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bb28114550d6a56c0c151b32b1907794.jpg","text":"TemporaryFile(/tmp/multipartBody7069248686940872658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825479066,"filename":"image_25012025_18_16_02_781179_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/363a939ec295453daf6a966a7e71f9bb.jpg","text":"TemporaryFile(/tmp/multipartBody3187736473252996754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825479066,"filename":"image_25012025_18_16_02_781179_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b217422e33c87e1dedf73e8998d188a8.jpg","text":"TemporaryFile(/tmp/multipartBody5952976830594444422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825479066,"filename":"image_25012025_18_15_02_560007_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/13675bc4c55e6f4cadaa514f11d23e1b.jpg","text":"TemporaryFile(/tmp/multipartBody2985840863615520326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825479066,"filename":"image_25012025_18_16_02_781179_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7d97c46c84b7e13193bf5cdd3abc8874.jpg","text":"TemporaryFile(/tmp/multipartBody5740643815265809494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825479066,"filename":"image_25012025_18_15_02_560007_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9f5500a4f88e14cf65a3a99f78b94e3e.jpg","text":"TemporaryFile(/tmp/multipartBody859937447925231562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825479066,"filename":"image_25012025_18_15_02_560007_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331408348","file1":"1331408347","file0":"1331408345","file4":"1331408350","file5":"1331408353","file3":"1331408349"},"map_files_photo_id_array":[{"photo_id":"1331408353","filename":"file5"},{"photo_id":"1331408348","filename":"file2"},{"photo_id":"1331408350","filename":"file4"},{"photo_id":"1331408347","filename":"file1"},{"photo_id":"1331408345","filename":"file0"},{"photo_id":"1331408349","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331408350":["hashtag1","hashtag2"]},{"1331408353":["hashtag1","hashtag2"]},{"1331408347":["hashtag1","hashtag2"]},{"1331408349":["hashtag1","hashtag2"]},{"1331408345":["hashtag1","hashtag2"]},{"1331408348":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331408350, 1331408353, 1331408347, 1331408349, 1331408345, 1331408348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.15555262565613 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 18:17:41.769964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/16/image_25012025_18_16_02_781179_0003.jpg', '/home/pi/Desktop/images/25012025/18/17/image_25012025_18_17_03_012165_0000.jpg', '/home/pi/Desktop/images/25012025/18/17/image_25012025_18_17_03_012165_0001.jpg', '/home/pi/Desktop/images/25012025/18/17/image_25012025_18_17_03_012165_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/16/image_25012025_18_16_02_781179_0003.jpg
/home/pi/Desktop/images/25012025/18/17/image_25012025_18_17_03_012165_0000.jpg
/home/pi/Desktop/images/25012025/18/17/image_25012025_18_17_03_012165_0001.jpg
/home/pi/Desktop/images/25012025/18/17/image_25012025_18_17_03_012165_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":["1331408575","1331408583","1331408586","1331408579"],"photo_ids_order":["1331408575","1331408579","1331408583","1331408586"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/10d0ab1136d1ca29f3740ac207b4d090.jpg","text":"TemporaryFile(/tmp/multipartBody8017176885651050040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825532647,"filename":"image_25012025_18_16_02_781179_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/41e386b3048c0c0b1c1f71c2d8073cdc.jpg","text":"TemporaryFile(/tmp/multipartBody4625899036182318123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825532647,"filename":"image_25012025_18_17_03_012165_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8a916ed134e0258840aac646847b2424.jpg","text":"TemporaryFile(/tmp/multipartBody3601304758168327978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825532647,"filename":"image_25012025_18_17_03_012165_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c2f846084952521fc269fde0cf5d4b8.jpg","text":"TemporaryFile(/tmp/multipartBody1791304021342490813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825532647,"filename":"image_25012025_18_17_03_012165_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331408583","file1":"1331408579","file0":"1331408575","file3":"1331408586"},"map_files_photo_id_array":[{"photo_id":"1331408583","filename":"file2"},{"photo_id":"1331408579","filename":"file1"},{"photo_id":"1331408575","filename":"file0"},{"photo_id":"1331408586","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331408575":["hashtag1","hashtag2"]},{"1331408583":["hashtag1","hashtag2"]},{"1331408586":["hashtag1","hashtag2"]},{"1331408579":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331408575, 1331408583, 1331408586, 1331408579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.8450722694397 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 18:18:31.984947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/17/image_25012025_18_17_03_012165_0003.jpg', '/home/pi/Desktop/images/25012025/18/18/image_25012025_18_18_02_168604_0000.jpg', '/home/pi/Desktop/images/25012025/18/18/image_25012025_18_18_02_168604_0001.jpg', '/home/pi/Desktop/images/25012025/18/18/image_25012025_18_18_02_168604_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/17/image_25012025_18_17_03_012165_0003.jpg
/home/pi/Desktop/images/25012025/18/18/image_25012025_18_18_02_168604_0000.jpg
/home/pi/Desktop/images/25012025/18/18/image_25012025_18_18_02_168604_0001.jpg
/home/pi/Desktop/images/25012025/18/18/image_25012025_18_18_02_168604_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":["1331408612","1331408615","1331408600","1331408608"],"photo_ids_order":["1331408600","1331408608","1331408612","1331408615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/49b4720976f06994b95b9fcde3bf458e.jpg","text":"TemporaryFile(/tmp/multipartBody6761636222196933188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825582826,"filename":"image_25012025_18_18_02_168604_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/180aece0da32964c435afec8e1150157.jpg","text":"TemporaryFile(/tmp/multipartBody8664340008776675124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825582826,"filename":"image_25012025_18_18_02_168604_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/738f4ff787693b651a56fbb61d378396.jpg","text":"TemporaryFile(/tmp/multipartBody4203041761431920053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825582826,"filename":"image_25012025_18_17_03_012165_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/800c402cdf947e5ea3615b901fa8fb93.jpg","text":"TemporaryFile(/tmp/multipartBody975042522040155685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825582826,"filename":"image_25012025_18_18_02_168604_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331408612","file1":"1331408608","file0":"1331408600","file3":"1331408615"},"map_files_photo_id_array":[{"photo_id":"1331408612","filename":"file2"},{"photo_id":"1331408608","filename":"file1"},{"photo_id":"1331408600","filename":"file0"},{"photo_id":"1331408615","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331408612":["hashtag1","hashtag2"]},{"1331408615":["hashtag1","hashtag2"]},{"1331408600":["hashtag1","hashtag2"]},{"1331408608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331408612, 1331408615, 1331408600, 1331408608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.83808135986328 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:19:22.173905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/18/image_25012025_18_18_02_168604_0003.jpg', '/home/pi/Desktop/images/25012025/18/19/image_25012025_18_19_02_331639_0000.jpg', '/home/pi/Desktop/images/25012025/18/19/image_25012025_18_19_02_331639_0001.jpg', '/home/pi/Desktop/images/25012025/18/19/image_25012025_18_19_02_331639_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/18/image_25012025_18_18_02_168604_0003.jpg
/home/pi/Desktop/images/25012025/18/19/image_25012025_18_19_02_331639_0000.jpg
/home/pi/Desktop/images/25012025/18/19/image_25012025_18_19_02_331639_0001.jpg
/home/pi/Desktop/images/25012025/18/19/image_25012025_18_19_02_331639_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":["1331408627","1331408670","1331408646","1331408631"],"photo_ids_order":["1331408627","1331408631","1331408646","1331408670"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/51d056f531be564e69137920dfc79525.jpg","text":"TemporaryFile(/tmp/multipartBody313973311043357670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825633541,"filename":"image_25012025_18_18_02_168604_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d713c0593dc485ef4d65014732b00058.jpg","text":"TemporaryFile(/tmp/multipartBody7121121505323811201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825633541,"filename":"image_25012025_18_19_02_331639_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/60a752846724ba5ea2c9b07fe5b373f0.jpg","text":"TemporaryFile(/tmp/multipartBody821770340316336191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825633541,"filename":"image_25012025_18_19_02_331639_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a352541b49bdb6629637a946e30320c3.jpg","text":"TemporaryFile(/tmp/multipartBody3884460766734678449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825633541,"filename":"image_25012025_18_19_02_331639_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331408646","file1":"1331408631","file0":"1331408627","file3":"1331408670"},"map_files_photo_id_array":[{"photo_id":"1331408646","filename":"file2"},{"photo_id":"1331408631","filename":"file1"},{"photo_id":"1331408627","filename":"file0"},{"photo_id":"1331408670","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331408627":["hashtag1","hashtag2"]},{"1331408670":["hashtag1","hashtag2"]},{"1331408646":["hashtag1","hashtag2"]},{"1331408631":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331408627, 1331408670, 1331408646, 1331408631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.54990339279175 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-25 18:20:22.376067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/19/image_25012025_18_19_02_331639_0003.jpg', '/home/pi/Desktop/images/25012025/18/20/image_25012025_18_20_02_541700_0000.jpg', '/home/pi/Desktop/images/25012025/18/20/image_25012025_18_20_02_541700_0001.jpg', '/home/pi/Desktop/images/25012025/18/20/image_25012025_18_20_02_541700_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/19/image_25012025_18_19_02_331639_0003.jpg
/home/pi/Desktop/images/25012025/18/20/image_25012025_18_20_02_541700_0000.jpg
/home/pi/Desktop/images/25012025/18/20/image_25012025_18_20_02_541700_0001.jpg
/home/pi/Desktop/images/25012025/18/20/image_25012025_18_20_02_541700_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: 10.426371574401855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 18:20:42.339889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/19/image_25012025_18_19_02_331639_0003.jpg', '/home/pi/Desktop/images/25012025/18/20/image_25012025_18_20_02_541700_0000.jpg', '/home/pi/Desktop/images/25012025/18/20/image_25012025_18_20_02_541700_0001.jpg', '/home/pi/Desktop/images/25012025/18/20/image_25012025_18_20_02_541700_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/19/image_25012025_18_19_02_331639_0003.jpg
/home/pi/Desktop/images/25012025/18/20/image_25012025_18_20_02_541700_0000.jpg
/home/pi/Desktop/images/25012025/18/20/image_25012025_18_20_02_541700_0001.jpg
/home/pi/Desktop/images/25012025/18/20/image_25012025_18_20_02_541700_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":["1331409739","1331409735","1331409585","1331409732"],"photo_ids_order":["1331409585","1331409732","1331409735","1331409739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1b3a8e463b3e93ccd2ccb780a9ff643e.jpg","text":"TemporaryFile(/tmp/multipartBody4094228663886746755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825713161,"filename":"image_25012025_18_20_02_541700_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c0d6f0aabbea4923163b5ac974c5e092.jpg","text":"TemporaryFile(/tmp/multipartBody2615057306256962907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825713161,"filename":"image_25012025_18_20_02_541700_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/13b6f05324fed551387ec7f304d806bc.jpg","text":"TemporaryFile(/tmp/multipartBody6564357975569056593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825713161,"filename":"image_25012025_18_19_02_331639_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/517617d0212371a45352a7a3bf907b51.jpg","text":"TemporaryFile(/tmp/multipartBody7336607019659218402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825713161,"filename":"image_25012025_18_20_02_541700_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331409735","file1":"1331409732","file0":"1331409585","file3":"1331409739"},"map_files_photo_id_array":[{"photo_id":"1331409735","filename":"file2"},{"photo_id":"1331409732","filename":"file1"},{"photo_id":"1331409585","filename":"file0"},{"photo_id":"1331409739","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331409739":["hashtag1","hashtag2"]},{"1331409735":["hashtag1","hashtag2"]},{"1331409585":["hashtag1","hashtag2"]},{"1331409732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331409739, 1331409735, 1331409585, 1331409732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.91044282913208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:21:22.627454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/20/image_25012025_18_20_02_541700_0003.jpg', '/home/pi/Desktop/images/25012025/18/21/image_25012025_18_21_02_793544_0000.jpg', '/home/pi/Desktop/images/25012025/18/21/image_25012025_18_21_02_793544_0001.jpg', '/home/pi/Desktop/images/25012025/18/21/image_25012025_18_21_02_793544_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/20/image_25012025_18_20_02_541700_0003.jpg
/home/pi/Desktop/images/25012025/18/21/image_25012025_18_21_02_793544_0000.jpg
/home/pi/Desktop/images/25012025/18/21/image_25012025_18_21_02_793544_0001.jpg
/home/pi/Desktop/images/25012025/18/21/image_25012025_18_21_02_793544_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":["1331409784","1331409789","1331409780","1331409776"],"photo_ids_order":["1331409776","1331409780","1331409784","1331409789"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/25c9b70f4ae690da1632da70ffda4165.jpg","text":"TemporaryFile(/tmp/multipartBody2466896274246641436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825753768,"filename":"image_25012025_18_21_02_793544_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3378f90fb65481e745b52b89f575bf0a.jpg","text":"TemporaryFile(/tmp/multipartBody3143988962576085505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825753768,"filename":"image_25012025_18_21_02_793544_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/08af83a6488239b8daf194784d476674.jpg","text":"TemporaryFile(/tmp/multipartBody4586552331594592819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825753768,"filename":"image_25012025_18_21_02_793544_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b31e651094dc620a42bec7c3a445687c.jpg","text":"TemporaryFile(/tmp/multipartBody1087362243102455946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825753768,"filename":"image_25012025_18_20_02_541700_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331409784","file1":"1331409780","file0":"1331409776","file3":"1331409789"},"map_files_photo_id_array":[{"photo_id":"1331409784","filename":"file2"},{"photo_id":"1331409780","filename":"file1"},{"photo_id":"1331409776","filename":"file0"},{"photo_id":"1331409789","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331409784":["hashtag1","hashtag2"]},{"1331409789":["hashtag1","hashtag2"]},{"1331409780":["hashtag1","hashtag2"]},{"1331409776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331409784, 1331409789, 1331409780, 1331409776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.7733941078186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 18:22:03.246545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/54/image_21012025_21_54_02_404113_0000.jpg', '/home/pi/Desktop/images/21012025/21/54/image_21012025_21_54_02_404113_0001.jpg', '/home/pi/Desktop/images/21012025/21/54/image_21012025_21_54_02_404113_0002.jpg', '/home/pi/Desktop/images/21012025/21/54/image_21012025_21_54_02_404113_0003.jpg', '/home/pi/Desktop/images/21012025/21/55/image_21012025_21_55_02_541083_0000.jpg', '/home/pi/Desktop/images/21012025/21/55/image_21012025_21_55_02_541083_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/21/54/image_21012025_21_54_02_404113_0000.jpg
/home/pi/Desktop/images/21012025/21/54/image_21012025_21_54_02_404113_0001.jpg
/home/pi/Desktop/images/21012025/21/54/image_21012025_21_54_02_404113_0002.jpg
/home/pi/Desktop/images/21012025/21/54/image_21012025_21_54_02_404113_0003.jpg
/home/pi/Desktop/images/21012025/21/55/image_21012025_21_55_02_541083_0000.jpg
/home/pi/Desktop/images/21012025/21/55/image_21012025_21_55_02_541083_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":["1331410402","1331410542","1331410539","1331410388","1331410361","1331410349"],"photo_ids_order":["1331410349","1331410361","1331410388","1331410402","1331410539","1331410542"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8924386128f93f876c0c9cc64bab4dd6.jpg","text":"TemporaryFile(/tmp/multipartBody3742059023838446485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825801088,"filename":"image_21012025_21_54_02_404113_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7a0a0b26df188d730a1fa23a2c3d46f8.jpg","text":"TemporaryFile(/tmp/multipartBody8811036448658671338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825801088,"filename":"image_21012025_21_55_02_541083_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dde6410d949082716056c34355829083.jpg","text":"TemporaryFile(/tmp/multipartBody3720940593349677646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825801088,"filename":"image_21012025_21_55_02_541083_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1eaeeca8e065f1e61643dd3033ea4972.jpg","text":"TemporaryFile(/tmp/multipartBody1640891987443572805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825801088,"filename":"image_21012025_21_54_02_404113_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4ff23ebccc1f0f43c2f7333ecd507ca0.jpg","text":"TemporaryFile(/tmp/multipartBody4481391763461701094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825801088,"filename":"image_21012025_21_54_02_404113_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/92f644c94d3f90b078e417588e6f2144.jpg","text":"TemporaryFile(/tmp/multipartBody4896032521569522274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825801088,"filename":"image_21012025_21_54_02_404113_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331410388","file1":"1331410361","file0":"1331410349","file4":"1331410539","file5":"1331410542","file3":"1331410402"},"map_files_photo_id_array":[{"photo_id":"1331410542","filename":"file5"},{"photo_id":"1331410388","filename":"file2"},{"photo_id":"1331410539","filename":"file4"},{"photo_id":"1331410361","filename":"file1"},{"photo_id":"1331410349","filename":"file0"},{"photo_id":"1331410402","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331410402":["hashtag1","hashtag2"]},{"1331410542":["hashtag1","hashtag2"]},{"1331410539":["hashtag1","hashtag2"]},{"1331410388":["hashtag1","hashtag2"]},{"1331410361":["hashtag1","hashtag2"]},{"1331410349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331410402, 1331410542, 1331410539, 1331410388, 1331410361, 1331410349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.32034683227539 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 18:23:02.517689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/21/image_25012025_18_21_02_793544_0003.jpg', '/home/pi/Desktop/images/25012025/18/22/image_25012025_18_22_02_925770_0000.jpg', '/home/pi/Desktop/images/25012025/18/22/image_25012025_18_22_02_925770_0001.jpg', '/home/pi/Desktop/images/25012025/18/22/image_25012025_18_22_02_925770_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/21/image_25012025_18_21_02_793544_0003.jpg
/home/pi/Desktop/images/25012025/18/22/image_25012025_18_22_02_925770_0000.jpg
/home/pi/Desktop/images/25012025/18/22/image_25012025_18_22_02_925770_0001.jpg
/home/pi/Desktop/images/25012025/18/22/image_25012025_18_22_02_925770_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":["1331410618","1331410623","1331410559","1331410613"],"photo_ids_order":["1331410559","1331410613","1331410618","1331410623"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3d150527e4ce7b771110eaab095410ad.jpg","text":"TemporaryFile(/tmp/multipartBody3522298355013562376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825853741,"filename":"image_25012025_18_22_02_925770_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3b0dfc2d01ad8a64c8724ba7963d6ee6.jpg","text":"TemporaryFile(/tmp/multipartBody4309951835796813125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825853741,"filename":"image_25012025_18_22_02_925770_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f4712bb464eb42b284b2152f4d7ef024.jpg","text":"TemporaryFile(/tmp/multipartBody7790961559594211587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825853741,"filename":"image_25012025_18_21_02_793544_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8dbc6526abf3931c8d210e1c78e473f1.jpg","text":"TemporaryFile(/tmp/multipartBody2179393346121545155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825853741,"filename":"image_25012025_18_22_02_925770_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331410618","file1":"1331410613","file0":"1331410559","file3":"1331410623"},"map_files_photo_id_array":[{"photo_id":"1331410618","filename":"file2"},{"photo_id":"1331410613","filename":"file1"},{"photo_id":"1331410559","filename":"file0"},{"photo_id":"1331410623","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331410618":["hashtag1","hashtag2"]},{"1331410623":["hashtag1","hashtag2"]},{"1331410559":["hashtag1","hashtag2"]},{"1331410613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331410618, 1331410623, 1331410559, 1331410613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.53703284263611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 18:23:51.868403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/22/image_25012025_18_22_02_925770_0003.jpg', '/home/pi/Desktop/images/25012025/18/23/image_25012025_18_23_03_028205_0000.jpg', '/home/pi/Desktop/images/25012025/18/23/image_25012025_18_23_03_028205_0001.jpg', '/home/pi/Desktop/images/25012025/18/23/image_25012025_18_23_03_028205_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/22/image_25012025_18_22_02_925770_0003.jpg
/home/pi/Desktop/images/25012025/18/23/image_25012025_18_23_03_028205_0000.jpg
/home/pi/Desktop/images/25012025/18/23/image_25012025_18_23_03_028205_0001.jpg
/home/pi/Desktop/images/25012025/18/23/image_25012025_18_23_03_028205_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":["1331410972","1331410975","1331410969","1331410965"],"photo_ids_order":["1331410965","1331410969","1331410972","1331410975"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ac206a6b8a850fdb5bc12266febdde68.jpg","text":"TemporaryFile(/tmp/multipartBody3923619049302488707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825903264,"filename":"image_25012025_18_23_03_028205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/907de943012c0945c1ce3c2716a64f07.jpg","text":"TemporaryFile(/tmp/multipartBody4803270191753369540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825903264,"filename":"image_25012025_18_23_03_028205_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/51fa478f4478e1d2371d0171755c008d.jpg","text":"TemporaryFile(/tmp/multipartBody5089235174020107135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825903264,"filename":"image_25012025_18_23_03_028205_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dbd7327188bd4d6b4e439d0ad9b7b083.jpg","text":"TemporaryFile(/tmp/multipartBody1846265267663175783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825903264,"filename":"image_25012025_18_22_02_925770_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331410972","file1":"1331410969","file0":"1331410965","file3":"1331410975"},"map_files_photo_id_array":[{"photo_id":"1331410972","filename":"file2"},{"photo_id":"1331410969","filename":"file1"},{"photo_id":"1331410965","filename":"file0"},{"photo_id":"1331410975","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331410972":["hashtag1","hashtag2"]},{"1331410975":["hashtag1","hashtag2"]},{"1331410969":["hashtag1","hashtag2"]},{"1331410965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331410972, 1331410975, 1331410969, 1331410965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.919548749923706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 18:24:42.048299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/23/image_25012025_18_23_03_028205_0003.jpg', '/home/pi/Desktop/images/25012025/18/24/image_25012025_18_24_02_299867_0000.jpg', '/home/pi/Desktop/images/25012025/18/24/image_25012025_18_24_02_299867_0001.jpg', '/home/pi/Desktop/images/25012025/18/24/image_25012025_18_24_02_299867_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/23/image_25012025_18_23_03_028205_0003.jpg
/home/pi/Desktop/images/25012025/18/24/image_25012025_18_24_02_299867_0000.jpg
/home/pi/Desktop/images/25012025/18/24/image_25012025_18_24_02_299867_0001.jpg
/home/pi/Desktop/images/25012025/18/24/image_25012025_18_24_02_299867_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":["1331411003","1331410998","1331411010","1331411006"],"photo_ids_order":["1331410998","1331411003","1331411006","1331411010"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/125c7a97b83d05ee52553238c2afbc61.jpg","text":"TemporaryFile(/tmp/multipartBody5452372023847654372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825953524,"filename":"image_25012025_18_24_02_299867_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6be984203d5eb91678d5e9cd6a69066d.jpg","text":"TemporaryFile(/tmp/multipartBody7389288372418286680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825953524,"filename":"image_25012025_18_23_03_028205_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4a3cf85cc4df12e1547e48203c569dc1.jpg","text":"TemporaryFile(/tmp/multipartBody4359358386620616385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825953524,"filename":"image_25012025_18_24_02_299867_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e8de694519920e98755ee9e15c1e6098.jpg","text":"TemporaryFile(/tmp/multipartBody541567889885184390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737825953524,"filename":"image_25012025_18_24_02_299867_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331411006","file1":"1331411003","file0":"1331410998","file3":"1331411010"},"map_files_photo_id_array":[{"photo_id":"1331411006","filename":"file2"},{"photo_id":"1331411003","filename":"file1"},{"photo_id":"1331410998","filename":"file0"},{"photo_id":"1331411010","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331411003":["hashtag1","hashtag2"]},{"1331410998":["hashtag1","hashtag2"]},{"1331411010":["hashtag1","hashtag2"]},{"1331411006":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331411003, 1331410998, 1331411010, 1331411006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.610570430755615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 18:25:32.232738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/24/image_25012025_18_24_02_299867_0003.jpg', '/home/pi/Desktop/images/25012025/18/25/image_25012025_18_25_02_398852_0000.jpg', '/home/pi/Desktop/images/25012025/18/25/image_25012025_18_25_02_398852_0001.jpg', '/home/pi/Desktop/images/25012025/18/25/image_25012025_18_25_02_398852_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/24/image_25012025_18_24_02_299867_0003.jpg
/home/pi/Desktop/images/25012025/18/25/image_25012025_18_25_02_398852_0000.jpg
/home/pi/Desktop/images/25012025/18/25/image_25012025_18_25_02_398852_0001.jpg
/home/pi/Desktop/images/25012025/18/25/image_25012025_18_25_02_398852_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":["1331411062","1331411067","1331411096","1331411051"],"photo_ids_order":["1331411051","1331411062","1331411067","1331411096"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cc54c3da8cbb9fd71451a9cae6416e96.jpg","text":"TemporaryFile(/tmp/multipartBody6024239188366650049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826003219,"filename":"image_25012025_18_25_02_398852_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a42da408b05393a75e711ee0fcdae0ba.jpg","text":"TemporaryFile(/tmp/multipartBody239810234633437583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826003219,"filename":"image_25012025_18_25_02_398852_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b53481d14e19aadebf480b7fd232081f.jpg","text":"TemporaryFile(/tmp/multipartBody388296175266634672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826003219,"filename":"image_25012025_18_25_02_398852_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ad629ccf1aaa0f24c57277bdd963de16.jpg","text":"TemporaryFile(/tmp/multipartBody4876923590413877282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826003219,"filename":"image_25012025_18_24_02_299867_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331411067","file1":"1331411062","file0":"1331411051","file3":"1331411096"},"map_files_photo_id_array":[{"photo_id":"1331411067","filename":"file2"},{"photo_id":"1331411062","filename":"file1"},{"photo_id":"1331411051","filename":"file0"},{"photo_id":"1331411096","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331411062":["hashtag1","hashtag2"]},{"1331411067":["hashtag1","hashtag2"]},{"1331411096":["hashtag1","hashtag2"]},{"1331411051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331411062, 1331411067, 1331411096, 1331411051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.377910137176514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:26:22.436237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/25/image_25012025_18_25_02_398852_0003.jpg', '/home/pi/Desktop/images/25012025/18/26/image_25012025_18_26_02_606212_0000.jpg', '/home/pi/Desktop/images/25012025/18/26/image_25012025_18_26_02_606212_0001.jpg', '/home/pi/Desktop/images/25012025/18/26/image_25012025_18_26_02_606212_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/25/image_25012025_18_25_02_398852_0003.jpg
/home/pi/Desktop/images/25012025/18/26/image_25012025_18_26_02_606212_0000.jpg
/home/pi/Desktop/images/25012025/18/26/image_25012025_18_26_02_606212_0001.jpg
/home/pi/Desktop/images/25012025/18/26/image_25012025_18_26_02_606212_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 [200]>
b'{"photo_ids":["1331411377","1331411248","1331411407","1331411109"],"photo_ids_order":["1331411109","1331411248","1331411377","1331411407"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/739594ee1315659760a71daa4206132b.jpg","text":"TemporaryFile(/tmp/multipartBody1912521652458064747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826053577,"filename":"image_25012025_18_26_02_606212_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3c112aa80bc26463c009f7d6722aec72.jpg","text":"TemporaryFile(/tmp/multipartBody3430645982492391916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826053577,"filename":"image_25012025_18_26_02_606212_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bf36451f8ddfdc2474921146916cc189.jpg","text":"TemporaryFile(/tmp/multipartBody4724236097446030087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826053577,"filename":"image_25012025_18_26_02_606212_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/afa02e7f0888e7e929d7576fb85344d5.jpg","text":"TemporaryFile(/tmp/multipartBody8917834252897751976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826053577,"filename":"image_25012025_18_25_02_398852_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331411377","file1":"1331411248","file0":"1331411109","file3":"1331411407"},"map_files_photo_id_array":[{"photo_id":"1331411377","filename":"file2"},{"photo_id":"1331411248","filename":"file1"},{"photo_id":"1331411109","filename":"file0"},{"photo_id":"1331411407","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331411377":["hashtag1","hashtag2"]},{"1331411248":["hashtag1","hashtag2"]},{"1331411407":["hashtag1","hashtag2"]},{"1331411109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331411377, 1331411248, 1331411407, 1331411109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.18943977355957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:27:22.627268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/26/image_25012025_18_26_02_606212_0003.jpg', '/home/pi/Desktop/images/25012025/18/27/image_25012025_18_27_02_808475_0000.jpg', '/home/pi/Desktop/images/25012025/18/27/image_25012025_18_27_02_808475_0001.jpg', '/home/pi/Desktop/images/25012025/18/27/image_25012025_18_27_02_808475_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/26/image_25012025_18_26_02_606212_0003.jpg
/home/pi/Desktop/images/25012025/18/27/image_25012025_18_27_02_808475_0000.jpg
/home/pi/Desktop/images/25012025/18/27/image_25012025_18_27_02_808475_0001.jpg
/home/pi/Desktop/images/25012025/18/27/image_25012025_18_27_02_808475_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 [200]>
b'{"photo_ids":["1331411635","1331411561","1331411642","1331411648"],"photo_ids_order":["1331411561","1331411635","1331411642","1331411648"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f2b2d0999edd148ab54080b1b0d99f1e.jpg","text":"TemporaryFile(/tmp/multipartBody2140567756506807272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826114366,"filename":"image_25012025_18_27_02_808475_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1afdfd83796df37a475564e702609bdb.jpg","text":"TemporaryFile(/tmp/multipartBody9126769406866470036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826114366,"filename":"image_25012025_18_26_02_606212_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cb2968af24e06619ab8fa8b70e124a6c.jpg","text":"TemporaryFile(/tmp/multipartBody7447500934214577663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826114366,"filename":"image_25012025_18_27_02_808475_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c52be60bf46307d5776cbfee61e3b045.jpg","text":"TemporaryFile(/tmp/multipartBody6441839022345905472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826114366,"filename":"image_25012025_18_27_02_808475_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331411642","file1":"1331411635","file0":"1331411561","file3":"1331411648"},"map_files_photo_id_array":[{"photo_id":"1331411642","filename":"file2"},{"photo_id":"1331411635","filename":"file1"},{"photo_id":"1331411561","filename":"file0"},{"photo_id":"1331411648","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331411635":["hashtag1","hashtag2"]},{"1331411561":["hashtag1","hashtag2"]},{"1331411642":["hashtag1","hashtag2"]},{"1331411648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331411635, 1331411561, 1331411642, 1331411648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.22492814064026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:28:22.755261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/27/image_25012025_18_27_02_808475_0003.jpg', '/home/pi/Desktop/images/25012025/18/28/image_25012025_18_28_02_954903_0000.jpg', '/home/pi/Desktop/images/25012025/18/28/image_25012025_18_28_02_954903_0001.jpg', '/home/pi/Desktop/images/25012025/18/28/image_25012025_18_28_02_954903_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/27/image_25012025_18_27_02_808475_0003.jpg
/home/pi/Desktop/images/25012025/18/28/image_25012025_18_28_02_954903_0000.jpg
/home/pi/Desktop/images/25012025/18/28/image_25012025_18_28_02_954903_0001.jpg
/home/pi/Desktop/images/25012025/18/28/image_25012025_18_28_02_954903_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 [200]>
b'{"photo_ids":["1331411691","1331411685","1331411696","1331411702"],"photo_ids_order":["1331411685","1331411691","1331411696","1331411702"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e5d62354fa1e2f7fb15c502e49e46832.jpg","text":"TemporaryFile(/tmp/multipartBody107254705908989684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826173767,"filename":"image_25012025_18_28_02_954903_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4bd52dbe30d5ab4a938697f5b9100169.jpg","text":"TemporaryFile(/tmp/multipartBody1093153188356933191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826173767,"filename":"image_25012025_18_27_02_808475_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/45c0b42fd655afbbf7cafefaefeeb7d2.jpg","text":"TemporaryFile(/tmp/multipartBody5065660647705462845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826173767,"filename":"image_25012025_18_28_02_954903_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2b471e93ac082892403188659705e305.jpg","text":"TemporaryFile(/tmp/multipartBody2063297155454009535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826173767,"filename":"image_25012025_18_28_02_954903_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331411696","file1":"1331411691","file0":"1331411685","file3":"1331411702"},"map_files_photo_id_array":[{"photo_id":"1331411696","filename":"file2"},{"photo_id":"1331411691","filename":"file1"},{"photo_id":"1331411685","filename":"file0"},{"photo_id":"1331411702","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331411691":["hashtag1","hashtag2"]},{"1331411685":["hashtag1","hashtag2"]},{"1331411696":["hashtag1","hashtag2"]},{"1331411702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331411691, 1331411685, 1331411696, 1331411702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.24864363670349 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:29:22.069647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/28/image_25012025_18_28_02_954903_0003.jpg', '/home/pi/Desktop/images/25012025/18/29/image_25012025_18_29_03_098877_0000.jpg', '/home/pi/Desktop/images/25012025/18/29/image_25012025_18_29_03_098877_0001.jpg', '/home/pi/Desktop/images/25012025/18/29/image_25012025_18_29_03_098877_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/28/image_25012025_18_28_02_954903_0003.jpg
/home/pi/Desktop/images/25012025/18/29/image_25012025_18_29_03_098877_0000.jpg
/home/pi/Desktop/images/25012025/18/29/image_25012025_18_29_03_098877_0001.jpg
/home/pi/Desktop/images/25012025/18/29/image_25012025_18_29_03_098877_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":["1331411728","1331411742","1331411735","1331411720"],"photo_ids_order":["1331411720","1331411728","1331411735","1331411742"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d06714460b3aa3fa76fe5c036d5744bc.jpg","text":"TemporaryFile(/tmp/multipartBody6616561674276546274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826233310,"filename":"image_25012025_18_29_03_098877_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/03cf1f8dd8cf2a2f7c84019728d08306.jpg","text":"TemporaryFile(/tmp/multipartBody7444344265882349293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826233310,"filename":"image_25012025_18_29_03_098877_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7091af6815cedc4f82f7d537b489a532.jpg","text":"TemporaryFile(/tmp/multipartBody3963885340261235516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826233310,"filename":"image_25012025_18_29_03_098877_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6a9f7f203fe1f6d73b11eead53341d82.jpg","text":"TemporaryFile(/tmp/multipartBody2416628160898758160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826233310,"filename":"image_25012025_18_28_02_954903_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331411735","file1":"1331411728","file0":"1331411720","file3":"1331411742"},"map_files_photo_id_array":[{"photo_id":"1331411735","filename":"file2"},{"photo_id":"1331411728","filename":"file1"},{"photo_id":"1331411720","filename":"file0"},{"photo_id":"1331411742","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331411728":["hashtag1","hashtag2"]},{"1331411742":["hashtag1","hashtag2"]},{"1331411735":["hashtag1","hashtag2"]},{"1331411720":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331411728, 1331411742, 1331411735, 1331411720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.74759006500244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 18:30:02.491863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/55/image_21012025_21_55_02_541083_0002.jpg', '/home/pi/Desktop/images/21012025/21/55/image_21012025_21_55_02_541083_0003.jpg', '/home/pi/Desktop/images/21012025/21/56/image_21012025_21_56_02_734760_0000.jpg', '/home/pi/Desktop/images/21012025/21/56/image_21012025_21_56_02_734760_0001.jpg', '/home/pi/Desktop/images/21012025/21/56/image_21012025_21_56_02_734760_0002.jpg', '/home/pi/Desktop/images/21012025/21/56/image_21012025_21_56_02_734760_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/21/55/image_21012025_21_55_02_541083_0002.jpg
/home/pi/Desktop/images/21012025/21/55/image_21012025_21_55_02_541083_0003.jpg
/home/pi/Desktop/images/21012025/21/56/image_21012025_21_56_02_734760_0000.jpg
/home/pi/Desktop/images/21012025/21/56/image_21012025_21_56_02_734760_0001.jpg
/home/pi/Desktop/images/21012025/21/56/image_21012025_21_56_02_734760_0002.jpg
/home/pi/Desktop/images/21012025/21/56/image_21012025_21_56_02_734760_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 [200]>
b'{"photo_ids":["1331411761","1331411905","1331411811","1331411876","1331411840","1331411918"],"photo_ids_order":["1331411761","1331411811","1331411840","1331411876","1331411905","1331411918"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a5f21c2a80f744b43dde17c07024be14.jpg","text":"TemporaryFile(/tmp/multipartBody2818518065119827123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826280401,"filename":"image_21012025_21_55_02_541083_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5161b97fc49666c4c6623157b1b29828.jpg","text":"TemporaryFile(/tmp/multipartBody562086277853784593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826280401,"filename":"image_21012025_21_56_02_734760_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b686bfed91ee231b8386f039d30b25a3.jpg","text":"TemporaryFile(/tmp/multipartBody6249939520710094435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826280401,"filename":"image_21012025_21_55_02_541083_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aec73c4a4a1145906b68aacd60addc2f.jpg","text":"TemporaryFile(/tmp/multipartBody7431978507511068961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826280401,"filename":"image_21012025_21_56_02_734760_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dfa35c33334459cfc0c8cd7cd6435273.jpg","text":"TemporaryFile(/tmp/multipartBody1171202833010015217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826280401,"filename":"image_21012025_21_56_02_734760_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aa644f7e744bb778b49fd6fe2e0dfbf8.jpg","text":"TemporaryFile(/tmp/multipartBody1951714014624301188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826280401,"filename":"image_21012025_21_56_02_734760_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331411840","file1":"1331411811","file0":"1331411761","file4":"1331411905","file5":"1331411918","file3":"1331411876"},"map_files_photo_id_array":[{"photo_id":"1331411918","filename":"file5"},{"photo_id":"1331411840","filename":"file2"},{"photo_id":"1331411905","filename":"file4"},{"photo_id":"1331411811","filename":"file1"},{"photo_id":"1331411761","filename":"file0"},{"photo_id":"1331411876","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331411761":["hashtag1","hashtag2"]},{"1331411905":["hashtag1","hashtag2"]},{"1331411811":["hashtag1","hashtag2"]},{"1331411876":["hashtag1","hashtag2"]},{"1331411840":["hashtag1","hashtag2"]},{"1331411918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331411761, 1331411905, 1331411811, 1331411876, 1331411840, 1331411918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.12955379486084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 18:31:03.063732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/29/image_25012025_18_29_03_098877_0003.jpg', '/home/pi/Desktop/images/25012025/18/30/image_25012025_18_30_02_443122_0000.jpg', '/home/pi/Desktop/images/25012025/18/30/image_25012025_18_30_02_443122_0001.jpg', '/home/pi/Desktop/images/25012025/18/30/image_25012025_18_30_02_443122_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/29/image_25012025_18_29_03_098877_0003.jpg
/home/pi/Desktop/images/25012025/18/30/image_25012025_18_30_02_443122_0000.jpg
/home/pi/Desktop/images/25012025/18/30/image_25012025_18_30_02_443122_0001.jpg
/home/pi/Desktop/images/25012025/18/30/image_25012025_18_30_02_443122_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":["1331412127","1331412114","1331412134","1331412122"],"photo_ids_order":["1331412114","1331412122","1331412127","1331412134"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6209a1bbad41416263bb46bfa3203608.jpg","text":"TemporaryFile(/tmp/multipartBody4732828262581040947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826334121,"filename":"image_25012025_18_30_02_443122_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a678767ec423477ce26ca13f9cb9a16a.jpg","text":"TemporaryFile(/tmp/multipartBody3123221884206995310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826334121,"filename":"image_25012025_18_29_03_098877_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d07f1bb762ab93ecdda16dad62fda97b.jpg","text":"TemporaryFile(/tmp/multipartBody6934388165638717907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826334121,"filename":"image_25012025_18_30_02_443122_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/00f4039bf490b67dd091abc75e9caacf.jpg","text":"TemporaryFile(/tmp/multipartBody1122804958944097483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826334121,"filename":"image_25012025_18_30_02_443122_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331412127","file1":"1331412122","file0":"1331412114","file3":"1331412134"},"map_files_photo_id_array":[{"photo_id":"1331412127","filename":"file2"},{"photo_id":"1331412122","filename":"file1"},{"photo_id":"1331412114","filename":"file0"},{"photo_id":"1331412134","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331412127":["hashtag1","hashtag2"]},{"1331412114":["hashtag1","hashtag2"]},{"1331412134":["hashtag1","hashtag2"]},{"1331412122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331412127, 1331412114, 1331412134, 1331412122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.15932035446167 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 18:31:52.294084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/30/image_25012025_18_30_02_443122_0003.jpg', '/home/pi/Desktop/images/25012025/18/31/image_25012025_18_31_02_449294_0000.jpg', '/home/pi/Desktop/images/25012025/18/31/image_25012025_18_31_02_449294_0001.jpg', '/home/pi/Desktop/images/25012025/18/31/image_25012025_18_31_02_449294_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/30/image_25012025_18_30_02_443122_0003.jpg
/home/pi/Desktop/images/25012025/18/31/image_25012025_18_31_02_449294_0000.jpg
/home/pi/Desktop/images/25012025/18/31/image_25012025_18_31_02_449294_0001.jpg
/home/pi/Desktop/images/25012025/18/31/image_25012025_18_31_02_449294_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":["1331412255","1331412275","1331412280","1331412277"],"photo_ids_order":["1331412255","1331412275","1331412277","1331412280"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2a46a0459a270d4d5b4b25cdda1e0d48.jpg","text":"TemporaryFile(/tmp/multipartBody2800365724525166152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826382928,"filename":"image_25012025_18_30_02_443122_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7bd5558cf0c102c7a05e675fe8ab6ec8.jpg","text":"TemporaryFile(/tmp/multipartBody301517927082718282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826382928,"filename":"image_25012025_18_31_02_449294_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b14ca6508bb1b3fdd9523d6f99d8f866.jpg","text":"TemporaryFile(/tmp/multipartBody3946398521911659179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826382928,"filename":"image_25012025_18_31_02_449294_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d313bd9ef0ae7819534edaec25c34791.jpg","text":"TemporaryFile(/tmp/multipartBody2178069419467970715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826382928,"filename":"image_25012025_18_31_02_449294_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331412277","file1":"1331412275","file0":"1331412255","file3":"1331412280"},"map_files_photo_id_array":[{"photo_id":"1331412277","filename":"file2"},{"photo_id":"1331412275","filename":"file1"},{"photo_id":"1331412255","filename":"file0"},{"photo_id":"1331412280","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331412255":["hashtag1","hashtag2"]},{"1331412275":["hashtag1","hashtag2"]},{"1331412280":["hashtag1","hashtag2"]},{"1331412277":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331412255, 1331412275, 1331412280, 1331412277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.509297609329224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 18:32:32.532380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/31/image_25012025_18_31_02_449294_0003.jpg', '/home/pi/Desktop/images/25012025/18/32/image_25012025_18_32_02_683045_0000.jpg', '/home/pi/Desktop/images/25012025/18/32/image_25012025_18_32_02_683045_0001.jpg', '/home/pi/Desktop/images/25012025/18/32/image_25012025_18_32_02_683045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/31/image_25012025_18_31_02_449294_0003.jpg
/home/pi/Desktop/images/25012025/18/32/image_25012025_18_32_02_683045_0000.jpg
/home/pi/Desktop/images/25012025/18/32/image_25012025_18_32_02_683045_0001.jpg
/home/pi/Desktop/images/25012025/18/32/image_25012025_18_32_02_683045_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: 10.487759351730347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 18:32:52.454251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/31/image_25012025_18_31_02_449294_0003.jpg', '/home/pi/Desktop/images/25012025/18/32/image_25012025_18_32_02_683045_0000.jpg', '/home/pi/Desktop/images/25012025/18/32/image_25012025_18_32_02_683045_0001.jpg', '/home/pi/Desktop/images/25012025/18/32/image_25012025_18_32_02_683045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/31/image_25012025_18_31_02_449294_0003.jpg
/home/pi/Desktop/images/25012025/18/32/image_25012025_18_32_02_683045_0000.jpg
/home/pi/Desktop/images/25012025/18/32/image_25012025_18_32_02_683045_0001.jpg
/home/pi/Desktop/images/25012025/18/32/image_25012025_18_32_02_683045_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":["1331412505","1331412508","1331412507","1331412609"],"photo_ids_order":["1331412505","1331412507","1331412508","1331412609"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5943113c87f4cdd88f2cf3bb66e5b957.jpg","text":"TemporaryFile(/tmp/multipartBody870498288736152414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826443312,"filename":"image_25012025_18_31_02_449294_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5032162a668c4586582d9b8fc88c28a0.jpg","text":"TemporaryFile(/tmp/multipartBody3153670839348851270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826443312,"filename":"image_25012025_18_32_02_683045_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/215ba2718477c31602d76d8c9533561c.jpg","text":"TemporaryFile(/tmp/multipartBody697967292251626152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826443312,"filename":"image_25012025_18_32_02_683045_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/78990ee2e55f07f8f1f1e33f41277cb9.jpg","text":"TemporaryFile(/tmp/multipartBody184277763591725613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826443312,"filename":"image_25012025_18_32_02_683045_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331412508","file1":"1331412507","file0":"1331412505","file3":"1331412609"},"map_files_photo_id_array":[{"photo_id":"1331412508","filename":"file2"},{"photo_id":"1331412507","filename":"file1"},{"photo_id":"1331412505","filename":"file0"},{"photo_id":"1331412609","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331412505":["hashtag1","hashtag2"]},{"1331412508":["hashtag1","hashtag2"]},{"1331412507":["hashtag1","hashtag2"]},{"1331412609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331412505, 1331412508, 1331412507, 1331412609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.838194370269775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 18:33:32.682899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/32/image_25012025_18_32_02_683045_0003.jpg', '/home/pi/Desktop/images/25012025/18/33/image_25012025_18_33_02_910431_0000.jpg', '/home/pi/Desktop/images/25012025/18/33/image_25012025_18_33_02_910431_0001.jpg', '/home/pi/Desktop/images/25012025/18/33/image_25012025_18_33_02_910431_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/32/image_25012025_18_32_02_683045_0003.jpg
/home/pi/Desktop/images/25012025/18/33/image_25012025_18_33_02_910431_0000.jpg
/home/pi/Desktop/images/25012025/18/33/image_25012025_18_33_02_910431_0001.jpg
/home/pi/Desktop/images/25012025/18/33/image_25012025_18_33_02_910431_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":["1331412814","1331412776","1331412806","1331412811"],"photo_ids_order":["1331412776","1331412806","1331412811","1331412814"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b96e7c77524eea9956abcb86fcf1d5e3.jpg","text":"TemporaryFile(/tmp/multipartBody5272923596040326532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826484012,"filename":"image_25012025_18_33_02_910431_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/396e8294222c30ecaa9496d50bce41cb.jpg","text":"TemporaryFile(/tmp/multipartBody7556285839542542998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826484012,"filename":"image_25012025_18_32_02_683045_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/534f911d038f3408ab7357c5338851e2.jpg","text":"TemporaryFile(/tmp/multipartBody2004068568546075024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826484012,"filename":"image_25012025_18_33_02_910431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ddff44cf277943fc1104cb9619a417a5.jpg","text":"TemporaryFile(/tmp/multipartBody4396718547028117338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826484012,"filename":"image_25012025_18_33_02_910431_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331412811","file1":"1331412806","file0":"1331412776","file3":"1331412814"},"map_files_photo_id_array":[{"photo_id":"1331412811","filename":"file2"},{"photo_id":"1331412806","filename":"file1"},{"photo_id":"1331412776","filename":"file0"},{"photo_id":"1331412814","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331412814":["hashtag1","hashtag2"]},{"1331412776":["hashtag1","hashtag2"]},{"1331412806":["hashtag1","hashtag2"]},{"1331412811":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331412814, 1331412776, 1331412806, 1331412811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.88239908218384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:34:21.874924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/33/image_25012025_18_33_02_910431_0003.jpg', '/home/pi/Desktop/images/25012025/18/34/image_25012025_18_34_03_037219_0000.jpg', '/home/pi/Desktop/images/25012025/18/34/image_25012025_18_34_03_037219_0001.jpg', '/home/pi/Desktop/images/25012025/18/34/image_25012025_18_34_03_037219_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/33/image_25012025_18_33_02_910431_0003.jpg
/home/pi/Desktop/images/25012025/18/34/image_25012025_18_34_03_037219_0000.jpg
/home/pi/Desktop/images/25012025/18/34/image_25012025_18_34_03_037219_0001.jpg
/home/pi/Desktop/images/25012025/18/34/image_25012025_18_34_03_037219_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: 10.93550419807434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 18:34:41.837147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/33/image_25012025_18_33_02_910431_0003.jpg', '/home/pi/Desktop/images/25012025/18/34/image_25012025_18_34_03_037219_0000.jpg', '/home/pi/Desktop/images/25012025/18/34/image_25012025_18_34_03_037219_0001.jpg', '/home/pi/Desktop/images/25012025/18/34/image_25012025_18_34_03_037219_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/33/image_25012025_18_33_02_910431_0003.jpg
/home/pi/Desktop/images/25012025/18/34/image_25012025_18_34_03_037219_0000.jpg
/home/pi/Desktop/images/25012025/18/34/image_25012025_18_34_03_037219_0001.jpg
/home/pi/Desktop/images/25012025/18/34/image_25012025_18_34_03_037219_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":["1331412879","1331412882","1331412890","1331412886"],"photo_ids_order":["1331412879","1331412882","1331412886","1331412890"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/275089e9fc33e4cb481adb090dde32ad.jpg","text":"TemporaryFile(/tmp/multipartBody5231586036594038842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826553157,"filename":"image_25012025_18_33_02_910431_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/494c41e9733495884b5d89286870b00e.jpg","text":"TemporaryFile(/tmp/multipartBody8986168980472000553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826553157,"filename":"image_25012025_18_34_03_037219_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/869c2faccf60d6fecf8c1bdc9b0bc8d6.jpg","text":"TemporaryFile(/tmp/multipartBody4257477145779052825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826553157,"filename":"image_25012025_18_34_03_037219_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/23cd81c5ed2e98f5a69ed5ebd9d5103c.jpg","text":"TemporaryFile(/tmp/multipartBody5227622666108091557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826553157,"filename":"image_25012025_18_34_03_037219_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331412886","file1":"1331412882","file0":"1331412879","file3":"1331412890"},"map_files_photo_id_array":[{"photo_id":"1331412886","filename":"file2"},{"photo_id":"1331412882","filename":"file1"},{"photo_id":"1331412879","filename":"file0"},{"photo_id":"1331412890","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331412879":["hashtag1","hashtag2"]},{"1331412882":["hashtag1","hashtag2"]},{"1331412890":["hashtag1","hashtag2"]},{"1331412886":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331412879, 1331412882, 1331412890, 1331412886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.89607095718384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:35:22.088085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/34/image_25012025_18_34_03_037219_0003.jpg', '/home/pi/Desktop/images/25012025/18/35/image_25012025_18_35_02_245288_0000.jpg', '/home/pi/Desktop/images/25012025/18/35/image_25012025_18_35_02_245288_0001.jpg', '/home/pi/Desktop/images/25012025/18/35/image_25012025_18_35_02_245288_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/34/image_25012025_18_34_03_037219_0003.jpg
/home/pi/Desktop/images/25012025/18/35/image_25012025_18_35_02_245288_0000.jpg
/home/pi/Desktop/images/25012025/18/35/image_25012025_18_35_02_245288_0001.jpg
/home/pi/Desktop/images/25012025/18/35/image_25012025_18_35_02_245288_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 [200]>
b'{"photo_ids":["1331413479","1331413733","1331413738","1331413729"],"photo_ids_order":["1331413479","1331413729","1331413733","1331413738"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ccb888aaa9e72d9699e4613daaf8367e.jpg","text":"TemporaryFile(/tmp/multipartBody3608644446793471853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826593369,"filename":"image_25012025_18_34_03_037219_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/32ec2028a1317d7ee47cd60513e22d46.jpg","text":"TemporaryFile(/tmp/multipartBody1947870044586956930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826593369,"filename":"image_25012025_18_35_02_245288_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f7849019e2e4fc2088f69a5e5280a9ea.jpg","text":"TemporaryFile(/tmp/multipartBody2033342858957415152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826593369,"filename":"image_25012025_18_35_02_245288_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/775f549ce00835c96c9438ee8bf553ad.jpg","text":"TemporaryFile(/tmp/multipartBody899590345296293131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826593369,"filename":"image_25012025_18_35_02_245288_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331413733","file1":"1331413729","file0":"1331413479","file3":"1331413738"},"map_files_photo_id_array":[{"photo_id":"1331413733","filename":"file2"},{"photo_id":"1331413729","filename":"file1"},{"photo_id":"1331413479","filename":"file0"},{"photo_id":"1331413738","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331413479":["hashtag1","hashtag2"]},{"1331413733":["hashtag1","hashtag2"]},{"1331413738":["hashtag1","hashtag2"]},{"1331413729":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331413479, 1331413733, 1331413738, 1331413729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.948288679122925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:36:22.232161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/35/image_25012025_18_35_02_245288_0003.jpg', '/home/pi/Desktop/images/25012025/18/36/image_25012025_18_36_02_350645_0000.jpg', '/home/pi/Desktop/images/25012025/18/36/image_25012025_18_36_02_350645_0001.jpg', '/home/pi/Desktop/images/25012025/18/36/image_25012025_18_36_02_350645_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/35/image_25012025_18_35_02_245288_0003.jpg
/home/pi/Desktop/images/25012025/18/36/image_25012025_18_36_02_350645_0000.jpg
/home/pi/Desktop/images/25012025/18/36/image_25012025_18_36_02_350645_0001.jpg
/home/pi/Desktop/images/25012025/18/36/image_25012025_18_36_02_350645_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":["1331413773","1331413763","1331413768","1331413777"],"photo_ids_order":["1331413763","1331413768","1331413773","1331413777"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6693eecbbecada919138aa7e7ada0d87.jpg","text":"TemporaryFile(/tmp/multipartBody2663768740149236822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826653081,"filename":"image_25012025_18_36_02_350645_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a9b44b9fa506644ca54f026b2e05bf11.jpg","text":"TemporaryFile(/tmp/multipartBody2683098795206760606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826653081,"filename":"image_25012025_18_35_02_245288_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8efd280a89bab87acdb1f822fdff7739.jpg","text":"TemporaryFile(/tmp/multipartBody2678860216780856861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826653081,"filename":"image_25012025_18_36_02_350645_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a2550cc74f4698ae64ddec46cc1d0ca0.jpg","text":"TemporaryFile(/tmp/multipartBody7259687225274769318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826653081,"filename":"image_25012025_18_36_02_350645_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331413773","file1":"1331413768","file0":"1331413763","file3":"1331413777"},"map_files_photo_id_array":[{"photo_id":"1331413773","filename":"file2"},{"photo_id":"1331413768","filename":"file1"},{"photo_id":"1331413763","filename":"file0"},{"photo_id":"1331413777","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331413773":["hashtag1","hashtag2"]},{"1331413763":["hashtag1","hashtag2"]},{"1331413768":["hashtag1","hashtag2"]},{"1331413777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331413773, 1331413763, 1331413768, 1331413777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.50467896461487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 18:37:03.062417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/57/image_21012025_21_57_02_977222_0000.jpg', '/home/pi/Desktop/images/21012025/21/57/image_21012025_21_57_02_977222_0001.jpg', '/home/pi/Desktop/images/21012025/21/57/image_21012025_21_57_02_977222_0002.jpg', '/home/pi/Desktop/images/21012025/21/57/image_21012025_21_57_02_977222_0003.jpg', '/home/pi/Desktop/images/21012025/21/58/image_21012025_21_58_03_116291_0000.jpg', '/home/pi/Desktop/images/21012025/21/58/image_21012025_21_58_03_116291_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/21/57/image_21012025_21_57_02_977222_0000.jpg
/home/pi/Desktop/images/21012025/21/57/image_21012025_21_57_02_977222_0001.jpg
/home/pi/Desktop/images/21012025/21/57/image_21012025_21_57_02_977222_0002.jpg
/home/pi/Desktop/images/21012025/21/57/image_21012025_21_57_02_977222_0003.jpg
/home/pi/Desktop/images/21012025/21/58/image_21012025_21_58_03_116291_0000.jpg
/home/pi/Desktop/images/21012025/21/58/image_21012025_21_58_03_116291_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":["1331414328","1331414307","1331414301","1331414264","1331414147","1331414152"],"photo_ids_order":["1331414147","1331414152","1331414264","1331414301","1331414307","1331414328"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f583981fcd4234820dfe7b8c1c97584d.jpg","text":"TemporaryFile(/tmp/multipartBody193376996990913482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826700612,"filename":"image_21012025_21_58_03_116291_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/94dad632afc0b605aed09ca03246d7ad.jpg","text":"TemporaryFile(/tmp/multipartBody3192318389360159015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826700612,"filename":"image_21012025_21_58_03_116291_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/295794ffa66b94c4c517748418a3fcb0.jpg","text":"TemporaryFile(/tmp/multipartBody6694763229490241489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826700612,"filename":"image_21012025_21_57_02_977222_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cff8df57aea48f7741fee2a609f0724e.jpg","text":"TemporaryFile(/tmp/multipartBody7552381904335116950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826700612,"filename":"image_21012025_21_57_02_977222_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3e6f4b461cb628d76de41563ac0b77de.jpg","text":"TemporaryFile(/tmp/multipartBody3178016917604691154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826700612,"filename":"image_21012025_21_57_02_977222_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3c86880827cb8c04aa8f4d019574814d.jpg","text":"TemporaryFile(/tmp/multipartBody8549463397030044677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826700612,"filename":"image_21012025_21_57_02_977222_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331414264","file1":"1331414152","file0":"1331414147","file4":"1331414307","file5":"1331414328","file3":"1331414301"},"map_files_photo_id_array":[{"photo_id":"1331414328","filename":"file5"},{"photo_id":"1331414264","filename":"file2"},{"photo_id":"1331414307","filename":"file4"},{"photo_id":"1331414152","filename":"file1"},{"photo_id":"1331414147","filename":"file0"},{"photo_id":"1331414301","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331414328":["hashtag1","hashtag2"]},{"1331414307":["hashtag1","hashtag2"]},{"1331414301":["hashtag1","hashtag2"]},{"1331414264":["hashtag1","hashtag2"]},{"1331414147":["hashtag1","hashtag2"]},{"1331414152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331414328, 1331414307, 1331414301, 1331414264, 1331414147, 1331414152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.25935339927673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 18:38:03.157238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/36/image_25012025_18_36_02_350645_0003.jpg', '/home/pi/Desktop/images/25012025/18/37/image_25012025_18_37_02_574365_0000.jpg', '/home/pi/Desktop/images/25012025/18/37/image_25012025_18_37_02_574365_0001.jpg', '/home/pi/Desktop/images/25012025/18/37/image_25012025_18_37_02_574365_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/36/image_25012025_18_36_02_350645_0003.jpg
/home/pi/Desktop/images/25012025/18/37/image_25012025_18_37_02_574365_0000.jpg
/home/pi/Desktop/images/25012025/18/37/image_25012025_18_37_02_574365_0001.jpg
/home/pi/Desktop/images/25012025/18/37/image_25012025_18_37_02_574365_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":["1331414479","1331414587","1331414581","1331414340"],"photo_ids_order":["1331414340","1331414479","1331414581","1331414587"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ac19ea574d3dd50a47fe15fefa0b30e4.jpg","text":"TemporaryFile(/tmp/multipartBody773976578772690654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826754379,"filename":"image_25012025_18_37_02_574365_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/21fa9923c74c5fff19286850024aff83.jpg","text":"TemporaryFile(/tmp/multipartBody1390655470314675218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826754379,"filename":"image_25012025_18_37_02_574365_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9f7b2ac09afa90fb0ba321bc734789a5.jpg","text":"TemporaryFile(/tmp/multipartBody6991750861931957597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826754379,"filename":"image_25012025_18_37_02_574365_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/86f39d369f8bd948993b3f1e012c63ef.jpg","text":"TemporaryFile(/tmp/multipartBody7523634695259735736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826754379,"filename":"image_25012025_18_36_02_350645_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331414581","file1":"1331414479","file0":"1331414340","file3":"1331414587"},"map_files_photo_id_array":[{"photo_id":"1331414581","filename":"file2"},{"photo_id":"1331414479","filename":"file1"},{"photo_id":"1331414340","filename":"file0"},{"photo_id":"1331414587","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331414479":["hashtag1","hashtag2"]},{"1331414587":["hashtag1","hashtag2"]},{"1331414581":["hashtag1","hashtag2"]},{"1331414340":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331414479, 1331414587, 1331414581, 1331414340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.63526272773743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 18:38:52.580785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/37/image_25012025_18_37_02_574365_0003.jpg', '/home/pi/Desktop/images/25012025/18/38/image_25012025_18_38_02_800228_0000.jpg', '/home/pi/Desktop/images/25012025/18/38/image_25012025_18_38_02_800228_0001.jpg', '/home/pi/Desktop/images/25012025/18/38/image_25012025_18_38_02_800228_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/37/image_25012025_18_37_02_574365_0003.jpg
/home/pi/Desktop/images/25012025/18/38/image_25012025_18_38_02_800228_0000.jpg
/home/pi/Desktop/images/25012025/18/38/image_25012025_18_38_02_800228_0001.jpg
/home/pi/Desktop/images/25012025/18/38/image_25012025_18_38_02_800228_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: 10.290879726409912 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:39:22.744140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/37/image_25012025_18_37_02_574365_0003.jpg', '/home/pi/Desktop/images/25012025/18/38/image_25012025_18_38_02_800228_0000.jpg', '/home/pi/Desktop/images/25012025/18/38/image_25012025_18_38_02_800228_0001.jpg', '/home/pi/Desktop/images/25012025/18/38/image_25012025_18_38_02_800228_0002.jpg', '/home/pi/Desktop/images/25012025/18/38/image_25012025_18_38_02_800228_0003.jpg', '/home/pi/Desktop/images/25012025/18/39/image_25012025_18_39_02_970122_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/37/image_25012025_18_37_02_574365_0003.jpg
/home/pi/Desktop/images/25012025/18/38/image_25012025_18_38_02_800228_0000.jpg
/home/pi/Desktop/images/25012025/18/38/image_25012025_18_38_02_800228_0001.jpg
/home/pi/Desktop/images/25012025/18/38/image_25012025_18_38_02_800228_0002.jpg
/home/pi/Desktop/images/25012025/18/38/image_25012025_18_38_02_800228_0003.jpg
/home/pi/Desktop/images/25012025/18/39/image_25012025_18_39_02_970122_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 [200]>
b'{"photo_ids":["1331414861","1331414855","1331414633","1331414871","1331414625","1331414640"],"photo_ids_order":["1331414625","1331414633","1331414640","1331414855","1331414861","1331414871"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5205394deba6bfdcf47292330f56c3a5.jpg","text":"TemporaryFile(/tmp/multipartBody2399363960071660193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826838796,"filename":"image_25012025_18_38_02_800228_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a84cbf15b7cee27888ef0a02147329e4.jpg","text":"TemporaryFile(/tmp/multipartBody700043313008243846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826838796,"filename":"image_25012025_18_38_02_800228_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eac27a944e6fd5deee97026bc3db3485.jpg","text":"TemporaryFile(/tmp/multipartBody1221678293392443478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826838796,"filename":"image_25012025_18_38_02_800228_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5ee0810212e5b370474cf6430bf107cd.jpg","text":"TemporaryFile(/tmp/multipartBody6606268528513746007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826838796,"filename":"image_25012025_18_39_02_970122_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8f429fba1f926249819d4e8cdcf75afa.jpg","text":"TemporaryFile(/tmp/multipartBody4025816875144329925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826838796,"filename":"image_25012025_18_37_02_574365_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a78f474ee81365b1a3314be97396a879.jpg","text":"TemporaryFile(/tmp/multipartBody6903736495837468741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826838796,"filename":"image_25012025_18_38_02_800228_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331414640","file1":"1331414633","file0":"1331414625","file4":"1331414861","file5":"1331414871","file3":"1331414855"},"map_files_photo_id_array":[{"photo_id":"1331414871","filename":"file5"},{"photo_id":"1331414640","filename":"file2"},{"photo_id":"1331414861","filename":"file4"},{"photo_id":"1331414633","filename":"file1"},{"photo_id":"1331414625","filename":"file0"},{"photo_id":"1331414855","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331414861":["hashtag1","hashtag2"]},{"1331414855":["hashtag1","hashtag2"]},{"1331414633":["hashtag1","hashtag2"]},{"1331414871":["hashtag1","hashtag2"]},{"1331414625":["hashtag1","hashtag2"]},{"1331414640":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331414861, 1331414855, 1331414633, 1331414871, 1331414625, 1331414640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.274085521698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:40:21.939693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/39/image_25012025_18_39_02_970122_0001.jpg', '/home/pi/Desktop/images/25012025/18/39/image_25012025_18_39_02_970122_0002.jpg', '/home/pi/Desktop/images/25012025/18/39/image_25012025_18_39_02_970122_0003.jpg', '/home/pi/Desktop/images/25012025/18/40/image_25012025_18_40_03_097242_0000.jpg', '/home/pi/Desktop/images/25012025/18/40/image_25012025_18_40_03_097242_0001.jpg', '/home/pi/Desktop/images/25012025/18/40/image_25012025_18_40_03_097242_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/39/image_25012025_18_39_02_970122_0001.jpg
/home/pi/Desktop/images/25012025/18/39/image_25012025_18_39_02_970122_0002.jpg
/home/pi/Desktop/images/25012025/18/39/image_25012025_18_39_02_970122_0003.jpg
/home/pi/Desktop/images/25012025/18/40/image_25012025_18_40_03_097242_0000.jpg
/home/pi/Desktop/images/25012025/18/40/image_25012025_18_40_03_097242_0001.jpg
/home/pi/Desktop/images/25012025/18/40/image_25012025_18_40_03_097242_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 [200]>
b'{"photo_ids":["1331415122","1331415116","1331415078","1331415120","1331415111","1331415105"],"photo_ids_order":["1331415078","1331415105","1331415111","1331415116","1331415120","1331415122"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0067b15f18833b8b7e1fa1bd635e6920.jpg","text":"TemporaryFile(/tmp/multipartBody4566011332241776860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826898284,"filename":"image_25012025_18_40_03_097242_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7e2ccb9f7f54d8ebd9c56114e56e0e2d.jpg","text":"TemporaryFile(/tmp/multipartBody2384088376796554810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826898284,"filename":"image_25012025_18_40_03_097242_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9249c702c0f091a0d1ed028f8aeb0476.jpg","text":"TemporaryFile(/tmp/multipartBody8215015236763814351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826898284,"filename":"image_25012025_18_39_02_970122_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4098019cbdaa2d6afda045785bb96bb3.jpg","text":"TemporaryFile(/tmp/multipartBody5303202265662458897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826898284,"filename":"image_25012025_18_40_03_097242_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/317ef1e645e537a382323b50d86e579b.jpg","text":"TemporaryFile(/tmp/multipartBody3618177990204697946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826898284,"filename":"image_25012025_18_39_02_970122_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2b00ab2e6c9c7f8c5b8cedaa95bb212c.jpg","text":"TemporaryFile(/tmp/multipartBody5525923251342510452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826898284,"filename":"image_25012025_18_39_02_970122_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331415111","file1":"1331415105","file0":"1331415078","file4":"1331415120","file5":"1331415122","file3":"1331415116"},"map_files_photo_id_array":[{"photo_id":"1331415122","filename":"file5"},{"photo_id":"1331415111","filename":"file2"},{"photo_id":"1331415120","filename":"file4"},{"photo_id":"1331415105","filename":"file1"},{"photo_id":"1331415078","filename":"file0"},{"photo_id":"1331415116","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331415122":["hashtag1","hashtag2"]},{"1331415116":["hashtag1","hashtag2"]},{"1331415078":["hashtag1","hashtag2"]},{"1331415120":["hashtag1","hashtag2"]},{"1331415111":["hashtag1","hashtag2"]},{"1331415105":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331415122, 1331415116, 1331415078, 1331415120, 1331415111, 1331415105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.31212282180786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:41:22.157125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/40/image_25012025_18_40_03_097242_0003.jpg', '/home/pi/Desktop/images/25012025/18/41/image_25012025_18_41_02_302866_0000.jpg', '/home/pi/Desktop/images/25012025/18/41/image_25012025_18_41_02_302866_0001.jpg', '/home/pi/Desktop/images/25012025/18/41/image_25012025_18_41_02_302866_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/40/image_25012025_18_40_03_097242_0003.jpg
/home/pi/Desktop/images/25012025/18/41/image_25012025_18_41_02_302866_0000.jpg
/home/pi/Desktop/images/25012025/18/41/image_25012025_18_41_02_302866_0001.jpg
/home/pi/Desktop/images/25012025/18/41/image_25012025_18_41_02_302866_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":["1331415149","1331415132","1331415144","1331415138"],"photo_ids_order":["1331415132","1331415138","1331415144","1331415149"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bce9d39ba70d0d393ca9fe490759bcf8.jpg","text":"TemporaryFile(/tmp/multipartBody5869987740698800450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826953118,"filename":"image_25012025_18_41_02_302866_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c4abbc01c0420f3b84023f03a905002.jpg","text":"TemporaryFile(/tmp/multipartBody3785596646749344244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826953118,"filename":"image_25012025_18_40_03_097242_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/de32b613467b65cce2616aa1af422400.jpg","text":"TemporaryFile(/tmp/multipartBody5564930634004178092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826953118,"filename":"image_25012025_18_41_02_302866_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/27655fd6929d10fb7572d8b03e4b8f6b.jpg","text":"TemporaryFile(/tmp/multipartBody1984088756883456785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737826953118,"filename":"image_25012025_18_41_02_302866_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331415144","file1":"1331415138","file0":"1331415132","file3":"1331415149"},"map_files_photo_id_array":[{"photo_id":"1331415144","filename":"file2"},{"photo_id":"1331415138","filename":"file1"},{"photo_id":"1331415132","filename":"file0"},{"photo_id":"1331415149","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331415149":["hashtag1","hashtag2"]},{"1331415132":["hashtag1","hashtag2"]},{"1331415144":["hashtag1","hashtag2"]},{"1331415138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331415149, 1331415132, 1331415144, 1331415138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.15012454986572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 18:42:02.709768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/21/58/image_21012025_21_58_03_116291_0002.jpg', '/home/pi/Desktop/images/21012025/21/58/image_21012025_21_58_03_116291_0003.jpg', '/home/pi/Desktop/images/21012025/21/59/image_21012025_21_59_02_272250_0000.jpg', '/home/pi/Desktop/images/21012025/21/59/image_21012025_21_59_02_272250_0001.jpg', '/home/pi/Desktop/images/21012025/21/59/image_21012025_21_59_02_272250_0002.jpg', '/home/pi/Desktop/images/21012025/21/59/image_21012025_21_59_02_272250_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/21/58/image_21012025_21_58_03_116291_0002.jpg
/home/pi/Desktop/images/21012025/21/58/image_21012025_21_58_03_116291_0003.jpg
/home/pi/Desktop/images/21012025/21/59/image_21012025_21_59_02_272250_0000.jpg
/home/pi/Desktop/images/21012025/21/59/image_21012025_21_59_02_272250_0001.jpg
/home/pi/Desktop/images/21012025/21/59/image_21012025_21_59_02_272250_0002.jpg
/home/pi/Desktop/images/21012025/21/59/image_21012025_21_59_02_272250_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 [200]>
b'{"photo_ids":["1331415187","1331415181","1331415169","1331415163","1331415166","1331415176"],"photo_ids_order":["1331415163","1331415166","1331415169","1331415176","1331415181","1331415187"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/704e6c9beb269e37afa9265a69d5708b.jpg","text":"TemporaryFile(/tmp/multipartBody6266161165032368514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827000623,"filename":"image_21012025_21_59_02_272250_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d8b01a8efa54480261bf6877931b51a4.jpg","text":"TemporaryFile(/tmp/multipartBody7149661978685089479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827000623,"filename":"image_21012025_21_59_02_272250_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d43a14721beb4c89d52c34e66591a7fd.jpg","text":"TemporaryFile(/tmp/multipartBody3091779334105372597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827000623,"filename":"image_21012025_21_59_02_272250_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1fdf0665fae852160160fd44bce1cfd0.jpg","text":"TemporaryFile(/tmp/multipartBody6067430489441981667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827000623,"filename":"image_21012025_21_58_03_116291_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/04cda1cd490ec00b34af6d50f29bee14.jpg","text":"TemporaryFile(/tmp/multipartBody4340371739582663238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827000623,"filename":"image_21012025_21_58_03_116291_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c3ab265eab7939a72b4733b01c09739f.jpg","text":"TemporaryFile(/tmp/multipartBody4621739684713411250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827000623,"filename":"image_21012025_21_59_02_272250_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331415169","file1":"1331415166","file0":"1331415163","file4":"1331415181","file5":"1331415187","file3":"1331415176"},"map_files_photo_id_array":[{"photo_id":"1331415187","filename":"file5"},{"photo_id":"1331415169","filename":"file2"},{"photo_id":"1331415181","filename":"file4"},{"photo_id":"1331415166","filename":"file1"},{"photo_id":"1331415163","filename":"file0"},{"photo_id":"1331415176","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331415187":["hashtag1","hashtag2"]},{"1331415181":["hashtag1","hashtag2"]},{"1331415169":["hashtag1","hashtag2"]},{"1331415163":["hashtag1","hashtag2"]},{"1331415166":["hashtag1","hashtag2"]},{"1331415176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331415187, 1331415181, 1331415169, 1331415163, 1331415166, 1331415176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.25320887565613 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 18:43:03.063955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/41/image_25012025_18_41_02_302866_0003.jpg', '/home/pi/Desktop/images/25012025/18/42/image_25012025_18_42_02_506800_0000.jpg', '/home/pi/Desktop/images/25012025/18/42/image_25012025_18_42_02_506800_0001.jpg', '/home/pi/Desktop/images/25012025/18/42/image_25012025_18_42_02_506800_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/41/image_25012025_18_41_02_302866_0003.jpg
/home/pi/Desktop/images/25012025/18/42/image_25012025_18_42_02_506800_0000.jpg
/home/pi/Desktop/images/25012025/18/42/image_25012025_18_42_02_506800_0001.jpg
/home/pi/Desktop/images/25012025/18/42/image_25012025_18_42_02_506800_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.175763607025146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:43:22.565231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/41/image_25012025_18_41_02_302866_0003.jpg', '/home/pi/Desktop/images/25012025/18/42/image_25012025_18_42_02_506800_0000.jpg', '/home/pi/Desktop/images/25012025/18/42/image_25012025_18_42_02_506800_0001.jpg', '/home/pi/Desktop/images/25012025/18/42/image_25012025_18_42_02_506800_0002.jpg', '/home/pi/Desktop/images/25012025/18/42/image_25012025_18_42_02_506800_0003.jpg', '/home/pi/Desktop/images/25012025/18/43/image_25012025_18_43_02_670611_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/41/image_25012025_18_41_02_302866_0003.jpg
/home/pi/Desktop/images/25012025/18/42/image_25012025_18_42_02_506800_0000.jpg
/home/pi/Desktop/images/25012025/18/42/image_25012025_18_42_02_506800_0001.jpg
/home/pi/Desktop/images/25012025/18/42/image_25012025_18_42_02_506800_0002.jpg
/home/pi/Desktop/images/25012025/18/42/image_25012025_18_42_02_506800_0003.jpg
/home/pi/Desktop/images/25012025/18/43/image_25012025_18_43_02_670611_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 [200]>
b'{"photo_ids":["1331415257","1331415253","1331415270","1331415264","1331415267","1331415261"],"photo_ids_order":["1331415253","1331415257","1331415261","1331415264","1331415267","1331415270"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/522378a1a681f8c47c2b44d3a9911b7d.jpg","text":"TemporaryFile(/tmp/multipartBody7247545895436106520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827079432,"filename":"image_25012025_18_42_02_506800_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ef9c6ccf27bd7b7a0b14883cf56bd3ec.jpg","text":"TemporaryFile(/tmp/multipartBody6429065765461684918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827079432,"filename":"image_25012025_18_41_02_302866_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cd01f6196d758d195e8281fe78f0b632.jpg","text":"TemporaryFile(/tmp/multipartBody7644828122357232745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827079432,"filename":"image_25012025_18_43_02_670611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/84003493b2f0d8db309a9d3464e951e8.jpg","text":"TemporaryFile(/tmp/multipartBody2680051055555349724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827079432,"filename":"image_25012025_18_42_02_506800_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/14cd1956c723cf5c6c9738ea40240944.jpg","text":"TemporaryFile(/tmp/multipartBody7942541848979058282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827079432,"filename":"image_25012025_18_42_02_506800_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d4986f09ba8e44bd745c2fe6e6f7b73b.jpg","text":"TemporaryFile(/tmp/multipartBody7160601366039832193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827079432,"filename":"image_25012025_18_42_02_506800_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331415261","file1":"1331415257","file0":"1331415253","file4":"1331415267","file5":"1331415270","file3":"1331415264"},"map_files_photo_id_array":[{"photo_id":"1331415270","filename":"file5"},{"photo_id":"1331415261","filename":"file2"},{"photo_id":"1331415267","filename":"file4"},{"photo_id":"1331415257","filename":"file1"},{"photo_id":"1331415253","filename":"file0"},{"photo_id":"1331415264","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331415257":["hashtag1","hashtag2"]},{"1331415253":["hashtag1","hashtag2"]},{"1331415270":["hashtag1","hashtag2"]},{"1331415264":["hashtag1","hashtag2"]},{"1331415267":["hashtag1","hashtag2"]},{"1331415261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331415257, 1331415253, 1331415270, 1331415264, 1331415267, 1331415261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.329485177993774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:44:22.674449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/43/image_25012025_18_43_02_670611_0001.jpg', '/home/pi/Desktop/images/25012025/18/43/image_25012025_18_43_02_670611_0002.jpg', '/home/pi/Desktop/images/25012025/18/43/image_25012025_18_43_02_670611_0003.jpg', '/home/pi/Desktop/images/25012025/18/44/image_25012025_18_44_02_856587_0000.jpg', '/home/pi/Desktop/images/25012025/18/44/image_25012025_18_44_02_856587_0001.jpg', '/home/pi/Desktop/images/25012025/18/44/image_25012025_18_44_02_856587_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/43/image_25012025_18_43_02_670611_0001.jpg
/home/pi/Desktop/images/25012025/18/43/image_25012025_18_43_02_670611_0002.jpg
/home/pi/Desktop/images/25012025/18/43/image_25012025_18_43_02_670611_0003.jpg
/home/pi/Desktop/images/25012025/18/44/image_25012025_18_44_02_856587_0000.jpg
/home/pi/Desktop/images/25012025/18/44/image_25012025_18_44_02_856587_0001.jpg
/home/pi/Desktop/images/25012025/18/44/image_25012025_18_44_02_856587_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: 15.734458684921265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 18:44:42.653189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/43/image_25012025_18_43_02_670611_0001.jpg', '/home/pi/Desktop/images/25012025/18/43/image_25012025_18_43_02_670611_0002.jpg', '/home/pi/Desktop/images/25012025/18/43/image_25012025_18_43_02_670611_0003.jpg', '/home/pi/Desktop/images/25012025/18/44/image_25012025_18_44_02_856587_0000.jpg', '/home/pi/Desktop/images/25012025/18/44/image_25012025_18_44_02_856587_0001.jpg', '/home/pi/Desktop/images/25012025/18/44/image_25012025_18_44_02_856587_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/43/image_25012025_18_43_02_670611_0001.jpg
/home/pi/Desktop/images/25012025/18/43/image_25012025_18_43_02_670611_0002.jpg
/home/pi/Desktop/images/25012025/18/43/image_25012025_18_43_02_670611_0003.jpg
/home/pi/Desktop/images/25012025/18/44/image_25012025_18_44_02_856587_0000.jpg
/home/pi/Desktop/images/25012025/18/44/image_25012025_18_44_02_856587_0001.jpg
/home/pi/Desktop/images/25012025/18/44/image_25012025_18_44_02_856587_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 [200]>
b'{"photo_ids":["1331415326","1331415320","1331415308","1331415301","1331415510","1331415315"],"photo_ids_order":["1331415301","1331415308","1331415315","1331415320","1331415326","1331415510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ceafcc4c0443ca923cedae7a9ac3e86f.jpg","text":"TemporaryFile(/tmp/multipartBody2365844624107460238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827158767,"filename":"image_25012025_18_44_02_856587_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b0816c32d24e821616f5d29bfc2d04d3.jpg","text":"TemporaryFile(/tmp/multipartBody747448498807782872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827158767,"filename":"image_25012025_18_44_02_856587_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/92b1f6718e46eb3fbf4090646a068184.jpg","text":"TemporaryFile(/tmp/multipartBody7256113863767358022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827158767,"filename":"image_25012025_18_43_02_670611_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f0651be6121c70ba24ac0e1c30019dbb.jpg","text":"TemporaryFile(/tmp/multipartBody2616910713913789593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827158767,"filename":"image_25012025_18_43_02_670611_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/22d4de1146a081d983e203bb9b7cc670.jpg","text":"TemporaryFile(/tmp/multipartBody7578895850590329527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827158767,"filename":"image_25012025_18_44_02_856587_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7633a3ef05f72e9815108ffa57260554.jpg","text":"TemporaryFile(/tmp/multipartBody6522265345698039521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827158767,"filename":"image_25012025_18_43_02_670611_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331415315","file1":"1331415308","file0":"1331415301","file4":"1331415326","file5":"1331415510","file3":"1331415320"},"map_files_photo_id_array":[{"photo_id":"1331415510","filename":"file5"},{"photo_id":"1331415315","filename":"file2"},{"photo_id":"1331415326","filename":"file4"},{"photo_id":"1331415308","filename":"file1"},{"photo_id":"1331415301","filename":"file0"},{"photo_id":"1331415320","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331415326":["hashtag1","hashtag2"]},{"1331415320":["hashtag1","hashtag2"]},{"1331415308":["hashtag1","hashtag2"]},{"1331415301":["hashtag1","hashtag2"]},{"1331415510":["hashtag1","hashtag2"]},{"1331415315":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331415326, 1331415320, 1331415308, 1331415301, 1331415510, 1331415315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.391045570373535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 18:45:41.936968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/44/image_25012025_18_44_02_856587_0003.jpg', '/home/pi/Desktop/images/25012025/18/45/image_25012025_18_45_02_989938_0000.jpg', '/home/pi/Desktop/images/25012025/18/45/image_25012025_18_45_02_989938_0001.jpg', '/home/pi/Desktop/images/25012025/18/45/image_25012025_18_45_02_989938_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/44/image_25012025_18_44_02_856587_0003.jpg
/home/pi/Desktop/images/25012025/18/45/image_25012025_18_45_02_989938_0000.jpg
/home/pi/Desktop/images/25012025/18/45/image_25012025_18_45_02_989938_0001.jpg
/home/pi/Desktop/images/25012025/18/45/image_25012025_18_45_02_989938_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":["1331415746","1331415751","1331415762","1331415756"],"photo_ids_order":["1331415746","1331415751","1331415756","1331415762"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3e510c5ff299dde9fb59ccda7814add8.jpg","text":"TemporaryFile(/tmp/multipartBody7127540290965963755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827213292,"filename":"image_25012025_18_44_02_856587_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2952f3c1338778652d77497fa81cc281.jpg","text":"TemporaryFile(/tmp/multipartBody8208093636516069148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827213292,"filename":"image_25012025_18_45_02_989938_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8249c429c1a33a85df73f893e90c9998.jpg","text":"TemporaryFile(/tmp/multipartBody7303932139844763356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827213292,"filename":"image_25012025_18_45_02_989938_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/19a2d4ff162aa1904c4b51582e238256.jpg","text":"TemporaryFile(/tmp/multipartBody8781224174931476206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827213292,"filename":"image_25012025_18_45_02_989938_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331415756","file1":"1331415751","file0":"1331415746","file3":"1331415762"},"map_files_photo_id_array":[{"photo_id":"1331415756","filename":"file2"},{"photo_id":"1331415751","filename":"file1"},{"photo_id":"1331415746","filename":"file0"},{"photo_id":"1331415762","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331415746":["hashtag1","hashtag2"]},{"1331415751":["hashtag1","hashtag2"]},{"1331415762":["hashtag1","hashtag2"]},{"1331415756":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331415746, 1331415751, 1331415762, 1331415756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.13099908828735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:46:22.016753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/45/image_25012025_18_45_02_989938_0003.jpg', '/home/pi/Desktop/images/25012025/18/46/image_25012025_18_46_02_166887_0000.jpg', '/home/pi/Desktop/images/25012025/18/46/image_25012025_18_46_02_166887_0001.jpg', '/home/pi/Desktop/images/25012025/18/46/image_25012025_18_46_02_166887_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/45/image_25012025_18_45_02_989938_0003.jpg
/home/pi/Desktop/images/25012025/18/46/image_25012025_18_46_02_166887_0000.jpg
/home/pi/Desktop/images/25012025/18/46/image_25012025_18_46_02_166887_0001.jpg
/home/pi/Desktop/images/25012025/18/46/image_25012025_18_46_02_166887_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":["1331415781","1331415783","1331415786","1331415789"],"photo_ids_order":["1331415781","1331415783","1331415786","1331415789"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2fbd302531ce5a8676abb99a87a848a6.jpg","text":"TemporaryFile(/tmp/multipartBody1815732214124998184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827253096,"filename":"image_25012025_18_45_02_989938_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/049c749e88c5a9fadf52e34d1ca2be71.jpg","text":"TemporaryFile(/tmp/multipartBody2580288423813866306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827253096,"filename":"image_25012025_18_46_02_166887_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ab87491454c94ef2abbac0f31a852e86.jpg","text":"TemporaryFile(/tmp/multipartBody3885505310286398198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827253096,"filename":"image_25012025_18_46_02_166887_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9c4b88fedbbd3cb14c16db51d0226848.jpg","text":"TemporaryFile(/tmp/multipartBody1550030425504499807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827253096,"filename":"image_25012025_18_46_02_166887_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331415786","file1":"1331415783","file0":"1331415781","file3":"1331415789"},"map_files_photo_id_array":[{"photo_id":"1331415786","filename":"file2"},{"photo_id":"1331415783","filename":"file1"},{"photo_id":"1331415781","filename":"file0"},{"photo_id":"1331415789","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331415781":["hashtag1","hashtag2"]},{"1331415783":["hashtag1","hashtag2"]},{"1331415786":["hashtag1","hashtag2"]},{"1331415789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331415781, 1331415783, 1331415786, 1331415789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.64081287384033 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-25 18:47:22.268476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/46/image_25012025_18_46_02_166887_0003.jpg', '/home/pi/Desktop/images/25012025/18/47/image_25012025_18_47_02_352017_0000.jpg', '/home/pi/Desktop/images/25012025/18/47/image_25012025_18_47_02_352017_0001.jpg', '/home/pi/Desktop/images/25012025/18/47/image_25012025_18_47_02_352017_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/46/image_25012025_18_46_02_166887_0003.jpg
/home/pi/Desktop/images/25012025/18/47/image_25012025_18_47_02_352017_0000.jpg
/home/pi/Desktop/images/25012025/18/47/image_25012025_18_47_02_352017_0001.jpg
/home/pi/Desktop/images/25012025/18/47/image_25012025_18_47_02_352017_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":["1331415832","1331415828","1331415837","1331415825"],"photo_ids_order":["1331415825","1331415828","1331415832","1331415837"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d649e1af9a3b54015105e04f899032ad.jpg","text":"TemporaryFile(/tmp/multipartBody6651246691671137324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827313714,"filename":"image_25012025_18_47_02_352017_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/82bd4118aed6911a6cb0fc182792d45e.jpg","text":"TemporaryFile(/tmp/multipartBody1735217878382953757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827313714,"filename":"image_25012025_18_47_02_352017_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a4d7a767a3f5430ae900956f097653c4.jpg","text":"TemporaryFile(/tmp/multipartBody5651526537045089459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827313714,"filename":"image_25012025_18_47_02_352017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d7c9de23187c8584576fd4122f5805f9.jpg","text":"TemporaryFile(/tmp/multipartBody2429917056997467438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827313714,"filename":"image_25012025_18_46_02_166887_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331415832","file1":"1331415828","file0":"1331415825","file3":"1331415837"},"map_files_photo_id_array":[{"photo_id":"1331415832","filename":"file2"},{"photo_id":"1331415828","filename":"file1"},{"photo_id":"1331415825","filename":"file0"},{"photo_id":"1331415837","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331415832":["hashtag1","hashtag2"]},{"1331415828":["hashtag1","hashtag2"]},{"1331415837":["hashtag1","hashtag2"]},{"1331415825":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331415832, 1331415828, 1331415837, 1331415825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.42336893081665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 18:48:02.868047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/00/image_21012025_22_00_02_442991_0000.jpg', '/home/pi/Desktop/images/21012025/22/00/image_21012025_22_00_02_442991_0001.jpg', '/home/pi/Desktop/images/21012025/22/00/image_21012025_22_00_02_442991_0002.jpg', '/home/pi/Desktop/images/21012025/22/00/image_21012025_22_00_02_442991_0003.jpg', '/home/pi/Desktop/images/21012025/22/01/image_21012025_22_01_02_609283_0000.jpg', '/home/pi/Desktop/images/21012025/22/01/image_21012025_22_01_02_609283_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/22/00/image_21012025_22_00_02_442991_0000.jpg
/home/pi/Desktop/images/21012025/22/00/image_21012025_22_00_02_442991_0001.jpg
/home/pi/Desktop/images/21012025/22/00/image_21012025_22_00_02_442991_0002.jpg
/home/pi/Desktop/images/21012025/22/00/image_21012025_22_00_02_442991_0003.jpg
/home/pi/Desktop/images/21012025/22/01/image_21012025_22_01_02_609283_0000.jpg
/home/pi/Desktop/images/21012025/22/01/image_21012025_22_01_02_609283_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: 17.37665581703186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:48:22.337203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/47/image_25012025_18_47_02_352017_0003.jpg', '/home/pi/Desktop/images/25012025/18/48/image_25012025_18_48_02_575677_0000.jpg', '/home/pi/Desktop/images/25012025/18/48/image_25012025_18_48_02_575677_0001.jpg', '/home/pi/Desktop/images/25012025/18/48/image_25012025_18_48_02_575677_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/47/image_25012025_18_47_02_352017_0003.jpg
/home/pi/Desktop/images/25012025/18/48/image_25012025_18_48_02_575677_0000.jpg
/home/pi/Desktop/images/25012025/18/48/image_25012025_18_48_02_575677_0001.jpg
/home/pi/Desktop/images/25012025/18/48/image_25012025_18_48_02_575677_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 [200]>
b'{"photo_ids":["1331415869","1331415910","1331415873","1331415896"],"photo_ids_order":["1331415869","1331415873","1331415896","1331415910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3fea18fb0b10537b9414bc5d324676d6.jpg","text":"TemporaryFile(/tmp/multipartBody2830148812093107733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827373542,"filename":"image_25012025_18_47_02_352017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d0ee3734ff945d51cba230821e2fb66d.jpg","text":"TemporaryFile(/tmp/multipartBody1222177180131026574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827373542,"filename":"image_25012025_18_48_02_575677_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/55c0b665634bf18b3d7c64c40e04e58d.jpg","text":"TemporaryFile(/tmp/multipartBody2629702193091056918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827373542,"filename":"image_25012025_18_48_02_575677_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c8acb63206c8ff9242c44a61004117ae.jpg","text":"TemporaryFile(/tmp/multipartBody6485370377014375339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827373542,"filename":"image_25012025_18_48_02_575677_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331415896","file1":"1331415873","file0":"1331415869","file3":"1331415910"},"map_files_photo_id_array":[{"photo_id":"1331415896","filename":"file2"},{"photo_id":"1331415873","filename":"file1"},{"photo_id":"1331415869","filename":"file0"},{"photo_id":"1331415910","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331415869":["hashtag1","hashtag2"]},{"1331415910":["hashtag1","hashtag2"]},{"1331415873":["hashtag1","hashtag2"]},{"1331415896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331415869, 1331415910, 1331415873, 1331415896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.98762106895447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:49:22.517534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/48/image_25012025_18_48_02_575677_0003.jpg', '/home/pi/Desktop/images/25012025/18/49/image_25012025_18_49_02_704965_0000.jpg', '/home/pi/Desktop/images/25012025/18/49/image_25012025_18_49_02_704965_0001.jpg', '/home/pi/Desktop/images/25012025/18/49/image_25012025_18_49_02_704965_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/48/image_25012025_18_48_02_575677_0003.jpg
/home/pi/Desktop/images/25012025/18/49/image_25012025_18_49_02_704965_0000.jpg
/home/pi/Desktop/images/25012025/18/49/image_25012025_18_49_02_704965_0001.jpg
/home/pi/Desktop/images/25012025/18/49/image_25012025_18_49_02_704965_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 [200]>
b'{"photo_ids":["1331415944","1331415947","1331415936","1331415939"],"photo_ids_order":["1331415936","1331415939","1331415944","1331415947"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1ed6b3d68b06679ef82904cbf36889d2.jpg","text":"TemporaryFile(/tmp/multipartBody2969513404469005356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827433503,"filename":"image_25012025_18_49_02_704965_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a69b878a22092c1efb924acc6b497f2c.jpg","text":"TemporaryFile(/tmp/multipartBody2832608615674235075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827433503,"filename":"image_25012025_18_49_02_704965_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/098dc8f1df1d5c76bc57b726e82b2d03.jpg","text":"TemporaryFile(/tmp/multipartBody8049545011654992176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827433503,"filename":"image_25012025_18_48_02_575677_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/43fc3de63b2685f42104530c2e1700f6.jpg","text":"TemporaryFile(/tmp/multipartBody2924279802884646873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827433503,"filename":"image_25012025_18_49_02_704965_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331415944","file1":"1331415939","file0":"1331415936","file3":"1331415947"},"map_files_photo_id_array":[{"photo_id":"1331415944","filename":"file2"},{"photo_id":"1331415939","filename":"file1"},{"photo_id":"1331415936","filename":"file0"},{"photo_id":"1331415947","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331415944":["hashtag1","hashtag2"]},{"1331415947":["hashtag1","hashtag2"]},{"1331415936":["hashtag1","hashtag2"]},{"1331415939":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331415944, 1331415947, 1331415936, 1331415939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.50110650062561 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:50:22.786374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/49/image_25012025_18_49_02_704965_0003.jpg', '/home/pi/Desktop/images/25012025/18/50/image_25012025_18_50_02_927553_0000.jpg', '/home/pi/Desktop/images/25012025/18/50/image_25012025_18_50_02_927553_0001.jpg', '/home/pi/Desktop/images/25012025/18/50/image_25012025_18_50_02_927553_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/49/image_25012025_18_49_02_704965_0003.jpg
/home/pi/Desktop/images/25012025/18/50/image_25012025_18_50_02_927553_0000.jpg
/home/pi/Desktop/images/25012025/18/50/image_25012025_18_50_02_927553_0001.jpg
/home/pi/Desktop/images/25012025/18/50/image_25012025_18_50_02_927553_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 [200]>
b'{"photo_ids":["1331416125","1331416097","1331416076","1331416049"],"photo_ids_order":["1331416049","1331416076","1331416097","1331416125"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d6b6bbeaf370d2e8696b655dd9ed5239.jpg","text":"TemporaryFile(/tmp/multipartBody6663034242720263622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827494080,"filename":"image_25012025_18_50_02_927553_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/73924ec2e9bb6cd00c26e7edb93ad078.jpg","text":"TemporaryFile(/tmp/multipartBody4185256957825170324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827494080,"filename":"image_25012025_18_50_02_927553_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/61670cbbcdfbe36a143c76504b04ef79.jpg","text":"TemporaryFile(/tmp/multipartBody3845418808674058519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827494080,"filename":"image_25012025_18_50_02_927553_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/111317bc2a2596ab51ee5db25c15baa7.jpg","text":"TemporaryFile(/tmp/multipartBody3908908640892712603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827494080,"filename":"image_25012025_18_49_02_704965_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331416097","file1":"1331416076","file0":"1331416049","file3":"1331416125"},"map_files_photo_id_array":[{"photo_id":"1331416097","filename":"file2"},{"photo_id":"1331416076","filename":"file1"},{"photo_id":"1331416049","filename":"file0"},{"photo_id":"1331416125","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331416125":["hashtag1","hashtag2"]},{"1331416097":["hashtag1","hashtag2"]},{"1331416076":["hashtag1","hashtag2"]},{"1331416049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331416125, 1331416097, 1331416076, 1331416049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.38972020149231 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:51:22.027718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/50/image_25012025_18_50_02_927553_0003.jpg', '/home/pi/Desktop/images/25012025/18/51/image_25012025_18_51_03_186489_0000.jpg', '/home/pi/Desktop/images/25012025/18/51/image_25012025_18_51_03_186489_0001.jpg', '/home/pi/Desktop/images/25012025/18/51/image_25012025_18_51_03_186489_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/50/image_25012025_18_50_02_927553_0003.jpg
/home/pi/Desktop/images/25012025/18/51/image_25012025_18_51_03_186489_0000.jpg
/home/pi/Desktop/images/25012025/18/51/image_25012025_18_51_03_186489_0001.jpg
/home/pi/Desktop/images/25012025/18/51/image_25012025_18_51_03_186489_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 [200]>
b'{"photo_ids":["1331416147","1331416188","1331416179","1331416142"],"photo_ids_order":["1331416142","1331416147","1331416179","1331416188"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/afdc0b9a3fa452002b5dc6ba1d70b3b4.jpg","text":"TemporaryFile(/tmp/multipartBody525354586482633143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827553123,"filename":"image_25012025_18_51_03_186489_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4564c0268376eb9c2406a47c166ed0d3.jpg","text":"TemporaryFile(/tmp/multipartBody137896234194060821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827553123,"filename":"image_25012025_18_51_03_186489_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8fb49f82e0b0d1538ea1831280b9ac4f.jpg","text":"TemporaryFile(/tmp/multipartBody613346279164876122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827553123,"filename":"image_25012025_18_51_03_186489_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/20197c6cba7ec48efb8b0c501b039f07.jpg","text":"TemporaryFile(/tmp/multipartBody3141383876693631840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827553123,"filename":"image_25012025_18_50_02_927553_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331416179","file1":"1331416147","file0":"1331416142","file3":"1331416188"},"map_files_photo_id_array":[{"photo_id":"1331416179","filename":"file2"},{"photo_id":"1331416147","filename":"file1"},{"photo_id":"1331416142","filename":"file0"},{"photo_id":"1331416188","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331416147":["hashtag1","hashtag2"]},{"1331416188":["hashtag1","hashtag2"]},{"1331416179":["hashtag1","hashtag2"]},{"1331416142":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331416147, 1331416188, 1331416179, 1331416142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.80095028877258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:52:22.195838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/51/image_25012025_18_51_03_186489_0003.jpg', '/home/pi/Desktop/images/25012025/18/52/image_25012025_18_52_02_331611_0000.jpg', '/home/pi/Desktop/images/25012025/18/52/image_25012025_18_52_02_331611_0001.jpg', '/home/pi/Desktop/images/25012025/18/52/image_25012025_18_52_02_331611_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/51/image_25012025_18_51_03_186489_0003.jpg
/home/pi/Desktop/images/25012025/18/52/image_25012025_18_52_02_331611_0000.jpg
/home/pi/Desktop/images/25012025/18/52/image_25012025_18_52_02_331611_0001.jpg
/home/pi/Desktop/images/25012025/18/52/image_25012025_18_52_02_331611_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":["1331416214","1331416212","1331416220","1331416217"],"photo_ids_order":["1331416212","1331416214","1331416217","1331416220"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d700814317832014268ec5413cabdb64.jpg","text":"TemporaryFile(/tmp/multipartBody3874599335324967894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827613502,"filename":"image_25012025_18_52_02_331611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b4aa94e60945c6b7abb6c388b8f3c224.jpg","text":"TemporaryFile(/tmp/multipartBody378783254421730335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827613502,"filename":"image_25012025_18_51_03_186489_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2b8f973b0ae5d47e75dc8cc7e29f8c28.jpg","text":"TemporaryFile(/tmp/multipartBody5762098194277486599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827613502,"filename":"image_25012025_18_52_02_331611_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8698b563ec6e3328b29c74236843efe5.jpg","text":"TemporaryFile(/tmp/multipartBody4121326073001470241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827613502,"filename":"image_25012025_18_52_02_331611_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331416217","file1":"1331416214","file0":"1331416212","file3":"1331416220"},"map_files_photo_id_array":[{"photo_id":"1331416217","filename":"file2"},{"photo_id":"1331416214","filename":"file1"},{"photo_id":"1331416212","filename":"file0"},{"photo_id":"1331416220","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331416214":["hashtag1","hashtag2"]},{"1331416212":["hashtag1","hashtag2"]},{"1331416220":["hashtag1","hashtag2"]},{"1331416217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331416214, 1331416212, 1331416220, 1331416217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.273836851119995 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 18:53:02.968819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/00/image_21012025_22_00_02_442991_0000.jpg', '/home/pi/Desktop/images/21012025/22/00/image_21012025_22_00_02_442991_0001.jpg', '/home/pi/Desktop/images/21012025/22/00/image_21012025_22_00_02_442991_0002.jpg', '/home/pi/Desktop/images/21012025/22/00/image_21012025_22_00_02_442991_0003.jpg', '/home/pi/Desktop/images/21012025/22/01/image_21012025_22_01_02_609283_0000.jpg', '/home/pi/Desktop/images/21012025/22/01/image_21012025_22_01_02_609283_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/22/00/image_21012025_22_00_02_442991_0000.jpg
/home/pi/Desktop/images/21012025/22/00/image_21012025_22_00_02_442991_0001.jpg
/home/pi/Desktop/images/21012025/22/00/image_21012025_22_00_02_442991_0002.jpg
/home/pi/Desktop/images/21012025/22/00/image_21012025_22_00_02_442991_0003.jpg
/home/pi/Desktop/images/21012025/22/01/image_21012025_22_01_02_609283_0000.jpg
/home/pi/Desktop/images/21012025/22/01/image_21012025_22_01_02_609283_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":["1331416252","1331416255","1331416240","1331416234","1331416247","1331416244"],"photo_ids_order":["1331416234","1331416240","1331416244","1331416247","1331416252","1331416255"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1f51818a3c59a08eff64aad17fe2781e.jpg","text":"TemporaryFile(/tmp/multipartBody3646020878544458885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827660610,"filename":"image_21012025_22_01_02_609283_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/139c293696ca92d0de0cf578af5dc023.jpg","text":"TemporaryFile(/tmp/multipartBody2780068245987547022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827660610,"filename":"image_21012025_22_01_02_609283_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/43ce33e9e033db9caeb31edc2620ecc9.jpg","text":"TemporaryFile(/tmp/multipartBody2804029099532039810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827660610,"filename":"image_21012025_22_00_02_442991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/315df86710ae6e7b06716c446f6ec60a.jpg","text":"TemporaryFile(/tmp/multipartBody6429484764243496555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827660610,"filename":"image_21012025_22_00_02_442991_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a69ca081c168a2428cdcebd980724e45.jpg","text":"TemporaryFile(/tmp/multipartBody2404407832549663762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827660610,"filename":"image_21012025_22_00_02_442991_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/35e9a66c38d366534e130d2435536ce2.jpg","text":"TemporaryFile(/tmp/multipartBody1371078712411609030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827660610,"filename":"image_21012025_22_00_02_442991_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331416244","file1":"1331416240","file0":"1331416234","file4":"1331416252","file5":"1331416255","file3":"1331416247"},"map_files_photo_id_array":[{"photo_id":"1331416255","filename":"file5"},{"photo_id":"1331416244","filename":"file2"},{"photo_id":"1331416252","filename":"file4"},{"photo_id":"1331416240","filename":"file1"},{"photo_id":"1331416234","filename":"file0"},{"photo_id":"1331416247","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331416252":["hashtag1","hashtag2"]},{"1331416255":["hashtag1","hashtag2"]},{"1331416240":["hashtag1","hashtag2"]},{"1331416234":["hashtag1","hashtag2"]},{"1331416247":["hashtag1","hashtag2"]},{"1331416244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331416252, 1331416255, 1331416240, 1331416234, 1331416247, 1331416244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.17849063873291 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:54:22.583214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/52/image_25012025_18_52_02_331611_0003.jpg', '/home/pi/Desktop/images/25012025/18/53/image_25012025_18_53_02_640714_0000.jpg', '/home/pi/Desktop/images/25012025/18/53/image_25012025_18_53_02_640714_0001.jpg', '/home/pi/Desktop/images/25012025/18/53/image_25012025_18_53_02_640714_0002.jpg', '/home/pi/Desktop/images/25012025/18/53/image_25012025_18_53_02_640714_0003.jpg', '/home/pi/Desktop/images/25012025/18/54/image_25012025_18_54_02_813997_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/52/image_25012025_18_52_02_331611_0003.jpg
/home/pi/Desktop/images/25012025/18/53/image_25012025_18_53_02_640714_0000.jpg
/home/pi/Desktop/images/25012025/18/53/image_25012025_18_53_02_640714_0001.jpg
/home/pi/Desktop/images/25012025/18/53/image_25012025_18_53_02_640714_0002.jpg
/home/pi/Desktop/images/25012025/18/53/image_25012025_18_53_02_640714_0003.jpg
/home/pi/Desktop/images/25012025/18/54/image_25012025_18_54_02_813997_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 [200]>
b'{"photo_ids":["1331416418","1331416319","1331416533","1331416542","1331416550","1331416547"],"photo_ids_order":["1331416319","1331416418","1331416533","1331416542","1331416547","1331416550"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2165dec7571dfdab9717ac51eac833ba.jpg","text":"TemporaryFile(/tmp/multipartBody7178550913051857771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827739116,"filename":"image_25012025_18_53_02_640714_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/db473b054f48768814ea9d201b348b2c.jpg","text":"TemporaryFile(/tmp/multipartBody4172639218612956295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827739116,"filename":"image_25012025_18_52_02_331611_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6fc2de3cd95f5e7adbe330ebb9924b80.jpg","text":"TemporaryFile(/tmp/multipartBody8421354772666169697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827739116,"filename":"image_25012025_18_53_02_640714_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c837ad9ad0c7e8880d6a8cd8ea8316d5.jpg","text":"TemporaryFile(/tmp/multipartBody6273539803558863595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827739116,"filename":"image_25012025_18_53_02_640714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0bf878a6a5799569931bbc5b63e5f356.jpg","text":"TemporaryFile(/tmp/multipartBody234275277957023918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827739116,"filename":"image_25012025_18_54_02_813997_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/30c937c3eb68f25f3a0b13e10239c073.jpg","text":"TemporaryFile(/tmp/multipartBody7324393309785820109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827739116,"filename":"image_25012025_18_53_02_640714_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331416533","file1":"1331416418","file0":"1331416319","file4":"1331416547","file5":"1331416550","file3":"1331416542"},"map_files_photo_id_array":[{"photo_id":"1331416550","filename":"file5"},{"photo_id":"1331416533","filename":"file2"},{"photo_id":"1331416547","filename":"file4"},{"photo_id":"1331416418","filename":"file1"},{"photo_id":"1331416319","filename":"file0"},{"photo_id":"1331416542","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331416418":["hashtag1","hashtag2"]},{"1331416319":["hashtag1","hashtag2"]},{"1331416533":["hashtag1","hashtag2"]},{"1331416542":["hashtag1","hashtag2"]},{"1331416550":["hashtag1","hashtag2"]},{"1331416547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331416418, 1331416319, 1331416533, 1331416542, 1331416550, 1331416547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.463218450546265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:55:22.741486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/54/image_25012025_18_54_02_813997_0001.jpg', '/home/pi/Desktop/images/25012025/18/54/image_25012025_18_54_02_813997_0002.jpg', '/home/pi/Desktop/images/25012025/18/54/image_25012025_18_54_02_813997_0003.jpg', '/home/pi/Desktop/images/25012025/18/55/image_25012025_18_55_02_880751_0000.jpg', '/home/pi/Desktop/images/25012025/18/55/image_25012025_18_55_02_880751_0001.jpg', '/home/pi/Desktop/images/25012025/18/55/image_25012025_18_55_02_880751_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/54/image_25012025_18_54_02_813997_0001.jpg
/home/pi/Desktop/images/25012025/18/54/image_25012025_18_54_02_813997_0002.jpg
/home/pi/Desktop/images/25012025/18/54/image_25012025_18_54_02_813997_0003.jpg
/home/pi/Desktop/images/25012025/18/55/image_25012025_18_55_02_880751_0000.jpg
/home/pi/Desktop/images/25012025/18/55/image_25012025_18_55_02_880751_0001.jpg
/home/pi/Desktop/images/25012025/18/55/image_25012025_18_55_02_880751_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 [200]>
b'{"photo_ids":["1331416699","1331416696","1331416705","1331416566","1331416701","1331416571"],"photo_ids_order":["1331416566","1331416571","1331416696","1331416699","1331416701","1331416705"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/51f7848f8d832101af8276e708bcf92d.jpg","text":"TemporaryFile(/tmp/multipartBody2750970001645712146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827799118,"filename":"image_25012025_18_55_02_880751_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4c2850cc350537c6576397d37f1205c4.jpg","text":"TemporaryFile(/tmp/multipartBody9198516257820049976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827799118,"filename":"image_25012025_18_54_02_813997_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/91033d93ba05d059f7caf4b845e0e512.jpg","text":"TemporaryFile(/tmp/multipartBody4709012603445872649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827799118,"filename":"image_25012025_18_55_02_880751_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/182e2f0dd23b75182c48abd522135fd2.jpg","text":"TemporaryFile(/tmp/multipartBody4258191663362928697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827799118,"filename":"image_25012025_18_54_02_813997_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1a22d9dc83b75801c8a88b14e0cfbb9b.jpg","text":"TemporaryFile(/tmp/multipartBody3402574915832866800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827799118,"filename":"image_25012025_18_55_02_880751_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fd6ba78c564e602ef6197030f48d8447.jpg","text":"TemporaryFile(/tmp/multipartBody15179359116836968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827799118,"filename":"image_25012025_18_54_02_813997_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331416696","file1":"1331416571","file0":"1331416566","file4":"1331416701","file5":"1331416705","file3":"1331416699"},"map_files_photo_id_array":[{"photo_id":"1331416705","filename":"file5"},{"photo_id":"1331416696","filename":"file2"},{"photo_id":"1331416701","filename":"file4"},{"photo_id":"1331416571","filename":"file1"},{"photo_id":"1331416566","filename":"file0"},{"photo_id":"1331416699","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331416699":["hashtag1","hashtag2"]},{"1331416696":["hashtag1","hashtag2"]},{"1331416705":["hashtag1","hashtag2"]},{"1331416566":["hashtag1","hashtag2"]},{"1331416701":["hashtag1","hashtag2"]},{"1331416571":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331416699, 1331416696, 1331416705, 1331416566, 1331416701, 1331416571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.959606647491455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:56:21.938663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/55/image_25012025_18_55_02_880751_0003.jpg', '/home/pi/Desktop/images/25012025/18/56/image_25012025_18_56_03_094405_0000.jpg', '/home/pi/Desktop/images/25012025/18/56/image_25012025_18_56_03_094405_0001.jpg', '/home/pi/Desktop/images/25012025/18/56/image_25012025_18_56_03_094405_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/55/image_25012025_18_55_02_880751_0003.jpg
/home/pi/Desktop/images/25012025/18/56/image_25012025_18_56_03_094405_0000.jpg
/home/pi/Desktop/images/25012025/18/56/image_25012025_18_56_03_094405_0001.jpg
/home/pi/Desktop/images/25012025/18/56/image_25012025_18_56_03_094405_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 [200]>
b'{"photo_ids":["1331416990","1331416998","1331417004","1331417021"],"photo_ids_order":["1331416990","1331416998","1331417004","1331417021"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6ea9ecbc5919217867ff03e3b27f2667.jpg","text":"TemporaryFile(/tmp/multipartBody3426272522923406053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827853629,"filename":"image_25012025_18_55_02_880751_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/68faa3df410f1148d76091b08bb1a3dc.jpg","text":"TemporaryFile(/tmp/multipartBody3252074921008247202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827853629,"filename":"image_25012025_18_56_03_094405_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f536e66678baea98c9c54314ea999a60.jpg","text":"TemporaryFile(/tmp/multipartBody1047671605495539177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827853629,"filename":"image_25012025_18_56_03_094405_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/14fded2c4c43fbbdda8898fe8de942f2.jpg","text":"TemporaryFile(/tmp/multipartBody8750133018280812890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737827853629,"filename":"image_25012025_18_56_03_094405_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331417004","file1":"1331416998","file0":"1331416990","file3":"1331417021"},"map_files_photo_id_array":[{"photo_id":"1331417004","filename":"file2"},{"photo_id":"1331416998","filename":"file1"},{"photo_id":"1331416990","filename":"file0"},{"photo_id":"1331417021","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331416990":["hashtag1","hashtag2"]},{"1331416998":["hashtag1","hashtag2"]},{"1331417004":["hashtag1","hashtag2"]},{"1331417021":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331416990, 1331416998, 1331417004, 1331417021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.65139579772949 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 18:57:22.172416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/56/image_25012025_18_56_03_094405_0003.jpg', '/home/pi/Desktop/images/25012025/18/57/image_25012025_18_57_02_307841_0000.jpg', '/home/pi/Desktop/images/25012025/18/57/image_25012025_18_57_02_307841_0001.jpg', '/home/pi/Desktop/images/25012025/18/57/image_25012025_18_57_02_307841_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/56/image_25012025_18_56_03_094405_0003.jpg
/home/pi/Desktop/images/25012025/18/57/image_25012025_18_57_02_307841_0000.jpg
/home/pi/Desktop/images/25012025/18/57/image_25012025_18_57_02_307841_0001.jpg
/home/pi/Desktop/images/25012025/18/57/image_25012025_18_57_02_307841_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-25 18:59:03.076574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/56/image_25012025_18_56_03_094405_0003.jpg', '/home/pi/Desktop/images/25012025/18/57/image_25012025_18_57_02_307841_0000.jpg', '/home/pi/Desktop/images/25012025/18/57/image_25012025_18_57_02_307841_0001.jpg', '/home/pi/Desktop/images/25012025/18/57/image_25012025_18_57_02_307841_0002.jpg', '/home/pi/Desktop/images/25012025/18/57/image_25012025_18_57_02_307841_0003.jpg', '/home/pi/Desktop/images/25012025/18/58/image_25012025_18_58_02_496231_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/56/image_25012025_18_56_03_094405_0003.jpg
/home/pi/Desktop/images/25012025/18/57/image_25012025_18_57_02_307841_0000.jpg
/home/pi/Desktop/images/25012025/18/57/image_25012025_18_57_02_307841_0001.jpg
/home/pi/Desktop/images/25012025/18/57/image_25012025_18_57_02_307841_0002.jpg
/home/pi/Desktop/images/25012025/18/57/image_25012025_18_57_02_307841_0003.jpg
/home/pi/Desktop/images/25012025/18/58/image_25012025_18_58_02_496231_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331417152","1331417128","1331417148","1331417139","1331417133","1331417144"],"photo_ids_order":["1331417128","1331417133","1331417139","1331417144","1331417148","1331417152"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/faec192f4b48fe9f416856b75379dd4e.jpg","text":"TemporaryFile(/tmp/multipartBody9210863711287765642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828019455,"filename":"image_25012025_18_58_02_496231_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/49aac210b30efc37e08e089548ec919a.jpg","text":"TemporaryFile(/tmp/multipartBody2877557447006355135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828019455,"filename":"image_25012025_18_56_03_094405_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1a196bc6c1f9c5e82de854568adf7cad.jpg","text":"TemporaryFile(/tmp/multipartBody6183637807067346218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828019455,"filename":"image_25012025_18_57_02_307841_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/96344117c87281c7c46bb20044b4cf25.jpg","text":"TemporaryFile(/tmp/multipartBody2613898080501666229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828019455,"filename":"image_25012025_18_57_02_307841_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/20cfad90cf2e356978d652c189be3cfe.jpg","text":"TemporaryFile(/tmp/multipartBody6267644303834188424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828019455,"filename":"image_25012025_18_57_02_307841_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/81943b989d5177b783c1b029246e598e.jpg","text":"TemporaryFile(/tmp/multipartBody1549660584873796163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828019455,"filename":"image_25012025_18_57_02_307841_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331417139","file1":"1331417133","file0":"1331417128","file4":"1331417148","file5":"1331417152","file3":"1331417144"},"map_files_photo_id_array":[{"photo_id":"1331417152","filename":"file5"},{"photo_id":"1331417139","filename":"file2"},{"photo_id":"1331417148","filename":"file4"},{"photo_id":"1331417133","filename":"file1"},{"photo_id":"1331417128","filename":"file0"},{"photo_id":"1331417144","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331417152":["hashtag1","hashtag2"]},{"1331417128":["hashtag1","hashtag2"]},{"1331417148":["hashtag1","hashtag2"]},{"1331417139":["hashtag1","hashtag2"]},{"1331417133":["hashtag1","hashtag2"]},{"1331417144":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331417152, 1331417128, 1331417148, 1331417139, 1331417133, 1331417144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.04591464996338 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:00:22.721027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/58/image_25012025_18_58_02_496231_0001.jpg', '/home/pi/Desktop/images/25012025/18/58/image_25012025_18_58_02_496231_0002.jpg', '/home/pi/Desktop/images/25012025/18/58/image_25012025_18_58_02_496231_0003.jpg', '/home/pi/Desktop/images/25012025/18/59/image_25012025_18_59_02_644554_0000.jpg', '/home/pi/Desktop/images/25012025/18/59/image_25012025_18_59_02_644554_0001.jpg', '/home/pi/Desktop/images/25012025/18/59/image_25012025_18_59_02_644554_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/58/image_25012025_18_58_02_496231_0001.jpg
/home/pi/Desktop/images/25012025/18/58/image_25012025_18_58_02_496231_0002.jpg
/home/pi/Desktop/images/25012025/18/58/image_25012025_18_58_02_496231_0003.jpg
/home/pi/Desktop/images/25012025/18/59/image_25012025_18_59_02_644554_0000.jpg
/home/pi/Desktop/images/25012025/18/59/image_25012025_18_59_02_644554_0001.jpg
/home/pi/Desktop/images/25012025/18/59/image_25012025_18_59_02_644554_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 [200]>
b'{"photo_ids":["1331418013","1331417422","1331418132","1331418009","1331418011","1331417770"],"photo_ids_order":["1331417422","1331417770","1331418009","1331418011","1331418013","1331418132"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2ba66be4e72265d80f2e445abb7b1da2.jpg","text":"TemporaryFile(/tmp/multipartBody4942987941181902679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828099020,"filename":"image_25012025_18_59_02_644554_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dfd8ee481b57d07368c72e1295be93e4.jpg","text":"TemporaryFile(/tmp/multipartBody3163078488233464275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828099020,"filename":"image_25012025_18_58_02_496231_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/13d5722a4c6027b682f13a258f35645e.jpg","text":"TemporaryFile(/tmp/multipartBody8401986848710572688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828099020,"filename":"image_25012025_18_59_02_644554_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1e4c55db583eb9a1f98bd08840b7177c.jpg","text":"TemporaryFile(/tmp/multipartBody4837285821752477224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828099020,"filename":"image_25012025_18_58_02_496231_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/60784b02b7418d5f448736c3a79d474e.jpg","text":"TemporaryFile(/tmp/multipartBody6998246052940855688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828099020,"filename":"image_25012025_18_59_02_644554_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b62cbe71472210066132446159184bb6.jpg","text":"TemporaryFile(/tmp/multipartBody6726321244244418242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828099020,"filename":"image_25012025_18_58_02_496231_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331418009","file1":"1331417770","file0":"1331417422","file4":"1331418013","file5":"1331418132","file3":"1331418011"},"map_files_photo_id_array":[{"photo_id":"1331418132","filename":"file5"},{"photo_id":"1331418009","filename":"file2"},{"photo_id":"1331418013","filename":"file4"},{"photo_id":"1331417770","filename":"file1"},{"photo_id":"1331417422","filename":"file0"},{"photo_id":"1331418011","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331418013":["hashtag1","hashtag2"]},{"1331417422":["hashtag1","hashtag2"]},{"1331418132":["hashtag1","hashtag2"]},{"1331418009":["hashtag1","hashtag2"]},{"1331418011":["hashtag1","hashtag2"]},{"1331417770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331418013, 1331417422, 1331418132, 1331418009, 1331418011, 1331417770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.2073769569397 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:01:21.772863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/18/59/image_25012025_18_59_02_644554_0003.jpg', '/home/pi/Desktop/images/25012025/19/00/image_25012025_19_00_02_875732_0000.jpg', '/home/pi/Desktop/images/25012025/19/00/image_25012025_19_00_02_875732_0001.jpg', '/home/pi/Desktop/images/25012025/19/00/image_25012025_19_00_02_875732_0002.jpg', '/home/pi/Desktop/images/25012025/19/00/image_25012025_19_00_02_875732_0003.jpg', '/home/pi/Desktop/images/25012025/19/01/image_25012025_19_01_02_976167_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/18/59/image_25012025_18_59_02_644554_0003.jpg
/home/pi/Desktop/images/25012025/19/00/image_25012025_19_00_02_875732_0000.jpg
/home/pi/Desktop/images/25012025/19/00/image_25012025_19_00_02_875732_0001.jpg
/home/pi/Desktop/images/25012025/19/00/image_25012025_19_00_02_875732_0002.jpg
/home/pi/Desktop/images/25012025/19/00/image_25012025_19_00_02_875732_0003.jpg
/home/pi/Desktop/images/25012025/19/01/image_25012025_19_01_02_976167_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 [200]>
b'{"photo_ids":["1331418261","1331418264","1331418267","1331418255","1331418251","1331418259"],"photo_ids_order":["1331418251","1331418255","1331418259","1331418261","1331418264","1331418267"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6b297fffc5594ccb524cec78b2d0fadb.jpg","text":"TemporaryFile(/tmp/multipartBody1071699141871522284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828158642,"filename":"image_25012025_19_00_02_875732_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d52a6fac9e1b7db1662d667cf5c44718.jpg","text":"TemporaryFile(/tmp/multipartBody3737093183052757328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828158642,"filename":"image_25012025_19_00_02_875732_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/11658ce8405b2d45e7f73665c592735a.jpg","text":"TemporaryFile(/tmp/multipartBody3396771271493396109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828158642,"filename":"image_25012025_19_01_02_976167_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0fddcdee54a8ee4561e44c83d864855e.jpg","text":"TemporaryFile(/tmp/multipartBody4286480385329883299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828158642,"filename":"image_25012025_19_00_02_875732_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/25a6560a9e58d30d6c8685a46c4395b7.jpg","text":"TemporaryFile(/tmp/multipartBody650169141168256474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828158642,"filename":"image_25012025_18_59_02_644554_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f73952a6be39ac73daad80995273a021.jpg","text":"TemporaryFile(/tmp/multipartBody7387118509692967261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828158642,"filename":"image_25012025_19_00_02_875732_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331418259","file1":"1331418255","file0":"1331418251","file4":"1331418264","file5":"1331418267","file3":"1331418261"},"map_files_photo_id_array":[{"photo_id":"1331418267","filename":"file5"},{"photo_id":"1331418259","filename":"file2"},{"photo_id":"1331418264","filename":"file4"},{"photo_id":"1331418255","filename":"file1"},{"photo_id":"1331418251","filename":"file0"},{"photo_id":"1331418261","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331418261":["hashtag1","hashtag2"]},{"1331418264":["hashtag1","hashtag2"]},{"1331418267":["hashtag1","hashtag2"]},{"1331418255":["hashtag1","hashtag2"]},{"1331418251":["hashtag1","hashtag2"]},{"1331418259":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331418261, 1331418264, 1331418267, 1331418255, 1331418251, 1331418259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.993908166885376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:02:22.025450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/01/image_25012025_19_01_02_976167_0001.jpg', '/home/pi/Desktop/images/25012025/19/01/image_25012025_19_01_02_976167_0002.jpg', '/home/pi/Desktop/images/25012025/19/01/image_25012025_19_01_02_976167_0003.jpg', '/home/pi/Desktop/images/25012025/19/02/image_25012025_19_02_02_126357_0000.jpg', '/home/pi/Desktop/images/25012025/19/02/image_25012025_19_02_02_126357_0001.jpg', '/home/pi/Desktop/images/25012025/19/02/image_25012025_19_02_02_126357_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/01/image_25012025_19_01_02_976167_0001.jpg
/home/pi/Desktop/images/25012025/19/01/image_25012025_19_01_02_976167_0002.jpg
/home/pi/Desktop/images/25012025/19/01/image_25012025_19_01_02_976167_0003.jpg
/home/pi/Desktop/images/25012025/19/02/image_25012025_19_02_02_126357_0000.jpg
/home/pi/Desktop/images/25012025/19/02/image_25012025_19_02_02_126357_0001.jpg
/home/pi/Desktop/images/25012025/19/02/image_25012025_19_02_02_126357_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 [200]>
b'{"photo_ids":["1331418780","1331418801","1331418683","1331418731","1331418796","1331418733"],"photo_ids_order":["1331418683","1331418731","1331418733","1331418780","1331418796","1331418801"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4c3fc01c26263f0f0daa0b70b0bff2c1.jpg","text":"TemporaryFile(/tmp/multipartBody8905178691461009535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828218833,"filename":"image_25012025_19_02_02_126357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/11205461f434dff1eb5a28d49d7f89e7.jpg","text":"TemporaryFile(/tmp/multipartBody7694130441963478835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828218833,"filename":"image_25012025_19_02_02_126357_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a319e3477116c38b4e527a265532e3d2.jpg","text":"TemporaryFile(/tmp/multipartBody4485742217845758372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828218833,"filename":"image_25012025_19_01_02_976167_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/16f0df0b828c7cb8908d9a5252916db2.jpg","text":"TemporaryFile(/tmp/multipartBody1133978740389669257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828218833,"filename":"image_25012025_19_01_02_976167_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0ee53acb3f56fbe5cb29c091511fa8da.jpg","text":"TemporaryFile(/tmp/multipartBody6478117521277684207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828218833,"filename":"image_25012025_19_02_02_126357_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/37675ea885bd5753db27d699a0001f44.jpg","text":"TemporaryFile(/tmp/multipartBody6132356973355796091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828218833,"filename":"image_25012025_19_01_02_976167_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331418733","file1":"1331418731","file0":"1331418683","file4":"1331418796","file5":"1331418801","file3":"1331418780"},"map_files_photo_id_array":[{"photo_id":"1331418801","filename":"file5"},{"photo_id":"1331418733","filename":"file2"},{"photo_id":"1331418796","filename":"file4"},{"photo_id":"1331418731","filename":"file1"},{"photo_id":"1331418683","filename":"file0"},{"photo_id":"1331418780","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331418780":["hashtag1","hashtag2"]},{"1331418801":["hashtag1","hashtag2"]},{"1331418683":["hashtag1","hashtag2"]},{"1331418731":["hashtag1","hashtag2"]},{"1331418796":["hashtag1","hashtag2"]},{"1331418733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331418780, 1331418801, 1331418683, 1331418731, 1331418796, 1331418733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.15524387359619 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:03:22.095886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/02/image_25012025_19_02_02_126357_0003.jpg', '/home/pi/Desktop/images/25012025/19/03/image_25012025_19_03_02_389202_0000.jpg', '/home/pi/Desktop/images/25012025/19/03/image_25012025_19_03_02_389202_0001.jpg', '/home/pi/Desktop/images/25012025/19/03/image_25012025_19_03_02_389202_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/02/image_25012025_19_02_02_126357_0003.jpg
/home/pi/Desktop/images/25012025/19/03/image_25012025_19_03_02_389202_0000.jpg
/home/pi/Desktop/images/25012025/19/03/image_25012025_19_03_02_389202_0001.jpg
/home/pi/Desktop/images/25012025/19/03/image_25012025_19_03_02_389202_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":["1331419125","1331418828","1331418824","1331418818"],"photo_ids_order":["1331418818","1331418824","1331418828","1331419125"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f460a427b0b5cd6d60e02417d21f0a96.jpg","text":"TemporaryFile(/tmp/multipartBody3455978094053059426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828273390,"filename":"image_25012025_19_03_02_389202_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/73811d561ac139e80bddbd82188d0e44.jpg","text":"TemporaryFile(/tmp/multipartBody1731295780649169740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828273390,"filename":"image_25012025_19_03_02_389202_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f1f015dbca239bbf76b2ea8753186dd2.jpg","text":"TemporaryFile(/tmp/multipartBody5776687207271008974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828273390,"filename":"image_25012025_19_03_02_389202_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dd627d76590a7330f36b2947c134df85.jpg","text":"TemporaryFile(/tmp/multipartBody4254240730259957862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828273390,"filename":"image_25012025_19_02_02_126357_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331418828","file1":"1331418824","file0":"1331418818","file3":"1331419125"},"map_files_photo_id_array":[{"photo_id":"1331418828","filename":"file2"},{"photo_id":"1331418824","filename":"file1"},{"photo_id":"1331418818","filename":"file0"},{"photo_id":"1331419125","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331419125":["hashtag1","hashtag2"]},{"1331418828":["hashtag1","hashtag2"]},{"1331418824":["hashtag1","hashtag2"]},{"1331418818":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331419125, 1331418828, 1331418824, 1331418818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.657209634780884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 19:04:02.789351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/01/image_21012025_22_01_02_609283_0002.jpg', '/home/pi/Desktop/images/21012025/22/01/image_21012025_22_01_02_609283_0003.jpg', '/home/pi/Desktop/images/21012025/22/02/image_21012025_22_02_02_809356_0000.jpg', '/home/pi/Desktop/images/21012025/22/02/image_21012025_22_02_02_809356_0001.jpg', '/home/pi/Desktop/images/21012025/22/02/image_21012025_22_02_02_809356_0002.jpg', '/home/pi/Desktop/images/21012025/22/02/image_21012025_22_02_02_809356_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/22/01/image_21012025_22_01_02_609283_0002.jpg
/home/pi/Desktop/images/21012025/22/01/image_21012025_22_01_02_609283_0003.jpg
/home/pi/Desktop/images/21012025/22/02/image_21012025_22_02_02_809356_0000.jpg
/home/pi/Desktop/images/21012025/22/02/image_21012025_22_02_02_809356_0001.jpg
/home/pi/Desktop/images/21012025/22/02/image_21012025_22_02_02_809356_0002.jpg
/home/pi/Desktop/images/21012025/22/02/image_21012025_22_02_02_809356_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 [200]>
b'{"photo_ids":["1331419632","1331419635","1331419638","1331419640","1331419642","1331419644"],"photo_ids_order":["1331419632","1331419635","1331419638","1331419640","1331419642","1331419644"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4dcaf44f774b36cb1f3c3e579aba8a95.jpg","text":"TemporaryFile(/tmp/multipartBody7196740776635460824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828320655,"filename":"image_21012025_22_01_02_609283_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b773b54dbb62123a52a6f1494b2890b5.jpg","text":"TemporaryFile(/tmp/multipartBody3671748405340057979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828320655,"filename":"image_21012025_22_01_02_609283_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/35e4297c430b91d6312fd6f97b2f036b.jpg","text":"TemporaryFile(/tmp/multipartBody8720261824983452565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828320655,"filename":"image_21012025_22_02_02_809356_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/acb06f002f17cbfcbd6050a8fd5ad451.jpg","text":"TemporaryFile(/tmp/multipartBody8511716197522527019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828320655,"filename":"image_21012025_22_02_02_809356_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4869278bc45e420409a205105f8d5fe6.jpg","text":"TemporaryFile(/tmp/multipartBody8873851427599949199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828320655,"filename":"image_21012025_22_02_02_809356_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cf779e9fbcc90ef24fc7d2d8ff12497f.jpg","text":"TemporaryFile(/tmp/multipartBody594893864279623566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828320655,"filename":"image_21012025_22_02_02_809356_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331419638","file1":"1331419635","file0":"1331419632","file4":"1331419642","file5":"1331419644","file3":"1331419640"},"map_files_photo_id_array":[{"photo_id":"1331419644","filename":"file5"},{"photo_id":"1331419638","filename":"file2"},{"photo_id":"1331419642","filename":"file4"},{"photo_id":"1331419635","filename":"file1"},{"photo_id":"1331419632","filename":"file0"},{"photo_id":"1331419640","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331419632":["hashtag1","hashtag2"]},{"1331419635":["hashtag1","hashtag2"]},{"1331419638":["hashtag1","hashtag2"]},{"1331419640":["hashtag1","hashtag2"]},{"1331419642":["hashtag1","hashtag2"]},{"1331419644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331419632, 1331419635, 1331419638, 1331419640, 1331419642, 1331419644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.04755210876465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 19:05:03.108276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/03/image_25012025_19_03_02_389202_0003.jpg', '/home/pi/Desktop/images/25012025/19/04/image_25012025_19_04_02_499827_0000.jpg', '/home/pi/Desktop/images/25012025/19/04/image_25012025_19_04_02_499827_0001.jpg', '/home/pi/Desktop/images/25012025/19/04/image_25012025_19_04_02_499827_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/03/image_25012025_19_03_02_389202_0003.jpg
/home/pi/Desktop/images/25012025/19/04/image_25012025_19_04_02_499827_0000.jpg
/home/pi/Desktop/images/25012025/19/04/image_25012025_19_04_02_499827_0001.jpg
/home/pi/Desktop/images/25012025/19/04/image_25012025_19_04_02_499827_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":["1331420002","1331420013","1331420018","1331420029"],"photo_ids_order":["1331420002","1331420013","1331420018","1331420029"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/909e6ee76da9f7abda39c8ef53b63e7b.jpg","text":"TemporaryFile(/tmp/multipartBody301373192912636635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828374547,"filename":"image_25012025_19_03_02_389202_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f221da38dd11439baf54426047034586.jpg","text":"TemporaryFile(/tmp/multipartBody3498642852835227691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828374547,"filename":"image_25012025_19_04_02_499827_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/acf22431b1babecdbb5835be069cdf18.jpg","text":"TemporaryFile(/tmp/multipartBody5392505795134534527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828374547,"filename":"image_25012025_19_04_02_499827_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d36e3813f9226182979cd8d69e4dfdaf.jpg","text":"TemporaryFile(/tmp/multipartBody3420157657144255018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828374547,"filename":"image_25012025_19_04_02_499827_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331420018","file1":"1331420013","file0":"1331420002","file3":"1331420029"},"map_files_photo_id_array":[{"photo_id":"1331420018","filename":"file2"},{"photo_id":"1331420013","filename":"file1"},{"photo_id":"1331420002","filename":"file0"},{"photo_id":"1331420029","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331420002":["hashtag1","hashtag2"]},{"1331420013":["hashtag1","hashtag2"]},{"1331420018":["hashtag1","hashtag2"]},{"1331420029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331420002, 1331420013, 1331420018, 1331420029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.74532341957092 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 19:05:52.512508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/04/image_25012025_19_04_02_499827_0003.jpg', '/home/pi/Desktop/images/25012025/19/05/image_25012025_19_05_02_761968_0000.jpg', '/home/pi/Desktop/images/25012025/19/05/image_25012025_19_05_02_761968_0001.jpg', '/home/pi/Desktop/images/25012025/19/05/image_25012025_19_05_02_761968_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/04/image_25012025_19_04_02_499827_0003.jpg
/home/pi/Desktop/images/25012025/19/05/image_25012025_19_05_02_761968_0000.jpg
/home/pi/Desktop/images/25012025/19/05/image_25012025_19_05_02_761968_0001.jpg
/home/pi/Desktop/images/25012025/19/05/image_25012025_19_05_02_761968_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":["1331420203","1331420247","1331420244","1331420254"],"photo_ids_order":["1331420203","1331420244","1331420247","1331420254"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aa32710a9bb88b9856ae6137b0af9234.jpg","text":"TemporaryFile(/tmp/multipartBody2335184997660608428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828423869,"filename":"image_25012025_19_04_02_499827_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a63bdce163a099babee002e3dc2be765.jpg","text":"TemporaryFile(/tmp/multipartBody1831962424996406260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828423869,"filename":"image_25012025_19_05_02_761968_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c64c1959100f924b25d32ff5fdf48164.jpg","text":"TemporaryFile(/tmp/multipartBody4856932826836336139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828423869,"filename":"image_25012025_19_05_02_761968_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/622986d67a2d209d6cd591b981ed077b.jpg","text":"TemporaryFile(/tmp/multipartBody4854742509817965184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828423869,"filename":"image_25012025_19_05_02_761968_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331420247","file1":"1331420244","file0":"1331420203","file3":"1331420254"},"map_files_photo_id_array":[{"photo_id":"1331420247","filename":"file2"},{"photo_id":"1331420244","filename":"file1"},{"photo_id":"1331420203","filename":"file0"},{"photo_id":"1331420254","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331420203":["hashtag1","hashtag2"]},{"1331420247":["hashtag1","hashtag2"]},{"1331420244":["hashtag1","hashtag2"]},{"1331420254":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331420203, 1331420247, 1331420244, 1331420254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.67435359954834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 19:06:42.717461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/05/image_25012025_19_05_02_761968_0003.jpg', '/home/pi/Desktop/images/25012025/19/06/image_25012025_19_06_02_863421_0000.jpg', '/home/pi/Desktop/images/25012025/19/06/image_25012025_19_06_02_863421_0001.jpg', '/home/pi/Desktop/images/25012025/19/06/image_25012025_19_06_02_863421_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/05/image_25012025_19_05_02_761968_0003.jpg
/home/pi/Desktop/images/25012025/19/06/image_25012025_19_06_02_863421_0000.jpg
/home/pi/Desktop/images/25012025/19/06/image_25012025_19_06_02_863421_0001.jpg
/home/pi/Desktop/images/25012025/19/06/image_25012025_19_06_02_863421_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: 10.997339725494385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 19:07:02.373658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/05/image_25012025_19_05_02_761968_0003.jpg', '/home/pi/Desktop/images/25012025/19/06/image_25012025_19_06_02_863421_0000.jpg', '/home/pi/Desktop/images/25012025/19/06/image_25012025_19_06_02_863421_0001.jpg', '/home/pi/Desktop/images/25012025/19/06/image_25012025_19_06_02_863421_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/05/image_25012025_19_05_02_761968_0003.jpg
/home/pi/Desktop/images/25012025/19/06/image_25012025_19_06_02_863421_0000.jpg
/home/pi/Desktop/images/25012025/19/06/image_25012025_19_06_02_863421_0001.jpg
/home/pi/Desktop/images/25012025/19/06/image_25012025_19_06_02_863421_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":["1331420325","1331420330","1331420321","1331420317"],"photo_ids_order":["1331420317","1331420321","1331420325","1331420330"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/95c6ccb974a783dc5f7f9b11f47c5dd1.jpg","text":"TemporaryFile(/tmp/multipartBody344267475319281426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828493849,"filename":"image_25012025_19_06_02_863421_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1bc728a2b255bd7006640dc37d43ab36.jpg","text":"TemporaryFile(/tmp/multipartBody4744969063243447557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828493849,"filename":"image_25012025_19_06_02_863421_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6ab81001bb0a396474e6f9a1b3183a6a.jpg","text":"TemporaryFile(/tmp/multipartBody529401849757221599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828493849,"filename":"image_25012025_19_06_02_863421_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d1ecd58c253593a8304075f078e99415.jpg","text":"TemporaryFile(/tmp/multipartBody5378772736701319183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828493849,"filename":"image_25012025_19_05_02_761968_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331420325","file1":"1331420321","file0":"1331420317","file3":"1331420330"},"map_files_photo_id_array":[{"photo_id":"1331420325","filename":"file2"},{"photo_id":"1331420321","filename":"file1"},{"photo_id":"1331420317","filename":"file0"},{"photo_id":"1331420330","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331420325":["hashtag1","hashtag2"]},{"1331420330":["hashtag1","hashtag2"]},{"1331420321":["hashtag1","hashtag2"]},{"1331420317":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331420325, 1331420330, 1331420321, 1331420317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.0413134098053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 19:07:51.847074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/06/image_25012025_19_06_02_863421_0003.jpg', '/home/pi/Desktop/images/25012025/19/07/image_25012025_19_07_03_081552_0000.jpg', '/home/pi/Desktop/images/25012025/19/07/image_25012025_19_07_03_081552_0001.jpg', '/home/pi/Desktop/images/25012025/19/07/image_25012025_19_07_03_081552_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/06/image_25012025_19_06_02_863421_0003.jpg
/home/pi/Desktop/images/25012025/19/07/image_25012025_19_07_03_081552_0000.jpg
/home/pi/Desktop/images/25012025/19/07/image_25012025_19_07_03_081552_0001.jpg
/home/pi/Desktop/images/25012025/19/07/image_25012025_19_07_03_081552_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":["1331420355","1331420358","1331420348","1331420350"],"photo_ids_order":["1331420348","1331420350","1331420355","1331420358"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/26e503f2fd94190a0980b754010785d6.jpg","text":"TemporaryFile(/tmp/multipartBody3947818608441982196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828543351,"filename":"image_25012025_19_07_03_081552_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/adde1ce6ba2a117d28232c9eb5fe94a1.jpg","text":"TemporaryFile(/tmp/multipartBody304596892264706160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828543351,"filename":"image_25012025_19_07_03_081552_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3dea508f24ee720c72936aa87b955582.jpg","text":"TemporaryFile(/tmp/multipartBody5370925763050602859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828543351,"filename":"image_25012025_19_06_02_863421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f25435b48e557466663715a4a1e311bc.jpg","text":"TemporaryFile(/tmp/multipartBody7000372605402735061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828543351,"filename":"image_25012025_19_07_03_081552_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331420355","file1":"1331420350","file0":"1331420348","file3":"1331420358"},"map_files_photo_id_array":[{"photo_id":"1331420355","filename":"file2"},{"photo_id":"1331420350","filename":"file1"},{"photo_id":"1331420348","filename":"file0"},{"photo_id":"1331420358","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331420355":["hashtag1","hashtag2"]},{"1331420358":["hashtag1","hashtag2"]},{"1331420348":["hashtag1","hashtag2"]},{"1331420350":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331420355, 1331420358, 1331420348, 1331420350)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.583884954452515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 19:08:41.989472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/07/image_25012025_19_07_03_081552_0003.jpg', '/home/pi/Desktop/images/25012025/19/08/image_25012025_19_08_02_265989_0000.jpg', '/home/pi/Desktop/images/25012025/19/08/image_25012025_19_08_02_265989_0001.jpg', '/home/pi/Desktop/images/25012025/19/08/image_25012025_19_08_02_265989_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/07/image_25012025_19_07_03_081552_0003.jpg
/home/pi/Desktop/images/25012025/19/08/image_25012025_19_08_02_265989_0000.jpg
/home/pi/Desktop/images/25012025/19/08/image_25012025_19_08_02_265989_0001.jpg
/home/pi/Desktop/images/25012025/19/08/image_25012025_19_08_02_265989_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":["1331420385","1331420376","1331420390","1331420380"],"photo_ids_order":["1331420376","1331420380","1331420385","1331420390"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/49afecc6ce3c3b690542dee9114ca3ce.jpg","text":"TemporaryFile(/tmp/multipartBody6597563878588973255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828593518,"filename":"image_25012025_19_08_02_265989_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d47119bda34e0f5e48db622cd56c5d7f.jpg","text":"TemporaryFile(/tmp/multipartBody966553872722084497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828593518,"filename":"image_25012025_19_07_03_081552_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3c2b9363409b33d3a02825b2af3ef157.jpg","text":"TemporaryFile(/tmp/multipartBody5617677400976956263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828593518,"filename":"image_25012025_19_08_02_265989_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c54194e76a82b2412cf6b707c6e45bbe.jpg","text":"TemporaryFile(/tmp/multipartBody8119862660287340512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828593518,"filename":"image_25012025_19_08_02_265989_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331420385","file1":"1331420380","file0":"1331420376","file3":"1331420390"},"map_files_photo_id_array":[{"photo_id":"1331420385","filename":"file2"},{"photo_id":"1331420380","filename":"file1"},{"photo_id":"1331420376","filename":"file0"},{"photo_id":"1331420390","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331420385":["hashtag1","hashtag2"]},{"1331420376":["hashtag1","hashtag2"]},{"1331420390":["hashtag1","hashtag2"]},{"1331420380":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331420385, 1331420376, 1331420390, 1331420380)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.78206396102905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 19:09:32.308956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/08/image_25012025_19_08_02_265989_0003.jpg', '/home/pi/Desktop/images/25012025/19/09/image_25012025_19_09_02_387483_0000.jpg', '/home/pi/Desktop/images/25012025/19/09/image_25012025_19_09_02_387483_0001.jpg', '/home/pi/Desktop/images/25012025/19/09/image_25012025_19_09_02_387483_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/08/image_25012025_19_08_02_265989_0003.jpg
/home/pi/Desktop/images/25012025/19/09/image_25012025_19_09_02_387483_0000.jpg
/home/pi/Desktop/images/25012025/19/09/image_25012025_19_09_02_387483_0001.jpg
/home/pi/Desktop/images/25012025/19/09/image_25012025_19_09_02_387483_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":["1331420426","1331420416","1331420419","1331420410"],"photo_ids_order":["1331420410","1331420416","1331420419","1331420426"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/db8d63ece5c6f20a0a06ccb61fdaf246.jpg","text":"TemporaryFile(/tmp/multipartBody8799371173745098633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828643848,"filename":"image_25012025_19_09_02_387483_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c3e17f80ce179ff76a5d6c6806454220.jpg","text":"TemporaryFile(/tmp/multipartBody2663225159851080396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828643848,"filename":"image_25012025_19_09_02_387483_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4566cba6dd780b07559adc5e1740ea5c.jpg","text":"TemporaryFile(/tmp/multipartBody3801691673338127311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828643848,"filename":"image_25012025_19_09_02_387483_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e375750b366fa6e32da1e8b334179de7.jpg","text":"TemporaryFile(/tmp/multipartBody1361691604879298056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828643848,"filename":"image_25012025_19_08_02_265989_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331420419","file1":"1331420416","file0":"1331420410","file3":"1331420426"},"map_files_photo_id_array":[{"photo_id":"1331420419","filename":"file2"},{"photo_id":"1331420416","filename":"file1"},{"photo_id":"1331420410","filename":"file0"},{"photo_id":"1331420426","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331420426":["hashtag1","hashtag2"]},{"1331420416":["hashtag1","hashtag2"]},{"1331420419":["hashtag1","hashtag2"]},{"1331420410":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331420426, 1331420416, 1331420419, 1331420410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.33373188972473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:10:22.566241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/09/image_25012025_19_09_02_387483_0003.jpg', '/home/pi/Desktop/images/25012025/19/10/image_25012025_19_10_02_678562_0000.jpg', '/home/pi/Desktop/images/25012025/19/10/image_25012025_19_10_02_678562_0001.jpg', '/home/pi/Desktop/images/25012025/19/10/image_25012025_19_10_02_678562_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/09/image_25012025_19_09_02_387483_0003.jpg
/home/pi/Desktop/images/25012025/19/10/image_25012025_19_10_02_678562_0000.jpg
/home/pi/Desktop/images/25012025/19/10/image_25012025_19_10_02_678562_0001.jpg
/home/pi/Desktop/images/25012025/19/10/image_25012025_19_10_02_678562_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 [200]>
b'{"photo_ids":["1331420448","1331420470","1331420455","1331420458"],"photo_ids_order":["1331420448","1331420455","1331420458","1331420470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ff9da225d831eea30a19a3c692ce66dd.jpg","text":"TemporaryFile(/tmp/multipartBody7058026932478452766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828693678,"filename":"image_25012025_19_09_02_387483_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4b7ce338eef44d551093a026e2d2eb29.jpg","text":"TemporaryFile(/tmp/multipartBody7129854869036886186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828693678,"filename":"image_25012025_19_10_02_678562_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dd4039f498622d0412f222c658bfca4a.jpg","text":"TemporaryFile(/tmp/multipartBody6179129703196093302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828693678,"filename":"image_25012025_19_10_02_678562_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/81d440bdb3d2d3e7534eea3dbf855377.jpg","text":"TemporaryFile(/tmp/multipartBody193658310966610837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828693678,"filename":"image_25012025_19_10_02_678562_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331420458","file1":"1331420455","file0":"1331420448","file3":"1331420470"},"map_files_photo_id_array":[{"photo_id":"1331420458","filename":"file2"},{"photo_id":"1331420455","filename":"file1"},{"photo_id":"1331420448","filename":"file0"},{"photo_id":"1331420470","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331420448":["hashtag1","hashtag2"]},{"1331420470":["hashtag1","hashtag2"]},{"1331420455":["hashtag1","hashtag2"]},{"1331420458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331420448, 1331420470, 1331420455, 1331420458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.828197717666626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:11:22.731000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/10/image_25012025_19_10_02_678562_0003.jpg', '/home/pi/Desktop/images/25012025/19/11/image_25012025_19_11_03_016973_0000.jpg', '/home/pi/Desktop/images/25012025/19/11/image_25012025_19_11_03_016973_0001.jpg', '/home/pi/Desktop/images/25012025/19/11/image_25012025_19_11_03_016973_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/10/image_25012025_19_10_02_678562_0003.jpg
/home/pi/Desktop/images/25012025/19/11/image_25012025_19_11_03_016973_0000.jpg
/home/pi/Desktop/images/25012025/19/11/image_25012025_19_11_03_016973_0001.jpg
/home/pi/Desktop/images/25012025/19/11/image_25012025_19_11_03_016973_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 [200]>
b'{"photo_ids":["1331420509","1331420522","1331420519","1331420513"],"photo_ids_order":["1331420509","1331420513","1331420519","1331420522"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/82335e5d2401107cc06bb4fa48d0a0fe.jpg","text":"TemporaryFile(/tmp/multipartBody51484880961584945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828753839,"filename":"image_25012025_19_10_02_678562_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fd83850f1ffea4b112868cfbfc4a8629.jpg","text":"TemporaryFile(/tmp/multipartBody5526000190415383363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828753839,"filename":"image_25012025_19_11_03_016973_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f143893d0c942a0cc30c5ef2dc6fb808.jpg","text":"TemporaryFile(/tmp/multipartBody3518130195530639558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828753839,"filename":"image_25012025_19_11_03_016973_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3a8164012e5e27730a8a00d59ec9e335.jpg","text":"TemporaryFile(/tmp/multipartBody4232758589331372510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828753839,"filename":"image_25012025_19_11_03_016973_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331420519","file1":"1331420513","file0":"1331420509","file3":"1331420522"},"map_files_photo_id_array":[{"photo_id":"1331420519","filename":"file2"},{"photo_id":"1331420513","filename":"file1"},{"photo_id":"1331420509","filename":"file0"},{"photo_id":"1331420522","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331420509":["hashtag1","hashtag2"]},{"1331420522":["hashtag1","hashtag2"]},{"1331420519":["hashtag1","hashtag2"]},{"1331420513":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331420509, 1331420522, 1331420519, 1331420513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.94628691673279 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:12:22.035879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/11/image_25012025_19_11_03_016973_0003.jpg', '/home/pi/Desktop/images/25012025/19/12/image_25012025_19_12_03_100902_0000.jpg', '/home/pi/Desktop/images/25012025/19/12/image_25012025_19_12_03_100902_0001.jpg', '/home/pi/Desktop/images/25012025/19/12/image_25012025_19_12_03_100902_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/11/image_25012025_19_11_03_016973_0003.jpg
/home/pi/Desktop/images/25012025/19/12/image_25012025_19_12_03_100902_0000.jpg
/home/pi/Desktop/images/25012025/19/12/image_25012025_19_12_03_100902_0001.jpg
/home/pi/Desktop/images/25012025/19/12/image_25012025_19_12_03_100902_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: 10.91156005859375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 19:12:41.925519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/11/image_25012025_19_11_03_016973_0003.jpg', '/home/pi/Desktop/images/25012025/19/12/image_25012025_19_12_03_100902_0000.jpg', '/home/pi/Desktop/images/25012025/19/12/image_25012025_19_12_03_100902_0001.jpg', '/home/pi/Desktop/images/25012025/19/12/image_25012025_19_12_03_100902_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/11/image_25012025_19_11_03_016973_0003.jpg
/home/pi/Desktop/images/25012025/19/12/image_25012025_19_12_03_100902_0000.jpg
/home/pi/Desktop/images/25012025/19/12/image_25012025_19_12_03_100902_0001.jpg
/home/pi/Desktop/images/25012025/19/12/image_25012025_19_12_03_100902_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":["1331420562","1331420565","1331420559","1331420556"],"photo_ids_order":["1331420556","1331420559","1331420562","1331420565"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/868ccab3343483c2546a12ef2414b89b.jpg","text":"TemporaryFile(/tmp/multipartBody5643679403657904897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828833223,"filename":"image_25012025_19_12_03_100902_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fa5a6b46ecd09c98b999869f458e2f41.jpg","text":"TemporaryFile(/tmp/multipartBody528749932060818740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828833223,"filename":"image_25012025_19_12_03_100902_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/84fe4ab9c7a43d7fe411f4119e3fa10d.jpg","text":"TemporaryFile(/tmp/multipartBody7972601049984240331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828833223,"filename":"image_25012025_19_12_03_100902_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0beb2cd9a10e6e6255e0c22b655387bc.jpg","text":"TemporaryFile(/tmp/multipartBody2027305709768116384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828833223,"filename":"image_25012025_19_11_03_016973_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331420562","file1":"1331420559","file0":"1331420556","file3":"1331420565"},"map_files_photo_id_array":[{"photo_id":"1331420562","filename":"file2"},{"photo_id":"1331420559","filename":"file1"},{"photo_id":"1331420556","filename":"file0"},{"photo_id":"1331420565","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331420562":["hashtag1","hashtag2"]},{"1331420565":["hashtag1","hashtag2"]},{"1331420559":["hashtag1","hashtag2"]},{"1331420556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331420562, 1331420565, 1331420559, 1331420556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.070929765701294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:13:22.197105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/12/image_25012025_19_12_03_100902_0003.jpg', '/home/pi/Desktop/images/25012025/19/13/image_25012025_19_13_02_356300_0000.jpg', '/home/pi/Desktop/images/25012025/19/13/image_25012025_19_13_02_356300_0001.jpg', '/home/pi/Desktop/images/25012025/19/13/image_25012025_19_13_02_356300_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/12/image_25012025_19_12_03_100902_0003.jpg
/home/pi/Desktop/images/25012025/19/13/image_25012025_19_13_02_356300_0000.jpg
/home/pi/Desktop/images/25012025/19/13/image_25012025_19_13_02_356300_0001.jpg
/home/pi/Desktop/images/25012025/19/13/image_25012025_19_13_02_356300_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":["1331420611","1331420619","1331420622","1331420615"],"photo_ids_order":["1331420611","1331420615","1331420619","1331420622"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f4855f8b39fe4f7d3773771d1822a220.jpg","text":"TemporaryFile(/tmp/multipartBody6352685745455894841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828873836,"filename":"image_25012025_19_12_03_100902_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1c4b9f2377d49b82b04d488617b48b11.jpg","text":"TemporaryFile(/tmp/multipartBody6681655695024250550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828873836,"filename":"image_25012025_19_13_02_356300_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eac1e561dd2f9b2476a4d1e204753233.jpg","text":"TemporaryFile(/tmp/multipartBody7860664119367077046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828873836,"filename":"image_25012025_19_13_02_356300_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/afb10c15bf088217cfddb1ed26bb6802.jpg","text":"TemporaryFile(/tmp/multipartBody6324577826962163398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828873836,"filename":"image_25012025_19_13_02_356300_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331420619","file1":"1331420615","file0":"1331420611","file3":"1331420622"},"map_files_photo_id_array":[{"photo_id":"1331420619","filename":"file2"},{"photo_id":"1331420615","filename":"file1"},{"photo_id":"1331420611","filename":"file0"},{"photo_id":"1331420622","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331420611":["hashtag1","hashtag2"]},{"1331420619":["hashtag1","hashtag2"]},{"1331420622":["hashtag1","hashtag2"]},{"1331420615":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331420611, 1331420619, 1331420622, 1331420615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.43754959106445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 19:14:02.751273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/03/image_21012025_22_03_03_010106_0000.jpg', '/home/pi/Desktop/images/21012025/22/03/image_21012025_22_03_03_010106_0001.jpg', '/home/pi/Desktop/images/21012025/22/03/image_21012025_22_03_03_010106_0002.jpg', '/home/pi/Desktop/images/21012025/22/03/image_21012025_22_03_03_010106_0003.jpg', '/home/pi/Desktop/images/21012025/22/04/image_21012025_22_04_03_117782_0000.jpg', '/home/pi/Desktop/images/21012025/22/04/image_21012025_22_04_03_117782_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/22/03/image_21012025_22_03_03_010106_0000.jpg
/home/pi/Desktop/images/21012025/22/03/image_21012025_22_03_03_010106_0001.jpg
/home/pi/Desktop/images/21012025/22/03/image_21012025_22_03_03_010106_0002.jpg
/home/pi/Desktop/images/21012025/22/03/image_21012025_22_03_03_010106_0003.jpg
/home/pi/Desktop/images/21012025/22/04/image_21012025_22_04_03_117782_0000.jpg
/home/pi/Desktop/images/21012025/22/04/image_21012025_22_04_03_117782_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":["1331420733","1331420727","1331420721","1331420738","1331420705","1331420746"],"photo_ids_order":["1331420705","1331420721","1331420727","1331420733","1331420738","1331420746"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1a97006e2692178cbacaa0b5cb3f83ea.jpg","text":"TemporaryFile(/tmp/multipartBody4014696663738871569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828919997,"filename":"image_21012025_22_03_03_010106_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/560d69f3e754c2971d6bd00024a3b079.jpg","text":"TemporaryFile(/tmp/multipartBody7539809959927070763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828919997,"filename":"image_21012025_22_03_03_010106_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/12c770b5bd1367fabdf28b0b6bda494b.jpg","text":"TemporaryFile(/tmp/multipartBody6059105751049596328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828919997,"filename":"image_21012025_22_03_03_010106_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/785c2fffd7c07e7a9c324107b8ead420.jpg","text":"TemporaryFile(/tmp/multipartBody2991874248013624724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828919997,"filename":"image_21012025_22_04_03_117782_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/362084b50f52207a726053941691b66f.jpg","text":"TemporaryFile(/tmp/multipartBody2623744256938480853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828919997,"filename":"image_21012025_22_03_03_010106_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/47879846ec6ae9786bab20c8525e8300.jpg","text":"TemporaryFile(/tmp/multipartBody3325003303174729900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828919997,"filename":"image_21012025_22_04_03_117782_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331420727","file1":"1331420721","file0":"1331420705","file4":"1331420738","file5":"1331420746","file3":"1331420733"},"map_files_photo_id_array":[{"photo_id":"1331420746","filename":"file5"},{"photo_id":"1331420727","filename":"file2"},{"photo_id":"1331420738","filename":"file4"},{"photo_id":"1331420721","filename":"file1"},{"photo_id":"1331420705","filename":"file0"},{"photo_id":"1331420733","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331420733":["hashtag1","hashtag2"]},{"1331420727":["hashtag1","hashtag2"]},{"1331420721":["hashtag1","hashtag2"]},{"1331420738":["hashtag1","hashtag2"]},{"1331420705":["hashtag1","hashtag2"]},{"1331420746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331420733, 1331420727, 1331420721, 1331420738, 1331420705, 1331420746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.999706983566284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 19:15:03.061012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/13/image_25012025_19_13_02_356300_0003.jpg', '/home/pi/Desktop/images/25012025/19/14/image_25012025_19_14_02_461906_0000.jpg', '/home/pi/Desktop/images/25012025/19/14/image_25012025_19_14_02_461906_0001.jpg', '/home/pi/Desktop/images/25012025/19/14/image_25012025_19_14_02_461906_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/13/image_25012025_19_13_02_356300_0003.jpg
/home/pi/Desktop/images/25012025/19/14/image_25012025_19_14_02_461906_0000.jpg
/home/pi/Desktop/images/25012025/19/14/image_25012025_19_14_02_461906_0001.jpg
/home/pi/Desktop/images/25012025/19/14/image_25012025_19_14_02_461906_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":["1331420817","1331420811","1331420820","1331420813"],"photo_ids_order":["1331420811","1331420813","1331420817","1331420820"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d782a1df1c7d067cd5bf873ddd8b97e9.jpg","text":"TemporaryFile(/tmp/multipartBody3933465100438374798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828974356,"filename":"image_25012025_19_14_02_461906_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/681ce7019514835cf2e31045342657ca.jpg","text":"TemporaryFile(/tmp/multipartBody7091444362133456117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828974356,"filename":"image_25012025_19_13_02_356300_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7cebd27c44b49f25134ae49fe09bb319.jpg","text":"TemporaryFile(/tmp/multipartBody4164931812433745864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828974356,"filename":"image_25012025_19_14_02_461906_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f294c5c620bc3901084a0d0c8aaad1b1.jpg","text":"TemporaryFile(/tmp/multipartBody8593650173694430238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737828974356,"filename":"image_25012025_19_14_02_461906_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331420817","file1":"1331420813","file0":"1331420811","file3":"1331420820"},"map_files_photo_id_array":[{"photo_id":"1331420817","filename":"file2"},{"photo_id":"1331420813","filename":"file1"},{"photo_id":"1331420811","filename":"file0"},{"photo_id":"1331420820","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331420817":["hashtag1","hashtag2"]},{"1331420811":["hashtag1","hashtag2"]},{"1331420820":["hashtag1","hashtag2"]},{"1331420813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331420817, 1331420811, 1331420820, 1331420813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.217000246047974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 19:15:42.464800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/14/image_25012025_19_14_02_461906_0003.jpg', '/home/pi/Desktop/images/25012025/19/15/image_25012025_19_15_02_665796_0000.jpg', '/home/pi/Desktop/images/25012025/19/15/image_25012025_19_15_02_665796_0001.jpg', '/home/pi/Desktop/images/25012025/19/15/image_25012025_19_15_02_665796_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/14/image_25012025_19_14_02_461906_0003.jpg
/home/pi/Desktop/images/25012025/19/15/image_25012025_19_15_02_665796_0000.jpg
/home/pi/Desktop/images/25012025/19/15/image_25012025_19_15_02_665796_0001.jpg
/home/pi/Desktop/images/25012025/19/15/image_25012025_19_15_02_665796_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: 10.833043575286865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 19:16:03.164429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/14/image_25012025_19_14_02_461906_0003.jpg', '/home/pi/Desktop/images/25012025/19/15/image_25012025_19_15_02_665796_0000.jpg', '/home/pi/Desktop/images/25012025/19/15/image_25012025_19_15_02_665796_0001.jpg', '/home/pi/Desktop/images/25012025/19/15/image_25012025_19_15_02_665796_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/14/image_25012025_19_14_02_461906_0003.jpg
/home/pi/Desktop/images/25012025/19/15/image_25012025_19_15_02_665796_0000.jpg
/home/pi/Desktop/images/25012025/19/15/image_25012025_19_15_02_665796_0001.jpg
/home/pi/Desktop/images/25012025/19/15/image_25012025_19_15_02_665796_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":["1331420852","1331420846","1331420857","1331420842"],"photo_ids_order":["1331420842","1331420846","1331420852","1331420857"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5e6c6321dfdcf48578e96944420a00d3.jpg","text":"TemporaryFile(/tmp/multipartBody6555483962778789649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829034372,"filename":"image_25012025_19_15_02_665796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e52ba0b10e53d710063e3abbf9499b79.jpg","text":"TemporaryFile(/tmp/multipartBody6746085349154876316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829034372,"filename":"image_25012025_19_15_02_665796_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d5225cdfc2efc81fae861405c21a4bce.jpg","text":"TemporaryFile(/tmp/multipartBody341653149132574182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829034372,"filename":"image_25012025_19_15_02_665796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cc7f48b5bc9a00cce1f1dc65673d6ca4.jpg","text":"TemporaryFile(/tmp/multipartBody2169140396997488984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829034372,"filename":"image_25012025_19_14_02_461906_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331420852","file1":"1331420846","file0":"1331420842","file3":"1331420857"},"map_files_photo_id_array":[{"photo_id":"1331420852","filename":"file2"},{"photo_id":"1331420846","filename":"file1"},{"photo_id":"1331420842","filename":"file0"},{"photo_id":"1331420857","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331420852":["hashtag1","hashtag2"]},{"1331420846":["hashtag1","hashtag2"]},{"1331420857":["hashtag1","hashtag2"]},{"1331420842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331420852, 1331420846, 1331420857, 1331420842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.80195879936218 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-25 19:16:52.609259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/15/image_25012025_19_15_02_665796_0003.jpg', '/home/pi/Desktop/images/25012025/19/16/image_25012025_19_16_02_822340_0000.jpg', '/home/pi/Desktop/images/25012025/19/16/image_25012025_19_16_02_822340_0001.jpg', '/home/pi/Desktop/images/25012025/19/16/image_25012025_19_16_02_822340_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/15/image_25012025_19_15_02_665796_0003.jpg
/home/pi/Desktop/images/25012025/19/16/image_25012025_19_16_02_822340_0000.jpg
/home/pi/Desktop/images/25012025/19/16/image_25012025_19_16_02_822340_0001.jpg
/home/pi/Desktop/images/25012025/19/16/image_25012025_19_16_02_822340_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: 10.791428804397583 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:17:21.805141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/15/image_25012025_19_15_02_665796_0003.jpg', '/home/pi/Desktop/images/25012025/19/16/image_25012025_19_16_02_822340_0000.jpg', '/home/pi/Desktop/images/25012025/19/16/image_25012025_19_16_02_822340_0001.jpg', '/home/pi/Desktop/images/25012025/19/16/image_25012025_19_16_02_822340_0002.jpg', '/home/pi/Desktop/images/25012025/19/16/image_25012025_19_16_02_822340_0003.jpg', '/home/pi/Desktop/images/25012025/19/17/image_25012025_19_17_02_993441_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/15/image_25012025_19_15_02_665796_0003.jpg
/home/pi/Desktop/images/25012025/19/16/image_25012025_19_16_02_822340_0000.jpg
/home/pi/Desktop/images/25012025/19/16/image_25012025_19_16_02_822340_0001.jpg
/home/pi/Desktop/images/25012025/19/16/image_25012025_19_16_02_822340_0002.jpg
/home/pi/Desktop/images/25012025/19/16/image_25012025_19_16_02_822340_0003.jpg
/home/pi/Desktop/images/25012025/19/17/image_25012025_19_17_02_993441_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 [200]>
b'{"photo_ids":["1331421333","1331421311","1331421274","1331421157","1331421313","1331421307"],"photo_ids_order":["1331421157","1331421274","1331421307","1331421311","1331421313","1331421333"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/273b630d1f28d3ed0fecc75d865300f0.jpg","text":"TemporaryFile(/tmp/multipartBody5782398372460341600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829118253,"filename":"image_25012025_19_17_02_993441_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d51fa48110eeee56a9af75e258cbe17e.jpg","text":"TemporaryFile(/tmp/multipartBody3000090807104035983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829118253,"filename":"image_25012025_19_16_02_822340_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a4a1e259b49501a23df06b0ce6a116de.jpg","text":"TemporaryFile(/tmp/multipartBody2167050513256409802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829118253,"filename":"image_25012025_19_16_02_822340_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f08236b312f123035d5f1b26f89b62b4.jpg","text":"TemporaryFile(/tmp/multipartBody2976987708445781380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829118253,"filename":"image_25012025_19_15_02_665796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/81361b16b7caf376f05d59f119d9fcdc.jpg","text":"TemporaryFile(/tmp/multipartBody5089687855814918936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829118253,"filename":"image_25012025_19_16_02_822340_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8c686c7f2066e350d6a90de73bcaca21.jpg","text":"TemporaryFile(/tmp/multipartBody8292801475200657581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829118253,"filename":"image_25012025_19_16_02_822340_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331421307","file1":"1331421274","file0":"1331421157","file4":"1331421313","file5":"1331421333","file3":"1331421311"},"map_files_photo_id_array":[{"photo_id":"1331421333","filename":"file5"},{"photo_id":"1331421307","filename":"file2"},{"photo_id":"1331421313","filename":"file4"},{"photo_id":"1331421274","filename":"file1"},{"photo_id":"1331421157","filename":"file0"},{"photo_id":"1331421311","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331421333":["hashtag1","hashtag2"]},{"1331421311":["hashtag1","hashtag2"]},{"1331421274":["hashtag1","hashtag2"]},{"1331421157":["hashtag1","hashtag2"]},{"1331421313":["hashtag1","hashtag2"]},{"1331421307":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331421333, 1331421311, 1331421274, 1331421157, 1331421313, 1331421307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.80099558830261 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:18:22.089256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/17/image_25012025_19_17_02_993441_0001.jpg', '/home/pi/Desktop/images/25012025/19/17/image_25012025_19_17_02_993441_0002.jpg', '/home/pi/Desktop/images/25012025/19/17/image_25012025_19_17_02_993441_0003.jpg', '/home/pi/Desktop/images/25012025/19/18/image_25012025_19_18_02_166421_0000.jpg', '/home/pi/Desktop/images/25012025/19/18/image_25012025_19_18_02_166421_0001.jpg', '/home/pi/Desktop/images/25012025/19/18/image_25012025_19_18_02_166421_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/17/image_25012025_19_17_02_993441_0001.jpg
/home/pi/Desktop/images/25012025/19/17/image_25012025_19_17_02_993441_0002.jpg
/home/pi/Desktop/images/25012025/19/17/image_25012025_19_17_02_993441_0003.jpg
/home/pi/Desktop/images/25012025/19/18/image_25012025_19_18_02_166421_0000.jpg
/home/pi/Desktop/images/25012025/19/18/image_25012025_19_18_02_166421_0001.jpg
/home/pi/Desktop/images/25012025/19/18/image_25012025_19_18_02_166421_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 [200]>
b'{"photo_ids":["1331422428","1331422253","1331422264","1331422258","1331422170","1331422248"],"photo_ids_order":["1331422170","1331422248","1331422253","1331422258","1331422264","1331422428"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/20f4c792d50f7f1a447b1a5d46bfb314.jpg","text":"TemporaryFile(/tmp/multipartBody4940569920812088227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829178666,"filename":"image_25012025_19_18_02_166421_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a1be4adeeabd97db3bba1bf1132c92a2.jpg","text":"TemporaryFile(/tmp/multipartBody2495980397266290816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829178666,"filename":"image_25012025_19_17_02_993441_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/06cab701243b0dbedb6f637151c1f379.jpg","text":"TemporaryFile(/tmp/multipartBody4245515659739815458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829178666,"filename":"image_25012025_19_18_02_166421_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e2c8a7a3a4f162c80b7667e37302b386.jpg","text":"TemporaryFile(/tmp/multipartBody9202070420650702011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829178666,"filename":"image_25012025_19_18_02_166421_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/466cd80271c87ba5a8dfa70b516c53e0.jpg","text":"TemporaryFile(/tmp/multipartBody5221584468381220463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829178666,"filename":"image_25012025_19_17_02_993441_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d6105e60306d8833526d10a10954ff0e.jpg","text":"TemporaryFile(/tmp/multipartBody6296602073021589799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829178666,"filename":"image_25012025_19_17_02_993441_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331422253","file1":"1331422248","file0":"1331422170","file4":"1331422264","file5":"1331422428","file3":"1331422258"},"map_files_photo_id_array":[{"photo_id":"1331422428","filename":"file5"},{"photo_id":"1331422253","filename":"file2"},{"photo_id":"1331422264","filename":"file4"},{"photo_id":"1331422248","filename":"file1"},{"photo_id":"1331422170","filename":"file0"},{"photo_id":"1331422258","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331422428":["hashtag1","hashtag2"]},{"1331422253":["hashtag1","hashtag2"]},{"1331422264":["hashtag1","hashtag2"]},{"1331422258":["hashtag1","hashtag2"]},{"1331422170":["hashtag1","hashtag2"]},{"1331422248":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331422428, 1331422253, 1331422264, 1331422258, 1331422170, 1331422248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.81527900695801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:19:22.247432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/18/image_25012025_19_18_02_166421_0003.jpg', '/home/pi/Desktop/images/25012025/19/19/image_25012025_19_19_02_369214_0000.jpg', '/home/pi/Desktop/images/25012025/19/19/image_25012025_19_19_02_369214_0001.jpg', '/home/pi/Desktop/images/25012025/19/19/image_25012025_19_19_02_369214_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/18/image_25012025_19_18_02_166421_0003.jpg
/home/pi/Desktop/images/25012025/19/19/image_25012025_19_19_02_369214_0000.jpg
/home/pi/Desktop/images/25012025/19/19/image_25012025_19_19_02_369214_0001.jpg
/home/pi/Desktop/images/25012025/19/19/image_25012025_19_19_02_369214_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 [200]>
b'{"photo_ids":["1331422694","1331422700","1331422690","1331422707"],"photo_ids_order":["1331422690","1331422694","1331422700","1331422707"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/76ae00c598e4dec8c01bfadec82bd65a.jpg","text":"TemporaryFile(/tmp/multipartBody569176058601436155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829233702,"filename":"image_25012025_19_19_02_369214_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c3851c1ac5195794e9a0b912f4a6c66.jpg","text":"TemporaryFile(/tmp/multipartBody5918751218266204674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829233702,"filename":"image_25012025_19_19_02_369214_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bd9af26ba4539fab8eaff2575c364e59.jpg","text":"TemporaryFile(/tmp/multipartBody7318194245539566860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829233702,"filename":"image_25012025_19_18_02_166421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1eeb4e449bb35ab925880acf9f5f5912.jpg","text":"TemporaryFile(/tmp/multipartBody4756147927482872761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829233702,"filename":"image_25012025_19_19_02_369214_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331422700","file1":"1331422694","file0":"1331422690","file3":"1331422707"},"map_files_photo_id_array":[{"photo_id":"1331422700","filename":"file2"},{"photo_id":"1331422694","filename":"file1"},{"photo_id":"1331422690","filename":"file0"},{"photo_id":"1331422707","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331422694":["hashtag1","hashtag2"]},{"1331422700":["hashtag1","hashtag2"]},{"1331422690":["hashtag1","hashtag2"]},{"1331422707":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331422694, 1331422700, 1331422690, 1331422707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.71831488609314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:20:22.431668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/19/image_25012025_19_19_02_369214_0003.jpg', '/home/pi/Desktop/images/25012025/19/20/image_25012025_19_20_02_540276_0000.jpg', '/home/pi/Desktop/images/25012025/19/20/image_25012025_19_20_02_540276_0001.jpg', '/home/pi/Desktop/images/25012025/19/20/image_25012025_19_20_02_540276_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/19/image_25012025_19_19_02_369214_0003.jpg
/home/pi/Desktop/images/25012025/19/20/image_25012025_19_20_02_540276_0000.jpg
/home/pi/Desktop/images/25012025/19/20/image_25012025_19_20_02_540276_0001.jpg
/home/pi/Desktop/images/25012025/19/20/image_25012025_19_20_02_540276_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":["1331423105","1331423040","1331423070","1331423066"],"photo_ids_order":["1331423040","1331423066","1331423070","1331423105"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/84f4314377537d97310eb90a0aa4d14d.jpg","text":"TemporaryFile(/tmp/multipartBody6619311544773075788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829293861,"filename":"image_25012025_19_20_02_540276_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6a0305520f565236e3dc221404d2599d.jpg","text":"TemporaryFile(/tmp/multipartBody2832952500430710223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829293861,"filename":"image_25012025_19_19_02_369214_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7850a6eedf7a7a2b52935b40e2084092.jpg","text":"TemporaryFile(/tmp/multipartBody3007926785439411874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829293861,"filename":"image_25012025_19_20_02_540276_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/570edc7ce287ce5c1e2e76d0c64b422e.jpg","text":"TemporaryFile(/tmp/multipartBody976943008357419378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829293861,"filename":"image_25012025_19_20_02_540276_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331423070","file1":"1331423066","file0":"1331423040","file3":"1331423105"},"map_files_photo_id_array":[{"photo_id":"1331423070","filename":"file2"},{"photo_id":"1331423066","filename":"file1"},{"photo_id":"1331423040","filename":"file0"},{"photo_id":"1331423105","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331423105":["hashtag1","hashtag2"]},{"1331423040":["hashtag1","hashtag2"]},{"1331423070":["hashtag1","hashtag2"]},{"1331423066":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331423105, 1331423040, 1331423070, 1331423066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.072091817855835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 19:21:03.258714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/04/image_21012025_22_04_03_117782_0002.jpg', '/home/pi/Desktop/images/21012025/22/04/image_21012025_22_04_03_117782_0003.jpg', '/home/pi/Desktop/images/21012025/22/05/image_21012025_22_05_02_385749_0000.jpg', '/home/pi/Desktop/images/21012025/22/05/image_21012025_22_05_02_385749_0001.jpg', '/home/pi/Desktop/images/21012025/22/05/image_21012025_22_05_02_385749_0002.jpg', '/home/pi/Desktop/images/21012025/22/05/image_21012025_22_05_02_385749_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/22/04/image_21012025_22_04_03_117782_0002.jpg
/home/pi/Desktop/images/21012025/22/04/image_21012025_22_04_03_117782_0003.jpg
/home/pi/Desktop/images/21012025/22/05/image_21012025_22_05_02_385749_0000.jpg
/home/pi/Desktop/images/21012025/22/05/image_21012025_22_05_02_385749_0001.jpg
/home/pi/Desktop/images/21012025/22/05/image_21012025_22_05_02_385749_0002.jpg
/home/pi/Desktop/images/21012025/22/05/image_21012025_22_05_02_385749_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 [200]>
b'{"photo_ids":["1331423253","1331423247","1331423241","1331423121","1331423250","1331423244"],"photo_ids_order":["1331423121","1331423241","1331423244","1331423247","1331423250","1331423253"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/47d056497b5b11bbbf754787e897effb.jpg","text":"TemporaryFile(/tmp/multipartBody6612083179855618560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829340526,"filename":"image_21012025_22_05_02_385749_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/928d28faa67c6f924dc89babe1bf2b95.jpg","text":"TemporaryFile(/tmp/multipartBody2603473554568084479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829340526,"filename":"image_21012025_22_05_02_385749_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/27f469cf97ffb3919e67bdd652b6d728.jpg","text":"TemporaryFile(/tmp/multipartBody5993893400605397915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829340526,"filename":"image_21012025_22_04_03_117782_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/488800038f7c657940929768ed43d340.jpg","text":"TemporaryFile(/tmp/multipartBody8318373233958157132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829340526,"filename":"image_21012025_22_04_03_117782_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/73a73546016bc5e2378f5d99262295a2.jpg","text":"TemporaryFile(/tmp/multipartBody8994242716627013957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829340526,"filename":"image_21012025_22_05_02_385749_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3fbb0545151d4e109ec5a6cc1f7809eb.jpg","text":"TemporaryFile(/tmp/multipartBody2989347722161458344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829340526,"filename":"image_21012025_22_05_02_385749_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331423244","file1":"1331423241","file0":"1331423121","file4":"1331423250","file5":"1331423253","file3":"1331423247"},"map_files_photo_id_array":[{"photo_id":"1331423253","filename":"file5"},{"photo_id":"1331423244","filename":"file2"},{"photo_id":"1331423250","filename":"file4"},{"photo_id":"1331423241","filename":"file1"},{"photo_id":"1331423121","filename":"file0"},{"photo_id":"1331423247","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331423253":["hashtag1","hashtag2"]},{"1331423247":["hashtag1","hashtag2"]},{"1331423241":["hashtag1","hashtag2"]},{"1331423121":["hashtag1","hashtag2"]},{"1331423250":["hashtag1","hashtag2"]},{"1331423244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331423253, 1331423247, 1331423241, 1331423121, 1331423250, 1331423244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.91266465187073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 19:22:03.236105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/20/image_25012025_19_20_02_540276_0003.jpg', '/home/pi/Desktop/images/25012025/19/21/image_25012025_19_21_02_763494_0000.jpg', '/home/pi/Desktop/images/25012025/19/21/image_25012025_19_21_02_763494_0001.jpg', '/home/pi/Desktop/images/25012025/19/21/image_25012025_19_21_02_763494_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/20/image_25012025_19_20_02_540276_0003.jpg
/home/pi/Desktop/images/25012025/19/21/image_25012025_19_21_02_763494_0000.jpg
/home/pi/Desktop/images/25012025/19/21/image_25012025_19_21_02_763494_0001.jpg
/home/pi/Desktop/images/25012025/19/21/image_25012025_19_21_02_763494_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":["1331423366","1331423370","1331423358","1331423361"],"photo_ids_order":["1331423358","1331423361","1331423366","1331423370"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/49dd01b97399260f3fa7d12890b19056.jpg","text":"TemporaryFile(/tmp/multipartBody672687797982116196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829394791,"filename":"image_25012025_19_21_02_763494_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7dbb9c76addc268d8dfe97bd02639f20.jpg","text":"TemporaryFile(/tmp/multipartBody6005249338182100740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829394791,"filename":"image_25012025_19_21_02_763494_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dc809054af696af86b53c459f36a6407.jpg","text":"TemporaryFile(/tmp/multipartBody7676249482590756266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829394791,"filename":"image_25012025_19_20_02_540276_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0d05d5f0b9c7db50e5355a4402aaabe6.jpg","text":"TemporaryFile(/tmp/multipartBody3231168737824719092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829394791,"filename":"image_25012025_19_21_02_763494_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331423366","file1":"1331423361","file0":"1331423358","file3":"1331423370"},"map_files_photo_id_array":[{"photo_id":"1331423366","filename":"file2"},{"photo_id":"1331423361","filename":"file1"},{"photo_id":"1331423358","filename":"file0"},{"photo_id":"1331423370","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331423366":["hashtag1","hashtag2"]},{"1331423370":["hashtag1","hashtag2"]},{"1331423358":["hashtag1","hashtag2"]},{"1331423361":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331423366, 1331423370, 1331423358, 1331423361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.40803337097168 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 19:22:52.831615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/21/image_25012025_19_21_02_763494_0003.jpg', '/home/pi/Desktop/images/25012025/19/22/image_25012025_19_22_02_948485_0000.jpg', '/home/pi/Desktop/images/25012025/19/22/image_25012025_19_22_02_948485_0001.jpg', '/home/pi/Desktop/images/25012025/19/22/image_25012025_19_22_02_948485_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/21/image_25012025_19_21_02_763494_0003.jpg
/home/pi/Desktop/images/25012025/19/22/image_25012025_19_22_02_948485_0000.jpg
/home/pi/Desktop/images/25012025/19/22/image_25012025_19_22_02_948485_0001.jpg
/home/pi/Desktop/images/25012025/19/22/image_25012025_19_22_02_948485_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: 10.641460180282593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:23:22.071914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/21/image_25012025_19_21_02_763494_0003.jpg', '/home/pi/Desktop/images/25012025/19/22/image_25012025_19_22_02_948485_0000.jpg', '/home/pi/Desktop/images/25012025/19/22/image_25012025_19_22_02_948485_0001.jpg', '/home/pi/Desktop/images/25012025/19/22/image_25012025_19_22_02_948485_0002.jpg', '/home/pi/Desktop/images/25012025/19/22/image_25012025_19_22_02_948485_0003.jpg', '/home/pi/Desktop/images/25012025/19/23/image_25012025_19_23_03_160748_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/21/image_25012025_19_21_02_763494_0003.jpg
/home/pi/Desktop/images/25012025/19/22/image_25012025_19_22_02_948485_0000.jpg
/home/pi/Desktop/images/25012025/19/22/image_25012025_19_22_02_948485_0001.jpg
/home/pi/Desktop/images/25012025/19/22/image_25012025_19_22_02_948485_0002.jpg
/home/pi/Desktop/images/25012025/19/22/image_25012025_19_22_02_948485_0003.jpg
/home/pi/Desktop/images/25012025/19/23/image_25012025_19_23_03_160748_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 [200]>
b'{"photo_ids":["1331423695","1331423698","1331423683","1331423691","1331423679","1331423687"],"photo_ids_order":["1331423679","1331423683","1331423687","1331423691","1331423695","1331423698"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/568d0036f91731b5762e29de04756386.jpg","text":"TemporaryFile(/tmp/multipartBody4260104833453850788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829478346,"filename":"image_25012025_19_22_02_948485_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/73d1df3e832b583895ae2e8f9586e741.jpg","text":"TemporaryFile(/tmp/multipartBody2602505421098724161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829478346,"filename":"image_25012025_19_23_03_160748_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e51c0bd39ddeef247070cc8399b2afd5.jpg","text":"TemporaryFile(/tmp/multipartBody4234355725881910310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829478346,"filename":"image_25012025_19_22_02_948485_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e13c2b845b098ef62a026e1d4c25ddb3.jpg","text":"TemporaryFile(/tmp/multipartBody7690939404124789481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829478346,"filename":"image_25012025_19_22_02_948485_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/90b73cc7825405a9cbb4cacf7650725f.jpg","text":"TemporaryFile(/tmp/multipartBody72889501452295897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829478346,"filename":"image_25012025_19_21_02_763494_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c2e4decf90c69131bfa08e3b144b627c.jpg","text":"TemporaryFile(/tmp/multipartBody1664648669709862739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829478346,"filename":"image_25012025_19_22_02_948485_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331423687","file1":"1331423683","file0":"1331423679","file4":"1331423695","file5":"1331423698","file3":"1331423691"},"map_files_photo_id_array":[{"photo_id":"1331423698","filename":"file5"},{"photo_id":"1331423687","filename":"file2"},{"photo_id":"1331423695","filename":"file4"},{"photo_id":"1331423683","filename":"file1"},{"photo_id":"1331423679","filename":"file0"},{"photo_id":"1331423691","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331423695":["hashtag1","hashtag2"]},{"1331423698":["hashtag1","hashtag2"]},{"1331423683":["hashtag1","hashtag2"]},{"1331423691":["hashtag1","hashtag2"]},{"1331423679":["hashtag1","hashtag2"]},{"1331423687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331423695, 1331423698, 1331423683, 1331423691, 1331423679, 1331423687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.214948892593384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:24:22.227174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/23/image_25012025_19_23_03_160748_0001.jpg', '/home/pi/Desktop/images/25012025/19/23/image_25012025_19_23_03_160748_0002.jpg', '/home/pi/Desktop/images/25012025/19/23/image_25012025_19_23_03_160748_0003.jpg', '/home/pi/Desktop/images/25012025/19/24/image_25012025_19_24_02_336751_0000.jpg', '/home/pi/Desktop/images/25012025/19/24/image_25012025_19_24_02_336751_0001.jpg', '/home/pi/Desktop/images/25012025/19/24/image_25012025_19_24_02_336751_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/23/image_25012025_19_23_03_160748_0001.jpg
/home/pi/Desktop/images/25012025/19/23/image_25012025_19_23_03_160748_0002.jpg
/home/pi/Desktop/images/25012025/19/23/image_25012025_19_23_03_160748_0003.jpg
/home/pi/Desktop/images/25012025/19/24/image_25012025_19_24_02_336751_0000.jpg
/home/pi/Desktop/images/25012025/19/24/image_25012025_19_24_02_336751_0001.jpg
/home/pi/Desktop/images/25012025/19/24/image_25012025_19_24_02_336751_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 [200]>
b'{"photo_ids":["1331423729","1331423725","1331423713","1331423722","1331423718","1331423732"],"photo_ids_order":["1331423713","1331423718","1331423722","1331423725","1331423729","1331423732"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/93bae267fd9a6eadc00f5a5e62891f28.jpg","text":"TemporaryFile(/tmp/multipartBody8974919426772755459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829539291,"filename":"image_25012025_19_24_02_336751_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6e6cb0db0df9094bde972b6826ae529e.jpg","text":"TemporaryFile(/tmp/multipartBody852902298076047867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829539291,"filename":"image_25012025_19_24_02_336751_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3e103413d5317a2da1cdcb948a377075.jpg","text":"TemporaryFile(/tmp/multipartBody1331462717937430593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829539291,"filename":"image_25012025_19_23_03_160748_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a2014e13487d6477425960aa58e82632.jpg","text":"TemporaryFile(/tmp/multipartBody1031293116465197995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829539291,"filename":"image_25012025_19_23_03_160748_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/478a2183a79b4e07c396ef2d32672ce4.jpg","text":"TemporaryFile(/tmp/multipartBody7918994067780184082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829539291,"filename":"image_25012025_19_23_03_160748_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f6e47535fedebbaea6c5c45ad677ea1e.jpg","text":"TemporaryFile(/tmp/multipartBody606326818852824200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829539291,"filename":"image_25012025_19_24_02_336751_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331423722","file1":"1331423718","file0":"1331423713","file4":"1331423729","file5":"1331423732","file3":"1331423725"},"map_files_photo_id_array":[{"photo_id":"1331423732","filename":"file5"},{"photo_id":"1331423722","filename":"file2"},{"photo_id":"1331423729","filename":"file4"},{"photo_id":"1331423718","filename":"file1"},{"photo_id":"1331423713","filename":"file0"},{"photo_id":"1331423725","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331423729":["hashtag1","hashtag2"]},{"1331423725":["hashtag1","hashtag2"]},{"1331423713":["hashtag1","hashtag2"]},{"1331423722":["hashtag1","hashtag2"]},{"1331423718":["hashtag1","hashtag2"]},{"1331423732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331423729, 1331423725, 1331423713, 1331423722, 1331423718, 1331423732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.92230677604675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:25:22.339516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/24/image_25012025_19_24_02_336751_0003.jpg', '/home/pi/Desktop/images/25012025/19/25/image_25012025_19_25_02_623882_0000.jpg', '/home/pi/Desktop/images/25012025/19/25/image_25012025_19_25_02_623882_0001.jpg', '/home/pi/Desktop/images/25012025/19/25/image_25012025_19_25_02_623882_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/24/image_25012025_19_24_02_336751_0003.jpg
/home/pi/Desktop/images/25012025/19/25/image_25012025_19_25_02_623882_0000.jpg
/home/pi/Desktop/images/25012025/19/25/image_25012025_19_25_02_623882_0001.jpg
/home/pi/Desktop/images/25012025/19/25/image_25012025_19_25_02_623882_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":["1331423797","1331423857","1331423908","1331423799"],"photo_ids_order":["1331423797","1331423799","1331423857","1331423908"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/12101f17884278767784a76ec3331680.jpg","text":"TemporaryFile(/tmp/multipartBody7597169858182123959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829593689,"filename":"image_25012025_19_24_02_336751_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/99b66e304bd55757922e9d38438983e8.jpg","text":"TemporaryFile(/tmp/multipartBody5752692145624785147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829593689,"filename":"image_25012025_19_25_02_623882_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/934b3e82194fbf89d96b6dd194bdc8de.jpg","text":"TemporaryFile(/tmp/multipartBody7399924493985108701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829593689,"filename":"image_25012025_19_25_02_623882_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c676fd208bd4e265d7089d1db0ad2697.jpg","text":"TemporaryFile(/tmp/multipartBody151218549515015197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829593689,"filename":"image_25012025_19_25_02_623882_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331423857","file1":"1331423799","file0":"1331423797","file3":"1331423908"},"map_files_photo_id_array":[{"photo_id":"1331423857","filename":"file2"},{"photo_id":"1331423799","filename":"file1"},{"photo_id":"1331423797","filename":"file0"},{"photo_id":"1331423908","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331423797":["hashtag1","hashtag2"]},{"1331423857":["hashtag1","hashtag2"]},{"1331423908":["hashtag1","hashtag2"]},{"1331423799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331423797, 1331423857, 1331423908, 1331423799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.76761770248413 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-25 19:26:22.613648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/25/image_25012025_19_25_02_623882_0003.jpg', '/home/pi/Desktop/images/25012025/19/26/image_25012025_19_26_02_728951_0000.jpg', '/home/pi/Desktop/images/25012025/19/26/image_25012025_19_26_02_728951_0001.jpg', '/home/pi/Desktop/images/25012025/19/26/image_25012025_19_26_02_728951_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/25/image_25012025_19_25_02_623882_0003.jpg
/home/pi/Desktop/images/25012025/19/26/image_25012025_19_26_02_728951_0000.jpg
/home/pi/Desktop/images/25012025/19/26/image_25012025_19_26_02_728951_0001.jpg
/home/pi/Desktop/images/25012025/19/26/image_25012025_19_26_02_728951_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 [200]>
b'{"photo_ids":["1331424037","1331424031","1331424033","1331424042"],"photo_ids_order":["1331424031","1331424033","1331424037","1331424042"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ccef2204393e4edbcce28827292ac6a4.jpg","text":"TemporaryFile(/tmp/multipartBody6132485621722236049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829653908,"filename":"image_25012025_19_26_02_728951_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bb9aaca60950a3efca064e172aea5b5a.jpg","text":"TemporaryFile(/tmp/multipartBody3153283525671624356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829653908,"filename":"image_25012025_19_25_02_623882_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ede5021eeea771960b7bb58422a257d4.jpg","text":"TemporaryFile(/tmp/multipartBody5082684440528187967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829653908,"filename":"image_25012025_19_26_02_728951_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d7ced9b5afffd20898948f75f4d39edb.jpg","text":"TemporaryFile(/tmp/multipartBody381907482941166486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829653908,"filename":"image_25012025_19_26_02_728951_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331424037","file1":"1331424033","file0":"1331424031","file3":"1331424042"},"map_files_photo_id_array":[{"photo_id":"1331424037","filename":"file2"},{"photo_id":"1331424033","filename":"file1"},{"photo_id":"1331424031","filename":"file0"},{"photo_id":"1331424042","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331424037":["hashtag1","hashtag2"]},{"1331424031":["hashtag1","hashtag2"]},{"1331424033":["hashtag1","hashtag2"]},{"1331424042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331424037, 1331424031, 1331424033, 1331424042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.77139091491699 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:27:22.834877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/26/image_25012025_19_26_02_728951_0003.jpg', '/home/pi/Desktop/images/25012025/19/27/image_25012025_19_27_02_911719_0000.jpg', '/home/pi/Desktop/images/25012025/19/27/image_25012025_19_27_02_911719_0001.jpg', '/home/pi/Desktop/images/25012025/19/27/image_25012025_19_27_02_911719_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/26/image_25012025_19_26_02_728951_0003.jpg
/home/pi/Desktop/images/25012025/19/27/image_25012025_19_27_02_911719_0000.jpg
/home/pi/Desktop/images/25012025/19/27/image_25012025_19_27_02_911719_0001.jpg
/home/pi/Desktop/images/25012025/19/27/image_25012025_19_27_02_911719_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 [200]>
b'{"photo_ids":["1331424079","1331424067","1331424070","1331424075"],"photo_ids_order":["1331424067","1331424070","1331424075","1331424079"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/62595f302417a28c5f4135c0584fef7e.jpg","text":"TemporaryFile(/tmp/multipartBody8299526494792274636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829714083,"filename":"image_25012025_19_27_02_911719_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9d06c63ef743583e1d38bf7e884beb24.jpg","text":"TemporaryFile(/tmp/multipartBody1197594878800810254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829714083,"filename":"image_25012025_19_26_02_728951_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8471d0e1ba19e534cca2f6901a320cb1.jpg","text":"TemporaryFile(/tmp/multipartBody274005242201443427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829714083,"filename":"image_25012025_19_27_02_911719_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/504dc2ddcf01e0ae8dfa25682f29ae4d.jpg","text":"TemporaryFile(/tmp/multipartBody210356957085105704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829714083,"filename":"image_25012025_19_27_02_911719_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331424075","file1":"1331424070","file0":"1331424067","file3":"1331424079"},"map_files_photo_id_array":[{"photo_id":"1331424075","filename":"file2"},{"photo_id":"1331424070","filename":"file1"},{"photo_id":"1331424067","filename":"file0"},{"photo_id":"1331424079","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331424079":["hashtag1","hashtag2"]},{"1331424067":["hashtag1","hashtag2"]},{"1331424070":["hashtag1","hashtag2"]},{"1331424075":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331424079, 1331424067, 1331424070, 1331424075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.13894534111023 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:28:21.952003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/27/image_25012025_19_27_02_911719_0003.jpg', '/home/pi/Desktop/images/25012025/19/28/image_25012025_19_28_03_115331_0000.jpg', '/home/pi/Desktop/images/25012025/19/28/image_25012025_19_28_03_115331_0001.jpg', '/home/pi/Desktop/images/25012025/19/28/image_25012025_19_28_03_115331_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/27/image_25012025_19_27_02_911719_0003.jpg
/home/pi/Desktop/images/25012025/19/28/image_25012025_19_28_03_115331_0000.jpg
/home/pi/Desktop/images/25012025/19/28/image_25012025_19_28_03_115331_0001.jpg
/home/pi/Desktop/images/25012025/19/28/image_25012025_19_28_03_115331_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":["1331424154","1331424142","1331424135","1331424149"],"photo_ids_order":["1331424135","1331424142","1331424149","1331424154"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b3e9551a66ad1f8245d9c52c2543cb8c.jpg","text":"TemporaryFile(/tmp/multipartBody1052792339497451704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829773022,"filename":"image_25012025_19_28_03_115331_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d501cdc10dc8ad1e6301dec4cd98749b.jpg","text":"TemporaryFile(/tmp/multipartBody4908030768230623250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829773022,"filename":"image_25012025_19_28_03_115331_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ac0f8a2a9c187192cada6ecf66ea7469.jpg","text":"TemporaryFile(/tmp/multipartBody7390997064131902695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829773022,"filename":"image_25012025_19_27_02_911719_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8cdaa9779dee8676a01ad88c1b196580.jpg","text":"TemporaryFile(/tmp/multipartBody8562356638138496904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829773022,"filename":"image_25012025_19_28_03_115331_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331424149","file1":"1331424142","file0":"1331424135","file3":"1331424154"},"map_files_photo_id_array":[{"photo_id":"1331424149","filename":"file2"},{"photo_id":"1331424142","filename":"file1"},{"photo_id":"1331424135","filename":"file0"},{"photo_id":"1331424154","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331424154":["hashtag1","hashtag2"]},{"1331424142":["hashtag1","hashtag2"]},{"1331424135":["hashtag1","hashtag2"]},{"1331424149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331424154, 1331424142, 1331424135, 1331424149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08609056472778 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 19:29:02.811116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/06/image_21012025_22_06_02_437118_0000.jpg', '/home/pi/Desktop/images/21012025/22/06/image_21012025_22_06_02_437118_0001.jpg', '/home/pi/Desktop/images/21012025/22/06/image_21012025_22_06_02_437118_0002.jpg', '/home/pi/Desktop/images/21012025/22/06/image_21012025_22_06_02_437118_0003.jpg', '/home/pi/Desktop/images/21012025/22/07/image_21012025_22_07_02_607695_0000.jpg', '/home/pi/Desktop/images/21012025/22/07/image_21012025_22_07_02_607695_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/22/06/image_21012025_22_06_02_437118_0000.jpg
/home/pi/Desktop/images/21012025/22/06/image_21012025_22_06_02_437118_0001.jpg
/home/pi/Desktop/images/21012025/22/06/image_21012025_22_06_02_437118_0002.jpg
/home/pi/Desktop/images/21012025/22/06/image_21012025_22_06_02_437118_0003.jpg
/home/pi/Desktop/images/21012025/22/07/image_21012025_22_07_02_607695_0000.jpg
/home/pi/Desktop/images/21012025/22/07/image_21012025_22_07_02_607695_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":["1331424172","1331424189","1331424183","1331424176","1331424167","1331424196"],"photo_ids_order":["1331424167","1331424172","1331424176","1331424183","1331424189","1331424196"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/df38545605d851a99960d092fb275247.jpg","text":"TemporaryFile(/tmp/multipartBody2514636596418864407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829819560,"filename":"image_21012025_22_06_02_437118_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c7a47808b0e8e967292da5dd57f8fcea.jpg","text":"TemporaryFile(/tmp/multipartBody5941852470775909496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829819560,"filename":"image_21012025_22_07_02_607695_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fd600cc0c3b019dcc03e138acba40e6e.jpg","text":"TemporaryFile(/tmp/multipartBody4402444214135172370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829819560,"filename":"image_21012025_22_06_02_437118_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ca303200abaa132b54e6d9a018dd05a8.jpg","text":"TemporaryFile(/tmp/multipartBody9126976276836713262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829819560,"filename":"image_21012025_22_06_02_437118_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/84a6d2cea976ca68512e2b49410f9a80.jpg","text":"TemporaryFile(/tmp/multipartBody4145330964794603881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829819560,"filename":"image_21012025_22_06_02_437118_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/95b66c11f70e18510412d19b08fdc4fa.jpg","text":"TemporaryFile(/tmp/multipartBody8065215650395330212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829819560,"filename":"image_21012025_22_07_02_607695_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331424176","file1":"1331424172","file0":"1331424167","file4":"1331424189","file5":"1331424196","file3":"1331424183"},"map_files_photo_id_array":[{"photo_id":"1331424196","filename":"file5"},{"photo_id":"1331424176","filename":"file2"},{"photo_id":"1331424189","filename":"file4"},{"photo_id":"1331424172","filename":"file1"},{"photo_id":"1331424167","filename":"file0"},{"photo_id":"1331424183","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331424172":["hashtag1","hashtag2"]},{"1331424189":["hashtag1","hashtag2"]},{"1331424183":["hashtag1","hashtag2"]},{"1331424176":["hashtag1","hashtag2"]},{"1331424167":["hashtag1","hashtag2"]},{"1331424196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331424172, 1331424189, 1331424183, 1331424176, 1331424167, 1331424196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.36262106895447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 19:30:02.892720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/28/image_25012025_19_28_03_115331_0003.jpg', '/home/pi/Desktop/images/25012025/19/29/image_25012025_19_29_02_303234_0000.jpg', '/home/pi/Desktop/images/25012025/19/29/image_25012025_19_29_02_303234_0001.jpg', '/home/pi/Desktop/images/25012025/19/29/image_25012025_19_29_02_303234_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/28/image_25012025_19_28_03_115331_0003.jpg
/home/pi/Desktop/images/25012025/19/29/image_25012025_19_29_02_303234_0000.jpg
/home/pi/Desktop/images/25012025/19/29/image_25012025_19_29_02_303234_0001.jpg
/home/pi/Desktop/images/25012025/19/29/image_25012025_19_29_02_303234_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":["1331424215","1331424211","1331424357","1331424327"],"photo_ids_order":["1331424211","1331424215","1331424327","1331424357"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c03afd6f938fb05688a273fbbeb57d9d.jpg","text":"TemporaryFile(/tmp/multipartBody4707926042559397549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829874806,"filename":"image_25012025_19_29_02_303234_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4ec9f4436868023c42c36dc60de12376.jpg","text":"TemporaryFile(/tmp/multipartBody6624215600527799974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829874806,"filename":"image_25012025_19_28_03_115331_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/74ccc9867bf807a84c35b8661eacd86e.jpg","text":"TemporaryFile(/tmp/multipartBody6051922305916727715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829874806,"filename":"image_25012025_19_29_02_303234_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8fea543be6647a0e10eb1aa860377214.jpg","text":"TemporaryFile(/tmp/multipartBody6349769161008148498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829874806,"filename":"image_25012025_19_29_02_303234_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331424327","file1":"1331424215","file0":"1331424211","file3":"1331424357"},"map_files_photo_id_array":[{"photo_id":"1331424327","filename":"file2"},{"photo_id":"1331424215","filename":"file1"},{"photo_id":"1331424211","filename":"file0"},{"photo_id":"1331424357","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331424215":["hashtag1","hashtag2"]},{"1331424211":["hashtag1","hashtag2"]},{"1331424357":["hashtag1","hashtag2"]},{"1331424327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331424215, 1331424211, 1331424357, 1331424327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.37314987182617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 19:30:52.402437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/29/image_25012025_19_29_02_303234_0003.jpg', '/home/pi/Desktop/images/25012025/19/30/image_25012025_19_30_02_444364_0000.jpg', '/home/pi/Desktop/images/25012025/19/30/image_25012025_19_30_02_444364_0001.jpg', '/home/pi/Desktop/images/25012025/19/30/image_25012025_19_30_02_444364_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/29/image_25012025_19_29_02_303234_0003.jpg
/home/pi/Desktop/images/25012025/19/30/image_25012025_19_30_02_444364_0000.jpg
/home/pi/Desktop/images/25012025/19/30/image_25012025_19_30_02_444364_0001.jpg
/home/pi/Desktop/images/25012025/19/30/image_25012025_19_30_02_444364_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":["1331424448","1331424432","1331424443","1331424437"],"photo_ids_order":["1331424432","1331424437","1331424443","1331424448"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b457b815075a0cb7d2e4fbd992fec809.jpg","text":"TemporaryFile(/tmp/multipartBody2945926680984327330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829924332,"filename":"image_25012025_19_30_02_444364_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a9f97f18ef4cb560b9e2b82fd5da08c6.jpg","text":"TemporaryFile(/tmp/multipartBody3522486760285066383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829924332,"filename":"image_25012025_19_29_02_303234_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/97a312f03b756664766b6c38be360ecf.jpg","text":"TemporaryFile(/tmp/multipartBody2572310700608826850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829924332,"filename":"image_25012025_19_30_02_444364_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/21e79def1ae2b22e860d7a33efc5c6a4.jpg","text":"TemporaryFile(/tmp/multipartBody2763489231454225423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829924332,"filename":"image_25012025_19_30_02_444364_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331424443","file1":"1331424437","file0":"1331424432","file3":"1331424448"},"map_files_photo_id_array":[{"photo_id":"1331424443","filename":"file2"},{"photo_id":"1331424437","filename":"file1"},{"photo_id":"1331424432","filename":"file0"},{"photo_id":"1331424448","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331424448":["hashtag1","hashtag2"]},{"1331424432":["hashtag1","hashtag2"]},{"1331424443":["hashtag1","hashtag2"]},{"1331424437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331424448, 1331424432, 1331424443, 1331424437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.947683334350586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 19:31:32.536490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/30/image_25012025_19_30_02_444364_0003.jpg', '/home/pi/Desktop/images/25012025/19/31/image_25012025_19_31_02_778797_0000.jpg', '/home/pi/Desktop/images/25012025/19/31/image_25012025_19_31_02_778797_0001.jpg', '/home/pi/Desktop/images/25012025/19/31/image_25012025_19_31_02_778797_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/30/image_25012025_19_30_02_444364_0003.jpg
/home/pi/Desktop/images/25012025/19/31/image_25012025_19_31_02_778797_0000.jpg
/home/pi/Desktop/images/25012025/19/31/image_25012025_19_31_02_778797_0001.jpg
/home/pi/Desktop/images/25012025/19/31/image_25012025_19_31_02_778797_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":["1331424787","1331424688","1331424739","1331424791"],"photo_ids_order":["1331424688","1331424739","1331424787","1331424791"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7a640c49605d53615dcef22dbaa28980.jpg","text":"TemporaryFile(/tmp/multipartBody678118907139499345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829963658,"filename":"image_25012025_19_31_02_778797_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e9eb5b3a077f2bfd7e224c05a7fd77c5.jpg","text":"TemporaryFile(/tmp/multipartBody5412108858889173842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829963658,"filename":"image_25012025_19_30_02_444364_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5327fee0906bee43ac1409474d7679a3.jpg","text":"TemporaryFile(/tmp/multipartBody4565878136417646540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829963658,"filename":"image_25012025_19_31_02_778797_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1dc285445e4aa10aa11cccd0bd48414b.jpg","text":"TemporaryFile(/tmp/multipartBody6899381487989208095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737829963658,"filename":"image_25012025_19_31_02_778797_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331424787","file1":"1331424739","file0":"1331424688","file3":"1331424791"},"map_files_photo_id_array":[{"photo_id":"1331424787","filename":"file2"},{"photo_id":"1331424739","filename":"file1"},{"photo_id":"1331424688","filename":"file0"},{"photo_id":"1331424791","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331424787":["hashtag1","hashtag2"]},{"1331424688":["hashtag1","hashtag2"]},{"1331424739":["hashtag1","hashtag2"]},{"1331424791":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331424787, 1331424688, 1331424739, 1331424791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.010534048080444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:32:22.801056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/31/image_25012025_19_31_02_778797_0003.jpg', '/home/pi/Desktop/images/25012025/19/32/image_25012025_19_32_02_973354_0000.jpg', '/home/pi/Desktop/images/25012025/19/32/image_25012025_19_32_02_973354_0001.jpg', '/home/pi/Desktop/images/25012025/19/32/image_25012025_19_32_02_973354_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/31/image_25012025_19_31_02_778797_0003.jpg
/home/pi/Desktop/images/25012025/19/32/image_25012025_19_32_02_973354_0000.jpg
/home/pi/Desktop/images/25012025/19/32/image_25012025_19_32_02_973354_0001.jpg
/home/pi/Desktop/images/25012025/19/32/image_25012025_19_32_02_973354_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 [200]>
b'{"photo_ids":["1331424928","1331424922","1331424931","1331424925"],"photo_ids_order":["1331424922","1331424925","1331424928","1331424931"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/27f7a161715bd7169c89e272b2b59b79.jpg","text":"TemporaryFile(/tmp/multipartBody8516587532654359556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830014242,"filename":"image_25012025_19_32_02_973354_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d6291e92e09d925bda027161d6aa2e45.jpg","text":"TemporaryFile(/tmp/multipartBody4840172905263089827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830014242,"filename":"image_25012025_19_31_02_778797_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/68f0499032fd0ba730b9b9f7648438ec.jpg","text":"TemporaryFile(/tmp/multipartBody2448009372940339959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830014242,"filename":"image_25012025_19_32_02_973354_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/104be3248ea0c8141221435c94fd3f9b.jpg","text":"TemporaryFile(/tmp/multipartBody4094884463541222569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830014242,"filename":"image_25012025_19_32_02_973354_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331424928","file1":"1331424925","file0":"1331424922","file3":"1331424931"},"map_files_photo_id_array":[{"photo_id":"1331424928","filename":"file2"},{"photo_id":"1331424925","filename":"file1"},{"photo_id":"1331424922","filename":"file0"},{"photo_id":"1331424931","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331424928":["hashtag1","hashtag2"]},{"1331424922":["hashtag1","hashtag2"]},{"1331424931":["hashtag1","hashtag2"]},{"1331424925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331424928, 1331424922, 1331424931, 1331424925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.49592852592468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:33:21.944801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/32/image_25012025_19_32_02_973354_0003.jpg', '/home/pi/Desktop/images/25012025/19/33/image_25012025_19_33_03_153044_0000.jpg', '/home/pi/Desktop/images/25012025/19/33/image_25012025_19_33_03_153044_0001.jpg', '/home/pi/Desktop/images/25012025/19/33/image_25012025_19_33_03_153044_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/32/image_25012025_19_32_02_973354_0003.jpg
/home/pi/Desktop/images/25012025/19/33/image_25012025_19_33_03_153044_0000.jpg
/home/pi/Desktop/images/25012025/19/33/image_25012025_19_33_03_153044_0001.jpg
/home/pi/Desktop/images/25012025/19/33/image_25012025_19_33_03_153044_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 [200]>
b'{"photo_ids":["1331424961","1331424957","1331424953","1331424965"],"photo_ids_order":["1331424953","1331424957","1331424961","1331424965"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/69672a4cf4ef9ae9adf6c0b83e5677d7.jpg","text":"TemporaryFile(/tmp/multipartBody4768861444503486098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830073171,"filename":"image_25012025_19_33_03_153044_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cbcda93c807b7ec7a228bd1263f8a273.jpg","text":"TemporaryFile(/tmp/multipartBody1499477938011641604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830073171,"filename":"image_25012025_19_33_03_153044_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d250c188dc96bfd8f9405c2cd87ff840.jpg","text":"TemporaryFile(/tmp/multipartBody4665282747040467739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830073171,"filename":"image_25012025_19_32_02_973354_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/283c55825ec5b54737f756adff15ca39.jpg","text":"TemporaryFile(/tmp/multipartBody8609257117247111708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830073171,"filename":"image_25012025_19_33_03_153044_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331424961","file1":"1331424957","file0":"1331424953","file3":"1331424965"},"map_files_photo_id_array":[{"photo_id":"1331424961","filename":"file2"},{"photo_id":"1331424957","filename":"file1"},{"photo_id":"1331424953","filename":"file0"},{"photo_id":"1331424965","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331424961":["hashtag1","hashtag2"]},{"1331424957":["hashtag1","hashtag2"]},{"1331424953":["hashtag1","hashtag2"]},{"1331424965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331424961, 1331424957, 1331424953, 1331424965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.98579025268555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:34:22.143229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/33/image_25012025_19_33_03_153044_0003.jpg', '/home/pi/Desktop/images/25012025/19/34/image_25012025_19_34_02_357992_0000.jpg', '/home/pi/Desktop/images/25012025/19/34/image_25012025_19_34_02_357992_0001.jpg', '/home/pi/Desktop/images/25012025/19/34/image_25012025_19_34_02_357992_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/33/image_25012025_19_33_03_153044_0003.jpg
/home/pi/Desktop/images/25012025/19/34/image_25012025_19_34_02_357992_0000.jpg
/home/pi/Desktop/images/25012025/19/34/image_25012025_19_34_02_357992_0001.jpg
/home/pi/Desktop/images/25012025/19/34/image_25012025_19_34_02_357992_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 [200]>
b'{"photo_ids":["1331424993","1331424990","1331424986","1331424982"],"photo_ids_order":["1331424982","1331424986","1331424990","1331424993"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3a479324df07ed187bcdb29fbf5defc9.jpg","text":"TemporaryFile(/tmp/multipartBody5984545671357733229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830133424,"filename":"image_25012025_19_34_02_357992_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/77c30aabff3b732278466a0564aab004.jpg","text":"TemporaryFile(/tmp/multipartBody6418758814688630062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830133424,"filename":"image_25012025_19_34_02_357992_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a75f5309d493d33c004d15fe6bf9136f.jpg","text":"TemporaryFile(/tmp/multipartBody5158672633088743547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830133424,"filename":"image_25012025_19_34_02_357992_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/406c24c471fdb19aeba95ae356acc9a8.jpg","text":"TemporaryFile(/tmp/multipartBody7926550892007594365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830133424,"filename":"image_25012025_19_33_03_153044_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331424990","file1":"1331424986","file0":"1331424982","file3":"1331424993"},"map_files_photo_id_array":[{"photo_id":"1331424990","filename":"file2"},{"photo_id":"1331424986","filename":"file1"},{"photo_id":"1331424982","filename":"file0"},{"photo_id":"1331424993","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331424993":["hashtag1","hashtag2"]},{"1331424990":["hashtag1","hashtag2"]},{"1331424986":["hashtag1","hashtag2"]},{"1331424982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331424993, 1331424990, 1331424986, 1331424982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.08260536193848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:35:22.380805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/34/image_25012025_19_34_02_357992_0003.jpg', '/home/pi/Desktop/images/25012025/19/35/image_25012025_19_35_02_514397_0000.jpg', '/home/pi/Desktop/images/25012025/19/35/image_25012025_19_35_02_514397_0001.jpg', '/home/pi/Desktop/images/25012025/19/35/image_25012025_19_35_02_514397_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/34/image_25012025_19_34_02_357992_0003.jpg
/home/pi/Desktop/images/25012025/19/35/image_25012025_19_35_02_514397_0000.jpg
/home/pi/Desktop/images/25012025/19/35/image_25012025_19_35_02_514397_0001.jpg
/home/pi/Desktop/images/25012025/19/35/image_25012025_19_35_02_514397_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":["1331425024","1331425020","1331425014","1331425017"],"photo_ids_order":["1331425014","1331425017","1331425020","1331425024"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bacc2bcfbbd6802f4f082c0e4eab8963.jpg","text":"TemporaryFile(/tmp/multipartBody4857676642926489216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830193643,"filename":"image_25012025_19_35_02_514397_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ed76ce596e0097f52cb44c3636980981.jpg","text":"TemporaryFile(/tmp/multipartBody4331950311219641536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830193643,"filename":"image_25012025_19_35_02_514397_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e3a7d25197afa758fae9174d0d1d3980.jpg","text":"TemporaryFile(/tmp/multipartBody4900630927974905569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830193643,"filename":"image_25012025_19_34_02_357992_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8fe4d51335ee971cb9fd45bcc4789a62.jpg","text":"TemporaryFile(/tmp/multipartBody5277411405876470673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830193643,"filename":"image_25012025_19_35_02_514397_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331425020","file1":"1331425017","file0":"1331425014","file3":"1331425024"},"map_files_photo_id_array":[{"photo_id":"1331425020","filename":"file2"},{"photo_id":"1331425017","filename":"file1"},{"photo_id":"1331425014","filename":"file0"},{"photo_id":"1331425024","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331425024":["hashtag1","hashtag2"]},{"1331425020":["hashtag1","hashtag2"]},{"1331425014":["hashtag1","hashtag2"]},{"1331425017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331425024, 1331425020, 1331425014, 1331425017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.20581936836243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 19:36:02.815050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/07/image_21012025_22_07_02_607695_0002.jpg', '/home/pi/Desktop/images/21012025/22/07/image_21012025_22_07_02_607695_0003.jpg', '/home/pi/Desktop/images/21012025/22/08/image_21012025_22_08_02_743324_0000.jpg', '/home/pi/Desktop/images/21012025/22/08/image_21012025_22_08_02_743324_0001.jpg', '/home/pi/Desktop/images/21012025/22/08/image_21012025_22_08_02_743324_0002.jpg', '/home/pi/Desktop/images/21012025/22/08/image_21012025_22_08_02_743324_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/22/07/image_21012025_22_07_02_607695_0002.jpg
/home/pi/Desktop/images/21012025/22/07/image_21012025_22_07_02_607695_0003.jpg
/home/pi/Desktop/images/21012025/22/08/image_21012025_22_08_02_743324_0000.jpg
/home/pi/Desktop/images/21012025/22/08/image_21012025_22_08_02_743324_0001.jpg
/home/pi/Desktop/images/21012025/22/08/image_21012025_22_08_02_743324_0002.jpg
/home/pi/Desktop/images/21012025/22/08/image_21012025_22_08_02_743324_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 [200]>
b'{"photo_ids":["1331425056","1331425053","1331425055","1331425049","1331425058","1331425043"],"photo_ids_order":["1331425043","1331425049","1331425053","1331425055","1331425056","1331425058"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b44bd0ffee9ffec1a8ba3690d980ca24.jpg","text":"TemporaryFile(/tmp/multipartBody7103027209699754272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830238989,"filename":"image_21012025_22_08_02_743324_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c64dfd87a0a91737304d752ef756ab7.jpg","text":"TemporaryFile(/tmp/multipartBody9108641023028169791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830238989,"filename":"image_21012025_22_08_02_743324_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3fd1a65047f219b70893d13ba225fb04.jpg","text":"TemporaryFile(/tmp/multipartBody7362253811944822621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830238989,"filename":"image_21012025_22_08_02_743324_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b4f4e28551c39582d25ddbfff11e246a.jpg","text":"TemporaryFile(/tmp/multipartBody7991388080287448406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830238989,"filename":"image_21012025_22_07_02_607695_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b4c23e31c25b8a24a2f5a5d22b3d00b5.jpg","text":"TemporaryFile(/tmp/multipartBody1219904714022009962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830238989,"filename":"image_21012025_22_08_02_743324_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c3999963fd16ae7d26d068ea0d333ace.jpg","text":"TemporaryFile(/tmp/multipartBody5229789248853582968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830238989,"filename":"image_21012025_22_07_02_607695_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331425053","file1":"1331425049","file0":"1331425043","file4":"1331425056","file5":"1331425058","file3":"1331425055"},"map_files_photo_id_array":[{"photo_id":"1331425058","filename":"file5"},{"photo_id":"1331425053","filename":"file2"},{"photo_id":"1331425056","filename":"file4"},{"photo_id":"1331425049","filename":"file1"},{"photo_id":"1331425043","filename":"file0"},{"photo_id":"1331425055","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331425056":["hashtag1","hashtag2"]},{"1331425053":["hashtag1","hashtag2"]},{"1331425055":["hashtag1","hashtag2"]},{"1331425049":["hashtag1","hashtag2"]},{"1331425058":["hashtag1","hashtag2"]},{"1331425043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331425056, 1331425053, 1331425055, 1331425049, 1331425058, 1331425043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.69870400428772 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 19:37:03.391729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/35/image_25012025_19_35_02_514397_0003.jpg', '/home/pi/Desktop/images/25012025/19/36/image_25012025_19_36_02_691757_0000.jpg', '/home/pi/Desktop/images/25012025/19/36/image_25012025_19_36_02_691757_0001.jpg', '/home/pi/Desktop/images/25012025/19/36/image_25012025_19_36_02_691757_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/35/image_25012025_19_35_02_514397_0003.jpg
/home/pi/Desktop/images/25012025/19/36/image_25012025_19_36_02_691757_0000.jpg
/home/pi/Desktop/images/25012025/19/36/image_25012025_19_36_02_691757_0001.jpg
/home/pi/Desktop/images/25012025/19/36/image_25012025_19_36_02_691757_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":["1331425123","1331425125","1331425118","1331425093"],"photo_ids_order":["1331425093","1331425118","1331425123","1331425125"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/623db3bb23b179ab80b422f11f9661e3.jpg","text":"TemporaryFile(/tmp/multipartBody1792040019230369930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830294539,"filename":"image_25012025_19_36_02_691757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/41f7169062931c3f117621043e22a90e.jpg","text":"TemporaryFile(/tmp/multipartBody7530922289106426557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830294539,"filename":"image_25012025_19_36_02_691757_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fd920efd59c363845f67be4bec6b15c7.jpg","text":"TemporaryFile(/tmp/multipartBody7593564965042969564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830294539,"filename":"image_25012025_19_36_02_691757_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a9c60a8e9d3c350da72f7f5dfe359b66.jpg","text":"TemporaryFile(/tmp/multipartBody3885999898474658488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830294539,"filename":"image_25012025_19_35_02_514397_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331425123","file1":"1331425118","file0":"1331425093","file3":"1331425125"},"map_files_photo_id_array":[{"photo_id":"1331425123","filename":"file2"},{"photo_id":"1331425118","filename":"file1"},{"photo_id":"1331425093","filename":"file0"},{"photo_id":"1331425125","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331425123":["hashtag1","hashtag2"]},{"1331425125":["hashtag1","hashtag2"]},{"1331425118":["hashtag1","hashtag2"]},{"1331425093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331425123, 1331425125, 1331425118, 1331425093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.319889307022095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 19:37:52.677449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/36/image_25012025_19_36_02_691757_0003.jpg', '/home/pi/Desktop/images/25012025/19/37/image_25012025_19_37_02_888150_0000.jpg', '/home/pi/Desktop/images/25012025/19/37/image_25012025_19_37_02_888150_0001.jpg', '/home/pi/Desktop/images/25012025/19/37/image_25012025_19_37_02_888150_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/36/image_25012025_19_36_02_691757_0003.jpg
/home/pi/Desktop/images/25012025/19/37/image_25012025_19_37_02_888150_0000.jpg
/home/pi/Desktop/images/25012025/19/37/image_25012025_19_37_02_888150_0001.jpg
/home/pi/Desktop/images/25012025/19/37/image_25012025_19_37_02_888150_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":["1331425140","1331425136","1331425150","1331425144"],"photo_ids_order":["1331425136","1331425140","1331425144","1331425150"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4dd960f67a070091e2fa2f15febb861e.jpg","text":"TemporaryFile(/tmp/multipartBody4256655698736263490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830343596,"filename":"image_25012025_19_37_02_888150_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8c7e70136fe601d66c988dac2e68694e.jpg","text":"TemporaryFile(/tmp/multipartBody1122026687632724822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830343596,"filename":"image_25012025_19_36_02_691757_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f95f693504e88160bbd255a1cec7026f.jpg","text":"TemporaryFile(/tmp/multipartBody1135010354737285478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830343596,"filename":"image_25012025_19_37_02_888150_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fde38c801692456f082285e1776e8a78.jpg","text":"TemporaryFile(/tmp/multipartBody8674768544166244714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830343596,"filename":"image_25012025_19_37_02_888150_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331425144","file1":"1331425140","file0":"1331425136","file3":"1331425150"},"map_files_photo_id_array":[{"photo_id":"1331425144","filename":"file2"},{"photo_id":"1331425140","filename":"file1"},{"photo_id":"1331425136","filename":"file0"},{"photo_id":"1331425150","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331425140":["hashtag1","hashtag2"]},{"1331425136":["hashtag1","hashtag2"]},{"1331425150":["hashtag1","hashtag2"]},{"1331425144":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331425140, 1331425136, 1331425150, 1331425144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.8288836479187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 19:38:41.934373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/37/image_25012025_19_37_02_888150_0003.jpg', '/home/pi/Desktop/images/25012025/19/38/image_25012025_19_38_03_091713_0000.jpg', '/home/pi/Desktop/images/25012025/19/38/image_25012025_19_38_03_091713_0001.jpg', '/home/pi/Desktop/images/25012025/19/38/image_25012025_19_38_03_091713_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/37/image_25012025_19_37_02_888150_0003.jpg
/home/pi/Desktop/images/25012025/19/38/image_25012025_19_38_03_091713_0000.jpg
/home/pi/Desktop/images/25012025/19/38/image_25012025_19_38_03_091713_0001.jpg
/home/pi/Desktop/images/25012025/19/38/image_25012025_19_38_03_091713_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: 11.378684043884277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 19:39:02.651652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/37/image_25012025_19_37_02_888150_0003.jpg', '/home/pi/Desktop/images/25012025/19/38/image_25012025_19_38_03_091713_0000.jpg', '/home/pi/Desktop/images/25012025/19/38/image_25012025_19_38_03_091713_0001.jpg', '/home/pi/Desktop/images/25012025/19/38/image_25012025_19_38_03_091713_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/37/image_25012025_19_37_02_888150_0003.jpg
/home/pi/Desktop/images/25012025/19/38/image_25012025_19_38_03_091713_0000.jpg
/home/pi/Desktop/images/25012025/19/38/image_25012025_19_38_03_091713_0001.jpg
/home/pi/Desktop/images/25012025/19/38/image_25012025_19_38_03_091713_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":["1331425194","1331425179","1331425189","1331425183"],"photo_ids_order":["1331425179","1331425183","1331425189","1331425194"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f274261495152f986431871befd03128.jpg","text":"TemporaryFile(/tmp/multipartBody2733636806360319177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830414524,"filename":"image_25012025_19_38_03_091713_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/10b69ae5af836768ee1adc647ff53da2.jpg","text":"TemporaryFile(/tmp/multipartBody4635826840773752969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830414524,"filename":"image_25012025_19_37_02_888150_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/34916603b54fea881a261f8f8a450e9e.jpg","text":"TemporaryFile(/tmp/multipartBody1535810897659083753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830414524,"filename":"image_25012025_19_38_03_091713_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/146334e6ff09f427c3df9a704417a255.jpg","text":"TemporaryFile(/tmp/multipartBody1160969596735970107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830414524,"filename":"image_25012025_19_38_03_091713_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331425189","file1":"1331425183","file0":"1331425179","file3":"1331425194"},"map_files_photo_id_array":[{"photo_id":"1331425189","filename":"file2"},{"photo_id":"1331425183","filename":"file1"},{"photo_id":"1331425179","filename":"file0"},{"photo_id":"1331425194","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331425194":["hashtag1","hashtag2"]},{"1331425179":["hashtag1","hashtag2"]},{"1331425189":["hashtag1","hashtag2"]},{"1331425183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331425194, 1331425179, 1331425189, 1331425183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.958332538604736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 19:39:52.087070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/38/image_25012025_19_38_03_091713_0003.jpg', '/home/pi/Desktop/images/25012025/19/39/image_25012025_19_39_02_265750_0000.jpg', '/home/pi/Desktop/images/25012025/19/39/image_25012025_19_39_02_265750_0001.jpg', '/home/pi/Desktop/images/25012025/19/39/image_25012025_19_39_02_265750_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/38/image_25012025_19_38_03_091713_0003.jpg
/home/pi/Desktop/images/25012025/19/39/image_25012025_19_39_02_265750_0000.jpg
/home/pi/Desktop/images/25012025/19/39/image_25012025_19_39_02_265750_0001.jpg
/home/pi/Desktop/images/25012025/19/39/image_25012025_19_39_02_265750_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":["1331425238","1331425217","1331425202","1331425243"],"photo_ids_order":["1331425202","1331425217","1331425238","1331425243"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/370f6c973a687b1777caa5013d83caac.jpg","text":"TemporaryFile(/tmp/multipartBody6910659684564357487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830463249,"filename":"image_25012025_19_39_02_265750_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7fa1425b3a5e824026b0d8904a73c2a0.jpg","text":"TemporaryFile(/tmp/multipartBody880862033328521448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830463249,"filename":"image_25012025_19_39_02_265750_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/600ab0a8d470acf15a4fd42d0d06076e.jpg","text":"TemporaryFile(/tmp/multipartBody8604050519456788394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830463249,"filename":"image_25012025_19_38_03_091713_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f415232c799bebdc0d1257021bb02510.jpg","text":"TemporaryFile(/tmp/multipartBody463350374112366120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830463249,"filename":"image_25012025_19_39_02_265750_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331425238","file1":"1331425217","file0":"1331425202","file3":"1331425243"},"map_files_photo_id_array":[{"photo_id":"1331425238","filename":"file2"},{"photo_id":"1331425217","filename":"file1"},{"photo_id":"1331425202","filename":"file0"},{"photo_id":"1331425243","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331425238":["hashtag1","hashtag2"]},{"1331425217":["hashtag1","hashtag2"]},{"1331425202":["hashtag1","hashtag2"]},{"1331425243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331425238, 1331425217, 1331425202, 1331425243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.9923779964447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 19:40:42.292123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/39/image_25012025_19_39_02_265750_0003.jpg', '/home/pi/Desktop/images/25012025/19/40/image_25012025_19_40_02_443829_0000.jpg', '/home/pi/Desktop/images/25012025/19/40/image_25012025_19_40_02_443829_0001.jpg', '/home/pi/Desktop/images/25012025/19/40/image_25012025_19_40_02_443829_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/39/image_25012025_19_39_02_265750_0003.jpg
/home/pi/Desktop/images/25012025/19/40/image_25012025_19_40_02_443829_0000.jpg
/home/pi/Desktop/images/25012025/19/40/image_25012025_19_40_02_443829_0001.jpg
/home/pi/Desktop/images/25012025/19/40/image_25012025_19_40_02_443829_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":["1331425383","1331425428","1331425443","1331425475"],"photo_ids_order":["1331425383","1331425428","1331425443","1331425475"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a9cd88d785b3209dc0adb4832ce374d4.jpg","text":"TemporaryFile(/tmp/multipartBody72307995254017459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830513474,"filename":"image_25012025_19_39_02_265750_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/677388967b85904139a152b6fa95d925.jpg","text":"TemporaryFile(/tmp/multipartBody673502953244227841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830513474,"filename":"image_25012025_19_40_02_443829_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2a3456824408b741f3b985746da631b4.jpg","text":"TemporaryFile(/tmp/multipartBody2835482802614525942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830513474,"filename":"image_25012025_19_40_02_443829_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7b6d2d0c156e7459c40eb09b6a3a5930.jpg","text":"TemporaryFile(/tmp/multipartBody7410082528905943791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830513474,"filename":"image_25012025_19_40_02_443829_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331425443","file1":"1331425428","file0":"1331425383","file3":"1331425475"},"map_files_photo_id_array":[{"photo_id":"1331425443","filename":"file2"},{"photo_id":"1331425428","filename":"file1"},{"photo_id":"1331425383","filename":"file0"},{"photo_id":"1331425475","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331425383":["hashtag1","hashtag2"]},{"1331425428":["hashtag1","hashtag2"]},{"1331425443":["hashtag1","hashtag2"]},{"1331425475":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331425383, 1331425428, 1331425443, 1331425475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.81009817123413 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:41:22.492802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/40/image_25012025_19_40_02_443829_0003.jpg', '/home/pi/Desktop/images/25012025/19/41/image_25012025_19_41_02_687646_0000.jpg', '/home/pi/Desktop/images/25012025/19/41/image_25012025_19_41_02_687646_0001.jpg', '/home/pi/Desktop/images/25012025/19/41/image_25012025_19_41_02_687646_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/40/image_25012025_19_40_02_443829_0003.jpg
/home/pi/Desktop/images/25012025/19/41/image_25012025_19_41_02_687646_0000.jpg
/home/pi/Desktop/images/25012025/19/41/image_25012025_19_41_02_687646_0001.jpg
/home/pi/Desktop/images/25012025/19/41/image_25012025_19_41_02_687646_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 [200]>
b'{"photo_ids":["1331425493","1331425487","1331425490","1331425498"],"photo_ids_order":["1331425487","1331425490","1331425493","1331425498"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1086b22115142ebece33424be7606f82.jpg","text":"TemporaryFile(/tmp/multipartBody5363298286810788639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830553825,"filename":"image_25012025_19_41_02_687646_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d42900a45da86d4ac2e874c54c1060d3.jpg","text":"TemporaryFile(/tmp/multipartBody6338686393288428682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830553825,"filename":"image_25012025_19_40_02_443829_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b0b1394e946fa714a5429dcf21900ec.jpg","text":"TemporaryFile(/tmp/multipartBody5215766332558739781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830553825,"filename":"image_25012025_19_41_02_687646_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ad608ec8771c8541897353dc03aa41dc.jpg","text":"TemporaryFile(/tmp/multipartBody6419629190515330113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830553825,"filename":"image_25012025_19_41_02_687646_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331425493","file1":"1331425490","file0":"1331425487","file3":"1331425498"},"map_files_photo_id_array":[{"photo_id":"1331425493","filename":"file2"},{"photo_id":"1331425490","filename":"file1"},{"photo_id":"1331425487","filename":"file0"},{"photo_id":"1331425498","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331425493":["hashtag1","hashtag2"]},{"1331425487":["hashtag1","hashtag2"]},{"1331425490":["hashtag1","hashtag2"]},{"1331425498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331425493, 1331425487, 1331425490, 1331425498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.43945074081421 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:42:22.645436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/41/image_25012025_19_41_02_687646_0003.jpg', '/home/pi/Desktop/images/25012025/19/42/image_25012025_19_42_02_838189_0000.jpg', '/home/pi/Desktop/images/25012025/19/42/image_25012025_19_42_02_838189_0001.jpg', '/home/pi/Desktop/images/25012025/19/42/image_25012025_19_42_02_838189_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/41/image_25012025_19_41_02_687646_0003.jpg
/home/pi/Desktop/images/25012025/19/42/image_25012025_19_42_02_838189_0000.jpg
/home/pi/Desktop/images/25012025/19/42/image_25012025_19_42_02_838189_0001.jpg
/home/pi/Desktop/images/25012025/19/42/image_25012025_19_42_02_838189_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 [200]>
b'{"photo_ids":["1331426466","1331426774","1331426345","1331426213"],"photo_ids_order":["1331426213","1331426345","1331426466","1331426774"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7ee9f6435197ca2e1149642bf9f47019.jpg","text":"TemporaryFile(/tmp/multipartBody5793855063351567357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830614193,"filename":"image_25012025_19_42_02_838189_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/43af6326bc0cfe7b230b9cbb0f0031dc.jpg","text":"TemporaryFile(/tmp/multipartBody56993644710716544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830614193,"filename":"image_25012025_19_42_02_838189_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5fb3a39698118820ebece9747b51f538.jpg","text":"TemporaryFile(/tmp/multipartBody4192590812760727870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830614193,"filename":"image_25012025_19_42_02_838189_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/38ee195bc755fbf657558fec78d524e2.jpg","text":"TemporaryFile(/tmp/multipartBody4066593858717728665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830614193,"filename":"image_25012025_19_41_02_687646_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331426466","file1":"1331426345","file0":"1331426213","file3":"1331426774"},"map_files_photo_id_array":[{"photo_id":"1331426466","filename":"file2"},{"photo_id":"1331426345","filename":"file1"},{"photo_id":"1331426213","filename":"file0"},{"photo_id":"1331426774","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331426466":["hashtag1","hashtag2"]},{"1331426774":["hashtag1","hashtag2"]},{"1331426345":["hashtag1","hashtag2"]},{"1331426213":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331426466, 1331426774, 1331426345, 1331426213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.866238594055176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:43:21.754603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/42/image_25012025_19_42_02_838189_0003.jpg', '/home/pi/Desktop/images/25012025/19/43/image_25012025_19_43_02_927443_0000.jpg', '/home/pi/Desktop/images/25012025/19/43/image_25012025_19_43_02_927443_0001.jpg', '/home/pi/Desktop/images/25012025/19/43/image_25012025_19_43_02_927443_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/42/image_25012025_19_42_02_838189_0003.jpg
/home/pi/Desktop/images/25012025/19/43/image_25012025_19_43_02_927443_0000.jpg
/home/pi/Desktop/images/25012025/19/43/image_25012025_19_43_02_927443_0001.jpg
/home/pi/Desktop/images/25012025/19/43/image_25012025_19_43_02_927443_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":["1331426975","1331426969","1331427104","1331426963"],"photo_ids_order":["1331426963","1331426969","1331426975","1331427104"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c0bdb89d6bbbf9bc2808b0bc142cf596.jpg","text":"TemporaryFile(/tmp/multipartBody7044449128610749639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830673102,"filename":"image_25012025_19_43_02_927443_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aa92b7a6d7fa0d71a70fb5f0dbd9f88a.jpg","text":"TemporaryFile(/tmp/multipartBody6025429860233739814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830673102,"filename":"image_25012025_19_43_02_927443_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aebaeab57c19143ce7da3bc0ca6fbd7a.jpg","text":"TemporaryFile(/tmp/multipartBody4139777212207845865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830673102,"filename":"image_25012025_19_43_02_927443_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0f015b089f9297a71db14cb94ad8723b.jpg","text":"TemporaryFile(/tmp/multipartBody5136421508529632186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830673102,"filename":"image_25012025_19_42_02_838189_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331426975","file1":"1331426969","file0":"1331426963","file3":"1331427104"},"map_files_photo_id_array":[{"photo_id":"1331426975","filename":"file2"},{"photo_id":"1331426969","filename":"file1"},{"photo_id":"1331426963","filename":"file0"},{"photo_id":"1331427104","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331426975":["hashtag1","hashtag2"]},{"1331426969":["hashtag1","hashtag2"]},{"1331427104":["hashtag1","hashtag2"]},{"1331426963":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331426975, 1331426969, 1331427104, 1331426963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.70240497589111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 19:44:02.375851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/09/image_21012025_22_09_02_952287_0000.jpg', '/home/pi/Desktop/images/21012025/22/09/image_21012025_22_09_02_952287_0001.jpg', '/home/pi/Desktop/images/21012025/22/09/image_21012025_22_09_02_952287_0002.jpg', '/home/pi/Desktop/images/21012025/22/09/image_21012025_22_09_02_952287_0003.jpg', '/home/pi/Desktop/images/21012025/22/10/image_21012025_22_10_03_119153_0000.jpg', '/home/pi/Desktop/images/21012025/22/10/image_21012025_22_10_03_119153_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/22/09/image_21012025_22_09_02_952287_0000.jpg
/home/pi/Desktop/images/21012025/22/09/image_21012025_22_09_02_952287_0001.jpg
/home/pi/Desktop/images/21012025/22/09/image_21012025_22_09_02_952287_0002.jpg
/home/pi/Desktop/images/21012025/22/09/image_21012025_22_09_02_952287_0003.jpg
/home/pi/Desktop/images/21012025/22/10/image_21012025_22_10_03_119153_0000.jpg
/home/pi/Desktop/images/21012025/22/10/image_21012025_22_10_03_119153_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":["1331427402","1331427281","1331427122","1331427550","1331427591","1331427588"],"photo_ids_order":["1331427122","1331427281","1331427402","1331427550","1331427588","1331427591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8b44e67dd86f0309c4fab85112893847.jpg","text":"TemporaryFile(/tmp/multipartBody3696209714020291672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830719495,"filename":"image_21012025_22_09_02_952287_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2be51d79a438c7a532097a748f47f1ef.jpg","text":"TemporaryFile(/tmp/multipartBody6262878246598600330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830719495,"filename":"image_21012025_22_09_02_952287_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/27477f204484f3069396fb8e33e45b4c.jpg","text":"TemporaryFile(/tmp/multipartBody7230952235822580151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830719495,"filename":"image_21012025_22_09_02_952287_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/20df551c5090dd3ed84ee512b4f40a18.jpg","text":"TemporaryFile(/tmp/multipartBody6340058949943796063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830719495,"filename":"image_21012025_22_09_02_952287_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/989823c36c0bda17429d0112f8ca0884.jpg","text":"TemporaryFile(/tmp/multipartBody792276489641757846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830719495,"filename":"image_21012025_22_10_03_119153_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/30fb0bbb0253a31a1fe295cdf163d44d.jpg","text":"TemporaryFile(/tmp/multipartBody6884211726096023938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830719495,"filename":"image_21012025_22_10_03_119153_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331427402","file1":"1331427281","file0":"1331427122","file4":"1331427588","file5":"1331427591","file3":"1331427550"},"map_files_photo_id_array":[{"photo_id":"1331427591","filename":"file5"},{"photo_id":"1331427402","filename":"file2"},{"photo_id":"1331427588","filename":"file4"},{"photo_id":"1331427281","filename":"file1"},{"photo_id":"1331427122","filename":"file0"},{"photo_id":"1331427550","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331427402":["hashtag1","hashtag2"]},{"1331427281":["hashtag1","hashtag2"]},{"1331427122":["hashtag1","hashtag2"]},{"1331427550":["hashtag1","hashtag2"]},{"1331427591":["hashtag1","hashtag2"]},{"1331427588":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331427402, 1331427281, 1331427122, 1331427550, 1331427591, 1331427588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.231022119522095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 19:45:02.797166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/43/image_25012025_19_43_02_927443_0003.jpg', '/home/pi/Desktop/images/25012025/19/44/image_25012025_19_44_02_113080_0000.jpg', '/home/pi/Desktop/images/25012025/19/44/image_25012025_19_44_02_113080_0001.jpg', '/home/pi/Desktop/images/25012025/19/44/image_25012025_19_44_02_113080_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/43/image_25012025_19_43_02_927443_0003.jpg
/home/pi/Desktop/images/25012025/19/44/image_25012025_19_44_02_113080_0000.jpg
/home/pi/Desktop/images/25012025/19/44/image_25012025_19_44_02_113080_0001.jpg
/home/pi/Desktop/images/25012025/19/44/image_25012025_19_44_02_113080_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":["1331427788","1331427737","1331427658","1331427675"],"photo_ids_order":["1331427658","1331427675","1331427737","1331427788"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7b369f303a75b888a573f239c029c69f.jpg","text":"TemporaryFile(/tmp/multipartBody8155100027325382830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830774070,"filename":"image_25012025_19_44_02_113080_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/691fa71ab4c6d9647a091954b05ed817.jpg","text":"TemporaryFile(/tmp/multipartBody1233092136728033093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830774070,"filename":"image_25012025_19_44_02_113080_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f97920c765c50820c47b31efba696acd.jpg","text":"TemporaryFile(/tmp/multipartBody7299869559319710739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830774070,"filename":"image_25012025_19_43_02_927443_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c1e3a6da4c0c813c6acb72a73197e0a.jpg","text":"TemporaryFile(/tmp/multipartBody6562110096050749308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830774070,"filename":"image_25012025_19_44_02_113080_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331427737","file1":"1331427675","file0":"1331427658","file3":"1331427788"},"map_files_photo_id_array":[{"photo_id":"1331427737","filename":"file2"},{"photo_id":"1331427675","filename":"file1"},{"photo_id":"1331427658","filename":"file0"},{"photo_id":"1331427788","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331427788":["hashtag1","hashtag2"]},{"1331427737":["hashtag1","hashtag2"]},{"1331427658":["hashtag1","hashtag2"]},{"1331427675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331427788, 1331427737, 1331427658, 1331427675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.29451084136963 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 19:45:52.072811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/44/image_25012025_19_44_02_113080_0003.jpg', '/home/pi/Desktop/images/25012025/19/45/image_25012025_19_45_02_405082_0000.jpg', '/home/pi/Desktop/images/25012025/19/45/image_25012025_19_45_02_405082_0001.jpg', '/home/pi/Desktop/images/25012025/19/45/image_25012025_19_45_02_405082_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/44/image_25012025_19_44_02_113080_0003.jpg
/home/pi/Desktop/images/25012025/19/45/image_25012025_19_45_02_405082_0000.jpg
/home/pi/Desktop/images/25012025/19/45/image_25012025_19_45_02_405082_0001.jpg
/home/pi/Desktop/images/25012025/19/45/image_25012025_19_45_02_405082_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":["1331428673","1331428591","1331428294","1331428299"],"photo_ids_order":["1331428294","1331428299","1331428591","1331428673"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f21815b2b8ce5b72ecfcf26c6d0dc7d3.jpg","text":"TemporaryFile(/tmp/multipartBody2828295805323288490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830823188,"filename":"image_25012025_19_45_02_405082_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3fd46f7ec4af3fabc4315ef66c605497.jpg","text":"TemporaryFile(/tmp/multipartBody3251441408101136526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830823188,"filename":"image_25012025_19_45_02_405082_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0ffde6c80514ad9886e41e1d2d34d366.jpg","text":"TemporaryFile(/tmp/multipartBody2980760775197268772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830823188,"filename":"image_25012025_19_44_02_113080_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d8b3805e71d2e4f15a98f4b642e18252.jpg","text":"TemporaryFile(/tmp/multipartBody8414307648713320843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830823188,"filename":"image_25012025_19_45_02_405082_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331428591","file1":"1331428299","file0":"1331428294","file3":"1331428673"},"map_files_photo_id_array":[{"photo_id":"1331428591","filename":"file2"},{"photo_id":"1331428299","filename":"file1"},{"photo_id":"1331428294","filename":"file0"},{"photo_id":"1331428673","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331428673":["hashtag1","hashtag2"]},{"1331428591":["hashtag1","hashtag2"]},{"1331428294":["hashtag1","hashtag2"]},{"1331428299":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331428673, 1331428591, 1331428294, 1331428299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.88406252861023 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 19:46:32.264740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/45/image_25012025_19_45_02_405082_0003.jpg', '/home/pi/Desktop/images/25012025/19/46/image_25012025_19_46_02_442857_0000.jpg', '/home/pi/Desktop/images/25012025/19/46/image_25012025_19_46_02_442857_0001.jpg', '/home/pi/Desktop/images/25012025/19/46/image_25012025_19_46_02_442857_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/45/image_25012025_19_45_02_405082_0003.jpg
/home/pi/Desktop/images/25012025/19/46/image_25012025_19_46_02_442857_0000.jpg
/home/pi/Desktop/images/25012025/19/46/image_25012025_19_46_02_442857_0001.jpg
/home/pi/Desktop/images/25012025/19/46/image_25012025_19_46_02_442857_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":["1331429041","1331428780","1331428930","1331428828"],"photo_ids_order":["1331428780","1331428828","1331428930","1331429041"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/707158c1c1c82db8fb8b18753ab311b8.jpg","text":"TemporaryFile(/tmp/multipartBody26796267152887582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830863076,"filename":"image_25012025_19_46_02_442857_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/25c83948e9cb49ab1e04b0d2fffc411c.jpg","text":"TemporaryFile(/tmp/multipartBody105863959778345705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830863076,"filename":"image_25012025_19_45_02_405082_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b3982f20be0096864e1ebb558428554.jpg","text":"TemporaryFile(/tmp/multipartBody4092393062625421960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830863076,"filename":"image_25012025_19_46_02_442857_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3346cca1ac7c1233197a651361b1be0a.jpg","text":"TemporaryFile(/tmp/multipartBody5188558469449924492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830863076,"filename":"image_25012025_19_46_02_442857_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331428930","file1":"1331428828","file0":"1331428780","file3":"1331429041"},"map_files_photo_id_array":[{"photo_id":"1331428930","filename":"file2"},{"photo_id":"1331428828","filename":"file1"},{"photo_id":"1331428780","filename":"file0"},{"photo_id":"1331429041","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331429041":["hashtag1","hashtag2"]},{"1331428780":["hashtag1","hashtag2"]},{"1331428930":["hashtag1","hashtag2"]},{"1331428828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331429041, 1331428780, 1331428930, 1331428828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.82136917114258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:47:22.623282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/46/image_25012025_19_46_02_442857_0003.jpg', '/home/pi/Desktop/images/25012025/19/47/image_25012025_19_47_02_663180_0000.jpg', '/home/pi/Desktop/images/25012025/19/47/image_25012025_19_47_02_663180_0001.jpg', '/home/pi/Desktop/images/25012025/19/47/image_25012025_19_47_02_663180_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/46/image_25012025_19_46_02_442857_0003.jpg
/home/pi/Desktop/images/25012025/19/47/image_25012025_19_47_02_663180_0000.jpg
/home/pi/Desktop/images/25012025/19/47/image_25012025_19_47_02_663180_0001.jpg
/home/pi/Desktop/images/25012025/19/47/image_25012025_19_47_02_663180_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":["1331429251","1331429239","1331429247","1331429243"],"photo_ids_order":["1331429239","1331429243","1331429247","1331429251"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/56e5ff8497a3b849992afa825ddab7f2.jpg","text":"TemporaryFile(/tmp/multipartBody6030113362383742765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830913843,"filename":"image_25012025_19_47_02_663180_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/edfbdb2319f08c23002fd272554fa11b.jpg","text":"TemporaryFile(/tmp/multipartBody5244122494928288030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830913843,"filename":"image_25012025_19_46_02_442857_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1df49d28aa02d1947caa6ed6dd42a062.jpg","text":"TemporaryFile(/tmp/multipartBody4856879943566962465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830913843,"filename":"image_25012025_19_47_02_663180_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/653295f768acefa1f3d7be9bcc4b8c72.jpg","text":"TemporaryFile(/tmp/multipartBody7133737244268803839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830913843,"filename":"image_25012025_19_47_02_663180_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331429247","file1":"1331429243","file0":"1331429239","file3":"1331429251"},"map_files_photo_id_array":[{"photo_id":"1331429247","filename":"file2"},{"photo_id":"1331429243","filename":"file1"},{"photo_id":"1331429239","filename":"file0"},{"photo_id":"1331429251","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331429251":["hashtag1","hashtag2"]},{"1331429239":["hashtag1","hashtag2"]},{"1331429247":["hashtag1","hashtag2"]},{"1331429243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331429251, 1331429239, 1331429247, 1331429243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.43949866294861 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-25 19:48:22.640490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/47/image_25012025_19_47_02_663180_0003.jpg', '/home/pi/Desktop/images/25012025/19/48/image_25012025_19_48_02_926142_0000.jpg', '/home/pi/Desktop/images/25012025/19/48/image_25012025_19_48_02_926142_0001.jpg', '/home/pi/Desktop/images/25012025/19/48/image_25012025_19_48_02_926142_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/47/image_25012025_19_47_02_663180_0003.jpg
/home/pi/Desktop/images/25012025/19/48/image_25012025_19_48_02_926142_0000.jpg
/home/pi/Desktop/images/25012025/19/48/image_25012025_19_48_02_926142_0001.jpg
/home/pi/Desktop/images/25012025/19/48/image_25012025_19_48_02_926142_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: 10.477060794830322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 19:48:42.672508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/47/image_25012025_19_47_02_663180_0003.jpg', '/home/pi/Desktop/images/25012025/19/48/image_25012025_19_48_02_926142_0000.jpg', '/home/pi/Desktop/images/25012025/19/48/image_25012025_19_48_02_926142_0001.jpg', '/home/pi/Desktop/images/25012025/19/48/image_25012025_19_48_02_926142_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/47/image_25012025_19_47_02_663180_0003.jpg
/home/pi/Desktop/images/25012025/19/48/image_25012025_19_48_02_926142_0000.jpg
/home/pi/Desktop/images/25012025/19/48/image_25012025_19_48_02_926142_0001.jpg
/home/pi/Desktop/images/25012025/19/48/image_25012025_19_48_02_926142_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":["1331429278","1331429287","1331429282","1331429279"],"photo_ids_order":["1331429278","1331429279","1331429282","1331429287"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/09957722b4e7e5c60cd857041c53b416.jpg","text":"TemporaryFile(/tmp/multipartBody8249942358881224218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830993519,"filename":"image_25012025_19_47_02_663180_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b1b6730f1a3ac8480ab1bb9380b1775f.jpg","text":"TemporaryFile(/tmp/multipartBody1783185300849097314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830993519,"filename":"image_25012025_19_48_02_926142_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cc8831277af36daee5e467f99147c720.jpg","text":"TemporaryFile(/tmp/multipartBody8027773745445469481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830993519,"filename":"image_25012025_19_48_02_926142_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/475b5d8614b4e48f8b0ed221f4b43b74.jpg","text":"TemporaryFile(/tmp/multipartBody248546169190422659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737830993519,"filename":"image_25012025_19_48_02_926142_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331429282","file1":"1331429279","file0":"1331429278","file3":"1331429287"},"map_files_photo_id_array":[{"photo_id":"1331429282","filename":"file2"},{"photo_id":"1331429279","filename":"file1"},{"photo_id":"1331429278","filename":"file0"},{"photo_id":"1331429287","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331429278":["hashtag1","hashtag2"]},{"1331429287":["hashtag1","hashtag2"]},{"1331429282":["hashtag1","hashtag2"]},{"1331429279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331429278, 1331429287, 1331429282, 1331429279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.5057430267334 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-25 19:49:31.827464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/48/image_25012025_19_48_02_926142_0003.jpg', '/home/pi/Desktop/images/25012025/19/49/image_25012025_19_49_03_044602_0000.jpg', '/home/pi/Desktop/images/25012025/19/49/image_25012025_19_49_03_044602_0001.jpg', '/home/pi/Desktop/images/25012025/19/49/image_25012025_19_49_03_044602_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/48/image_25012025_19_48_02_926142_0003.jpg
/home/pi/Desktop/images/25012025/19/49/image_25012025_19_49_03_044602_0000.jpg
/home/pi/Desktop/images/25012025/19/49/image_25012025_19_49_03_044602_0001.jpg
/home/pi/Desktop/images/25012025/19/49/image_25012025_19_49_03_044602_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":["1331429365","1331429362","1331429341","1331429344"],"photo_ids_order":["1331429341","1331429344","1331429362","1331429365"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/596ffade32ab6d5c23253a2193c43603.jpg","text":"TemporaryFile(/tmp/multipartBody9028960589979309841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831042298,"filename":"image_25012025_19_49_03_044602_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b46341478f41b77f265cc73744801d1f.jpg","text":"TemporaryFile(/tmp/multipartBody3049361084514466651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831042298,"filename":"image_25012025_19_49_03_044602_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2ecdf0f4273e1726ab671aae3009c3f8.jpg","text":"TemporaryFile(/tmp/multipartBody3632682527764356136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831042298,"filename":"image_25012025_19_48_02_926142_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/90219cdc919977503358025e8eaf677f.jpg","text":"TemporaryFile(/tmp/multipartBody90383671859609022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831042298,"filename":"image_25012025_19_49_03_044602_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331429362","file1":"1331429344","file0":"1331429341","file3":"1331429365"},"map_files_photo_id_array":[{"photo_id":"1331429362","filename":"file2"},{"photo_id":"1331429344","filename":"file1"},{"photo_id":"1331429341","filename":"file0"},{"photo_id":"1331429365","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331429365":["hashtag1","hashtag2"]},{"1331429362":["hashtag1","hashtag2"]},{"1331429341":["hashtag1","hashtag2"]},{"1331429344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331429365, 1331429362, 1331429341, 1331429344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.975613832473755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:50:22.047640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/49/image_25012025_19_49_03_044602_0003.jpg', '/home/pi/Desktop/images/25012025/19/50/image_25012025_19_50_02_140141_0000.jpg', '/home/pi/Desktop/images/25012025/19/50/image_25012025_19_50_02_140141_0001.jpg', '/home/pi/Desktop/images/25012025/19/50/image_25012025_19_50_02_140141_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/49/image_25012025_19_49_03_044602_0003.jpg
/home/pi/Desktop/images/25012025/19/50/image_25012025_19_50_02_140141_0000.jpg
/home/pi/Desktop/images/25012025/19/50/image_25012025_19_50_02_140141_0001.jpg
/home/pi/Desktop/images/25012025/19/50/image_25012025_19_50_02_140141_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":["1331429405","1331429392","1331429401","1331429396"],"photo_ids_order":["1331429392","1331429396","1331429401","1331429405"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4dc03b606dac7bf8cbeab91f51d936c0.jpg","text":"TemporaryFile(/tmp/multipartBody1120513101768311677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831093517,"filename":"image_25012025_19_50_02_140141_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b34e390a4850dbff63101eae06e00ac8.jpg","text":"TemporaryFile(/tmp/multipartBody6476830645600857209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831093517,"filename":"image_25012025_19_49_03_044602_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c679731eae10c35ad455685997bcfbdf.jpg","text":"TemporaryFile(/tmp/multipartBody971774766094319222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831093517,"filename":"image_25012025_19_50_02_140141_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/883c57026c9139f7850a6bcf860e1298.jpg","text":"TemporaryFile(/tmp/multipartBody4160345669447783101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831093517,"filename":"image_25012025_19_50_02_140141_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331429401","file1":"1331429396","file0":"1331429392","file3":"1331429405"},"map_files_photo_id_array":[{"photo_id":"1331429401","filename":"file2"},{"photo_id":"1331429396","filename":"file1"},{"photo_id":"1331429392","filename":"file0"},{"photo_id":"1331429405","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331429405":["hashtag1","hashtag2"]},{"1331429392":["hashtag1","hashtag2"]},{"1331429401":["hashtag1","hashtag2"]},{"1331429396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331429405, 1331429392, 1331429401, 1331429396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.03031778335571 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 19:51:02.575939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/10/image_21012025_22_10_03_119153_0002.jpg', '/home/pi/Desktop/images/21012025/22/10/image_21012025_22_10_03_119153_0003.jpg', '/home/pi/Desktop/images/21012025/22/11/image_21012025_22_11_02_259449_0000.jpg', '/home/pi/Desktop/images/21012025/22/11/image_21012025_22_11_02_259449_0001.jpg', '/home/pi/Desktop/images/21012025/22/11/image_21012025_22_11_02_259449_0002.jpg', '/home/pi/Desktop/images/21012025/22/11/image_21012025_22_11_02_259449_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/22/10/image_21012025_22_10_03_119153_0002.jpg
/home/pi/Desktop/images/21012025/22/10/image_21012025_22_10_03_119153_0003.jpg
/home/pi/Desktop/images/21012025/22/11/image_21012025_22_11_02_259449_0000.jpg
/home/pi/Desktop/images/21012025/22/11/image_21012025_22_11_02_259449_0001.jpg
/home/pi/Desktop/images/21012025/22/11/image_21012025_22_11_02_259449_0002.jpg
/home/pi/Desktop/images/21012025/22/11/image_21012025_22_11_02_259449_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.316087245941162 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:51:22.082295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/50/image_25012025_19_50_02_140141_0003.jpg', '/home/pi/Desktop/images/25012025/19/51/image_25012025_19_51_02_359992_0000.jpg', '/home/pi/Desktop/images/25012025/19/51/image_25012025_19_51_02_359992_0001.jpg', '/home/pi/Desktop/images/25012025/19/51/image_25012025_19_51_02_359992_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/50/image_25012025_19_50_02_140141_0003.jpg
/home/pi/Desktop/images/25012025/19/51/image_25012025_19_51_02_359992_0000.jpg
/home/pi/Desktop/images/25012025/19/51/image_25012025_19_51_02_359992_0001.jpg
/home/pi/Desktop/images/25012025/19/51/image_25012025_19_51_02_359992_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":["1331429438","1331429428","1331429442","1331429433"],"photo_ids_order":["1331429428","1331429433","1331429438","1331429442"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b1418725e7ba695f9acc49dabb8f3d6d.jpg","text":"TemporaryFile(/tmp/multipartBody5578048390777635274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831153119,"filename":"image_25012025_19_51_02_359992_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d99987c846de8bea18e9ac97af626804.jpg","text":"TemporaryFile(/tmp/multipartBody5315343679571245396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831153119,"filename":"image_25012025_19_50_02_140141_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9d08c46470a2c8e25dbdf7ac79846eeb.jpg","text":"TemporaryFile(/tmp/multipartBody4433017531877301788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831153119,"filename":"image_25012025_19_51_02_359992_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/739891d5abad19798576040dec60dfe4.jpg","text":"TemporaryFile(/tmp/multipartBody5671035797752592648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831153119,"filename":"image_25012025_19_51_02_359992_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331429438","file1":"1331429433","file0":"1331429428","file3":"1331429442"},"map_files_photo_id_array":[{"photo_id":"1331429438","filename":"file2"},{"photo_id":"1331429433","filename":"file1"},{"photo_id":"1331429428","filename":"file0"},{"photo_id":"1331429442","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331429438":["hashtag1","hashtag2"]},{"1331429428":["hashtag1","hashtag2"]},{"1331429442":["hashtag1","hashtag2"]},{"1331429433":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331429438, 1331429428, 1331429442, 1331429433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.701992988586426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 19:52:02.649750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/10/image_21012025_22_10_03_119153_0002.jpg', '/home/pi/Desktop/images/21012025/22/10/image_21012025_22_10_03_119153_0003.jpg', '/home/pi/Desktop/images/21012025/22/11/image_21012025_22_11_02_259449_0000.jpg', '/home/pi/Desktop/images/21012025/22/11/image_21012025_22_11_02_259449_0001.jpg', '/home/pi/Desktop/images/21012025/22/11/image_21012025_22_11_02_259449_0002.jpg', '/home/pi/Desktop/images/21012025/22/11/image_21012025_22_11_02_259449_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/22/10/image_21012025_22_10_03_119153_0002.jpg
/home/pi/Desktop/images/21012025/22/10/image_21012025_22_10_03_119153_0003.jpg
/home/pi/Desktop/images/21012025/22/11/image_21012025_22_11_02_259449_0000.jpg
/home/pi/Desktop/images/21012025/22/11/image_21012025_22_11_02_259449_0001.jpg
/home/pi/Desktop/images/21012025/22/11/image_21012025_22_11_02_259449_0002.jpg
/home/pi/Desktop/images/21012025/22/11/image_21012025_22_11_02_259449_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 [200]>
b'{"photo_ids":["1331429735","1331429851","1331429859","1331429610","1331429454","1331429483"],"photo_ids_order":["1331429454","1331429483","1331429610","1331429735","1331429851","1331429859"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a71367559661f9f2c045ee94204bcaf1.jpg","text":"TemporaryFile(/tmp/multipartBody3499111930011886305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831200155,"filename":"image_21012025_22_11_02_259449_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dc2add6ccea19b8a9c14c414993ccc2c.jpg","text":"TemporaryFile(/tmp/multipartBody5074319607204370306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831200155,"filename":"image_21012025_22_11_02_259449_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2c71aa8bdb4cebc0b8592940aa8ad1ed.jpg","text":"TemporaryFile(/tmp/multipartBody1521417078600523143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831200155,"filename":"image_21012025_22_11_02_259449_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2fc8f29ddfc4e40d65afeb4a9751a04e.jpg","text":"TemporaryFile(/tmp/multipartBody2146944472102029598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831200155,"filename":"image_21012025_22_11_02_259449_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6b0d680e51b5d0fdd8e7077d5995ec09.jpg","text":"TemporaryFile(/tmp/multipartBody5858760711706562759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831200155,"filename":"image_21012025_22_10_03_119153_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/582a524f3753ca0211ce758139161bc4.jpg","text":"TemporaryFile(/tmp/multipartBody7578848172005168979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831200155,"filename":"image_21012025_22_10_03_119153_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331429610","file1":"1331429483","file0":"1331429454","file4":"1331429851","file5":"1331429859","file3":"1331429735"},"map_files_photo_id_array":[{"photo_id":"1331429859","filename":"file5"},{"photo_id":"1331429610","filename":"file2"},{"photo_id":"1331429851","filename":"file4"},{"photo_id":"1331429483","filename":"file1"},{"photo_id":"1331429454","filename":"file0"},{"photo_id":"1331429735","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331429735":["hashtag1","hashtag2"]},{"1331429851":["hashtag1","hashtag2"]},{"1331429859":["hashtag1","hashtag2"]},{"1331429610":["hashtag1","hashtag2"]},{"1331429454":["hashtag1","hashtag2"]},{"1331429483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331429735, 1331429851, 1331429859, 1331429610, 1331429454, 1331429483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.18502163887024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 19:53:03.166113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/51/image_25012025_19_51_02_359992_0003.jpg', '/home/pi/Desktop/images/25012025/19/52/image_25012025_19_52_02_487513_0000.jpg', '/home/pi/Desktop/images/25012025/19/52/image_25012025_19_52_02_487513_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/51/image_25012025_19_51_02_359992_0003.jpg
/home/pi/Desktop/images/25012025/19/52/image_25012025_19_52_02_487513_0000.jpg
/home/pi/Desktop/images/25012025/19/52/image_25012025_19_52_02_487513_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":["1331430038","1331429926","1331430057"],"photo_ids_order":["1331429926","1331430038","1331430057"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6fa39c1841ee8f002b08aa94c19d1676.jpg","text":"TemporaryFile(/tmp/multipartBody3825404524985579839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831250882,"filename":"image_25012025_19_52_02_487513_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/114daf5d17c719826843626c2a5c2ba9.jpg","text":"TemporaryFile(/tmp/multipartBody1215166409590148840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831250882,"filename":"image_25012025_19_51_02_359992_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e12b6bf5193a8877f1fe02e89e888cfe.jpg","text":"TemporaryFile(/tmp/multipartBody2494628736460516161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831250882,"filename":"image_25012025_19_52_02_487513_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331430057","file1":"1331430038","file0":"1331429926"},"map_files_photo_id_array":[{"photo_id":"1331430057","filename":"file2"},{"photo_id":"1331430038","filename":"file1"},{"photo_id":"1331429926","filename":"file0"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331430038":["hashtag1","hashtag2"]},{"1331429926":["hashtag1","hashtag2"]},{"1331430057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331430038, 1331429926, 1331430057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.575241804122925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 19:53:42.483682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/52/image_25012025_19_52_02_487513_0003.jpg', '/home/pi/Desktop/images/25012025/19/53/image_25012025_19_53_02_689004_0000.jpg', '/home/pi/Desktop/images/25012025/19/53/image_25012025_19_53_02_689004_0001.jpg', '/home/pi/Desktop/images/25012025/19/53/image_25012025_19_53_02_689004_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/52/image_25012025_19_52_02_487513_0003.jpg
/home/pi/Desktop/images/25012025/19/53/image_25012025_19_53_02_689004_0000.jpg
/home/pi/Desktop/images/25012025/19/53/image_25012025_19_53_02_689004_0001.jpg
/home/pi/Desktop/images/25012025/19/53/image_25012025_19_53_02_689004_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: 10.828051328659058 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 19:54:03.023242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/52/image_25012025_19_52_02_487513_0003.jpg', '/home/pi/Desktop/images/25012025/19/53/image_25012025_19_53_02_689004_0000.jpg', '/home/pi/Desktop/images/25012025/19/53/image_25012025_19_53_02_689004_0001.jpg', '/home/pi/Desktop/images/25012025/19/53/image_25012025_19_53_02_689004_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/52/image_25012025_19_52_02_487513_0003.jpg
/home/pi/Desktop/images/25012025/19/53/image_25012025_19_53_02_689004_0000.jpg
/home/pi/Desktop/images/25012025/19/53/image_25012025_19_53_02_689004_0001.jpg
/home/pi/Desktop/images/25012025/19/53/image_25012025_19_53_02_689004_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":["1331430173","1331430313","1331430246","1331430309"],"photo_ids_order":["1331430173","1331430246","1331430309","1331430313"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/18f6ce62ca9a7f211194b09b5ab3a1b7.jpg","text":"TemporaryFile(/tmp/multipartBody1487345118943150774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831314251,"filename":"image_25012025_19_52_02_487513_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5091463e3a8ef5db462e1f9ee5d6314b.jpg","text":"TemporaryFile(/tmp/multipartBody1851144386875919621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831314251,"filename":"image_25012025_19_53_02_689004_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4c3540b399b7ef8210b42a2128e053e2.jpg","text":"TemporaryFile(/tmp/multipartBody5937712310606609747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831314251,"filename":"image_25012025_19_53_02_689004_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/df5205c3d21c41ef681e55543491f40c.jpg","text":"TemporaryFile(/tmp/multipartBody6175548652530928431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831314251,"filename":"image_25012025_19_53_02_689004_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331430309","file1":"1331430246","file0":"1331430173","file3":"1331430313"},"map_files_photo_id_array":[{"photo_id":"1331430309","filename":"file2"},{"photo_id":"1331430246","filename":"file1"},{"photo_id":"1331430173","filename":"file0"},{"photo_id":"1331430313","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331430173":["hashtag1","hashtag2"]},{"1331430313":["hashtag1","hashtag2"]},{"1331430246":["hashtag1","hashtag2"]},{"1331430309":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331430173, 1331430313, 1331430246, 1331430309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.2591507434845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 19:54:52.548775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/53/image_25012025_19_53_02_689004_0003.jpg', '/home/pi/Desktop/images/25012025/19/54/image_25012025_19_54_02_845482_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/53/image_25012025_19_53_02_689004_0003.jpg
/home/pi/Desktop/images/25012025/19/54/image_25012025_19_54_02_845482_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331430335","1331430330"],"photo_ids_order":["1331430330","1331430335"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/164fdf033a328b82023dcb8354eee099.jpg","text":"TemporaryFile(/tmp/multipartBody2587010807309543224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831357936,"filename":"image_25012025_19_54_02_845482_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/842fc9dccd1c761282811bf4212dc824.jpg","text":"TemporaryFile(/tmp/multipartBody2712166224834965627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831357936,"filename":"image_25012025_19_53_02_689004_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1331430335","file0":"1331430330"},"map_files_photo_id_array":[{"photo_id":"1331430335","filename":"file1"},{"photo_id":"1331430330","filename":"file0"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331430335":["hashtag1","hashtag2"]},{"1331430330":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331430335, 1331430330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.747023344039917 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 19:55:22.698184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/54/image_25012025_19_54_02_845482_0003.jpg', '/home/pi/Desktop/images/25012025/19/55/image_25012025_19_55_02_975789_0000.jpg', '/home/pi/Desktop/images/25012025/19/55/image_25012025_19_55_02_975789_0001.jpg', '/home/pi/Desktop/images/25012025/19/55/image_25012025_19_55_02_975789_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/54/image_25012025_19_54_02_845482_0003.jpg
/home/pi/Desktop/images/25012025/19/55/image_25012025_19_55_02_975789_0000.jpg
/home/pi/Desktop/images/25012025/19/55/image_25012025_19_55_02_975789_0001.jpg
/home/pi/Desktop/images/25012025/19/55/image_25012025_19_55_02_975789_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":["1331430392","1331430381","1331430375","1331430360"],"photo_ids_order":["1331430360","1331430375","1331430381","1331430392"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4993a38306768a4fc4f77befca830f16.jpg","text":"TemporaryFile(/tmp/multipartBody4283736924879769341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831393471,"filename":"image_25012025_19_55_02_975789_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/48ccea062996b5d71beedc408aa688a2.jpg","text":"TemporaryFile(/tmp/multipartBody81187727228691289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831393471,"filename":"image_25012025_19_55_02_975789_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b1a3f96abf8a79a26cdc2cb96db8265.jpg","text":"TemporaryFile(/tmp/multipartBody4440562258643618464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831393471,"filename":"image_25012025_19_55_02_975789_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/40ea4f6b87125dcd4d8127613f92cd9f.jpg","text":"TemporaryFile(/tmp/multipartBody3871513216335631446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831393471,"filename":"image_25012025_19_54_02_845482_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331430381","file1":"1331430375","file0":"1331430360","file3":"1331430392"},"map_files_photo_id_array":[{"photo_id":"1331430381","filename":"file2"},{"photo_id":"1331430375","filename":"file1"},{"photo_id":"1331430360","filename":"file0"},{"photo_id":"1331430392","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331430392":["hashtag1","hashtag2"]},{"1331430381":["hashtag1","hashtag2"]},{"1331430375":["hashtag1","hashtag2"]},{"1331430360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331430392, 1331430381, 1331430375, 1331430360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.58108448982239 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 19:56:02.468499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/12/image_21012025_22_12_02_514907_0000.jpg', '/home/pi/Desktop/images/21012025/22/12/image_21012025_22_12_02_514907_0001.jpg', '/home/pi/Desktop/images/21012025/22/12/image_21012025_22_12_02_514907_0002.jpg', '/home/pi/Desktop/images/21012025/22/12/image_21012025_22_12_02_514907_0003.jpg', '/home/pi/Desktop/images/21012025/22/13/image_21012025_22_13_02_665459_0000.jpg', '/home/pi/Desktop/images/21012025/22/13/image_21012025_22_13_02_665459_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/22/12/image_21012025_22_12_02_514907_0000.jpg
/home/pi/Desktop/images/21012025/22/12/image_21012025_22_12_02_514907_0001.jpg
/home/pi/Desktop/images/21012025/22/12/image_21012025_22_12_02_514907_0002.jpg
/home/pi/Desktop/images/21012025/22/12/image_21012025_22_12_02_514907_0003.jpg
/home/pi/Desktop/images/21012025/22/13/image_21012025_22_13_02_665459_0000.jpg
/home/pi/Desktop/images/21012025/22/13/image_21012025_22_13_02_665459_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":["1331430422","1331430431","1331430407","1331430418","1331430426","1331430414"],"photo_ids_order":["1331430407","1331430414","1331430418","1331430422","1331430426","1331430431"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a0aaf55afc01277c60e99823fb34a996.jpg","text":"TemporaryFile(/tmp/multipartBody1734265400599646995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831440157,"filename":"image_21012025_22_12_02_514907_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/70a3cf72418116a37112c601b645d476.jpg","text":"TemporaryFile(/tmp/multipartBody54623070131251114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831440157,"filename":"image_21012025_22_13_02_665459_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8bc628f796d6d6e3714efdb3b3b9bf62.jpg","text":"TemporaryFile(/tmp/multipartBody8985029998386785039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831440157,"filename":"image_21012025_22_12_02_514907_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ff83c7e80d3e2ff6781dea3089d9acbc.jpg","text":"TemporaryFile(/tmp/multipartBody9098292373338751696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831440157,"filename":"image_21012025_22_12_02_514907_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4f09807cdfc54c47ec6c0be4be2cd432.jpg","text":"TemporaryFile(/tmp/multipartBody3781436498769723103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831440157,"filename":"image_21012025_22_13_02_665459_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8d2cd394cc94dc754b2a2d492f9722fb.jpg","text":"TemporaryFile(/tmp/multipartBody8303572830940436636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831440157,"filename":"image_21012025_22_12_02_514907_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331430418","file1":"1331430414","file0":"1331430407","file4":"1331430426","file5":"1331430431","file3":"1331430422"},"map_files_photo_id_array":[{"photo_id":"1331430431","filename":"file5"},{"photo_id":"1331430418","filename":"file2"},{"photo_id":"1331430426","filename":"file4"},{"photo_id":"1331430414","filename":"file1"},{"photo_id":"1331430407","filename":"file0"},{"photo_id":"1331430422","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331430422":["hashtag1","hashtag2"]},{"1331430431":["hashtag1","hashtag2"]},{"1331430407":["hashtag1","hashtag2"]},{"1331430418":["hashtag1","hashtag2"]},{"1331430426":["hashtag1","hashtag2"]},{"1331430414":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331430422, 1331430431, 1331430407, 1331430418, 1331430426, 1331430414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.31548833847046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 19:57:02.722348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/55/image_25012025_19_55_02_975789_0003.jpg', '/home/pi/Desktop/images/25012025/19/56/image_25012025_19_56_03_243568_0000.jpg', '/home/pi/Desktop/images/25012025/19/56/image_25012025_19_56_03_243568_0001.jpg', '/home/pi/Desktop/images/25012025/19/56/image_25012025_19_56_03_243568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/55/image_25012025_19_55_02_975789_0003.jpg
/home/pi/Desktop/images/25012025/19/56/image_25012025_19_56_03_243568_0000.jpg
/home/pi/Desktop/images/25012025/19/56/image_25012025_19_56_03_243568_0001.jpg
/home/pi/Desktop/images/25012025/19/56/image_25012025_19_56_03_243568_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":["1331430542","1331430664","1331430448","1331430444"],"photo_ids_order":["1331430444","1331430448","1331430542","1331430664"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cecadf93d7f5d9ac9d5069fa805a97e3.jpg","text":"TemporaryFile(/tmp/multipartBody2574118438827547119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831493441,"filename":"image_25012025_19_56_03_243568_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d54cdb88a2d945e197d77cad7a55b01d.jpg","text":"TemporaryFile(/tmp/multipartBody8057036035344795928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831493441,"filename":"image_25012025_19_56_03_243568_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/516c621d393c28372468fe168771311d.jpg","text":"TemporaryFile(/tmp/multipartBody1723301230560270327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831493441,"filename":"image_25012025_19_56_03_243568_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/76f264ef7ebcc3dd82e77f4d5f3caa5a.jpg","text":"TemporaryFile(/tmp/multipartBody9172351580653184874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831493441,"filename":"image_25012025_19_55_02_975789_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331430542","file1":"1331430448","file0":"1331430444","file3":"1331430664"},"map_files_photo_id_array":[{"photo_id":"1331430542","filename":"file2"},{"photo_id":"1331430448","filename":"file1"},{"photo_id":"1331430444","filename":"file0"},{"photo_id":"1331430664","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331430542":["hashtag1","hashtag2"]},{"1331430664":["hashtag1","hashtag2"]},{"1331430448":["hashtag1","hashtag2"]},{"1331430444":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331430542, 1331430664, 1331430448, 1331430444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.62475037574768 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 19:57:52.122465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/56/image_25012025_19_56_03_243568_0003.jpg', '/home/pi/Desktop/images/25012025/19/57/image_25012025_19_57_02_278347_0000.jpg', '/home/pi/Desktop/images/25012025/19/57/image_25012025_19_57_02_278347_0001.jpg', '/home/pi/Desktop/images/25012025/19/57/image_25012025_19_57_02_278347_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/56/image_25012025_19_56_03_243568_0003.jpg
/home/pi/Desktop/images/25012025/19/57/image_25012025_19_57_02_278347_0000.jpg
/home/pi/Desktop/images/25012025/19/57/image_25012025_19_57_02_278347_0001.jpg
/home/pi/Desktop/images/25012025/19/57/image_25012025_19_57_02_278347_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-25 19:59:03.119905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/56/image_25012025_19_56_03_243568_0003.jpg', '/home/pi/Desktop/images/25012025/19/57/image_25012025_19_57_02_278347_0000.jpg', '/home/pi/Desktop/images/25012025/19/57/image_25012025_19_57_02_278347_0001.jpg', '/home/pi/Desktop/images/25012025/19/57/image_25012025_19_57_02_278347_0002.jpg', '/home/pi/Desktop/images/25012025/19/57/image_25012025_19_57_02_278347_0003.jpg', '/home/pi/Desktop/images/25012025/19/58/image_25012025_19_58_02_466801_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/56/image_25012025_19_56_03_243568_0003.jpg
/home/pi/Desktop/images/25012025/19/57/image_25012025_19_57_02_278347_0000.jpg
/home/pi/Desktop/images/25012025/19/57/image_25012025_19_57_02_278347_0001.jpg
/home/pi/Desktop/images/25012025/19/57/image_25012025_19_57_02_278347_0002.jpg
/home/pi/Desktop/images/25012025/19/57/image_25012025_19_57_02_278347_0003.jpg
/home/pi/Desktop/images/25012025/19/58/image_25012025_19_58_02_466801_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 [200]>
b'{"photo_ids":["1331432032","1331431360","1331431363","1331431366","1331431921","1331431586"],"photo_ids_order":["1331431360","1331431363","1331431366","1331431586","1331431921","1331432032"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3e0712eb5e3def6ae5bbce3bb6f53e33.jpg","text":"TemporaryFile(/tmp/multipartBody7253125971960898204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831618923,"filename":"image_25012025_19_58_02_466801_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1026ec6d625b4eda382ef159da01183f.jpg","text":"TemporaryFile(/tmp/multipartBody4366255687505565600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831618923,"filename":"image_25012025_19_56_03_243568_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d5017dc2d45c5eb964ecfc045352262b.jpg","text":"TemporaryFile(/tmp/multipartBody325142418621396284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831618923,"filename":"image_25012025_19_57_02_278347_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/481042e4e058f6f020f2d4938199f050.jpg","text":"TemporaryFile(/tmp/multipartBody744643977174750581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831618923,"filename":"image_25012025_19_57_02_278347_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e10c754e906b9c439e740f4ea0b2fb35.jpg","text":"TemporaryFile(/tmp/multipartBody7420025140110252327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831618923,"filename":"image_25012025_19_57_02_278347_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4cad1b830a8a3938c9c7e49790ad0abd.jpg","text":"TemporaryFile(/tmp/multipartBody6655638222971986266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831618923,"filename":"image_25012025_19_57_02_278347_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331431366","file1":"1331431363","file0":"1331431360","file4":"1331431921","file5":"1331432032","file3":"1331431586"},"map_files_photo_id_array":[{"photo_id":"1331432032","filename":"file5"},{"photo_id":"1331431366","filename":"file2"},{"photo_id":"1331431921","filename":"file4"},{"photo_id":"1331431363","filename":"file1"},{"photo_id":"1331431360","filename":"file0"},{"photo_id":"1331431586","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331432032":["hashtag1","hashtag2"]},{"1331431360":["hashtag1","hashtag2"]},{"1331431363":["hashtag1","hashtag2"]},{"1331431366":["hashtag1","hashtag2"]},{"1331431921":["hashtag1","hashtag2"]},{"1331431586":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331432032, 1331431360, 1331431363, 1331431366, 1331431921, 1331431586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.94960284233093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 20:00:03.046609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/58/image_25012025_19_58_02_466801_0001.jpg', '/home/pi/Desktop/images/25012025/19/58/image_25012025_19_58_02_466801_0002.jpg', '/home/pi/Desktop/images/25012025/19/58/image_25012025_19_58_02_466801_0003.jpg', '/home/pi/Desktop/images/25012025/19/59/image_25012025_19_59_02_691355_0000.jpg', '/home/pi/Desktop/images/25012025/19/59/image_25012025_19_59_02_691355_0001.jpg', '/home/pi/Desktop/images/25012025/19/59/image_25012025_19_59_02_691355_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/58/image_25012025_19_58_02_466801_0001.jpg
/home/pi/Desktop/images/25012025/19/58/image_25012025_19_58_02_466801_0002.jpg
/home/pi/Desktop/images/25012025/19/58/image_25012025_19_58_02_466801_0003.jpg
/home/pi/Desktop/images/25012025/19/59/image_25012025_19_59_02_691355_0000.jpg
/home/pi/Desktop/images/25012025/19/59/image_25012025_19_59_02_691355_0001.jpg
/home/pi/Desktop/images/25012025/19/59/image_25012025_19_59_02_691355_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 [200]>
b'{"photo_ids":["1331432251","1331432308","1331432178","1331432244","1331432306","1331432300"],"photo_ids_order":["1331432178","1331432244","1331432251","1331432300","1331432306","1331432308"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1d35834ab09649f72adc6cd286436a7d.jpg","text":"TemporaryFile(/tmp/multipartBody8511194821439969505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831679210,"filename":"image_25012025_19_58_02_466801_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1f6f0ada22d6260a9ec07e9bf73f0cc8.jpg","text":"TemporaryFile(/tmp/multipartBody2192310561571549199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831679210,"filename":"image_25012025_19_59_02_691355_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/693c8f24838935fc5dae90c0ed383cf8.jpg","text":"TemporaryFile(/tmp/multipartBody6366764337534023087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831679210,"filename":"image_25012025_19_58_02_466801_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d8502df5f0938bda6d6b9e567f4b2159.jpg","text":"TemporaryFile(/tmp/multipartBody1082903695150687240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831679210,"filename":"image_25012025_19_58_02_466801_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/93af922656e6be4e766d317d4951f212.jpg","text":"TemporaryFile(/tmp/multipartBody783399958667256223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831679210,"filename":"image_25012025_19_59_02_691355_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d521bc05995dbac20b4fd8a4249f8419.jpg","text":"TemporaryFile(/tmp/multipartBody7166053767219077318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831679210,"filename":"image_25012025_19_59_02_691355_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331432251","file1":"1331432244","file0":"1331432178","file4":"1331432306","file5":"1331432308","file3":"1331432300"},"map_files_photo_id_array":[{"photo_id":"1331432308","filename":"file5"},{"photo_id":"1331432251","filename":"file2"},{"photo_id":"1331432306","filename":"file4"},{"photo_id":"1331432244","filename":"file1"},{"photo_id":"1331432178","filename":"file0"},{"photo_id":"1331432300","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331432251":["hashtag1","hashtag2"]},{"1331432308":["hashtag1","hashtag2"]},{"1331432178":["hashtag1","hashtag2"]},{"1331432244":["hashtag1","hashtag2"]},{"1331432306":["hashtag1","hashtag2"]},{"1331432300":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331432251, 1331432308, 1331432178, 1331432244, 1331432306, 1331432300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.35138821601868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 20:01:02.484681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/19/59/image_25012025_19_59_02_691355_0003.jpg', '/home/pi/Desktop/images/25012025/20/00/image_25012025_20_00_02_908456_0000.jpg', '/home/pi/Desktop/images/25012025/20/00/image_25012025_20_00_02_908456_0001.jpg', '/home/pi/Desktop/images/25012025/20/00/image_25012025_20_00_02_908456_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/19/59/image_25012025_19_59_02_691355_0003.jpg
/home/pi/Desktop/images/25012025/20/00/image_25012025_20_00_02_908456_0000.jpg
/home/pi/Desktop/images/25012025/20/00/image_25012025_20_00_02_908456_0001.jpg
/home/pi/Desktop/images/25012025/20/00/image_25012025_20_00_02_908456_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":["1331432587","1331432580","1331432526","1331432534"],"photo_ids_order":["1331432526","1331432534","1331432580","1331432587"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8c533cc1f9832450cc653bc04e5fcb67.jpg","text":"TemporaryFile(/tmp/multipartBody1760094745235982785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831733531,"filename":"image_25012025_20_00_02_908456_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b1e8009700a915b724bfe6e1d6e4090f.jpg","text":"TemporaryFile(/tmp/multipartBody5547125754362391524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831733531,"filename":"image_25012025_20_00_02_908456_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/23252eb6d81b9760fcd3d5de02eccb9e.jpg","text":"TemporaryFile(/tmp/multipartBody5449856406409870320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831733531,"filename":"image_25012025_19_59_02_691355_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6b22762f41cd08893ed7be13895c9cf2.jpg","text":"TemporaryFile(/tmp/multipartBody598633580297228648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831733531,"filename":"image_25012025_20_00_02_908456_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331432580","file1":"1331432534","file0":"1331432526","file3":"1331432587"},"map_files_photo_id_array":[{"photo_id":"1331432580","filename":"file2"},{"photo_id":"1331432534","filename":"file1"},{"photo_id":"1331432526","filename":"file0"},{"photo_id":"1331432587","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331432587":["hashtag1","hashtag2"]},{"1331432580":["hashtag1","hashtag2"]},{"1331432526":["hashtag1","hashtag2"]},{"1331432534":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331432587, 1331432580, 1331432526, 1331432534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.566972970962524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 20:01:51.786134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/00/image_25012025_20_00_02_908456_0003.jpg', '/home/pi/Desktop/images/25012025/20/01/image_25012025_20_01_03_044412_0000.jpg', '/home/pi/Desktop/images/25012025/20/01/image_25012025_20_01_03_044412_0001.jpg', '/home/pi/Desktop/images/25012025/20/01/image_25012025_20_01_03_044412_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/00/image_25012025_20_00_02_908456_0003.jpg
/home/pi/Desktop/images/25012025/20/01/image_25012025_20_01_03_044412_0000.jpg
/home/pi/Desktop/images/25012025/20/01/image_25012025_20_01_03_044412_0001.jpg
/home/pi/Desktop/images/25012025/20/01/image_25012025_20_01_03_044412_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: 10.674870252609253 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:02:21.993605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/00/image_25012025_20_00_02_908456_0003.jpg', '/home/pi/Desktop/images/25012025/20/01/image_25012025_20_01_03_044412_0000.jpg', '/home/pi/Desktop/images/25012025/20/01/image_25012025_20_01_03_044412_0001.jpg', '/home/pi/Desktop/images/25012025/20/01/image_25012025_20_01_03_044412_0002.jpg', '/home/pi/Desktop/images/25012025/20/01/image_25012025_20_01_03_044412_0003.jpg', '/home/pi/Desktop/images/25012025/20/02/image_25012025_20_02_02_205512_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/00/image_25012025_20_00_02_908456_0003.jpg
/home/pi/Desktop/images/25012025/20/01/image_25012025_20_01_03_044412_0000.jpg
/home/pi/Desktop/images/25012025/20/01/image_25012025_20_01_03_044412_0001.jpg
/home/pi/Desktop/images/25012025/20/01/image_25012025_20_01_03_044412_0002.jpg
/home/pi/Desktop/images/25012025/20/01/image_25012025_20_01_03_044412_0003.jpg
/home/pi/Desktop/images/25012025/20/02/image_25012025_20_02_02_205512_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 [200]>
b'{"photo_ids":["1331432707","1331432704","1331432700","1331432699","1331432702","1331432711"],"photo_ids_order":["1331432699","1331432700","1331432702","1331432704","1331432707","1331432711"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cdb6ca196c9f438eb5b4a9d07e8e7394.jpg","text":"TemporaryFile(/tmp/multipartBody8446850177274707826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831817887,"filename":"image_25012025_20_01_03_044412_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dc3a4a5cd79118b41d647aca8d43df22.jpg","text":"TemporaryFile(/tmp/multipartBody4288934182477357482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831817887,"filename":"image_25012025_20_01_03_044412_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/96704330ed866f9bab4f10d6e8a0b2b3.jpg","text":"TemporaryFile(/tmp/multipartBody8154182452480197284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831817887,"filename":"image_25012025_20_01_03_044412_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d7e9924a5c370443ef98e270a10679d4.jpg","text":"TemporaryFile(/tmp/multipartBody8826064902611089855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831817887,"filename":"image_25012025_20_00_02_908456_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/494a8b15b8ad4ce1b001cc26615232be.jpg","text":"TemporaryFile(/tmp/multipartBody5435677204221469182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831817887,"filename":"image_25012025_20_01_03_044412_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/63c59894eb13bd00e5d8b320d15be2b7.jpg","text":"TemporaryFile(/tmp/multipartBody7060905966855743896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831817887,"filename":"image_25012025_20_02_02_205512_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331432702","file1":"1331432700","file0":"1331432699","file4":"1331432707","file5":"1331432711","file3":"1331432704"},"map_files_photo_id_array":[{"photo_id":"1331432711","filename":"file5"},{"photo_id":"1331432702","filename":"file2"},{"photo_id":"1331432707","filename":"file4"},{"photo_id":"1331432700","filename":"file1"},{"photo_id":"1331432699","filename":"file0"},{"photo_id":"1331432704","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331432707":["hashtag1","hashtag2"]},{"1331432704":["hashtag1","hashtag2"]},{"1331432700":["hashtag1","hashtag2"]},{"1331432699":["hashtag1","hashtag2"]},{"1331432702":["hashtag1","hashtag2"]},{"1331432711":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331432707, 1331432704, 1331432700, 1331432699, 1331432702, 1331432711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.185290813446045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:03:22.220281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/02/image_25012025_20_02_02_205512_0001.jpg', '/home/pi/Desktop/images/25012025/20/02/image_25012025_20_02_02_205512_0002.jpg', '/home/pi/Desktop/images/25012025/20/02/image_25012025_20_02_02_205512_0003.jpg', '/home/pi/Desktop/images/25012025/20/03/image_25012025_20_03_02_414055_0000.jpg', '/home/pi/Desktop/images/25012025/20/03/image_25012025_20_03_02_414055_0001.jpg', '/home/pi/Desktop/images/25012025/20/03/image_25012025_20_03_02_414055_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/02/image_25012025_20_02_02_205512_0001.jpg
/home/pi/Desktop/images/25012025/20/02/image_25012025_20_02_02_205512_0002.jpg
/home/pi/Desktop/images/25012025/20/02/image_25012025_20_02_02_205512_0003.jpg
/home/pi/Desktop/images/25012025/20/03/image_25012025_20_03_02_414055_0000.jpg
/home/pi/Desktop/images/25012025/20/03/image_25012025_20_03_02_414055_0001.jpg
/home/pi/Desktop/images/25012025/20/03/image_25012025_20_03_02_414055_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 [200]>
b'{"photo_ids":["1331432743","1331432748","1331432733","1331432736","1331432739","1331432729"],"photo_ids_order":["1331432729","1331432733","1331432736","1331432739","1331432743","1331432748"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9d8996c64cae3ca72d6810e41279d350.jpg","text":"TemporaryFile(/tmp/multipartBody2369049914850609240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831877896,"filename":"image_25012025_20_03_02_414055_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/947604086c85f104cd0d2a79633f2490.jpg","text":"TemporaryFile(/tmp/multipartBody7339869129605521600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831877896,"filename":"image_25012025_20_03_02_414055_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dcf751944a09669b12a1a56c8991260a.jpg","text":"TemporaryFile(/tmp/multipartBody8811009973404283332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831877896,"filename":"image_25012025_20_02_02_205512_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/34e0cc993a931af2cc2721387a2b06a5.jpg","text":"TemporaryFile(/tmp/multipartBody1566735726007966697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831877896,"filename":"image_25012025_20_02_02_205512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/54324f6cd7415e30ab12986a40e60f96.jpg","text":"TemporaryFile(/tmp/multipartBody1597149795944937818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831877896,"filename":"image_25012025_20_03_02_414055_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bf9afbeba9218cc2b1fdcde56bcd575d.jpg","text":"TemporaryFile(/tmp/multipartBody8668693873103844054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831877896,"filename":"image_25012025_20_02_02_205512_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331432736","file1":"1331432733","file0":"1331432729","file4":"1331432743","file5":"1331432748","file3":"1331432739"},"map_files_photo_id_array":[{"photo_id":"1331432748","filename":"file5"},{"photo_id":"1331432736","filename":"file2"},{"photo_id":"1331432743","filename":"file4"},{"photo_id":"1331432733","filename":"file1"},{"photo_id":"1331432729","filename":"file0"},{"photo_id":"1331432739","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331432743":["hashtag1","hashtag2"]},{"1331432748":["hashtag1","hashtag2"]},{"1331432733":["hashtag1","hashtag2"]},{"1331432736":["hashtag1","hashtag2"]},{"1331432739":["hashtag1","hashtag2"]},{"1331432729":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331432743, 1331432748, 1331432733, 1331432736, 1331432739, 1331432729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.50888395309448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:04:22.466460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/03/image_25012025_20_03_02_414055_0003.jpg', '/home/pi/Desktop/images/25012025/20/04/image_25012025_20_04_02_552597_0000.jpg', '/home/pi/Desktop/images/25012025/20/04/image_25012025_20_04_02_552597_0001.jpg', '/home/pi/Desktop/images/25012025/20/04/image_25012025_20_04_02_552597_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/03/image_25012025_20_03_02_414055_0003.jpg
/home/pi/Desktop/images/25012025/20/04/image_25012025_20_04_02_552597_0000.jpg
/home/pi/Desktop/images/25012025/20/04/image_25012025_20_04_02_552597_0001.jpg
/home/pi/Desktop/images/25012025/20/04/image_25012025_20_04_02_552597_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":["1331432796","1331432799","1331432803","1331432807"],"photo_ids_order":["1331432796","1331432799","1331432803","1331432807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3bac534a7a6657c227a249cb3782e2dc.jpg","text":"TemporaryFile(/tmp/multipartBody5512280005710554142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831933936,"filename":"image_25012025_20_03_02_414055_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/94dcf849652b3e822c595d3d7a9533f9.jpg","text":"TemporaryFile(/tmp/multipartBody1618486471995156204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831933936,"filename":"image_25012025_20_04_02_552597_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b856d9aaad085b823a6b3238415131f6.jpg","text":"TemporaryFile(/tmp/multipartBody1615351157047047122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831933936,"filename":"image_25012025_20_04_02_552597_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/18c00afaaf095cd2de26ce8b35652a72.jpg","text":"TemporaryFile(/tmp/multipartBody7518311585572237548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831933936,"filename":"image_25012025_20_04_02_552597_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331432803","file1":"1331432799","file0":"1331432796","file3":"1331432807"},"map_files_photo_id_array":[{"photo_id":"1331432803","filename":"file2"},{"photo_id":"1331432799","filename":"file1"},{"photo_id":"1331432796","filename":"file0"},{"photo_id":"1331432807","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331432796":["hashtag1","hashtag2"]},{"1331432799":["hashtag1","hashtag2"]},{"1331432803":["hashtag1","hashtag2"]},{"1331432807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331432796, 1331432799, 1331432803, 1331432807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.80536985397339 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 20:05:03.173448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/13/image_21012025_22_13_02_665459_0002.jpg', '/home/pi/Desktop/images/21012025/22/13/image_21012025_22_13_02_665459_0003.jpg', '/home/pi/Desktop/images/21012025/22/14/image_21012025_22_14_02_856050_0000.jpg', '/home/pi/Desktop/images/21012025/22/14/image_21012025_22_14_02_856050_0001.jpg', '/home/pi/Desktop/images/21012025/22/14/image_21012025_22_14_02_856050_0002.jpg', '/home/pi/Desktop/images/21012025/22/14/image_21012025_22_14_02_856050_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/22/13/image_21012025_22_13_02_665459_0002.jpg
/home/pi/Desktop/images/21012025/22/13/image_21012025_22_13_02_665459_0003.jpg
/home/pi/Desktop/images/21012025/22/14/image_21012025_22_14_02_856050_0000.jpg
/home/pi/Desktop/images/21012025/22/14/image_21012025_22_14_02_856050_0001.jpg
/home/pi/Desktop/images/21012025/22/14/image_21012025_22_14_02_856050_0002.jpg
/home/pi/Desktop/images/21012025/22/14/image_21012025_22_14_02_856050_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 [200]>
b'{"photo_ids":["1331432832","1331432823","1331432960","1331432930","1331432828","1331432837"],"photo_ids_order":["1331432823","1331432828","1331432832","1331432837","1331432930","1331432960"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6326dab6c7da2535d83241d804ff2abb.jpg","text":"TemporaryFile(/tmp/multipartBody5793009699461793414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831980631,"filename":"image_21012025_22_14_02_856050_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/248f5ad56a456882ef52b6a5ac098002.jpg","text":"TemporaryFile(/tmp/multipartBody5398630749348881621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831980631,"filename":"image_21012025_22_13_02_665459_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e90157d67258a9494e7d906e7feb1266.jpg","text":"TemporaryFile(/tmp/multipartBody1328515752044214994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831980631,"filename":"image_21012025_22_14_02_856050_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ca971647c73c4f060815822db01eb4ce.jpg","text":"TemporaryFile(/tmp/multipartBody6955739178704741063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831980631,"filename":"image_21012025_22_14_02_856050_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/caf88b0a257225baffdee868128435ee.jpg","text":"TemporaryFile(/tmp/multipartBody3550062618724814503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831980631,"filename":"image_21012025_22_13_02_665459_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3fc294af54f39ee6d51e08fd53c83bf0.jpg","text":"TemporaryFile(/tmp/multipartBody2768549519730595903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737831980631,"filename":"image_21012025_22_14_02_856050_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331432832","file1":"1331432828","file0":"1331432823","file4":"1331432930","file5":"1331432960","file3":"1331432837"},"map_files_photo_id_array":[{"photo_id":"1331432960","filename":"file5"},{"photo_id":"1331432832","filename":"file2"},{"photo_id":"1331432930","filename":"file4"},{"photo_id":"1331432828","filename":"file1"},{"photo_id":"1331432823","filename":"file0"},{"photo_id":"1331432837","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331432832":["hashtag1","hashtag2"]},{"1331432823":["hashtag1","hashtag2"]},{"1331432960":["hashtag1","hashtag2"]},{"1331432930":["hashtag1","hashtag2"]},{"1331432828":["hashtag1","hashtag2"]},{"1331432837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331432832, 1331432823, 1331432960, 1331432930, 1331432828, 1331432837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.96351408958435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 20:06:03.067504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/04/image_25012025_20_04_02_552597_0003.jpg', '/home/pi/Desktop/images/25012025/20/05/image_25012025_20_05_02_693930_0000.jpg', '/home/pi/Desktop/images/25012025/20/05/image_25012025_20_05_02_693930_0001.jpg', '/home/pi/Desktop/images/25012025/20/05/image_25012025_20_05_02_693930_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/04/image_25012025_20_04_02_552597_0003.jpg
/home/pi/Desktop/images/25012025/20/05/image_25012025_20_05_02_693930_0000.jpg
/home/pi/Desktop/images/25012025/20/05/image_25012025_20_05_02_693930_0001.jpg
/home/pi/Desktop/images/25012025/20/05/image_25012025_20_05_02_693930_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.306177139282227 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:06:22.812013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/04/image_25012025_20_04_02_552597_0003.jpg', '/home/pi/Desktop/images/25012025/20/05/image_25012025_20_05_02_693930_0000.jpg', '/home/pi/Desktop/images/25012025/20/05/image_25012025_20_05_02_693930_0001.jpg', '/home/pi/Desktop/images/25012025/20/05/image_25012025_20_05_02_693930_0002.jpg', '/home/pi/Desktop/images/25012025/20/05/image_25012025_20_05_02_693930_0003.jpg', '/home/pi/Desktop/images/25012025/20/06/image_25012025_20_06_02_947300_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/04/image_25012025_20_04_02_552597_0003.jpg
/home/pi/Desktop/images/25012025/20/05/image_25012025_20_05_02_693930_0000.jpg
/home/pi/Desktop/images/25012025/20/05/image_25012025_20_05_02_693930_0001.jpg
/home/pi/Desktop/images/25012025/20/05/image_25012025_20_05_02_693930_0002.jpg
/home/pi/Desktop/images/25012025/20/05/image_25012025_20_05_02_693930_0003.jpg
/home/pi/Desktop/images/25012025/20/06/image_25012025_20_06_02_947300_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 [200]>
b'{"photo_ids":["1331434188","1331434195","1331433911","1331434197","1331434201","1331434191"],"photo_ids_order":["1331433911","1331434188","1331434191","1331434195","1331434197","1331434201"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2dd2f2ec45e0fab5ad334eeb9035fbbc.jpg","text":"TemporaryFile(/tmp/multipartBody3460001540432245931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832058652,"filename":"image_25012025_20_05_02_693930_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b9541c8aa0f27e604f62de82fe42af84.jpg","text":"TemporaryFile(/tmp/multipartBody5289291962480273685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832058652,"filename":"image_25012025_20_05_02_693930_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0901652a82b369701678818bb44cfaeb.jpg","text":"TemporaryFile(/tmp/multipartBody1681607220441865592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832058652,"filename":"image_25012025_20_04_02_552597_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8da789fe8ed3c528b187bc891bbbb93d.jpg","text":"TemporaryFile(/tmp/multipartBody6354881045596893269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832058652,"filename":"image_25012025_20_05_02_693930_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6fe5e863d5036cc55909f119c5b02cb8.jpg","text":"TemporaryFile(/tmp/multipartBody1446797475770600061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832058652,"filename":"image_25012025_20_06_02_947300_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7eaa9fa1c4795a01022dc16efe2c79bb.jpg","text":"TemporaryFile(/tmp/multipartBody5476647246526624044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832058652,"filename":"image_25012025_20_05_02_693930_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331434191","file1":"1331434188","file0":"1331433911","file4":"1331434197","file5":"1331434201","file3":"1331434195"},"map_files_photo_id_array":[{"photo_id":"1331434201","filename":"file5"},{"photo_id":"1331434191","filename":"file2"},{"photo_id":"1331434197","filename":"file4"},{"photo_id":"1331434188","filename":"file1"},{"photo_id":"1331433911","filename":"file0"},{"photo_id":"1331434195","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331434188":["hashtag1","hashtag2"]},{"1331434195":["hashtag1","hashtag2"]},{"1331433911":["hashtag1","hashtag2"]},{"1331434197":["hashtag1","hashtag2"]},{"1331434201":["hashtag1","hashtag2"]},{"1331434191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331434188, 1331434195, 1331433911, 1331434197, 1331434201, 1331434191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.55829977989197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:07:21.961281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/06/image_25012025_20_06_02_947300_0001.jpg', '/home/pi/Desktop/images/25012025/20/06/image_25012025_20_06_02_947300_0002.jpg', '/home/pi/Desktop/images/25012025/20/06/image_25012025_20_06_02_947300_0003.jpg', '/home/pi/Desktop/images/25012025/20/07/image_25012025_20_07_03_107676_0000.jpg', '/home/pi/Desktop/images/25012025/20/07/image_25012025_20_07_03_107676_0001.jpg', '/home/pi/Desktop/images/25012025/20/07/image_25012025_20_07_03_107676_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/06/image_25012025_20_06_02_947300_0001.jpg
/home/pi/Desktop/images/25012025/20/06/image_25012025_20_06_02_947300_0002.jpg
/home/pi/Desktop/images/25012025/20/06/image_25012025_20_06_02_947300_0003.jpg
/home/pi/Desktop/images/25012025/20/07/image_25012025_20_07_03_107676_0000.jpg
/home/pi/Desktop/images/25012025/20/07/image_25012025_20_07_03_107676_0001.jpg
/home/pi/Desktop/images/25012025/20/07/image_25012025_20_07_03_107676_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 [200]>
b'{"photo_ids":["1331434221","1331434218","1331434259","1331434250","1331434238","1331434225"],"photo_ids_order":["1331434218","1331434221","1331434225","1331434238","1331434250","1331434259"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c70c832bdc542a68ae9602f9e2aad0ec.jpg","text":"TemporaryFile(/tmp/multipartBody4269850344770663199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832117937,"filename":"image_25012025_20_06_02_947300_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cd6bad72fed3f6f61bad6c45b03d0ec3.jpg","text":"TemporaryFile(/tmp/multipartBody5944543179887937258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832117937,"filename":"image_25012025_20_06_02_947300_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d2fbd740546e0e4c66d7428c00a36425.jpg","text":"TemporaryFile(/tmp/multipartBody8771044552622032741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832117937,"filename":"image_25012025_20_07_03_107676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ff7d787d945140870586b299fe1ca4fb.jpg","text":"TemporaryFile(/tmp/multipartBody5766572589835372348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832117937,"filename":"image_25012025_20_07_03_107676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9fbebe094584afb4afe0e2850bb46441.jpg","text":"TemporaryFile(/tmp/multipartBody6646064521272094710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832117937,"filename":"image_25012025_20_07_03_107676_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c6ca9849dccaa5a68c44d8a405ccb54.jpg","text":"TemporaryFile(/tmp/multipartBody2333775469916856461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832117937,"filename":"image_25012025_20_06_02_947300_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331434225","file1":"1331434221","file0":"1331434218","file4":"1331434250","file5":"1331434259","file3":"1331434238"},"map_files_photo_id_array":[{"photo_id":"1331434259","filename":"file5"},{"photo_id":"1331434225","filename":"file2"},{"photo_id":"1331434250","filename":"file4"},{"photo_id":"1331434221","filename":"file1"},{"photo_id":"1331434218","filename":"file0"},{"photo_id":"1331434238","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331434221":["hashtag1","hashtag2"]},{"1331434218":["hashtag1","hashtag2"]},{"1331434259":["hashtag1","hashtag2"]},{"1331434250":["hashtag1","hashtag2"]},{"1331434238":["hashtag1","hashtag2"]},{"1331434225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331434221, 1331434218, 1331434259, 1331434250, 1331434238, 1331434225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.924253940582275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:08:22.105635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/07/image_25012025_20_07_03_107676_0003.jpg', '/home/pi/Desktop/images/25012025/20/08/image_25012025_20_08_02_289602_0000.jpg', '/home/pi/Desktop/images/25012025/20/08/image_25012025_20_08_02_289602_0001.jpg', '/home/pi/Desktop/images/25012025/20/08/image_25012025_20_08_02_289602_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/07/image_25012025_20_07_03_107676_0003.jpg
/home/pi/Desktop/images/25012025/20/08/image_25012025_20_08_02_289602_0000.jpg
/home/pi/Desktop/images/25012025/20/08/image_25012025_20_08_02_289602_0001.jpg
/home/pi/Desktop/images/25012025/20/08/image_25012025_20_08_02_289602_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":["1331434799","1331434802","1331434805","1331434765"],"photo_ids_order":["1331434765","1331434799","1331434802","1331434805"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6d3d843ddf8ba17708e2d30b2bebad1a.jpg","text":"TemporaryFile(/tmp/multipartBody2535608979086727973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832172739,"filename":"image_25012025_20_08_02_289602_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e9542e8c6b18eb702876a7b3be46f0a0.jpg","text":"TemporaryFile(/tmp/multipartBody5606832875070650417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832172739,"filename":"image_25012025_20_08_02_289602_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d42a2568b43340ec2977512933498024.jpg","text":"TemporaryFile(/tmp/multipartBody7345287047847530096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832172739,"filename":"image_25012025_20_08_02_289602_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1c7ad6b36aa47df9455ba95da0894cea.jpg","text":"TemporaryFile(/tmp/multipartBody3450612867114960817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832172739,"filename":"image_25012025_20_07_03_107676_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331434802","file1":"1331434799","file0":"1331434765","file3":"1331434805"},"map_files_photo_id_array":[{"photo_id":"1331434802","filename":"file2"},{"photo_id":"1331434799","filename":"file1"},{"photo_id":"1331434765","filename":"file0"},{"photo_id":"1331434805","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331434799":["hashtag1","hashtag2"]},{"1331434802":["hashtag1","hashtag2"]},{"1331434805":["hashtag1","hashtag2"]},{"1331434765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331434799, 1331434802, 1331434805, 1331434765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.806620597839355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 20:09:02.920505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/15/image_21012025_22_15_03_040068_0000.jpg', '/home/pi/Desktop/images/21012025/22/15/image_21012025_22_15_03_040068_0001.jpg', '/home/pi/Desktop/images/21012025/22/15/image_21012025_22_15_03_040068_0002.jpg', '/home/pi/Desktop/images/21012025/22/15/image_21012025_22_15_03_040068_0003.jpg', '/home/pi/Desktop/images/21012025/22/16/image_21012025_22_16_02_195508_0000.jpg', '/home/pi/Desktop/images/21012025/22/16/image_21012025_22_16_02_195508_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/22/15/image_21012025_22_15_03_040068_0000.jpg
/home/pi/Desktop/images/21012025/22/15/image_21012025_22_15_03_040068_0001.jpg
/home/pi/Desktop/images/21012025/22/15/image_21012025_22_15_03_040068_0002.jpg
/home/pi/Desktop/images/21012025/22/15/image_21012025_22_15_03_040068_0003.jpg
/home/pi/Desktop/images/21012025/22/16/image_21012025_22_16_02_195508_0000.jpg
/home/pi/Desktop/images/21012025/22/16/image_21012025_22_16_02_195508_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":["1331435208","1331435198","1331435210","1331435203","1331435193","1331435206"],"photo_ids_order":["1331435193","1331435198","1331435203","1331435206","1331435208","1331435210"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7fb957242052ce47077e116843841b63.jpg","text":"TemporaryFile(/tmp/multipartBody7677204331261653916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832220475,"filename":"image_21012025_22_16_02_195508_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4fb7e9e62a8b2fc73ee6387171b25b1e.jpg","text":"TemporaryFile(/tmp/multipartBody2130223966415731056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832220475,"filename":"image_21012025_22_15_03_040068_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/44dbfc388be78e61d9840ee78686f2a5.jpg","text":"TemporaryFile(/tmp/multipartBody384919342728684696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832220475,"filename":"image_21012025_22_16_02_195508_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7f63bfadf74adf76a199e1dc8238f3c0.jpg","text":"TemporaryFile(/tmp/multipartBody4955178212569214058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832220475,"filename":"image_21012025_22_15_03_040068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cf0b5267f58980bdb0259b662393cff4.jpg","text":"TemporaryFile(/tmp/multipartBody27615621157469040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832220475,"filename":"image_21012025_22_15_03_040068_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eea9ecb5a0f7397e6676e43e06bad93d.jpg","text":"TemporaryFile(/tmp/multipartBody2404230596092113954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832220475,"filename":"image_21012025_22_15_03_040068_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331435203","file1":"1331435198","file0":"1331435193","file4":"1331435208","file5":"1331435210","file3":"1331435206"},"map_files_photo_id_array":[{"photo_id":"1331435210","filename":"file5"},{"photo_id":"1331435203","filename":"file2"},{"photo_id":"1331435208","filename":"file4"},{"photo_id":"1331435198","filename":"file1"},{"photo_id":"1331435193","filename":"file0"},{"photo_id":"1331435206","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331435208":["hashtag1","hashtag2"]},{"1331435198":["hashtag1","hashtag2"]},{"1331435210":["hashtag1","hashtag2"]},{"1331435203":["hashtag1","hashtag2"]},{"1331435193":["hashtag1","hashtag2"]},{"1331435206":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331435208, 1331435198, 1331435210, 1331435203, 1331435193, 1331435206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.899035930633545 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 20:10:02.855778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/08/image_25012025_20_08_02_289602_0003.jpg', '/home/pi/Desktop/images/25012025/20/09/image_25012025_20_09_02_457883_0000.jpg', '/home/pi/Desktop/images/25012025/20/09/image_25012025_20_09_02_457883_0001.jpg', '/home/pi/Desktop/images/25012025/20/09/image_25012025_20_09_02_457883_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/08/image_25012025_20_08_02_289602_0003.jpg
/home/pi/Desktop/images/25012025/20/09/image_25012025_20_09_02_457883_0000.jpg
/home/pi/Desktop/images/25012025/20/09/image_25012025_20_09_02_457883_0001.jpg
/home/pi/Desktop/images/25012025/20/09/image_25012025_20_09_02_457883_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":["1331435360","1331435354","1331435227","1331435364"],"photo_ids_order":["1331435227","1331435354","1331435360","1331435364"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8d6219d3ab271bf6bf154c8b9d1f0ac6.jpg","text":"TemporaryFile(/tmp/multipartBody8111928104093312081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832273743,"filename":"image_25012025_20_09_02_457883_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f2ee4d6060e0018226dfc01a2879e810.jpg","text":"TemporaryFile(/tmp/multipartBody6671947465208937972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832273743,"filename":"image_25012025_20_09_02_457883_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/89bf212a025eaaa69802a65a5ad1ce45.jpg","text":"TemporaryFile(/tmp/multipartBody2282069590664438028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832273743,"filename":"image_25012025_20_08_02_289602_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/43444d9797e492637da7f0ad8cef2255.jpg","text":"TemporaryFile(/tmp/multipartBody1903895561784637023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832273743,"filename":"image_25012025_20_09_02_457883_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331435360","file1":"1331435354","file0":"1331435227","file3":"1331435364"},"map_files_photo_id_array":[{"photo_id":"1331435360","filename":"file2"},{"photo_id":"1331435354","filename":"file1"},{"photo_id":"1331435227","filename":"file0"},{"photo_id":"1331435364","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331435360":["hashtag1","hashtag2"]},{"1331435354":["hashtag1","hashtag2"]},{"1331435227":["hashtag1","hashtag2"]},{"1331435364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331435360, 1331435354, 1331435227, 1331435364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.477718353271484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 20:10:42.334783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/09/image_25012025_20_09_02_457883_0003.jpg', '/home/pi/Desktop/images/25012025/20/10/image_25012025_20_10_02_650567_0000.jpg', '/home/pi/Desktop/images/25012025/20/10/image_25012025_20_10_02_650567_0001.jpg', '/home/pi/Desktop/images/25012025/20/10/image_25012025_20_10_02_650567_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/09/image_25012025_20_09_02_457883_0003.jpg
/home/pi/Desktop/images/25012025/20/10/image_25012025_20_10_02_650567_0000.jpg
/home/pi/Desktop/images/25012025/20/10/image_25012025_20_10_02_650567_0001.jpg
/home/pi/Desktop/images/25012025/20/10/image_25012025_20_10_02_650567_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":["1331435390","1331435447","1331435377","1331435451"],"photo_ids_order":["1331435377","1331435390","1331435447","1331435451"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/00f22e64f183a0f698daccc854b5ea3c.jpg","text":"TemporaryFile(/tmp/multipartBody1525044784021360925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832313555,"filename":"image_25012025_20_10_02_650567_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/caa70a0ec9bab77919ec8f5798057269.jpg","text":"TemporaryFile(/tmp/multipartBody777940856881304800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832313555,"filename":"image_25012025_20_10_02_650567_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e4a435b2b03d6c2daaa579990094687c.jpg","text":"TemporaryFile(/tmp/multipartBody8905687368073922730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832313555,"filename":"image_25012025_20_09_02_457883_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6135f9a417f3d8fc8eeaf40ea5ccba86.jpg","text":"TemporaryFile(/tmp/multipartBody9034737631494536532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832313555,"filename":"image_25012025_20_10_02_650567_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331435447","file1":"1331435390","file0":"1331435377","file3":"1331435451"},"map_files_photo_id_array":[{"photo_id":"1331435447","filename":"file2"},{"photo_id":"1331435390","filename":"file1"},{"photo_id":"1331435377","filename":"file0"},{"photo_id":"1331435451","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331435390":["hashtag1","hashtag2"]},{"1331435447":["hashtag1","hashtag2"]},{"1331435377":["hashtag1","hashtag2"]},{"1331435451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331435390, 1331435447, 1331435377, 1331435451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.11039137840271 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 20:11:32.623006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/10/image_25012025_20_10_02_650567_0003.jpg', '/home/pi/Desktop/images/25012025/20/11/image_25012025_20_11_02_854386_0000.jpg', '/home/pi/Desktop/images/25012025/20/11/image_25012025_20_11_02_854386_0001.jpg', '/home/pi/Desktop/images/25012025/20/11/image_25012025_20_11_02_854386_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/10/image_25012025_20_10_02_650567_0003.jpg
/home/pi/Desktop/images/25012025/20/11/image_25012025_20_11_02_854386_0000.jpg
/home/pi/Desktop/images/25012025/20/11/image_25012025_20_11_02_854386_0001.jpg
/home/pi/Desktop/images/25012025/20/11/image_25012025_20_11_02_854386_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":["1331435526","1331435519","1331435530","1331435523"],"photo_ids_order":["1331435519","1331435523","1331435526","1331435530"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/90566ccb78215a1077b53ee191d92d4c.jpg","text":"TemporaryFile(/tmp/multipartBody8028307647374380762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832363711,"filename":"image_25012025_20_11_02_854386_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2330ded80deb202f4a170a84698de805.jpg","text":"TemporaryFile(/tmp/multipartBody1695438922750209035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832363711,"filename":"image_25012025_20_10_02_650567_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/79decdb71523bde54f3d6bda634a3df1.jpg","text":"TemporaryFile(/tmp/multipartBody2078382899800951326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832363711,"filename":"image_25012025_20_11_02_854386_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a6ceba4c3afc6400a8c45b9070668209.jpg","text":"TemporaryFile(/tmp/multipartBody8825493122304663301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832363711,"filename":"image_25012025_20_11_02_854386_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331435526","file1":"1331435523","file0":"1331435519","file3":"1331435530"},"map_files_photo_id_array":[{"photo_id":"1331435526","filename":"file2"},{"photo_id":"1331435523","filename":"file1"},{"photo_id":"1331435519","filename":"file0"},{"photo_id":"1331435530","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331435526":["hashtag1","hashtag2"]},{"1331435519":["hashtag1","hashtag2"]},{"1331435530":["hashtag1","hashtag2"]},{"1331435523":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331435526, 1331435519, 1331435530, 1331435523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.43609571456909 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:12:21.845717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/11/image_25012025_20_11_02_854386_0003.jpg', '/home/pi/Desktop/images/25012025/20/12/image_25012025_20_12_02_975182_0000.jpg', '/home/pi/Desktop/images/25012025/20/12/image_25012025_20_12_02_975182_0001.jpg', '/home/pi/Desktop/images/25012025/20/12/image_25012025_20_12_02_975182_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/11/image_25012025_20_11_02_854386_0003.jpg
/home/pi/Desktop/images/25012025/20/12/image_25012025_20_12_02_975182_0000.jpg
/home/pi/Desktop/images/25012025/20/12/image_25012025_20_12_02_975182_0001.jpg
/home/pi/Desktop/images/25012025/20/12/image_25012025_20_12_02_975182_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 [200]>
b'{"photo_ids":["1331435802","1331435798","1331435791","1331435781"],"photo_ids_order":["1331435781","1331435791","1331435798","1331435802"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a09658b48577ecdcaf2e1b05f705a6b3.jpg","text":"TemporaryFile(/tmp/multipartBody8022040362149543754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832413263,"filename":"image_25012025_20_12_02_975182_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8acb68b28ef3d657c1d8a9f20fc1fe23.jpg","text":"TemporaryFile(/tmp/multipartBody99422933394991891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832413263,"filename":"image_25012025_20_12_02_975182_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9dfb12edd279fd3fc3d4c5c893e2c513.jpg","text":"TemporaryFile(/tmp/multipartBody2020523825445274476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832413263,"filename":"image_25012025_20_12_02_975182_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bdb4c62f3343b779af64e8efff0d0b9c.jpg","text":"TemporaryFile(/tmp/multipartBody5222127400992652844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832413263,"filename":"image_25012025_20_11_02_854386_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331435798","file1":"1331435791","file0":"1331435781","file3":"1331435802"},"map_files_photo_id_array":[{"photo_id":"1331435798","filename":"file2"},{"photo_id":"1331435791","filename":"file1"},{"photo_id":"1331435781","filename":"file0"},{"photo_id":"1331435802","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331435802":["hashtag1","hashtag2"]},{"1331435798":["hashtag1","hashtag2"]},{"1331435791":["hashtag1","hashtag2"]},{"1331435781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331435802, 1331435798, 1331435791, 1331435781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.82106351852417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:13:21.995408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/12/image_25012025_20_12_02_975182_0003.jpg', '/home/pi/Desktop/images/25012025/20/13/image_25012025_20_13_02_259555_0000.jpg', '/home/pi/Desktop/images/25012025/20/13/image_25012025_20_13_02_259555_0001.jpg', '/home/pi/Desktop/images/25012025/20/13/image_25012025_20_13_02_259555_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/12/image_25012025_20_12_02_975182_0003.jpg
/home/pi/Desktop/images/25012025/20/13/image_25012025_20_13_02_259555_0000.jpg
/home/pi/Desktop/images/25012025/20/13/image_25012025_20_13_02_259555_0001.jpg
/home/pi/Desktop/images/25012025/20/13/image_25012025_20_13_02_259555_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":["1331435894","1331435902","1331435905","1331435898"],"photo_ids_order":["1331435894","1331435898","1331435902","1331435905"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ba210379b272b3b6ccc3e722ed394a29.jpg","text":"TemporaryFile(/tmp/multipartBody1460407432092606826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832473286,"filename":"image_25012025_20_12_02_975182_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6367fef71962ed09f04c3a9665902637.jpg","text":"TemporaryFile(/tmp/multipartBody1535297373118218170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832473286,"filename":"image_25012025_20_13_02_259555_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c099deb485113bd1b6285612a921ef97.jpg","text":"TemporaryFile(/tmp/multipartBody3278189449702161154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832473286,"filename":"image_25012025_20_13_02_259555_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/610d468edea619fb4241ea91fb565d2e.jpg","text":"TemporaryFile(/tmp/multipartBody8937996546435636132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832473286,"filename":"image_25012025_20_13_02_259555_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331435902","file1":"1331435898","file0":"1331435894","file3":"1331435905"},"map_files_photo_id_array":[{"photo_id":"1331435902","filename":"file2"},{"photo_id":"1331435898","filename":"file1"},{"photo_id":"1331435894","filename":"file0"},{"photo_id":"1331435905","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331435894":["hashtag1","hashtag2"]},{"1331435902":["hashtag1","hashtag2"]},{"1331435905":["hashtag1","hashtag2"]},{"1331435898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331435894, 1331435902, 1331435905, 1331435898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.19954204559326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 20:14:02.487908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/16/image_21012025_22_16_02_195508_0002.jpg', '/home/pi/Desktop/images/21012025/22/16/image_21012025_22_16_02_195508_0003.jpg', '/home/pi/Desktop/images/21012025/22/17/image_21012025_22_17_02_450211_0000.jpg', '/home/pi/Desktop/images/21012025/22/17/image_21012025_22_17_02_450211_0001.jpg', '/home/pi/Desktop/images/21012025/22/17/image_21012025_22_17_02_450211_0002.jpg', '/home/pi/Desktop/images/21012025/22/17/image_21012025_22_17_02_450211_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/22/16/image_21012025_22_16_02_195508_0002.jpg
/home/pi/Desktop/images/21012025/22/16/image_21012025_22_16_02_195508_0003.jpg
/home/pi/Desktop/images/21012025/22/17/image_21012025_22_17_02_450211_0000.jpg
/home/pi/Desktop/images/21012025/22/17/image_21012025_22_17_02_450211_0001.jpg
/home/pi/Desktop/images/21012025/22/17/image_21012025_22_17_02_450211_0002.jpg
/home/pi/Desktop/images/21012025/22/17/image_21012025_22_17_02_450211_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 [200]>
b'{"photo_ids":["1331435939","1331435924","1331435927","1331435920","1331435931","1331435934"],"photo_ids_order":["1331435920","1331435924","1331435927","1331435931","1331435934","1331435939"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e80a0669dfe163e421efe207ce9e3c34.jpg","text":"TemporaryFile(/tmp/multipartBody9005836718683354063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832520763,"filename":"image_21012025_22_17_02_450211_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a02100c6983a6fd6982df035ab229cb7.jpg","text":"TemporaryFile(/tmp/multipartBody7462490680286805422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832520763,"filename":"image_21012025_22_16_02_195508_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/95734b4729ed5ebd52a5497d078019a0.jpg","text":"TemporaryFile(/tmp/multipartBody6825841648969394201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832520763,"filename":"image_21012025_22_17_02_450211_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c01f3608c696261d68f97dc154efc605.jpg","text":"TemporaryFile(/tmp/multipartBody2059000066258607199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832520763,"filename":"image_21012025_22_16_02_195508_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9dca514f5be7aca410e9ede85b6b2917.jpg","text":"TemporaryFile(/tmp/multipartBody2714399739122973124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832520763,"filename":"image_21012025_22_17_02_450211_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f38765958b9af61b33e8bc1c0d68c738.jpg","text":"TemporaryFile(/tmp/multipartBody1603198938481496457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832520763,"filename":"image_21012025_22_17_02_450211_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331435927","file1":"1331435924","file0":"1331435920","file4":"1331435934","file5":"1331435939","file3":"1331435931"},"map_files_photo_id_array":[{"photo_id":"1331435939","filename":"file5"},{"photo_id":"1331435927","filename":"file2"},{"photo_id":"1331435934","filename":"file4"},{"photo_id":"1331435924","filename":"file1"},{"photo_id":"1331435920","filename":"file0"},{"photo_id":"1331435931","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331435939":["hashtag1","hashtag2"]},{"1331435924":["hashtag1","hashtag2"]},{"1331435927":["hashtag1","hashtag2"]},{"1331435920":["hashtag1","hashtag2"]},{"1331435931":["hashtag1","hashtag2"]},{"1331435934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331435939, 1331435924, 1331435927, 1331435920, 1331435931, 1331435934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.840197801589966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 20:15:02.881502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/13/image_25012025_20_13_02_259555_0003.jpg', '/home/pi/Desktop/images/25012025/20/14/image_25012025_20_14_02_384973_0000.jpg', '/home/pi/Desktop/images/25012025/20/14/image_25012025_20_14_02_384973_0001.jpg', '/home/pi/Desktop/images/25012025/20/14/image_25012025_20_14_02_384973_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/13/image_25012025_20_13_02_259555_0003.jpg
/home/pi/Desktop/images/25012025/20/14/image_25012025_20_14_02_384973_0000.jpg
/home/pi/Desktop/images/25012025/20/14/image_25012025_20_14_02_384973_0001.jpg
/home/pi/Desktop/images/25012025/20/14/image_25012025_20_14_02_384973_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":["1331435996","1331435960","1331436046","1331435992"],"photo_ids_order":["1331435960","1331435992","1331435996","1331436046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/05bb9fc23eb72dd0474b00dcddcfbb1d.jpg","text":"TemporaryFile(/tmp/multipartBody6195056046050198633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832574428,"filename":"image_25012025_20_14_02_384973_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0f6c1aad6de05bff5513715e87631c2a.jpg","text":"TemporaryFile(/tmp/multipartBody1036581582546701458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832574428,"filename":"image_25012025_20_13_02_259555_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/66d5fd965e920f2e92973d4713b1c250.jpg","text":"TemporaryFile(/tmp/multipartBody2586481137147827973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832574428,"filename":"image_25012025_20_14_02_384973_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/baadb741f2a1142b188dd714dad20ce2.jpg","text":"TemporaryFile(/tmp/multipartBody1415281502847429920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832574428,"filename":"image_25012025_20_14_02_384973_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331435996","file1":"1331435992","file0":"1331435960","file3":"1331436046"},"map_files_photo_id_array":[{"photo_id":"1331435996","filename":"file2"},{"photo_id":"1331435992","filename":"file1"},{"photo_id":"1331435960","filename":"file0"},{"photo_id":"1331436046","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331435996":["hashtag1","hashtag2"]},{"1331435960":["hashtag1","hashtag2"]},{"1331436046":["hashtag1","hashtag2"]},{"1331435992":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331435996, 1331435960, 1331436046, 1331435992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68198084831238 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 20:15:52.270046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/14/image_25012025_20_14_02_384973_0003.jpg', '/home/pi/Desktop/images/25012025/20/15/image_25012025_20_15_02_445003_0000.jpg', '/home/pi/Desktop/images/25012025/20/15/image_25012025_20_15_02_445003_0001.jpg', '/home/pi/Desktop/images/25012025/20/15/image_25012025_20_15_02_445003_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/14/image_25012025_20_14_02_384973_0003.jpg
/home/pi/Desktop/images/25012025/20/15/image_25012025_20_15_02_445003_0000.jpg
/home/pi/Desktop/images/25012025/20/15/image_25012025_20_15_02_445003_0001.jpg
/home/pi/Desktop/images/25012025/20/15/image_25012025_20_15_02_445003_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":["1331436110","1331436113","1331436121","1331436117"],"photo_ids_order":["1331436110","1331436113","1331436117","1331436121"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/da26bea0929a1c100422d22ec4592949.jpg","text":"TemporaryFile(/tmp/multipartBody4564107943864594269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832623591,"filename":"image_25012025_20_14_02_384973_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b58c80abb52f2b15fc4ee309d948a515.jpg","text":"TemporaryFile(/tmp/multipartBody5561228137264388819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832623591,"filename":"image_25012025_20_15_02_445003_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bd6881f5d3db7846c4c26267a1968317.jpg","text":"TemporaryFile(/tmp/multipartBody1263457996941401812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832623591,"filename":"image_25012025_20_15_02_445003_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/16f7f571283a762f3f745775f3b056a0.jpg","text":"TemporaryFile(/tmp/multipartBody991433776478240226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832623591,"filename":"image_25012025_20_15_02_445003_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331436117","file1":"1331436113","file0":"1331436110","file3":"1331436121"},"map_files_photo_id_array":[{"photo_id":"1331436117","filename":"file2"},{"photo_id":"1331436113","filename":"file1"},{"photo_id":"1331436110","filename":"file0"},{"photo_id":"1331436121","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331436110":["hashtag1","hashtag2"]},{"1331436113":["hashtag1","hashtag2"]},{"1331436121":["hashtag1","hashtag2"]},{"1331436117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331436110, 1331436113, 1331436121, 1331436117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.20828175544739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 20:16:42.417001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/15/image_25012025_20_15_02_445003_0003.jpg', '/home/pi/Desktop/images/25012025/20/16/image_25012025_20_16_02_638911_0000.jpg', '/home/pi/Desktop/images/25012025/20/16/image_25012025_20_16_02_638911_0001.jpg', '/home/pi/Desktop/images/25012025/20/16/image_25012025_20_16_02_638911_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/15/image_25012025_20_15_02_445003_0003.jpg
/home/pi/Desktop/images/25012025/20/16/image_25012025_20_16_02_638911_0000.jpg
/home/pi/Desktop/images/25012025/20/16/image_25012025_20_16_02_638911_0001.jpg
/home/pi/Desktop/images/25012025/20/16/image_25012025_20_16_02_638911_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: 11.098554134368896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 20:17:03.225235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/15/image_25012025_20_15_02_445003_0003.jpg', '/home/pi/Desktop/images/25012025/20/16/image_25012025_20_16_02_638911_0000.jpg', '/home/pi/Desktop/images/25012025/20/16/image_25012025_20_16_02_638911_0001.jpg', '/home/pi/Desktop/images/25012025/20/16/image_25012025_20_16_02_638911_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/15/image_25012025_20_15_02_445003_0003.jpg
/home/pi/Desktop/images/25012025/20/16/image_25012025_20_16_02_638911_0000.jpg
/home/pi/Desktop/images/25012025/20/16/image_25012025_20_16_02_638911_0001.jpg
/home/pi/Desktop/images/25012025/20/16/image_25012025_20_16_02_638911_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":["1331436199","1331436187","1331436195","1331436191"],"photo_ids_order":["1331436187","1331436191","1331436195","1331436199"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/50c3cec21e9498a12439f92b34637623.jpg","text":"TemporaryFile(/tmp/multipartBody3418506433742556540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832694781,"filename":"image_25012025_20_16_02_638911_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c76eb450b2fc0e41c5a81a0028de75fb.jpg","text":"TemporaryFile(/tmp/multipartBody3521256862528870558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832694781,"filename":"image_25012025_20_15_02_445003_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c1486ad8aa767a471f0cce0a5db4ec95.jpg","text":"TemporaryFile(/tmp/multipartBody943810394632094452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832694781,"filename":"image_25012025_20_16_02_638911_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f0ab811d1c8b5b25b0b4ffe8b92c4d79.jpg","text":"TemporaryFile(/tmp/multipartBody2625810578095983107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832694781,"filename":"image_25012025_20_16_02_638911_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331436195","file1":"1331436191","file0":"1331436187","file3":"1331436199"},"map_files_photo_id_array":[{"photo_id":"1331436195","filename":"file2"},{"photo_id":"1331436191","filename":"file1"},{"photo_id":"1331436187","filename":"file0"},{"photo_id":"1331436199","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331436199":["hashtag1","hashtag2"]},{"1331436187":["hashtag1","hashtag2"]},{"1331436195":["hashtag1","hashtag2"]},{"1331436191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331436199, 1331436187, 1331436195, 1331436191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.59818935394287 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 20:17:52.669972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/16/image_25012025_20_16_02_638911_0003.jpg', '/home/pi/Desktop/images/25012025/20/17/image_25012025_20_17_02_887039_0000.jpg', '/home/pi/Desktop/images/25012025/20/17/image_25012025_20_17_02_887039_0001.jpg', '/home/pi/Desktop/images/25012025/20/17/image_25012025_20_17_02_887039_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/16/image_25012025_20_16_02_638911_0003.jpg
/home/pi/Desktop/images/25012025/20/17/image_25012025_20_17_02_887039_0000.jpg
/home/pi/Desktop/images/25012025/20/17/image_25012025_20_17_02_887039_0001.jpg
/home/pi/Desktop/images/25012025/20/17/image_25012025_20_17_02_887039_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":["1331436659","1331436209","1331436348","1331436213"],"photo_ids_order":["1331436209","1331436213","1331436348","1331436659"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/30f376a2955fe6c3536aefe463502357.jpg","text":"TemporaryFile(/tmp/multipartBody3287907842835775327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832743884,"filename":"image_25012025_20_17_02_887039_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/601ced11608de6a4462730e2712130dc.jpg","text":"TemporaryFile(/tmp/multipartBody4355748429187460673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832743884,"filename":"image_25012025_20_16_02_638911_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1f3ad4a48245fdb418c45b555e28d680.jpg","text":"TemporaryFile(/tmp/multipartBody3554018169620113800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832743884,"filename":"image_25012025_20_17_02_887039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/172d7aa536caaeb4f908d03434afa0e0.jpg","text":"TemporaryFile(/tmp/multipartBody5538988428880103630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832743884,"filename":"image_25012025_20_17_02_887039_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331436348","file1":"1331436213","file0":"1331436209","file3":"1331436659"},"map_files_photo_id_array":[{"photo_id":"1331436348","filename":"file2"},{"photo_id":"1331436213","filename":"file1"},{"photo_id":"1331436209","filename":"file0"},{"photo_id":"1331436659","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331436659":["hashtag1","hashtag2"]},{"1331436209":["hashtag1","hashtag2"]},{"1331436348":["hashtag1","hashtag2"]},{"1331436213":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331436659, 1331436209, 1331436348, 1331436213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.23169255256653 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 20:18:41.817014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/17/image_25012025_20_17_02_887039_0003.jpg', '/home/pi/Desktop/images/25012025/20/18/image_25012025_20_18_03_051925_0000.jpg', '/home/pi/Desktop/images/25012025/20/18/image_25012025_20_18_03_051925_0001.jpg', '/home/pi/Desktop/images/25012025/20/18/image_25012025_20_18_03_051925_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/17/image_25012025_20_17_02_887039_0003.jpg
/home/pi/Desktop/images/25012025/20/18/image_25012025_20_18_03_051925_0000.jpg
/home/pi/Desktop/images/25012025/20/18/image_25012025_20_18_03_051925_0001.jpg
/home/pi/Desktop/images/25012025/20/18/image_25012025_20_18_03_051925_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":["1331437208","1331437018","1331437080","1331437014"],"photo_ids_order":["1331437014","1331437018","1331437080","1331437208"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0b8129e5c235b1c73ad25558579144de.jpg","text":"TemporaryFile(/tmp/multipartBody6534797858700481798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832793011,"filename":"image_25012025_20_18_03_051925_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ea7bf0f492cf78ef9015db9839113a1d.jpg","text":"TemporaryFile(/tmp/multipartBody2270790260328008062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832793011,"filename":"image_25012025_20_18_03_051925_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/76a40e3031944ddad4ee772e3ceaaa51.jpg","text":"TemporaryFile(/tmp/multipartBody6826904833327659544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832793011,"filename":"image_25012025_20_18_03_051925_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ecd0b1932eb295cd2193072c9445159d.jpg","text":"TemporaryFile(/tmp/multipartBody3851157816306029587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832793011,"filename":"image_25012025_20_17_02_887039_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331437080","file1":"1331437018","file0":"1331437014","file3":"1331437208"},"map_files_photo_id_array":[{"photo_id":"1331437080","filename":"file2"},{"photo_id":"1331437018","filename":"file1"},{"photo_id":"1331437014","filename":"file0"},{"photo_id":"1331437208","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331437208":["hashtag1","hashtag2"]},{"1331437018":["hashtag1","hashtag2"]},{"1331437080":["hashtag1","hashtag2"]},{"1331437014":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331437208, 1331437018, 1331437080, 1331437014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.9805064201355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:19:22.026586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/18/image_25012025_20_18_03_051925_0003.jpg', '/home/pi/Desktop/images/25012025/20/19/image_25012025_20_19_02_315271_0000.jpg', '/home/pi/Desktop/images/25012025/20/19/image_25012025_20_19_02_315271_0001.jpg', '/home/pi/Desktop/images/25012025/20/19/image_25012025_20_19_02_315271_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/18/image_25012025_20_18_03_051925_0003.jpg
/home/pi/Desktop/images/25012025/20/19/image_25012025_20_19_02_315271_0000.jpg
/home/pi/Desktop/images/25012025/20/19/image_25012025_20_19_02_315271_0001.jpg
/home/pi/Desktop/images/25012025/20/19/image_25012025_20_19_02_315271_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 [200]>
b'{"photo_ids":["1331437304","1331437309","1331437300","1331437302"],"photo_ids_order":["1331437300","1331437302","1331437304","1331437309"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7e12b875b1e26a700ef53d9d6f7db010.jpg","text":"TemporaryFile(/tmp/multipartBody4611595110509229063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832833251,"filename":"image_25012025_20_19_02_315271_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e0ef5feb49640a21a8b045e56f9114b9.jpg","text":"TemporaryFile(/tmp/multipartBody4290240820642438704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832833251,"filename":"image_25012025_20_19_02_315271_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/863b7dff78e53c9c93f52e019af972e6.jpg","text":"TemporaryFile(/tmp/multipartBody4922232264805869191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832833251,"filename":"image_25012025_20_18_03_051925_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cb7321c11144d8f4ff23dcdf05ab11e7.jpg","text":"TemporaryFile(/tmp/multipartBody434796825688825322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832833251,"filename":"image_25012025_20_19_02_315271_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331437304","file1":"1331437302","file0":"1331437300","file3":"1331437309"},"map_files_photo_id_array":[{"photo_id":"1331437304","filename":"file2"},{"photo_id":"1331437302","filename":"file1"},{"photo_id":"1331437300","filename":"file0"},{"photo_id":"1331437309","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331437304":["hashtag1","hashtag2"]},{"1331437309":["hashtag1","hashtag2"]},{"1331437300":["hashtag1","hashtag2"]},{"1331437302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331437304, 1331437309, 1331437300, 1331437302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.56982755661011 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:20:22.234894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/19/image_25012025_20_19_02_315271_0003.jpg', '/home/pi/Desktop/images/25012025/20/20/image_25012025_20_20_02_366142_0000.jpg', '/home/pi/Desktop/images/25012025/20/20/image_25012025_20_20_02_366142_0001.jpg', '/home/pi/Desktop/images/25012025/20/20/image_25012025_20_20_02_366142_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/19/image_25012025_20_19_02_315271_0003.jpg
/home/pi/Desktop/images/25012025/20/20/image_25012025_20_20_02_366142_0000.jpg
/home/pi/Desktop/images/25012025/20/20/image_25012025_20_20_02_366142_0001.jpg
/home/pi/Desktop/images/25012025/20/20/image_25012025_20_20_02_366142_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 [200]>
b'{"photo_ids":["1331438190","1331438043","1331437920","1331438179"],"photo_ids_order":["1331437920","1331438043","1331438179","1331438190"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e8a25f48bf513a32fe04f20cf5d499c4.jpg","text":"TemporaryFile(/tmp/multipartBody9101283476214390229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832893933,"filename":"image_25012025_20_20_02_366142_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/611cece136c6189d0938896f307d8e8d.jpg","text":"TemporaryFile(/tmp/multipartBody8642584378579411673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832893933,"filename":"image_25012025_20_20_02_366142_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a0e1ae70af1159276ae92458f1c449eb.jpg","text":"TemporaryFile(/tmp/multipartBody5039007382192134973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832893933,"filename":"image_25012025_20_19_02_315271_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0401c1eeda6a9de80789a722c8b0b655.jpg","text":"TemporaryFile(/tmp/multipartBody569350044138441866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832893933,"filename":"image_25012025_20_20_02_366142_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331438179","file1":"1331438043","file0":"1331437920","file3":"1331438190"},"map_files_photo_id_array":[{"photo_id":"1331438179","filename":"file2"},{"photo_id":"1331438043","filename":"file1"},{"photo_id":"1331437920","filename":"file0"},{"photo_id":"1331438190","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331438190":["hashtag1","hashtag2"]},{"1331438043":["hashtag1","hashtag2"]},{"1331437920":["hashtag1","hashtag2"]},{"1331438179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331438190, 1331438043, 1331437920, 1331438179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.416950702667236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:21:22.437093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/20/image_25012025_20_20_02_366142_0003.jpg', '/home/pi/Desktop/images/25012025/20/21/image_25012025_20_21_02_559028_0000.jpg', '/home/pi/Desktop/images/25012025/20/21/image_25012025_20_21_02_559028_0001.jpg', '/home/pi/Desktop/images/25012025/20/21/image_25012025_20_21_02_559028_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/20/image_25012025_20_20_02_366142_0003.jpg
/home/pi/Desktop/images/25012025/20/21/image_25012025_20_21_02_559028_0000.jpg
/home/pi/Desktop/images/25012025/20/21/image_25012025_20_21_02_559028_0001.jpg
/home/pi/Desktop/images/25012025/20/21/image_25012025_20_21_02_559028_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 [200]>
b'{"photo_ids":["1331438496","1331438288","1331438468","1331438420"],"photo_ids_order":["1331438288","1331438420","1331438468","1331438496"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d063cf331f1cc968c8f89a7d59571e1a.jpg","text":"TemporaryFile(/tmp/multipartBody2903451454539337794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832953953,"filename":"image_25012025_20_21_02_559028_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/70a7a1547d18f8004b9ebb83f9f1d572.jpg","text":"TemporaryFile(/tmp/multipartBody7628061886233079101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832953953,"filename":"image_25012025_20_20_02_366142_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b230c2586fb0e2f10cc003a56c22f619.jpg","text":"TemporaryFile(/tmp/multipartBody5872035436554463654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832953953,"filename":"image_25012025_20_21_02_559028_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ed7c87dca8832d98db27a6ba299ef4f9.jpg","text":"TemporaryFile(/tmp/multipartBody7333776942808483801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737832953953,"filename":"image_25012025_20_21_02_559028_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331438468","file1":"1331438420","file0":"1331438288","file3":"1331438496"},"map_files_photo_id_array":[{"photo_id":"1331438468","filename":"file2"},{"photo_id":"1331438420","filename":"file1"},{"photo_id":"1331438288","filename":"file0"},{"photo_id":"1331438496","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331438496":["hashtag1","hashtag2"]},{"1331438288":["hashtag1","hashtag2"]},{"1331438468":["hashtag1","hashtag2"]},{"1331438420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331438496, 1331438288, 1331438468, 1331438420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.91327786445618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:22:22.733447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/21/image_25012025_20_21_02_559028_0003.jpg', '/home/pi/Desktop/images/25012025/20/22/image_25012025_20_22_02_792902_0000.jpg', '/home/pi/Desktop/images/25012025/20/22/image_25012025_20_22_02_792902_0001.jpg', '/home/pi/Desktop/images/25012025/20/22/image_25012025_20_22_02_792902_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/21/image_25012025_20_21_02_559028_0003.jpg
/home/pi/Desktop/images/25012025/20/22/image_25012025_20_22_02_792902_0000.jpg
/home/pi/Desktop/images/25012025/20/22/image_25012025_20_22_02_792902_0001.jpg
/home/pi/Desktop/images/25012025/20/22/image_25012025_20_22_02_792902_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 [200]>
b'{"photo_ids":["1331438719","1331438727","1331438715","1331438723"],"photo_ids_order":["1331438715","1331438719","1331438723","1331438727"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b8ceaa4712614f01b46ece04c4847ccd.jpg","text":"TemporaryFile(/tmp/multipartBody2812376791586340315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833014368,"filename":"image_25012025_20_22_02_792902_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ae20033758fa12441f42c2710821d31e.jpg","text":"TemporaryFile(/tmp/multipartBody2335561042689269159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833014368,"filename":"image_25012025_20_22_02_792902_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c9fe34f0cfebc752059dbfa50e7380bb.jpg","text":"TemporaryFile(/tmp/multipartBody1003145374295112746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833014368,"filename":"image_25012025_20_21_02_559028_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b47180835427c0267bd6ecb3e61fd7a2.jpg","text":"TemporaryFile(/tmp/multipartBody1671035170844248564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833014368,"filename":"image_25012025_20_22_02_792902_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331438723","file1":"1331438719","file0":"1331438715","file3":"1331438727"},"map_files_photo_id_array":[{"photo_id":"1331438723","filename":"file2"},{"photo_id":"1331438719","filename":"file1"},{"photo_id":"1331438715","filename":"file0"},{"photo_id":"1331438727","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331438719":["hashtag1","hashtag2"]},{"1331438727":["hashtag1","hashtag2"]},{"1331438715":["hashtag1","hashtag2"]},{"1331438723":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331438719, 1331438727, 1331438715, 1331438723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.717530488967896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:23:21.898557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/22/image_25012025_20_22_02_792902_0003.jpg', '/home/pi/Desktop/images/25012025/20/23/image_25012025_20_23_03_036635_0000.jpg', '/home/pi/Desktop/images/25012025/20/23/image_25012025_20_23_03_036635_0001.jpg', '/home/pi/Desktop/images/25012025/20/23/image_25012025_20_23_03_036635_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/22/image_25012025_20_22_02_792902_0003.jpg
/home/pi/Desktop/images/25012025/20/23/image_25012025_20_23_03_036635_0000.jpg
/home/pi/Desktop/images/25012025/20/23/image_25012025_20_23_03_036635_0001.jpg
/home/pi/Desktop/images/25012025/20/23/image_25012025_20_23_03_036635_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":["1331439019","1331439027","1331439023","1331438981"],"photo_ids_order":["1331438981","1331439019","1331439023","1331439027"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e9add6f8181e438c47c8fb93f0bf56f6.jpg","text":"TemporaryFile(/tmp/multipartBody3296468650873535106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833073427,"filename":"image_25012025_20_23_03_036635_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e002c0cacccc4eb7ebadeaaf76babd2a.jpg","text":"TemporaryFile(/tmp/multipartBody2719087280452761626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833073427,"filename":"image_25012025_20_23_03_036635_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c8fe803afbadfbc486586e327a438dc9.jpg","text":"TemporaryFile(/tmp/multipartBody5322487989517335076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833073427,"filename":"image_25012025_20_23_03_036635_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ea7ba9d020329e74cf9f821a7fc32adf.jpg","text":"TemporaryFile(/tmp/multipartBody6715539074853278057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833073427,"filename":"image_25012025_20_22_02_792902_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331439023","file1":"1331439019","file0":"1331438981","file3":"1331439027"},"map_files_photo_id_array":[{"photo_id":"1331439023","filename":"file2"},{"photo_id":"1331439019","filename":"file1"},{"photo_id":"1331438981","filename":"file0"},{"photo_id":"1331439027","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331439019":["hashtag1","hashtag2"]},{"1331439027":["hashtag1","hashtag2"]},{"1331439023":["hashtag1","hashtag2"]},{"1331438981":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331439019, 1331439027, 1331439023, 1331438981)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.63750505447388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:24:22.035098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/23/image_25012025_20_23_03_036635_0003.jpg', '/home/pi/Desktop/images/25012025/20/24/image_25012025_20_24_02_313013_0000.jpg', '/home/pi/Desktop/images/25012025/20/24/image_25012025_20_24_02_313013_0001.jpg', '/home/pi/Desktop/images/25012025/20/24/image_25012025_20_24_02_313013_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/23/image_25012025_20_23_03_036635_0003.jpg
/home/pi/Desktop/images/25012025/20/24/image_25012025_20_24_02_313013_0000.jpg
/home/pi/Desktop/images/25012025/20/24/image_25012025_20_24_02_313013_0001.jpg
/home/pi/Desktop/images/25012025/20/24/image_25012025_20_24_02_313013_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":["1331439588","1331439450","1331439705","1331439327"],"photo_ids_order":["1331439327","1331439450","1331439588","1331439705"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d7fb75a255f5ba969ca999d2f94e3a2f.jpg","text":"TemporaryFile(/tmp/multipartBody8451856782837442930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833133412,"filename":"image_25012025_20_24_02_313013_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4f42429912f1f843a1b9d48c726feafa.jpg","text":"TemporaryFile(/tmp/multipartBody5109041634479532202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833133412,"filename":"image_25012025_20_24_02_313013_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5ecc0f316fcea6870ca96512389b3d29.jpg","text":"TemporaryFile(/tmp/multipartBody4471404410954980425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833133412,"filename":"image_25012025_20_24_02_313013_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f97a8366dc9a564367ba09bce297bb26.jpg","text":"TemporaryFile(/tmp/multipartBody9113421965666185338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833133412,"filename":"image_25012025_20_23_03_036635_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331439588","file1":"1331439450","file0":"1331439327","file3":"1331439705"},"map_files_photo_id_array":[{"photo_id":"1331439588","filename":"file2"},{"photo_id":"1331439450","filename":"file1"},{"photo_id":"1331439327","filename":"file0"},{"photo_id":"1331439705","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331439588":["hashtag1","hashtag2"]},{"1331439450":["hashtag1","hashtag2"]},{"1331439705":["hashtag1","hashtag2"]},{"1331439327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331439588, 1331439450, 1331439705, 1331439327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.632381439208984 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-25 20:25:22.226749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/24/image_25012025_20_24_02_313013_0003.jpg', '/home/pi/Desktop/images/25012025/20/25/image_25012025_20_25_02_394201_0000.jpg', '/home/pi/Desktop/images/25012025/20/25/image_25012025_20_25_02_394201_0001.jpg', '/home/pi/Desktop/images/25012025/20/25/image_25012025_20_25_02_394201_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/24/image_25012025_20_24_02_313013_0003.jpg
/home/pi/Desktop/images/25012025/20/25/image_25012025_20_25_02_394201_0000.jpg
/home/pi/Desktop/images/25012025/20/25/image_25012025_20_25_02_394201_0001.jpg
/home/pi/Desktop/images/25012025/20/25/image_25012025_20_25_02_394201_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":["1331440072","1331439899","1331440026","1331439814"],"photo_ids_order":["1331439814","1331439899","1331440026","1331440072"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2edb02db0e87c0a0aa8508d92523a777.jpg","text":"TemporaryFile(/tmp/multipartBody1742228261836919962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833193840,"filename":"image_25012025_20_25_02_394201_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d1be8c72c43b154f963c7d25b57b2782.jpg","text":"TemporaryFile(/tmp/multipartBody2584070621123820636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833193840,"filename":"image_25012025_20_25_02_394201_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b8e05f86fd50f8854343229ce2b335d8.jpg","text":"TemporaryFile(/tmp/multipartBody7627619293969951675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833193840,"filename":"image_25012025_20_25_02_394201_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b10f6e109e745a831f573a84060e19ec.jpg","text":"TemporaryFile(/tmp/multipartBody3480857593790560651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833193840,"filename":"image_25012025_20_24_02_313013_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331440026","file1":"1331439899","file0":"1331439814","file3":"1331440072"},"map_files_photo_id_array":[{"photo_id":"1331440026","filename":"file2"},{"photo_id":"1331439899","filename":"file1"},{"photo_id":"1331439814","filename":"file0"},{"photo_id":"1331440072","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331440072":["hashtag1","hashtag2"]},{"1331439899":["hashtag1","hashtag2"]},{"1331440026":["hashtag1","hashtag2"]},{"1331439814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331440072, 1331439899, 1331440026, 1331439814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.74665832519531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 20:26:02.744046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/18/image_21012025_22_18_02_616388_0000.jpg', '/home/pi/Desktop/images/21012025/22/18/image_21012025_22_18_02_616388_0001.jpg', '/home/pi/Desktop/images/21012025/22/18/image_21012025_22_18_02_616388_0002.jpg', '/home/pi/Desktop/images/21012025/22/18/image_21012025_22_18_02_616388_0003.jpg', '/home/pi/Desktop/images/21012025/22/19/image_21012025_22_19_02_879968_0000.jpg', '/home/pi/Desktop/images/21012025/22/19/image_21012025_22_19_02_879968_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/22/18/image_21012025_22_18_02_616388_0000.jpg
/home/pi/Desktop/images/21012025/22/18/image_21012025_22_18_02_616388_0001.jpg
/home/pi/Desktop/images/21012025/22/18/image_21012025_22_18_02_616388_0002.jpg
/home/pi/Desktop/images/21012025/22/18/image_21012025_22_18_02_616388_0003.jpg
/home/pi/Desktop/images/21012025/22/19/image_21012025_22_19_02_879968_0000.jpg
/home/pi/Desktop/images/21012025/22/19/image_21012025_22_19_02_879968_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: 17.558110237121582 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:26:22.266417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/25/image_25012025_20_25_02_394201_0003.jpg', '/home/pi/Desktop/images/25012025/20/26/image_25012025_20_26_02_525518_0000.jpg', '/home/pi/Desktop/images/25012025/20/26/image_25012025_20_26_02_525518_0001.jpg', '/home/pi/Desktop/images/25012025/20/26/image_25012025_20_26_02_525518_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/25/image_25012025_20_25_02_394201_0003.jpg
/home/pi/Desktop/images/25012025/20/26/image_25012025_20_26_02_525518_0000.jpg
/home/pi/Desktop/images/25012025/20/26/image_25012025_20_26_02_525518_0001.jpg
/home/pi/Desktop/images/25012025/20/26/image_25012025_20_26_02_525518_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 [200]>
b'{"photo_ids":["1331440249","1331440240","1331440245","1331440236"],"photo_ids_order":["1331440236","1331440240","1331440245","1331440249"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ebabb195a64f187ea0aefb128203b2bd.jpg","text":"TemporaryFile(/tmp/multipartBody6416771246415885092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833254068,"filename":"image_25012025_20_26_02_525518_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9d90bccb87095d1f8ca8baa1de37044a.jpg","text":"TemporaryFile(/tmp/multipartBody3427898885532250972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833254068,"filename":"image_25012025_20_26_02_525518_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1fd96c9707645683463427c7dc1f1040.jpg","text":"TemporaryFile(/tmp/multipartBody7723530142560022730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833254068,"filename":"image_25012025_20_26_02_525518_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3de3b80a52d0b3d4d7015152a8259c9b.jpg","text":"TemporaryFile(/tmp/multipartBody7470846756265787159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833254068,"filename":"image_25012025_20_25_02_394201_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331440245","file1":"1331440240","file0":"1331440236","file3":"1331440249"},"map_files_photo_id_array":[{"photo_id":"1331440245","filename":"file2"},{"photo_id":"1331440240","filename":"file1"},{"photo_id":"1331440236","filename":"file0"},{"photo_id":"1331440249","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331440249":["hashtag1","hashtag2"]},{"1331440240":["hashtag1","hashtag2"]},{"1331440245":["hashtag1","hashtag2"]},{"1331440236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331440249, 1331440240, 1331440245, 1331440236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.93757963180542 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:27:22.556545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/26/image_25012025_20_26_02_525518_0003.jpg', '/home/pi/Desktop/images/25012025/20/27/image_25012025_20_27_02_628637_0000.jpg', '/home/pi/Desktop/images/25012025/20/27/image_25012025_20_27_02_628637_0001.jpg', '/home/pi/Desktop/images/25012025/20/27/image_25012025_20_27_02_628637_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/26/image_25012025_20_26_02_525518_0003.jpg
/home/pi/Desktop/images/25012025/20/27/image_25012025_20_27_02_628637_0000.jpg
/home/pi/Desktop/images/25012025/20/27/image_25012025_20_27_02_628637_0001.jpg
/home/pi/Desktop/images/25012025/20/27/image_25012025_20_27_02_628637_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":["1331440507","1331440518","1331440511","1331440514"],"photo_ids_order":["1331440507","1331440511","1331440514","1331440518"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9a17ef83a87f1da98d1b1209957713e8.jpg","text":"TemporaryFile(/tmp/multipartBody7586737945084207707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833314071,"filename":"image_25012025_20_26_02_525518_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/85d7a8a560f68cb0bbc5ae0adc1ed980.jpg","text":"TemporaryFile(/tmp/multipartBody1588670735769556428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833314071,"filename":"image_25012025_20_27_02_628637_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/77959effab3f4856b1de409644ca50c5.jpg","text":"TemporaryFile(/tmp/multipartBody6658958949013731657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833314071,"filename":"image_25012025_20_27_02_628637_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0d9aebf7401d1b26856956eb05ba2c5e.jpg","text":"TemporaryFile(/tmp/multipartBody1098000461154932085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833314071,"filename":"image_25012025_20_27_02_628637_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331440514","file1":"1331440511","file0":"1331440507","file3":"1331440518"},"map_files_photo_id_array":[{"photo_id":"1331440514","filename":"file2"},{"photo_id":"1331440511","filename":"file1"},{"photo_id":"1331440507","filename":"file0"},{"photo_id":"1331440518","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331440507":["hashtag1","hashtag2"]},{"1331440518":["hashtag1","hashtag2"]},{"1331440511":["hashtag1","hashtag2"]},{"1331440514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331440507, 1331440518, 1331440511, 1331440514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.75499248504639 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 20:28:03.146337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/18/image_21012025_22_18_02_616388_0000.jpg', '/home/pi/Desktop/images/21012025/22/18/image_21012025_22_18_02_616388_0001.jpg', '/home/pi/Desktop/images/21012025/22/18/image_21012025_22_18_02_616388_0002.jpg', '/home/pi/Desktop/images/21012025/22/18/image_21012025_22_18_02_616388_0003.jpg', '/home/pi/Desktop/images/21012025/22/19/image_21012025_22_19_02_879968_0000.jpg', '/home/pi/Desktop/images/21012025/22/19/image_21012025_22_19_02_879968_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/22/18/image_21012025_22_18_02_616388_0000.jpg
/home/pi/Desktop/images/21012025/22/18/image_21012025_22_18_02_616388_0001.jpg
/home/pi/Desktop/images/21012025/22/18/image_21012025_22_18_02_616388_0002.jpg
/home/pi/Desktop/images/21012025/22/18/image_21012025_22_18_02_616388_0003.jpg
/home/pi/Desktop/images/21012025/22/19/image_21012025_22_19_02_879968_0000.jpg
/home/pi/Desktop/images/21012025/22/19/image_21012025_22_19_02_879968_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":["1331440581","1331440557","1331440539","1331440586","1331440576","1331440570"],"photo_ids_order":["1331440539","1331440557","1331440570","1331440576","1331440581","1331440586"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7f3e5dc18e3233431b28ee2908ab441d.jpg","text":"TemporaryFile(/tmp/multipartBody4590008501635377262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833360892,"filename":"image_21012025_22_19_02_879968_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f884757cab5b768659368d4ae5586b63.jpg","text":"TemporaryFile(/tmp/multipartBody4029045266433225458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833360892,"filename":"image_21012025_22_18_02_616388_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8d2d6493bcab98635bb48f3bc446aaa4.jpg","text":"TemporaryFile(/tmp/multipartBody7554576200992638040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833360892,"filename":"image_21012025_22_18_02_616388_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4ff98e705e613f7ab9e398a14060e429.jpg","text":"TemporaryFile(/tmp/multipartBody7286490336904919878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833360892,"filename":"image_21012025_22_19_02_879968_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ff70fbf220f615f04cae277e51acbf92.jpg","text":"TemporaryFile(/tmp/multipartBody6415116611706325529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833360892,"filename":"image_21012025_22_18_02_616388_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1f4dd4ce3e19ca3d3a67b2a88470d096.jpg","text":"TemporaryFile(/tmp/multipartBody7613743098856610414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833360892,"filename":"image_21012025_22_18_02_616388_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331440570","file1":"1331440557","file0":"1331440539","file4":"1331440581","file5":"1331440586","file3":"1331440576"},"map_files_photo_id_array":[{"photo_id":"1331440586","filename":"file5"},{"photo_id":"1331440570","filename":"file2"},{"photo_id":"1331440581","filename":"file4"},{"photo_id":"1331440557","filename":"file1"},{"photo_id":"1331440539","filename":"file0"},{"photo_id":"1331440576","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331440581":["hashtag1","hashtag2"]},{"1331440557":["hashtag1","hashtag2"]},{"1331440539":["hashtag1","hashtag2"]},{"1331440586":["hashtag1","hashtag2"]},{"1331440576":["hashtag1","hashtag2"]},{"1331440570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331440581, 1331440557, 1331440539, 1331440586, 1331440576, 1331440570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.08012652397156 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-25 20:29:22.028943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/27/image_25012025_20_27_02_628637_0003.jpg', '/home/pi/Desktop/images/25012025/20/28/image_25012025_20_28_02_916359_0000.jpg', '/home/pi/Desktop/images/25012025/20/28/image_25012025_20_28_02_916359_0001.jpg', '/home/pi/Desktop/images/25012025/20/28/image_25012025_20_28_02_916359_0002.jpg', '/home/pi/Desktop/images/25012025/20/28/image_25012025_20_28_02_916359_0003.jpg', '/home/pi/Desktop/images/25012025/20/29/image_25012025_20_29_03_043354_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/27/image_25012025_20_27_02_628637_0003.jpg
/home/pi/Desktop/images/25012025/20/28/image_25012025_20_28_02_916359_0000.jpg
/home/pi/Desktop/images/25012025/20/28/image_25012025_20_28_02_916359_0001.jpg
/home/pi/Desktop/images/25012025/20/28/image_25012025_20_28_02_916359_0002.jpg
/home/pi/Desktop/images/25012025/20/28/image_25012025_20_28_02_916359_0003.jpg
/home/pi/Desktop/images/25012025/20/29/image_25012025_20_29_03_043354_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 [200]>
b'{"photo_ids":["1331440623","1331440629","1331440617","1331440634","1331440637","1331440610"],"photo_ids_order":["1331440610","1331440617","1331440623","1331440629","1331440634","1331440637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4d1aba29bfd72624703b497c20e19ad9.jpg","text":"TemporaryFile(/tmp/multipartBody5979203895058825676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833438910,"filename":"image_25012025_20_28_02_916359_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/66d0a658afb7ba99ee23836c8ecba676.jpg","text":"TemporaryFile(/tmp/multipartBody7031265446295727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833438910,"filename":"image_25012025_20_28_02_916359_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/70b603cc289ef4d3d5cfe8815f382034.jpg","text":"TemporaryFile(/tmp/multipartBody5602043307542500305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833438910,"filename":"image_25012025_20_28_02_916359_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dc7cf96cb020a446b3d11ad9e8ba351d.jpg","text":"TemporaryFile(/tmp/multipartBody4622158554784112386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833438910,"filename":"image_25012025_20_28_02_916359_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a1e62babda742771380437796bef7440.jpg","text":"TemporaryFile(/tmp/multipartBody6339478870944198916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833438910,"filename":"image_25012025_20_29_03_043354_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a60cd5e72b19a52f7281aeb703bb848f.jpg","text":"TemporaryFile(/tmp/multipartBody3563467373846815530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833438910,"filename":"image_25012025_20_27_02_628637_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331440623","file1":"1331440617","file0":"1331440610","file4":"1331440634","file5":"1331440637","file3":"1331440629"},"map_files_photo_id_array":[{"photo_id":"1331440637","filename":"file5"},{"photo_id":"1331440623","filename":"file2"},{"photo_id":"1331440634","filename":"file4"},{"photo_id":"1331440617","filename":"file1"},{"photo_id":"1331440610","filename":"file0"},{"photo_id":"1331440629","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331440623":["hashtag1","hashtag2"]},{"1331440629":["hashtag1","hashtag2"]},{"1331440617":["hashtag1","hashtag2"]},{"1331440634":["hashtag1","hashtag2"]},{"1331440637":["hashtag1","hashtag2"]},{"1331440610":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331440623, 1331440629, 1331440617, 1331440634, 1331440637, 1331440610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.98991250991821 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:30:22.030460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/29/image_25012025_20_29_03_043354_0001.jpg', '/home/pi/Desktop/images/25012025/20/29/image_25012025_20_29_03_043354_0002.jpg', '/home/pi/Desktop/images/25012025/20/29/image_25012025_20_29_03_043354_0003.jpg', '/home/pi/Desktop/images/25012025/20/30/image_25012025_20_30_02_292623_0000.jpg', '/home/pi/Desktop/images/25012025/20/30/image_25012025_20_30_02_292623_0001.jpg', '/home/pi/Desktop/images/25012025/20/30/image_25012025_20_30_02_292623_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/29/image_25012025_20_29_03_043354_0001.jpg
/home/pi/Desktop/images/25012025/20/29/image_25012025_20_29_03_043354_0002.jpg
/home/pi/Desktop/images/25012025/20/29/image_25012025_20_29_03_043354_0003.jpg
/home/pi/Desktop/images/25012025/20/30/image_25012025_20_30_02_292623_0000.jpg
/home/pi/Desktop/images/25012025/20/30/image_25012025_20_30_02_292623_0001.jpg
/home/pi/Desktop/images/25012025/20/30/image_25012025_20_30_02_292623_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 [200]>
b'{"photo_ids":["1331441484","1331440837","1331441366","1331440908","1331441204","1331441048"],"photo_ids_order":["1331440837","1331440908","1331441048","1331441204","1331441366","1331441484"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b37e930349b6bda3f1239359c1dbb92d.jpg","text":"TemporaryFile(/tmp/multipartBody7202037996157552360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833496812,"filename":"image_25012025_20_30_02_292623_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/994c4f5ac22ba83497922140b4f9d84f.jpg","text":"TemporaryFile(/tmp/multipartBody7276443861305136395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833496812,"filename":"image_25012025_20_29_03_043354_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f9703b329a123f13a2f020f33e0d4419.jpg","text":"TemporaryFile(/tmp/multipartBody4107560120196908127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833496812,"filename":"image_25012025_20_30_02_292623_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7fe195ea32fe9ff58faca4f7ee0921d6.jpg","text":"TemporaryFile(/tmp/multipartBody429912884366160065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833496812,"filename":"image_25012025_20_29_03_043354_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/01779e3a8d79330dab985c929bfbc466.jpg","text":"TemporaryFile(/tmp/multipartBody8317269778709038636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833496812,"filename":"image_25012025_20_30_02_292623_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8e9ddef4704d35a78962e22bd7738d8f.jpg","text":"TemporaryFile(/tmp/multipartBody7354115133185387024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833496812,"filename":"image_25012025_20_29_03_043354_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331441048","file1":"1331440908","file0":"1331440837","file4":"1331441366","file5":"1331441484","file3":"1331441204"},"map_files_photo_id_array":[{"photo_id":"1331441484","filename":"file5"},{"photo_id":"1331441048","filename":"file2"},{"photo_id":"1331441366","filename":"file4"},{"photo_id":"1331440908","filename":"file1"},{"photo_id":"1331440837","filename":"file0"},{"photo_id":"1331441204","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331441484":["hashtag1","hashtag2"]},{"1331440837":["hashtag1","hashtag2"]},{"1331441366":["hashtag1","hashtag2"]},{"1331440908":["hashtag1","hashtag2"]},{"1331441204":["hashtag1","hashtag2"]},{"1331441048":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331441484, 1331440837, 1331441366, 1331440908, 1331441204, 1331441048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.13148379325867 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:31:22.175738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/30/image_25012025_20_30_02_292623_0003.jpg', '/home/pi/Desktop/images/25012025/20/31/image_25012025_20_31_02_412233_0000.jpg', '/home/pi/Desktop/images/25012025/20/31/image_25012025_20_31_02_412233_0001.jpg', '/home/pi/Desktop/images/25012025/20/31/image_25012025_20_31_02_412233_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/30/image_25012025_20_30_02_292623_0003.jpg
/home/pi/Desktop/images/25012025/20/31/image_25012025_20_31_02_412233_0000.jpg
/home/pi/Desktop/images/25012025/20/31/image_25012025_20_31_02_412233_0001.jpg
/home/pi/Desktop/images/25012025/20/31/image_25012025_20_31_02_412233_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":["1331442027","1331442036","1331442020","1331442031"],"photo_ids_order":["1331442020","1331442027","1331442031","1331442036"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2d862e86154b518f56be2f463b2320ab.jpg","text":"TemporaryFile(/tmp/multipartBody3734506850447701370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833553136,"filename":"image_25012025_20_31_02_412233_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9daccb0c06a31e36568a49c560ecda01.jpg","text":"TemporaryFile(/tmp/multipartBody6093102484534450227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833553136,"filename":"image_25012025_20_31_02_412233_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/60e71e5be749b79e5382167c33293d75.jpg","text":"TemporaryFile(/tmp/multipartBody3469826248910654579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833553136,"filename":"image_25012025_20_30_02_292623_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/74897f6b71785a274cd9944b7fda08e4.jpg","text":"TemporaryFile(/tmp/multipartBody5768753785582567813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833553136,"filename":"image_25012025_20_31_02_412233_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331442031","file1":"1331442027","file0":"1331442020","file3":"1331442036"},"map_files_photo_id_array":[{"photo_id":"1331442031","filename":"file2"},{"photo_id":"1331442027","filename":"file1"},{"photo_id":"1331442020","filename":"file0"},{"photo_id":"1331442036","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331442027":["hashtag1","hashtag2"]},{"1331442036":["hashtag1","hashtag2"]},{"1331442020":["hashtag1","hashtag2"]},{"1331442031":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331442027, 1331442036, 1331442020, 1331442031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.125834941864014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 20:32:02.644840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/19/image_21012025_22_19_02_879968_0002.jpg', '/home/pi/Desktop/images/21012025/22/19/image_21012025_22_19_02_879968_0003.jpg', '/home/pi/Desktop/images/21012025/22/20/image_21012025_22_20_02_987994_0000.jpg', '/home/pi/Desktop/images/21012025/22/20/image_21012025_22_20_02_987994_0001.jpg', '/home/pi/Desktop/images/21012025/22/20/image_21012025_22_20_02_987994_0002.jpg', '/home/pi/Desktop/images/21012025/22/20/image_21012025_22_20_02_987994_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/22/19/image_21012025_22_19_02_879968_0002.jpg
/home/pi/Desktop/images/21012025/22/19/image_21012025_22_19_02_879968_0003.jpg
/home/pi/Desktop/images/21012025/22/20/image_21012025_22_20_02_987994_0000.jpg
/home/pi/Desktop/images/21012025/22/20/image_21012025_22_20_02_987994_0001.jpg
/home/pi/Desktop/images/21012025/22/20/image_21012025_22_20_02_987994_0002.jpg
/home/pi/Desktop/images/21012025/22/20/image_21012025_22_20_02_987994_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 [200]>
b'{"photo_ids":["1331442177","1331442299","1331442353","1331442394","1331442388","1331442382"],"photo_ids_order":["1331442177","1331442299","1331442353","1331442382","1331442388","1331442394"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4807165b94e2093351994480fbb81341.jpg","text":"TemporaryFile(/tmp/multipartBody6741860622660159158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833600738,"filename":"image_21012025_22_19_02_879968_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ede7f2f8741878dbaf22ca562bdb84e6.jpg","text":"TemporaryFile(/tmp/multipartBody7778933908983690143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833600738,"filename":"image_21012025_22_19_02_879968_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/de6b659e304af5c4f69eac0462af77c3.jpg","text":"TemporaryFile(/tmp/multipartBody7165604476346120027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833600738,"filename":"image_21012025_22_20_02_987994_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/24640ced03e18096931f46cb29ce4b01.jpg","text":"TemporaryFile(/tmp/multipartBody125792088488990019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833600738,"filename":"image_21012025_22_20_02_987994_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/445a49b34426ba9a5332f9320e792b7b.jpg","text":"TemporaryFile(/tmp/multipartBody379467586099669689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833600738,"filename":"image_21012025_22_20_02_987994_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/65b6d76918b32e27e53e92aef8186ce9.jpg","text":"TemporaryFile(/tmp/multipartBody8325010130267667866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833600738,"filename":"image_21012025_22_20_02_987994_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331442353","file1":"1331442299","file0":"1331442177","file4":"1331442388","file5":"1331442394","file3":"1331442382"},"map_files_photo_id_array":[{"photo_id":"1331442394","filename":"file5"},{"photo_id":"1331442353","filename":"file2"},{"photo_id":"1331442388","filename":"file4"},{"photo_id":"1331442299","filename":"file1"},{"photo_id":"1331442177","filename":"file0"},{"photo_id":"1331442382","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331442177":["hashtag1","hashtag2"]},{"1331442299":["hashtag1","hashtag2"]},{"1331442353":["hashtag1","hashtag2"]},{"1331442394":["hashtag1","hashtag2"]},{"1331442388":["hashtag1","hashtag2"]},{"1331442382":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331442177, 1331442299, 1331442353, 1331442394, 1331442388, 1331442382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.79061937332153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 20:33:03.088857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/31/image_25012025_20_31_02_412233_0003.jpg', '/home/pi/Desktop/images/25012025/20/32/image_25012025_20_32_02_564031_0000.jpg', '/home/pi/Desktop/images/25012025/20/32/image_25012025_20_32_02_564031_0001.jpg', '/home/pi/Desktop/images/25012025/20/32/image_25012025_20_32_02_564031_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/31/image_25012025_20_31_02_412233_0003.jpg
/home/pi/Desktop/images/25012025/20/32/image_25012025_20_32_02_564031_0000.jpg
/home/pi/Desktop/images/25012025/20/32/image_25012025_20_32_02_564031_0001.jpg
/home/pi/Desktop/images/25012025/20/32/image_25012025_20_32_02_564031_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":["1331442609","1331442411","1331442638","1331442499"],"photo_ids_order":["1331442411","1331442499","1331442609","1331442638"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e333c13471f8fcb96f18b1ba39fd78d0.jpg","text":"TemporaryFile(/tmp/multipartBody1167483536185904019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833653568,"filename":"image_25012025_20_32_02_564031_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c045603e744c42b85ff46cfeebb57a5b.jpg","text":"TemporaryFile(/tmp/multipartBody1105191909785466486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833653568,"filename":"image_25012025_20_31_02_412233_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/25ea9e434457eef9395f86b26063bb17.jpg","text":"TemporaryFile(/tmp/multipartBody3783338547751196463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833653568,"filename":"image_25012025_20_32_02_564031_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/88209b41f884125a3c9d06f5c5bee022.jpg","text":"TemporaryFile(/tmp/multipartBody1046184880936796897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833653568,"filename":"image_25012025_20_32_02_564031_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331442609","file1":"1331442499","file0":"1331442411","file3":"1331442638"},"map_files_photo_id_array":[{"photo_id":"1331442609","filename":"file2"},{"photo_id":"1331442499","filename":"file1"},{"photo_id":"1331442411","filename":"file0"},{"photo_id":"1331442638","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331442609":["hashtag1","hashtag2"]},{"1331442411":["hashtag1","hashtag2"]},{"1331442638":["hashtag1","hashtag2"]},{"1331442499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331442609, 1331442411, 1331442638, 1331442499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.9052517414093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 20:33:52.455159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/32/image_25012025_20_32_02_564031_0003.jpg', '/home/pi/Desktop/images/25012025/20/33/image_25012025_20_33_02_703825_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/32/image_25012025_20_32_02_564031_0003.jpg
/home/pi/Desktop/images/25012025/20/33/image_25012025_20_33_02_703825_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331442662","1331442658"],"photo_ids_order":["1331442658","1331442662"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1a8be47881db502c1f1a98968d46bb26.jpg","text":"TemporaryFile(/tmp/multipartBody946233202988270563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833697584,"filename":"image_25012025_20_33_02_703825_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ed8948cf69d9ec8fdc99745a1bc0edff.jpg","text":"TemporaryFile(/tmp/multipartBody5176193712630541413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833697584,"filename":"image_25012025_20_32_02_564031_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1331442662","file0":"1331442658"},"map_files_photo_id_array":[{"photo_id":"1331442662","filename":"file1"},{"photo_id":"1331442658","filename":"file0"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331442662":["hashtag1","hashtag2"]},{"1331442658":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331442662, 1331442658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.694379806518555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:34:22.754635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/34/image_25012025_20_34_02_798196_0001.jpg', '/home/pi/Desktop/images/25012025/20/34/image_25012025_20_34_02_798196_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/34/image_25012025_20_34_02_798196_0001.jpg
/home/pi/Desktop/images/25012025/20/34/image_25012025_20_34_02_798196_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":["1331442968","1331442860"],"photo_ids_order":["1331442860","1331442968"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c44b4167d5ea5f189c2b6f4084d65d99.jpg","text":"TemporaryFile(/tmp/multipartBody8988553052314524608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833728168,"filename":"image_25012025_20_34_02_798196_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7db74598a284c131f5b8034b59a7bd8c.jpg","text":"TemporaryFile(/tmp/multipartBody8232999168271805682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833728168,"filename":"image_25012025_20_34_02_798196_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1331442968","file0":"1331442860"},"map_files_photo_id_array":[{"photo_id":"1331442968","filename":"file1"},{"photo_id":"1331442860","filename":"file0"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331442968":["hashtag1","hashtag2"]},{"1331442860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331442968, 1331442860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.15603017807007 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 20:34:52.632157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/21/image_21012025_22_21_02_147971_0000.jpg', '/home/pi/Desktop/images/21012025/22/21/image_21012025_22_21_02_147971_0001.jpg', '/home/pi/Desktop/images/21012025/22/21/image_21012025_22_21_02_147971_0002.jpg', '/home/pi/Desktop/images/21012025/22/21/image_21012025_22_21_02_147971_0003.jpg', '/home/pi/Desktop/images/21012025/22/22/image_21012025_22_22_02_302897_0000.jpg', '/home/pi/Desktop/images/21012025/22/22/image_21012025_22_22_02_302897_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/22/21/image_21012025_22_21_02_147971_0000.jpg
/home/pi/Desktop/images/21012025/22/21/image_21012025_22_21_02_147971_0001.jpg
/home/pi/Desktop/images/21012025/22/21/image_21012025_22_21_02_147971_0002.jpg
/home/pi/Desktop/images/21012025/22/21/image_21012025_22_21_02_147971_0003.jpg
/home/pi/Desktop/images/21012025/22/22/image_21012025_22_22_02_302897_0000.jpg
/home/pi/Desktop/images/21012025/22/22/image_21012025_22_22_02_302897_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":["1331443014","1331443025","1331443019","1331443010","1331443012","1331443021"],"photo_ids_order":["1331443010","1331443012","1331443014","1331443019","1331443021","1331443025"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/71e9dd06a9d1ecb95ea1f3c8a0d3c8d8.jpg","text":"TemporaryFile(/tmp/multipartBody5276050943085118814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833770756,"filename":"image_21012025_22_21_02_147971_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2abef9abd427e017f99e0c646b7070be.jpg","text":"TemporaryFile(/tmp/multipartBody2127402196746442765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833770756,"filename":"image_21012025_22_22_02_302897_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4b1dbfc5ee5db61c07cd7126a2679281.jpg","text":"TemporaryFile(/tmp/multipartBody5027722876525029059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833770756,"filename":"image_21012025_22_21_02_147971_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/92ddab356acb189092af60ae87090556.jpg","text":"TemporaryFile(/tmp/multipartBody4037823805399854169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833770756,"filename":"image_21012025_22_21_02_147971_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/08e8a529f4ca67f5f1e718c380745396.jpg","text":"TemporaryFile(/tmp/multipartBody8437800214378328339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833770756,"filename":"image_21012025_22_21_02_147971_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ec7b463a2288a8b71d1e30b65a27ae96.jpg","text":"TemporaryFile(/tmp/multipartBody5426223845936442475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833770756,"filename":"image_21012025_22_22_02_302897_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331443014","file1":"1331443012","file0":"1331443010","file4":"1331443021","file5":"1331443025","file3":"1331443019"},"map_files_photo_id_array":[{"photo_id":"1331443025","filename":"file5"},{"photo_id":"1331443014","filename":"file2"},{"photo_id":"1331443021","filename":"file4"},{"photo_id":"1331443012","filename":"file1"},{"photo_id":"1331443010","filename":"file0"},{"photo_id":"1331443019","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331443014":["hashtag1","hashtag2"]},{"1331443025":["hashtag1","hashtag2"]},{"1331443019":["hashtag1","hashtag2"]},{"1331443010":["hashtag1","hashtag2"]},{"1331443012":["hashtag1","hashtag2"]},{"1331443021":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331443014, 1331443025, 1331443019, 1331443010, 1331443012, 1331443021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.81048393249512 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 20:35:51.812329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/34/image_25012025_20_34_02_798196_0003.jpg', '/home/pi/Desktop/images/25012025/20/35/image_25012025_20_35_03_065182_0000.jpg', '/home/pi/Desktop/images/25012025/20/35/image_25012025_20_35_03_065182_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/34/image_25012025_20_34_02_798196_0003.jpg
/home/pi/Desktop/images/25012025/20/35/image_25012025_20_35_03_065182_0000.jpg
/home/pi/Desktop/images/25012025/20/35/image_25012025_20_35_03_065182_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":["1331443036","1331443033","1331443041"],"photo_ids_order":["1331443033","1331443036","1331443041"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e553eac4532f3469bb9dddb6905a3f80.jpg","text":"TemporaryFile(/tmp/multipartBody5617171341585427371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833819792,"filename":"image_25012025_20_35_03_065182_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f8d92450c22e293c037db67b24bfc349.jpg","text":"TemporaryFile(/tmp/multipartBody417612742736204711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833819792,"filename":"image_25012025_20_34_02_798196_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3e3dc728bd403c6d2fca05a252b3f94a.jpg","text":"TemporaryFile(/tmp/multipartBody404021736688931358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833819792,"filename":"image_25012025_20_35_03_065182_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331443041","file1":"1331443036","file0":"1331443033"},"map_files_photo_id_array":[{"photo_id":"1331443041","filename":"file2"},{"photo_id":"1331443036","filename":"file1"},{"photo_id":"1331443033","filename":"file0"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331443036":["hashtag1","hashtag2"]},{"1331443033":["hashtag1","hashtag2"]},{"1331443041":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331443036, 1331443033, 1331443041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.05582904815674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 20:36:32.015874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/22/image_21012025_22_22_02_302897_0002.jpg', '/home/pi/Desktop/images/21012025/22/22/image_21012025_22_22_02_302897_0003.jpg', '/home/pi/Desktop/images/21012025/22/23/image_21012025_22_23_02_496198_0000.jpg', '/home/pi/Desktop/images/21012025/22/23/image_21012025_22_23_02_496198_0001.jpg', '/home/pi/Desktop/images/21012025/22/23/image_21012025_22_23_02_496198_0002.jpg', '/home/pi/Desktop/images/21012025/22/23/image_21012025_22_23_02_496198_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/22/22/image_21012025_22_22_02_302897_0002.jpg
/home/pi/Desktop/images/21012025/22/22/image_21012025_22_22_02_302897_0003.jpg
/home/pi/Desktop/images/21012025/22/23/image_21012025_22_23_02_496198_0000.jpg
/home/pi/Desktop/images/21012025/22/23/image_21012025_22_23_02_496198_0001.jpg
/home/pi/Desktop/images/21012025/22/23/image_21012025_22_23_02_496198_0002.jpg
/home/pi/Desktop/images/21012025/22/23/image_21012025_22_23_02_496198_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.459186553955078 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 20:36:52.003990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/22/image_21012025_22_22_02_302897_0002.jpg', '/home/pi/Desktop/images/21012025/22/22/image_21012025_22_22_02_302897_0003.jpg', '/home/pi/Desktop/images/21012025/22/23/image_21012025_22_23_02_496198_0000.jpg', '/home/pi/Desktop/images/21012025/22/23/image_21012025_22_23_02_496198_0001.jpg', '/home/pi/Desktop/images/21012025/22/23/image_21012025_22_23_02_496198_0002.jpg', '/home/pi/Desktop/images/21012025/22/23/image_21012025_22_23_02_496198_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/22/22/image_21012025_22_22_02_302897_0002.jpg
/home/pi/Desktop/images/21012025/22/22/image_21012025_22_22_02_302897_0003.jpg
/home/pi/Desktop/images/21012025/22/23/image_21012025_22_23_02_496198_0000.jpg
/home/pi/Desktop/images/21012025/22/23/image_21012025_22_23_02_496198_0001.jpg
/home/pi/Desktop/images/21012025/22/23/image_21012025_22_23_02_496198_0002.jpg
/home/pi/Desktop/images/21012025/22/23/image_21012025_22_23_02_496198_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 [200]>
b'{"photo_ids":["1331443125","1331443517","1331443087","1331443081","1331443395","1331443260"],"photo_ids_order":["1331443081","1331443087","1331443125","1331443260","1331443395","1331443517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/27aa6fca6aa66a01389eeffae7bd53d1.jpg","text":"TemporaryFile(/tmp/multipartBody6837302177635841476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833889828,"filename":"image_21012025_22_23_02_496198_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b9ebd50cfac638e6f34bd45c72db520.jpg","text":"TemporaryFile(/tmp/multipartBody2672777922941601151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833889828,"filename":"image_21012025_22_23_02_496198_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/922f54461ce0815d8f4ed5f3abe60937.jpg","text":"TemporaryFile(/tmp/multipartBody3864963089853662257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833889828,"filename":"image_21012025_22_22_02_302897_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/87a8d6645b22d247d6cd23888b5948db.jpg","text":"TemporaryFile(/tmp/multipartBody1578263013424774686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833889828,"filename":"image_21012025_22_22_02_302897_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/62efc2293d9ecaf344c5e76002bad284.jpg","text":"TemporaryFile(/tmp/multipartBody2952281213567851448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833889828,"filename":"image_21012025_22_23_02_496198_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a26d485ad0d2943bffcfb751d06a7c7d.jpg","text":"TemporaryFile(/tmp/multipartBody4159749898108813406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833889828,"filename":"image_21012025_22_23_02_496198_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331443125","file1":"1331443087","file0":"1331443081","file4":"1331443395","file5":"1331443517","file3":"1331443260"},"map_files_photo_id_array":[{"photo_id":"1331443517","filename":"file5"},{"photo_id":"1331443125","filename":"file2"},{"photo_id":"1331443395","filename":"file4"},{"photo_id":"1331443087","filename":"file1"},{"photo_id":"1331443081","filename":"file0"},{"photo_id":"1331443260","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331443125":["hashtag1","hashtag2"]},{"1331443517":["hashtag1","hashtag2"]},{"1331443087":["hashtag1","hashtag2"]},{"1331443081":["hashtag1","hashtag2"]},{"1331443395":["hashtag1","hashtag2"]},{"1331443260":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331443125, 1331443517, 1331443087, 1331443081, 1331443395, 1331443260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.889453649520874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 20:37:52.254918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/36/image_25012025_20_36_02_192678_0003.jpg', '/home/pi/Desktop/images/25012025/20/37/image_25012025_20_37_02_400856_0000.jpg', '/home/pi/Desktop/images/25012025/20/37/image_25012025_20_37_02_400856_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/36/image_25012025_20_36_02_192678_0003.jpg
/home/pi/Desktop/images/25012025/20/37/image_25012025_20_37_02_400856_0000.jpg
/home/pi/Desktop/images/25012025/20/37/image_25012025_20_37_02_400856_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: 8.105879545211792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 20:38:02.965300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/36/image_25012025_20_36_02_192678_0003.jpg', '/home/pi/Desktop/images/25012025/20/37/image_25012025_20_37_02_400856_0000.jpg', '/home/pi/Desktop/images/25012025/20/37/image_25012025_20_37_02_400856_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/36/image_25012025_20_36_02_192678_0003.jpg
/home/pi/Desktop/images/25012025/20/37/image_25012025_20_37_02_400856_0000.jpg
/home/pi/Desktop/images/25012025/20/37/image_25012025_20_37_02_400856_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":["1331443673","1331443683","1331443677"],"photo_ids_order":["1331443673","1331443677","1331443683"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/73740d41cba392b5ebc4c991049619be.jpg","text":"TemporaryFile(/tmp/multipartBody1622985667097232669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833951468,"filename":"image_25012025_20_36_02_192678_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/45c54a38872d681abf06dd34e5ef3110.jpg","text":"TemporaryFile(/tmp/multipartBody605454797222481631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833951468,"filename":"image_25012025_20_37_02_400856_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/37caf58e9c4131440fa0597541f8590c.jpg","text":"TemporaryFile(/tmp/multipartBody4607298809677835662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833951468,"filename":"image_25012025_20_37_02_400856_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331443683","file1":"1331443677","file0":"1331443673"},"map_files_photo_id_array":[{"photo_id":"1331443683","filename":"file2"},{"photo_id":"1331443677","filename":"file1"},{"photo_id":"1331443673","filename":"file0"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331443673":["hashtag1","hashtag2"]},{"1331443683":["hashtag1","hashtag2"]},{"1331443677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331443673, 1331443683, 1331443677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.847305059432983 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 20:38:42.407285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/20/38/image_25012025_20_38_02_551683_0000.jpg', '/home/pi/Desktop/images/25012025/20/38/image_25012025_20_38_02_551683_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/20/38/image_25012025_20_38_02_551683_0000.jpg
/home/pi/Desktop/images/25012025/20/38/image_25012025_20_38_02_551683_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":["1331443993","1331443983"],"photo_ids_order":["1331443983","1331443993"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3797b81b21f772c8dc44028111954072.jpg","text":"TemporaryFile(/tmp/multipartBody6977304929475784491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833987550,"filename":"image_25012025_20_38_02_551683_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8712d61579c6224c1809959079c8b9a8.jpg","text":"TemporaryFile(/tmp/multipartBody6809402614261307294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737833987550,"filename":"image_25012025_20_38_02_551683_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1331443993","file0":"1331443983"},"map_files_photo_id_array":[{"photo_id":"1331443993","filename":"file1"},{"photo_id":"1331443983","filename":"file0"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331443993":["hashtag1","hashtag2"]},{"1331443983":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331443993, 1331443983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.897910118103027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:39:22.631899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/24/image_21012025_22_24_02_679804_0000.jpg', '/home/pi/Desktop/images/21012025/22/24/image_21012025_22_24_02_679804_0001.jpg', '/home/pi/Desktop/images/21012025/22/24/image_21012025_22_24_02_679804_0002.jpg', '/home/pi/Desktop/images/21012025/22/24/image_21012025_22_24_02_679804_0003.jpg', '/home/pi/Desktop/images/21012025/22/25/image_21012025_22_25_02_848035_0000.jpg', '/home/pi/Desktop/images/21012025/22/25/image_21012025_22_25_02_848035_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/22/24/image_21012025_22_24_02_679804_0000.jpg
/home/pi/Desktop/images/21012025/22/24/image_21012025_22_24_02_679804_0001.jpg
/home/pi/Desktop/images/21012025/22/24/image_21012025_22_24_02_679804_0002.jpg
/home/pi/Desktop/images/21012025/22/24/image_21012025_22_24_02_679804_0003.jpg
/home/pi/Desktop/images/21012025/22/25/image_21012025_22_25_02_848035_0000.jpg
/home/pi/Desktop/images/21012025/22/25/image_21012025_22_25_02_848035_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":["1331444315","1331444311","1331444160","1331444298","1331444283","1331444285"],"photo_ids_order":["1331444160","1331444283","1331444285","1331444298","1331444311","1331444315"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a5ab3ea3885ae7bbfa209bfbe623c82d.jpg","text":"TemporaryFile(/tmp/multipartBody974520193306203499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834040707,"filename":"image_21012025_22_25_02_848035_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ee772028a39b82dd2b6db648c6083a3e.jpg","text":"TemporaryFile(/tmp/multipartBody4310739582440832605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834040707,"filename":"image_21012025_22_25_02_848035_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/03081c8c34121f97e140c74a3cb8db26.jpg","text":"TemporaryFile(/tmp/multipartBody7160796633116922041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834040707,"filename":"image_21012025_22_24_02_679804_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8fcbc2526acbfd3b6c26f9bf570aaa69.jpg","text":"TemporaryFile(/tmp/multipartBody4183887011529835041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834040707,"filename":"image_21012025_22_24_02_679804_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f9cadd6289041858bc15d884139bcf39.jpg","text":"TemporaryFile(/tmp/multipartBody3636884607718323744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834040707,"filename":"image_21012025_22_24_02_679804_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bcbcc56dba82cfc8e3b7649c1f4774ae.jpg","text":"TemporaryFile(/tmp/multipartBody4655955658519622971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834040707,"filename":"image_21012025_22_24_02_679804_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331444285","file1":"1331444283","file0":"1331444160","file4":"1331444311","file5":"1331444315","file3":"1331444298"},"map_files_photo_id_array":[{"photo_id":"1331444315","filename":"file5"},{"photo_id":"1331444285","filename":"file2"},{"photo_id":"1331444311","filename":"file4"},{"photo_id":"1331444283","filename":"file1"},{"photo_id":"1331444160","filename":"file0"},{"photo_id":"1331444298","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331444315":["hashtag1","hashtag2"]},{"1331444311":["hashtag1","hashtag2"]},{"1331444160":["hashtag1","hashtag2"]},{"1331444298":["hashtag1","hashtag2"]},{"1331444283":["hashtag1","hashtag2"]},{"1331444285":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331444315, 1331444311, 1331444160, 1331444298, 1331444283, 1331444285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.386563301086426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:40:21.865940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/25/image_21012025_22_25_02_848035_0002.jpg', '/home/pi/Desktop/images/21012025/22/25/image_21012025_22_25_02_848035_0003.jpg', '/home/pi/Desktop/images/21012025/22/26/image_21012025_22_26_03_013494_0000.jpg', '/home/pi/Desktop/images/21012025/22/26/image_21012025_22_26_03_013494_0001.jpg', '/home/pi/Desktop/images/21012025/22/26/image_21012025_22_26_03_013494_0002.jpg', '/home/pi/Desktop/images/21012025/22/26/image_21012025_22_26_03_013494_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/22/25/image_21012025_22_25_02_848035_0002.jpg
/home/pi/Desktop/images/21012025/22/25/image_21012025_22_25_02_848035_0003.jpg
/home/pi/Desktop/images/21012025/22/26/image_21012025_22_26_03_013494_0000.jpg
/home/pi/Desktop/images/21012025/22/26/image_21012025_22_26_03_013494_0001.jpg
/home/pi/Desktop/images/21012025/22/26/image_21012025_22_26_03_013494_0002.jpg
/home/pi/Desktop/images/21012025/22/26/image_21012025_22_26_03_013494_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 [200]>
b'{"photo_ids":["1331444567","1331444528","1331444571","1331444733","1331444562","1331444556"],"photo_ids_order":["1331444528","1331444556","1331444562","1331444567","1331444571","1331444733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c4ec8cae32815358a594e6cd74462e13.jpg","text":"TemporaryFile(/tmp/multipartBody3334324658159472042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834099698,"filename":"image_21012025_22_26_03_013494_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c26585cec6f773c510123260fd813d99.jpg","text":"TemporaryFile(/tmp/multipartBody3536828155089881441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834099698,"filename":"image_21012025_22_25_02_848035_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5281ea93d3c9834715b9394bf8344018.jpg","text":"TemporaryFile(/tmp/multipartBody8230638401304508796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834099698,"filename":"image_21012025_22_26_03_013494_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ed6dfecba48768b9aa3f949771ec9f98.jpg","text":"TemporaryFile(/tmp/multipartBody6521149110551389548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834099698,"filename":"image_21012025_22_26_03_013494_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f331e77a45a9b1468036173103bda74b.jpg","text":"TemporaryFile(/tmp/multipartBody4206408953812562413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834099698,"filename":"image_21012025_22_26_03_013494_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f1a71de6ba565e3f6e448db7818e6fe9.jpg","text":"TemporaryFile(/tmp/multipartBody1415079543556442138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834099698,"filename":"image_21012025_22_25_02_848035_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331444562","file1":"1331444556","file0":"1331444528","file4":"1331444571","file5":"1331444733","file3":"1331444567"},"map_files_photo_id_array":[{"photo_id":"1331444733","filename":"file5"},{"photo_id":"1331444562","filename":"file2"},{"photo_id":"1331444571","filename":"file4"},{"photo_id":"1331444556","filename":"file1"},{"photo_id":"1331444528","filename":"file0"},{"photo_id":"1331444567","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331444567":["hashtag1","hashtag2"]},{"1331444528":["hashtag1","hashtag2"]},{"1331444571":["hashtag1","hashtag2"]},{"1331444733":["hashtag1","hashtag2"]},{"1331444562":["hashtag1","hashtag2"]},{"1331444556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331444567, 1331444528, 1331444571, 1331444733, 1331444562, 1331444556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.51810336112976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:41:21.956272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/27/image_21012025_22_27_02_200851_0000.jpg', '/home/pi/Desktop/images/21012025/22/27/image_21012025_22_27_02_200851_0001.jpg', '/home/pi/Desktop/images/21012025/22/27/image_21012025_22_27_02_200851_0002.jpg', '/home/pi/Desktop/images/21012025/22/27/image_21012025_22_27_02_200851_0003.jpg', '/home/pi/Desktop/images/21012025/22/28/image_21012025_22_28_02_379454_0000.jpg', '/home/pi/Desktop/images/21012025/22/28/image_21012025_22_28_02_379454_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/22/27/image_21012025_22_27_02_200851_0000.jpg
/home/pi/Desktop/images/21012025/22/27/image_21012025_22_27_02_200851_0001.jpg
/home/pi/Desktop/images/21012025/22/27/image_21012025_22_27_02_200851_0002.jpg
/home/pi/Desktop/images/21012025/22/27/image_21012025_22_27_02_200851_0003.jpg
/home/pi/Desktop/images/21012025/22/28/image_21012025_22_28_02_379454_0000.jpg
/home/pi/Desktop/images/21012025/22/28/image_21012025_22_28_02_379454_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":["1331444884","1331444878","1331444887","1331444875","1331444892","1331444871"],"photo_ids_order":["1331444871","1331444875","1331444878","1331444884","1331444887","1331444892"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/75dc6875146726553f16c5959034cffa.jpg","text":"TemporaryFile(/tmp/multipartBody3403073901776801269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834159633,"filename":"image_21012025_22_27_02_200851_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/db43870b119b76e28ebb3351f7accdb7.jpg","text":"TemporaryFile(/tmp/multipartBody5049811450923887277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834159633,"filename":"image_21012025_22_27_02_200851_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6abcccd3e910603685c67afecffd553d.jpg","text":"TemporaryFile(/tmp/multipartBody9112483114587215219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834159633,"filename":"image_21012025_22_28_02_379454_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/884c115280e4d84d7ad8297c52ef91bf.jpg","text":"TemporaryFile(/tmp/multipartBody8667271894189280707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834159633,"filename":"image_21012025_22_27_02_200851_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7c364ea84186c98ba8e8291e5230da99.jpg","text":"TemporaryFile(/tmp/multipartBody1942615213638066358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834159633,"filename":"image_21012025_22_28_02_379454_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0d79886da700854de8114556e7ae94db.jpg","text":"TemporaryFile(/tmp/multipartBody4822994163414867958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834159633,"filename":"image_21012025_22_27_02_200851_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331444878","file1":"1331444875","file0":"1331444871","file4":"1331444887","file5":"1331444892","file3":"1331444884"},"map_files_photo_id_array":[{"photo_id":"1331444892","filename":"file5"},{"photo_id":"1331444878","filename":"file2"},{"photo_id":"1331444887","filename":"file4"},{"photo_id":"1331444875","filename":"file1"},{"photo_id":"1331444871","filename":"file0"},{"photo_id":"1331444884","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331444884":["hashtag1","hashtag2"]},{"1331444878":["hashtag1","hashtag2"]},{"1331444887":["hashtag1","hashtag2"]},{"1331444875":["hashtag1","hashtag2"]},{"1331444892":["hashtag1","hashtag2"]},{"1331444871":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331444884, 1331444878, 1331444887, 1331444875, 1331444892, 1331444871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.09360980987549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:42:22.202393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/28/image_21012025_22_28_02_379454_0002.jpg', '/home/pi/Desktop/images/21012025/22/28/image_21012025_22_28_02_379454_0003.jpg', '/home/pi/Desktop/images/21012025/22/29/image_21012025_22_29_02_657037_0000.jpg', '/home/pi/Desktop/images/21012025/22/29/image_21012025_22_29_02_657037_0001.jpg', '/home/pi/Desktop/images/21012025/22/29/image_21012025_22_29_02_657037_0002.jpg', '/home/pi/Desktop/images/21012025/22/29/image_21012025_22_29_02_657037_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/22/28/image_21012025_22_28_02_379454_0002.jpg
/home/pi/Desktop/images/21012025/22/28/image_21012025_22_28_02_379454_0003.jpg
/home/pi/Desktop/images/21012025/22/29/image_21012025_22_29_02_657037_0000.jpg
/home/pi/Desktop/images/21012025/22/29/image_21012025_22_29_02_657037_0001.jpg
/home/pi/Desktop/images/21012025/22/29/image_21012025_22_29_02_657037_0002.jpg
/home/pi/Desktop/images/21012025/22/29/image_21012025_22_29_02_657037_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 [200]>
b'{"photo_ids":["1331444927","1331444912","1331444920","1331444923","1331444907","1331444916"],"photo_ids_order":["1331444907","1331444912","1331444916","1331444920","1331444923","1331444927"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d5f80c7a4062222d3e11a599584e9583.jpg","text":"TemporaryFile(/tmp/multipartBody1887122702597953817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834219615,"filename":"image_21012025_22_29_02_657037_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/87f089a3899fb95ad31f22f922fd69f3.jpg","text":"TemporaryFile(/tmp/multipartBody3437221264904966143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834219615,"filename":"image_21012025_22_28_02_379454_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c48f8dfe3df6edac5b505a6d4ecc7c6e.jpg","text":"TemporaryFile(/tmp/multipartBody5233608855522101021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834219615,"filename":"image_21012025_22_29_02_657037_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e2a682767d5eb755d212fe7714442573.jpg","text":"TemporaryFile(/tmp/multipartBody8336623775521674570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834219615,"filename":"image_21012025_22_29_02_657037_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/61de2b56ecf22e6b2666d21bcb0f79df.jpg","text":"TemporaryFile(/tmp/multipartBody4822073718915617475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834219615,"filename":"image_21012025_22_28_02_379454_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0f1c51bb0f46e4211155afde978c536b.jpg","text":"TemporaryFile(/tmp/multipartBody5223966372617562029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834219615,"filename":"image_21012025_22_29_02_657037_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331444916","file1":"1331444912","file0":"1331444907","file4":"1331444923","file5":"1331444927","file3":"1331444920"},"map_files_photo_id_array":[{"photo_id":"1331444927","filename":"file5"},{"photo_id":"1331444916","filename":"file2"},{"photo_id":"1331444923","filename":"file4"},{"photo_id":"1331444912","filename":"file1"},{"photo_id":"1331444907","filename":"file0"},{"photo_id":"1331444920","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331444927":["hashtag1","hashtag2"]},{"1331444912":["hashtag1","hashtag2"]},{"1331444920":["hashtag1","hashtag2"]},{"1331444923":["hashtag1","hashtag2"]},{"1331444907":["hashtag1","hashtag2"]},{"1331444916":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331444927, 1331444912, 1331444920, 1331444923, 1331444907, 1331444916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.97916340827942 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:43:22.443024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/30/image_21012025_22_30_02_895403_0000.jpg', '/home/pi/Desktop/images/21012025/22/30/image_21012025_22_30_02_895403_0001.jpg', '/home/pi/Desktop/images/21012025/22/30/image_21012025_22_30_02_895403_0002.jpg', '/home/pi/Desktop/images/21012025/22/30/image_21012025_22_30_02_895403_0003.jpg', '/home/pi/Desktop/images/21012025/22/31/image_21012025_22_31_02_946479_0000.jpg', '/home/pi/Desktop/images/21012025/22/31/image_21012025_22_31_02_946479_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/22/30/image_21012025_22_30_02_895403_0000.jpg
/home/pi/Desktop/images/21012025/22/30/image_21012025_22_30_02_895403_0001.jpg
/home/pi/Desktop/images/21012025/22/30/image_21012025_22_30_02_895403_0002.jpg
/home/pi/Desktop/images/21012025/22/30/image_21012025_22_30_02_895403_0003.jpg
/home/pi/Desktop/images/21012025/22/31/image_21012025_22_31_02_946479_0000.jpg
/home/pi/Desktop/images/21012025/22/31/image_21012025_22_31_02_946479_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":["1331444977","1331444974","1331444982","1331444976","1331444970","1331444967"],"photo_ids_order":["1331444967","1331444970","1331444974","1331444976","1331444977","1331444982"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e1a44c34c77498a3e76fa21e1fd8d13d.jpg","text":"TemporaryFile(/tmp/multipartBody8020555846421630228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834279344,"filename":"image_21012025_22_31_02_946479_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a26fddbcaf4e227e7d4546fd90f22799.jpg","text":"TemporaryFile(/tmp/multipartBody1230643004866559879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834279344,"filename":"image_21012025_22_30_02_895403_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/139a546fd3aaf0585606e9c17983fbe8.jpg","text":"TemporaryFile(/tmp/multipartBody8080981910300752730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834279344,"filename":"image_21012025_22_31_02_946479_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/246cddfd190b1aa2a42b1e3a4a51f771.jpg","text":"TemporaryFile(/tmp/multipartBody7134843281793187710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834279344,"filename":"image_21012025_22_30_02_895403_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/101ed0ffbc1c09c4d0f5913f65e474d7.jpg","text":"TemporaryFile(/tmp/multipartBody9086896565760619383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834279344,"filename":"image_21012025_22_30_02_895403_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a5f19a5e47c0b6e1ba919efb7e38074f.jpg","text":"TemporaryFile(/tmp/multipartBody1458203599470091977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834279344,"filename":"image_21012025_22_30_02_895403_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331444974","file1":"1331444970","file0":"1331444967","file4":"1331444977","file5":"1331444982","file3":"1331444976"},"map_files_photo_id_array":[{"photo_id":"1331444982","filename":"file5"},{"photo_id":"1331444974","filename":"file2"},{"photo_id":"1331444977","filename":"file4"},{"photo_id":"1331444970","filename":"file1"},{"photo_id":"1331444967","filename":"file0"},{"photo_id":"1331444976","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331444977":["hashtag1","hashtag2"]},{"1331444974":["hashtag1","hashtag2"]},{"1331444982":["hashtag1","hashtag2"]},{"1331444976":["hashtag1","hashtag2"]},{"1331444970":["hashtag1","hashtag2"]},{"1331444967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331444977, 1331444974, 1331444982, 1331444976, 1331444970, 1331444967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.23148584365845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 20:44:22.629559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/31/image_21012025_22_31_02_946479_0002.jpg', '/home/pi/Desktop/images/21012025/22/31/image_21012025_22_31_02_946479_0003.jpg', '/home/pi/Desktop/images/21012025/22/32/image_21012025_22_32_02_222686_0000.jpg', '/home/pi/Desktop/images/21012025/22/32/image_21012025_22_32_02_222686_0001.jpg', '/home/pi/Desktop/images/21012025/22/32/image_21012025_22_32_02_222686_0002.jpg', '/home/pi/Desktop/images/21012025/22/32/image_21012025_22_32_02_222686_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/22/31/image_21012025_22_31_02_946479_0002.jpg
/home/pi/Desktop/images/21012025/22/31/image_21012025_22_31_02_946479_0003.jpg
/home/pi/Desktop/images/21012025/22/32/image_21012025_22_32_02_222686_0000.jpg
/home/pi/Desktop/images/21012025/22/32/image_21012025_22_32_02_222686_0001.jpg
/home/pi/Desktop/images/21012025/22/32/image_21012025_22_32_02_222686_0002.jpg
/home/pi/Desktop/images/21012025/22/32/image_21012025_22_32_02_222686_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: 16.764404773712158 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 20:44:42.679160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_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/22/31/image_21012025_22_31_02_946479_0002.jpg', '/home/pi/Desktop/images/21012025/22/31/image_21012025_22_31_02_946479_0003.jpg', '/home/pi/Desktop/images/21012025/22/32/image_21012025_22_32_02_222686_0000.jpg', '/home/pi/Desktop/images/21012025/22/32/image_21012025_22_32_02_222686_0001.jpg', '/home/pi/Desktop/images/21012025/22/32/image_21012025_22_32_02_222686_0002.jpg', '/home/pi/Desktop/images/21012025/22/32/image_21012025_22_32_02_222686_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/22/31/image_21012025_22_31_02_946479_0002.jpg
/home/pi/Desktop/images/21012025/22/31/image_21012025_22_31_02_946479_0003.jpg
/home/pi/Desktop/images/21012025/22/32/image_21012025_22_32_02_222686_0000.jpg
/home/pi/Desktop/images/21012025/22/32/image_21012025_22_32_02_222686_0001.jpg
/home/pi/Desktop/images/21012025/22/32/image_21012025_22_32_02_222686_0002.jpg
/home/pi/Desktop/images/21012025/22/32/image_21012025_22_32_02_222686_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 [200]>
b'{"photo_ids":["1331445026","1331445097","1331445019","1331445015","1331445009","1331445179"],"photo_ids_order":["1331445009","1331445015","1331445019","1331445026","1331445097","1331445179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1b53511276d15afd81ba4da834eca17e.jpg","text":"TemporaryFile(/tmp/multipartBody6894138387383529829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834359244,"filename":"image_21012025_22_32_02_222686_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/add1c31eb07063df68f19ea6667f44ae.jpg","text":"TemporaryFile(/tmp/multipartBody4887472010167166257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834359244,"filename":"image_21012025_22_32_02_222686_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/797e54d5f9fd23255641cc732d8f8238.jpg","text":"TemporaryFile(/tmp/multipartBody8883166047167005267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834359244,"filename":"image_21012025_22_32_02_222686_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c0a75eb8740f3da5d9c075d5c4795fdb.jpg","text":"TemporaryFile(/tmp/multipartBody4613525956466071563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834359244,"filename":"image_21012025_22_31_02_946479_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b7eadd4ac4c889a206cf48965063845b.jpg","text":"TemporaryFile(/tmp/multipartBody4998287913361844604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834359244,"filename":"image_21012025_22_31_02_946479_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bebec01e9242ea4d7d5b02e974dac45c.jpg","text":"TemporaryFile(/tmp/multipartBody3532888653665236362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834359244,"filename":"image_21012025_22_32_02_222686_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331445019","file1":"1331445015","file0":"1331445009","file4":"1331445097","file5":"1331445179","file3":"1331445026"},"map_files_photo_id_array":[{"photo_id":"1331445179","filename":"file5"},{"photo_id":"1331445019","filename":"file2"},{"photo_id":"1331445097","filename":"file4"},{"photo_id":"1331445015","filename":"file1"},{"photo_id":"1331445009","filename":"file0"},{"photo_id":"1331445026","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331445026":["hashtag1","hashtag2"]},{"1331445097":["hashtag1","hashtag2"]},{"1331445019":["hashtag1","hashtag2"]},{"1331445015":["hashtag1","hashtag2"]},{"1331445009":["hashtag1","hashtag2"]},{"1331445179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331445026, 1331445097, 1331445019, 1331445015, 1331445009, 1331445179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.37629556655884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 20:45:41.949498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_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/22/33/image_21012025_22_33_02_387036_0000.jpg', '/home/pi/Desktop/images/21012025/22/33/image_21012025_22_33_02_387036_0001.jpg', '/home/pi/Desktop/images/21012025/22/33/image_21012025_22_33_02_387036_0002.jpg', '/home/pi/Desktop/images/21012025/22/33/image_21012025_22_33_02_387036_0003.jpg', '/home/pi/Desktop/images/21012025/22/34/image_21012025_22_34_02_547800_0000.jpg', '/home/pi/Desktop/images/21012025/22/34/image_21012025_22_34_02_547800_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/22/33/image_21012025_22_33_02_387036_0000.jpg
/home/pi/Desktop/images/21012025/22/33/image_21012025_22_33_02_387036_0001.jpg
/home/pi/Desktop/images/21012025/22/33/image_21012025_22_33_02_387036_0002.jpg
/home/pi/Desktop/images/21012025/22/33/image_21012025_22_33_02_387036_0003.jpg
/home/pi/Desktop/images/21012025/22/34/image_21012025_22_34_02_547800_0000.jpg
/home/pi/Desktop/images/21012025/22/34/image_21012025_22_34_02_547800_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":["1331445515","1331445445","1331445375","1331445534","1331445575","1331445300"],"photo_ids_order":["1331445300","1331445375","1331445445","1331445515","1331445534","1331445575"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c7932f97c972a06126017c8b922f416e.jpg","text":"TemporaryFile(/tmp/multipartBody5651860774914514999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834418603,"filename":"image_21012025_22_33_02_387036_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/36581c467eb206f89419c296da9ea525.jpg","text":"TemporaryFile(/tmp/multipartBody3490863435423090495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834418603,"filename":"image_21012025_22_33_02_387036_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0ab2e0a63514ec21c44afbe1da3a57fc.jpg","text":"TemporaryFile(/tmp/multipartBody2879406142258026075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834418603,"filename":"image_21012025_22_33_02_387036_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e8df238fd41a4fcf29fd25d7b22ac28c.jpg","text":"TemporaryFile(/tmp/multipartBody1580887124545908679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834418603,"filename":"image_21012025_22_34_02_547800_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dde84630d5004d8418ccb92bfcc6da38.jpg","text":"TemporaryFile(/tmp/multipartBody9026035896042455305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834418603,"filename":"image_21012025_22_34_02_547800_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d74c5bc81dcc543dd012fdbbff0aea93.jpg","text":"TemporaryFile(/tmp/multipartBody1268174925738613113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834418603,"filename":"image_21012025_22_33_02_387036_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331445445","file1":"1331445375","file0":"1331445300","file4":"1331445534","file5":"1331445575","file3":"1331445515"},"map_files_photo_id_array":[{"photo_id":"1331445575","filename":"file5"},{"photo_id":"1331445445","filename":"file2"},{"photo_id":"1331445534","filename":"file4"},{"photo_id":"1331445375","filename":"file1"},{"photo_id":"1331445300","filename":"file0"},{"photo_id":"1331445515","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331445515":["hashtag1","hashtag2"]},{"1331445445":["hashtag1","hashtag2"]},{"1331445375":["hashtag1","hashtag2"]},{"1331445534":["hashtag1","hashtag2"]},{"1331445575":["hashtag1","hashtag2"]},{"1331445300":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331445515, 1331445445, 1331445375, 1331445534, 1331445575, 1331445300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.43802785873413 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 20:46:42.101365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_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/22/34/image_21012025_22_34_02_547800_0002.jpg', '/home/pi/Desktop/images/21012025/22/34/image_21012025_22_34_02_547800_0003.jpg', '/home/pi/Desktop/images/21012025/22/35/image_21012025_22_35_02_713563_0000.jpg', '/home/pi/Desktop/images/21012025/22/35/image_21012025_22_35_02_713563_0001.jpg', '/home/pi/Desktop/images/21012025/22/35/image_21012025_22_35_02_713563_0002.jpg', '/home/pi/Desktop/images/21012025/22/35/image_21012025_22_35_02_713563_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/22/34/image_21012025_22_34_02_547800_0002.jpg
/home/pi/Desktop/images/21012025/22/34/image_21012025_22_34_02_547800_0003.jpg
/home/pi/Desktop/images/21012025/22/35/image_21012025_22_35_02_713563_0000.jpg
/home/pi/Desktop/images/21012025/22/35/image_21012025_22_35_02_713563_0001.jpg
/home/pi/Desktop/images/21012025/22/35/image_21012025_22_35_02_713563_0002.jpg
/home/pi/Desktop/images/21012025/22/35/image_21012025_22_35_02_713563_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 [200]>
b'{"photo_ids":["1331445701","1331445715","1331445708","1331445725","1331445719","1331445704"],"photo_ids_order":["1331445701","1331445704","1331445708","1331445715","1331445719","1331445725"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/18b828bb09fc745eabeb1fb989bc409a.jpg","text":"TemporaryFile(/tmp/multipartBody6429478708400337628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834479061,"filename":"image_21012025_22_34_02_547800_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/48af651f2344851e61c57d0088502512.jpg","text":"TemporaryFile(/tmp/multipartBody7837023670040088870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834479061,"filename":"image_21012025_22_35_02_713563_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/51f45a6744e0803a04d9ffc45d1849b1.jpg","text":"TemporaryFile(/tmp/multipartBody8840544368041475150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834479061,"filename":"image_21012025_22_35_02_713563_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/115505078e8d1cd0ae07afc2a0937335.jpg","text":"TemporaryFile(/tmp/multipartBody647312540495083641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834479061,"filename":"image_21012025_22_35_02_713563_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2edb812ca933893b75ecba3193c2b2c0.jpg","text":"TemporaryFile(/tmp/multipartBody6830688746344164369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834479061,"filename":"image_21012025_22_35_02_713563_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5838a1d034ac77b57b4c203c0480bd20.jpg","text":"TemporaryFile(/tmp/multipartBody8399179774013136957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834479061,"filename":"image_21012025_22_34_02_547800_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331445708","file1":"1331445704","file0":"1331445701","file4":"1331445719","file5":"1331445725","file3":"1331445715"},"map_files_photo_id_array":[{"photo_id":"1331445725","filename":"file5"},{"photo_id":"1331445708","filename":"file2"},{"photo_id":"1331445719","filename":"file4"},{"photo_id":"1331445704","filename":"file1"},{"photo_id":"1331445701","filename":"file0"},{"photo_id":"1331445715","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331445701":["hashtag1","hashtag2"]},{"1331445715":["hashtag1","hashtag2"]},{"1331445708":["hashtag1","hashtag2"]},{"1331445725":["hashtag1","hashtag2"]},{"1331445719":["hashtag1","hashtag2"]},{"1331445704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331445701, 1331445715, 1331445708, 1331445725, 1331445719, 1331445704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.2932071685791 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 20:47:42.286956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_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/22/36/image_21012025_22_36_02_941887_0000.jpg', '/home/pi/Desktop/images/21012025/22/36/image_21012025_22_36_02_941887_0001.jpg', '/home/pi/Desktop/images/21012025/22/36/image_21012025_22_36_02_941887_0002.jpg', '/home/pi/Desktop/images/21012025/22/36/image_21012025_22_36_02_941887_0003.jpg', '/home/pi/Desktop/images/21012025/22/37/image_21012025_22_37_02_168434_0000.jpg', '/home/pi/Desktop/images/21012025/22/37/image_21012025_22_37_02_168434_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/22/36/image_21012025_22_36_02_941887_0000.jpg
/home/pi/Desktop/images/21012025/22/36/image_21012025_22_36_02_941887_0001.jpg
/home/pi/Desktop/images/21012025/22/36/image_21012025_22_36_02_941887_0002.jpg
/home/pi/Desktop/images/21012025/22/36/image_21012025_22_36_02_941887_0003.jpg
/home/pi/Desktop/images/21012025/22/37/image_21012025_22_37_02_168434_0000.jpg
/home/pi/Desktop/images/21012025/22/37/image_21012025_22_37_02_168434_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":["1331445751","1331445754","1331445741","1331445744","1331445747","1331445758"],"photo_ids_order":["1331445741","1331445744","1331445747","1331445751","1331445754","1331445758"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f80f9a51a57ba46d3069d20061f742e5.jpg","text":"TemporaryFile(/tmp/multipartBody7374008977733905795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834539111,"filename":"image_21012025_22_36_02_941887_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d1b15d77367dc3ac1170915b0e43fe3f.jpg","text":"TemporaryFile(/tmp/multipartBody3430179055447191016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834539111,"filename":"image_21012025_22_37_02_168434_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8a22fd9ce21892cfe2803ea8fb6bc2d7.jpg","text":"TemporaryFile(/tmp/multipartBody7831967066781644496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834539111,"filename":"image_21012025_22_36_02_941887_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9897138b7826d71d55fabe0f3b4feb7f.jpg","text":"TemporaryFile(/tmp/multipartBody757039402485653506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834539111,"filename":"image_21012025_22_36_02_941887_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9629430e6ba132a240765f59874fe26d.jpg","text":"TemporaryFile(/tmp/multipartBody2109600668538932651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834539111,"filename":"image_21012025_22_36_02_941887_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6a7a85d5540959bb8a9d45cbb7ed0364.jpg","text":"TemporaryFile(/tmp/multipartBody4848936452384882304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834539111,"filename":"image_21012025_22_37_02_168434_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331445747","file1":"1331445744","file0":"1331445741","file4":"1331445754","file5":"1331445758","file3":"1331445751"},"map_files_photo_id_array":[{"photo_id":"1331445758","filename":"file5"},{"photo_id":"1331445747","filename":"file2"},{"photo_id":"1331445754","filename":"file4"},{"photo_id":"1331445744","filename":"file1"},{"photo_id":"1331445741","filename":"file0"},{"photo_id":"1331445751","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331445751":["hashtag1","hashtag2"]},{"1331445754":["hashtag1","hashtag2"]},{"1331445741":["hashtag1","hashtag2"]},{"1331445744":["hashtag1","hashtag2"]},{"1331445747":["hashtag1","hashtag2"]},{"1331445758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331445751, 1331445754, 1331445741, 1331445744, 1331445747, 1331445758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.5758101940155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 20:48:42.427084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_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/22/37/image_21012025_22_37_02_168434_0002.jpg', '/home/pi/Desktop/images/21012025/22/37/image_21012025_22_37_02_168434_0003.jpg', '/home/pi/Desktop/images/21012025/22/38/image_21012025_22_38_02_388697_0000.jpg', '/home/pi/Desktop/images/21012025/22/38/image_21012025_22_38_02_388697_0001.jpg', '/home/pi/Desktop/images/21012025/22/38/image_21012025_22_38_02_388697_0002.jpg', '/home/pi/Desktop/images/21012025/22/38/image_21012025_22_38_02_388697_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/22/37/image_21012025_22_37_02_168434_0002.jpg
/home/pi/Desktop/images/21012025/22/37/image_21012025_22_37_02_168434_0003.jpg
/home/pi/Desktop/images/21012025/22/38/image_21012025_22_38_02_388697_0000.jpg
/home/pi/Desktop/images/21012025/22/38/image_21012025_22_38_02_388697_0001.jpg
/home/pi/Desktop/images/21012025/22/38/image_21012025_22_38_02_388697_0002.jpg
/home/pi/Desktop/images/21012025/22/38/image_21012025_22_38_02_388697_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 [200]>
b'{"photo_ids":["1331445796","1331445781","1331445790","1331445778","1331445802","1331445786"],"photo_ids_order":["1331445778","1331445781","1331445786","1331445790","1331445796","1331445802"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/848cfc429989dff9f2141515ac1ccbea.jpg","text":"TemporaryFile(/tmp/multipartBody6972533632242520456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834600328,"filename":"image_21012025_22_38_02_388697_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/56d3368c912f83c37adf1eab6ea4a2dc.jpg","text":"TemporaryFile(/tmp/multipartBody4830521099211883077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834600328,"filename":"image_21012025_22_37_02_168434_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/473810fb6ba8dc6b5a66f80acbfb509f.jpg","text":"TemporaryFile(/tmp/multipartBody8649719130849360818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834600328,"filename":"image_21012025_22_38_02_388697_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/652076b8f0f874177c76d11978d3dfd3.jpg","text":"TemporaryFile(/tmp/multipartBody187895536366460906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834600328,"filename":"image_21012025_22_37_02_168434_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/569c24a87e679d882f5a09e6332216ab.jpg","text":"TemporaryFile(/tmp/multipartBody2523237817631898651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834600328,"filename":"image_21012025_22_38_02_388697_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9fc5747c048de7646d6e6e7e594ab108.jpg","text":"TemporaryFile(/tmp/multipartBody5563304317841741728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834600328,"filename":"image_21012025_22_38_02_388697_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331445786","file1":"1331445781","file0":"1331445778","file4":"1331445796","file5":"1331445802","file3":"1331445790"},"map_files_photo_id_array":[{"photo_id":"1331445802","filename":"file5"},{"photo_id":"1331445786","filename":"file2"},{"photo_id":"1331445796","filename":"file4"},{"photo_id":"1331445781","filename":"file1"},{"photo_id":"1331445778","filename":"file0"},{"photo_id":"1331445790","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331445796":["hashtag1","hashtag2"]},{"1331445781":["hashtag1","hashtag2"]},{"1331445790":["hashtag1","hashtag2"]},{"1331445778":["hashtag1","hashtag2"]},{"1331445802":["hashtag1","hashtag2"]},{"1331445786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331445796, 1331445781, 1331445790, 1331445778, 1331445802, 1331445786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.796382188797 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 20:49:42.727212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_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/22/39/image_21012025_22_39_02_595787_0000.jpg', '/home/pi/Desktop/images/21012025/22/39/image_21012025_22_39_02_595787_0001.jpg', '/home/pi/Desktop/images/21012025/22/39/image_21012025_22_39_02_595787_0002.jpg', '/home/pi/Desktop/images/21012025/22/39/image_21012025_22_39_02_595787_0003.jpg', '/home/pi/Desktop/images/21012025/22/40/image_21012025_22_40_02_851521_0000.jpg', '/home/pi/Desktop/images/21012025/22/40/image_21012025_22_40_02_851521_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/22/39/image_21012025_22_39_02_595787_0000.jpg
/home/pi/Desktop/images/21012025/22/39/image_21012025_22_39_02_595787_0001.jpg
/home/pi/Desktop/images/21012025/22/39/image_21012025_22_39_02_595787_0002.jpg
/home/pi/Desktop/images/21012025/22/39/image_21012025_22_39_02_595787_0003.jpg
/home/pi/Desktop/images/21012025/22/40/image_21012025_22_40_02_851521_0000.jpg
/home/pi/Desktop/images/21012025/22/40/image_21012025_22_40_02_851521_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":["1331445862","1331445870","1331445936","1331445866","1331445875","1331445860"],"photo_ids_order":["1331445860","1331445862","1331445866","1331445870","1331445875","1331445936"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d7f58e6c6de6446292a59c18742c5de9.jpg","text":"TemporaryFile(/tmp/multipartBody2927526371548347211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834660012,"filename":"image_21012025_22_39_02_595787_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/af88a98fbb24df9423ab85c8db9a1eaf.jpg","text":"TemporaryFile(/tmp/multipartBody1798122843295492962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834660012,"filename":"image_21012025_22_39_02_595787_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8c600f91787bebaec3aafa5ed0ac0654.jpg","text":"TemporaryFile(/tmp/multipartBody4809352803067476748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834660012,"filename":"image_21012025_22_40_02_851521_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d15bcdee1439df5b8ae8cce65fa6b5e1.jpg","text":"TemporaryFile(/tmp/multipartBody4968235582882755394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834660012,"filename":"image_21012025_22_39_02_595787_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/69eb36312aca20272525480148bc3ef0.jpg","text":"TemporaryFile(/tmp/multipartBody4761244808147886644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834660012,"filename":"image_21012025_22_40_02_851521_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/99389df58de7855012408030058254a2.jpg","text":"TemporaryFile(/tmp/multipartBody3296770610909697028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834660012,"filename":"image_21012025_22_39_02_595787_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331445866","file1":"1331445862","file0":"1331445860","file4":"1331445875","file5":"1331445936","file3":"1331445870"},"map_files_photo_id_array":[{"photo_id":"1331445936","filename":"file5"},{"photo_id":"1331445866","filename":"file2"},{"photo_id":"1331445875","filename":"file4"},{"photo_id":"1331445862","filename":"file1"},{"photo_id":"1331445860","filename":"file0"},{"photo_id":"1331445870","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331445862":["hashtag1","hashtag2"]},{"1331445870":["hashtag1","hashtag2"]},{"1331445936":["hashtag1","hashtag2"]},{"1331445866":["hashtag1","hashtag2"]},{"1331445875":["hashtag1","hashtag2"]},{"1331445860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331445862, 1331445870, 1331445936, 1331445866, 1331445875, 1331445860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.075068950653076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 20:50:41.908136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_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/22/40/image_21012025_22_40_02_851521_0002.jpg', '/home/pi/Desktop/images/21012025/22/40/image_21012025_22_40_02_851521_0003.jpg', '/home/pi/Desktop/images/21012025/22/41/image_21012025_22_41_03_035801_0000.jpg', '/home/pi/Desktop/images/21012025/22/41/image_21012025_22_41_03_035801_0001.jpg', '/home/pi/Desktop/images/21012025/22/41/image_21012025_22_41_03_035801_0002.jpg', '/home/pi/Desktop/images/21012025/22/41/image_21012025_22_41_03_035801_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/22/40/image_21012025_22_40_02_851521_0002.jpg
/home/pi/Desktop/images/21012025/22/40/image_21012025_22_40_02_851521_0003.jpg
/home/pi/Desktop/images/21012025/22/41/image_21012025_22_41_03_035801_0000.jpg
/home/pi/Desktop/images/21012025/22/41/image_21012025_22_41_03_035801_0001.jpg
/home/pi/Desktop/images/21012025/22/41/image_21012025_22_41_03_035801_0002.jpg
/home/pi/Desktop/images/21012025/22/41/image_21012025_22_41_03_035801_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 [200]>
b'{"photo_ids":["1331446083","1331446089","1331446101","1331446106","1331446093","1331446096"],"photo_ids_order":["1331446083","1331446089","1331446093","1331446096","1331446101","1331446106"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3a19bb7891edd49004e13fdaaff5e337.jpg","text":"TemporaryFile(/tmp/multipartBody5533248411760311412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834718950,"filename":"image_21012025_22_40_02_851521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6c422868380ecd6ddb43c321296cf5ab.jpg","text":"TemporaryFile(/tmp/multipartBody5692735108896433039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834718950,"filename":"image_21012025_22_40_02_851521_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4347e35e99eb4438812ffb1c0fb3092c.jpg","text":"TemporaryFile(/tmp/multipartBody4575775597499590662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834718950,"filename":"image_21012025_22_41_03_035801_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/065345aa11b931016fbd6881b0ed383b.jpg","text":"TemporaryFile(/tmp/multipartBody4739926423426097185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834718950,"filename":"image_21012025_22_41_03_035801_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ad6dcf574f217fdae4d79fbf01cf6918.jpg","text":"TemporaryFile(/tmp/multipartBody1743121022095539032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834718950,"filename":"image_21012025_22_41_03_035801_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/36a6b2ace5f38937995238e9a540787b.jpg","text":"TemporaryFile(/tmp/multipartBody4932996316930523070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834718950,"filename":"image_21012025_22_41_03_035801_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331446093","file1":"1331446089","file0":"1331446083","file4":"1331446101","file5":"1331446106","file3":"1331446096"},"map_files_photo_id_array":[{"photo_id":"1331446106","filename":"file5"},{"photo_id":"1331446093","filename":"file2"},{"photo_id":"1331446101","filename":"file4"},{"photo_id":"1331446089","filename":"file1"},{"photo_id":"1331446083","filename":"file0"},{"photo_id":"1331446096","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331446083":["hashtag1","hashtag2"]},{"1331446089":["hashtag1","hashtag2"]},{"1331446101":["hashtag1","hashtag2"]},{"1331446106":["hashtag1","hashtag2"]},{"1331446093":["hashtag1","hashtag2"]},{"1331446096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331446083, 1331446089, 1331446101, 1331446106, 1331446093, 1331446096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.43758201599121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 20:51:42.016160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_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/22/42/image_21012025_22_42_02_279476_0000.jpg', '/home/pi/Desktop/images/21012025/22/42/image_21012025_22_42_02_279476_0001.jpg', '/home/pi/Desktop/images/21012025/22/42/image_21012025_22_42_02_279476_0002.jpg', '/home/pi/Desktop/images/21012025/22/42/image_21012025_22_42_02_279476_0003.jpg', '/home/pi/Desktop/images/21012025/22/43/image_21012025_22_43_02_395408_0000.jpg', '/home/pi/Desktop/images/21012025/22/43/image_21012025_22_43_02_395408_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/22/42/image_21012025_22_42_02_279476_0000.jpg
/home/pi/Desktop/images/21012025/22/42/image_21012025_22_42_02_279476_0001.jpg
/home/pi/Desktop/images/21012025/22/42/image_21012025_22_42_02_279476_0002.jpg
/home/pi/Desktop/images/21012025/22/42/image_21012025_22_42_02_279476_0003.jpg
/home/pi/Desktop/images/21012025/22/43/image_21012025_22_43_02_395408_0000.jpg
/home/pi/Desktop/images/21012025/22/43/image_21012025_22_43_02_395408_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":["1331446249","1331446245","1331446131","1331446233","1331446241","1331446127"],"photo_ids_order":["1331446127","1331446131","1331446233","1331446241","1331446245","1331446249"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0b29940daa35190ad8778072d25305bc.jpg","text":"TemporaryFile(/tmp/multipartBody1555447648086496779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834779109,"filename":"image_21012025_22_43_02_395408_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/de1d80b73c48896826e542a3ea25223a.jpg","text":"TemporaryFile(/tmp/multipartBody2704477520259718252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834779109,"filename":"image_21012025_22_43_02_395408_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/701691a14c25ea4d897c300289633254.jpg","text":"TemporaryFile(/tmp/multipartBody5315714023957213849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834779109,"filename":"image_21012025_22_42_02_279476_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d7e4a95872447cf10d7de8b62625c94f.jpg","text":"TemporaryFile(/tmp/multipartBody8785519586186454185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834779109,"filename":"image_21012025_22_42_02_279476_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/75c24b5446d515fa4dc4e11660b5ce3a.jpg","text":"TemporaryFile(/tmp/multipartBody5350528160812393176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834779109,"filename":"image_21012025_22_42_02_279476_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/279e7b0fd2892f20d3ca11cad03e0e81.jpg","text":"TemporaryFile(/tmp/multipartBody4945474335678929133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834779109,"filename":"image_21012025_22_42_02_279476_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331446233","file1":"1331446131","file0":"1331446127","file4":"1331446245","file5":"1331446249","file3":"1331446241"},"map_files_photo_id_array":[{"photo_id":"1331446249","filename":"file5"},{"photo_id":"1331446233","filename":"file2"},{"photo_id":"1331446245","filename":"file4"},{"photo_id":"1331446131","filename":"file1"},{"photo_id":"1331446127","filename":"file0"},{"photo_id":"1331446241","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331446249":["hashtag1","hashtag2"]},{"1331446245":["hashtag1","hashtag2"]},{"1331446131":["hashtag1","hashtag2"]},{"1331446233":["hashtag1","hashtag2"]},{"1331446241":["hashtag1","hashtag2"]},{"1331446127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331446249, 1331446245, 1331446131, 1331446233, 1331446241, 1331446127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.70269250869751 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 20:52:42.242343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_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/22/43/image_21012025_22_43_02_395408_0002.jpg', '/home/pi/Desktop/images/21012025/22/43/image_21012025_22_43_02_395408_0003.jpg', '/home/pi/Desktop/images/21012025/22/44/image_21012025_22_44_02_634065_0000.jpg', '/home/pi/Desktop/images/21012025/22/44/image_21012025_22_44_02_634065_0001.jpg', '/home/pi/Desktop/images/21012025/22/44/image_21012025_22_44_02_634065_0002.jpg', '/home/pi/Desktop/images/21012025/22/44/image_21012025_22_44_02_634065_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/22/43/image_21012025_22_43_02_395408_0002.jpg
/home/pi/Desktop/images/21012025/22/43/image_21012025_22_43_02_395408_0003.jpg
/home/pi/Desktop/images/21012025/22/44/image_21012025_22_44_02_634065_0000.jpg
/home/pi/Desktop/images/21012025/22/44/image_21012025_22_44_02_634065_0001.jpg
/home/pi/Desktop/images/21012025/22/44/image_21012025_22_44_02_634065_0002.jpg
/home/pi/Desktop/images/21012025/22/44/image_21012025_22_44_02_634065_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 [200]>
b'{"photo_ids":["1331446408","1331446402","1331446410","1331446413","1331446406","1331446409"],"photo_ids_order":["1331446402","1331446406","1331446408","1331446409","1331446410","1331446413"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b5641902977985c3e6701118a879f338.jpg","text":"TemporaryFile(/tmp/multipartBody1394762582825592403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834839133,"filename":"image_21012025_22_44_02_634065_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/421163f9af8cd8f65d3aefac9136ca3b.jpg","text":"TemporaryFile(/tmp/multipartBody5418291727377895277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834839133,"filename":"image_21012025_22_43_02_395408_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cf417982f1a4a5d555221263eb4bbc6e.jpg","text":"TemporaryFile(/tmp/multipartBody7750554218580120847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834839133,"filename":"image_21012025_22_44_02_634065_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/22b1949290a901e876d157ca6028cdf4.jpg","text":"TemporaryFile(/tmp/multipartBody6508488838401749890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834839133,"filename":"image_21012025_22_44_02_634065_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1f1eca9d26d6d38264e30b6d5c76504d.jpg","text":"TemporaryFile(/tmp/multipartBody6594142060715029394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834839133,"filename":"image_21012025_22_43_02_395408_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7b3bb6b7e469b80464020611c7d05772.jpg","text":"TemporaryFile(/tmp/multipartBody4649158441494117060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834839133,"filename":"image_21012025_22_44_02_634065_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331446408","file1":"1331446406","file0":"1331446402","file4":"1331446410","file5":"1331446413","file3":"1331446409"},"map_files_photo_id_array":[{"photo_id":"1331446413","filename":"file5"},{"photo_id":"1331446408","filename":"file2"},{"photo_id":"1331446410","filename":"file4"},{"photo_id":"1331446406","filename":"file1"},{"photo_id":"1331446402","filename":"file0"},{"photo_id":"1331446409","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331446408":["hashtag1","hashtag2"]},{"1331446402":["hashtag1","hashtag2"]},{"1331446410":["hashtag1","hashtag2"]},{"1331446413":["hashtag1","hashtag2"]},{"1331446406":["hashtag1","hashtag2"]},{"1331446409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331446408, 1331446402, 1331446410, 1331446413, 1331446406, 1331446409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.533438205718994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 20:53:42.396798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_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/22/45/image_21012025_22_45_02_777893_0000.jpg', '/home/pi/Desktop/images/21012025/22/45/image_21012025_22_45_02_777893_0001.jpg', '/home/pi/Desktop/images/21012025/22/45/image_21012025_22_45_02_777893_0002.jpg', '/home/pi/Desktop/images/21012025/22/45/image_21012025_22_45_02_777893_0003.jpg', '/home/pi/Desktop/images/21012025/22/46/image_21012025_22_46_02_951740_0000.jpg', '/home/pi/Desktop/images/21012025/22/46/image_21012025_22_46_02_951740_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/22/45/image_21012025_22_45_02_777893_0000.jpg
/home/pi/Desktop/images/21012025/22/45/image_21012025_22_45_02_777893_0001.jpg
/home/pi/Desktop/images/21012025/22/45/image_21012025_22_45_02_777893_0002.jpg
/home/pi/Desktop/images/21012025/22/45/image_21012025_22_45_02_777893_0003.jpg
/home/pi/Desktop/images/21012025/22/46/image_21012025_22_46_02_951740_0000.jpg
/home/pi/Desktop/images/21012025/22/46/image_21012025_22_46_02_951740_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":["1331446432","1331446441","1331446429","1331446449","1331446437","1331446445"],"photo_ids_order":["1331446429","1331446432","1331446437","1331446441","1331446445","1331446449"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a39d0b62aeb8f58501fcd87ac4fe962b.jpg","text":"TemporaryFile(/tmp/multipartBody2796189689802726861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834899065,"filename":"image_21012025_22_45_02_777893_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9b5253fdfcb613e064837063bbc68f59.jpg","text":"TemporaryFile(/tmp/multipartBody7286025148572735981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834899065,"filename":"image_21012025_22_45_02_777893_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3e356d7f76360418533088add20eafeb.jpg","text":"TemporaryFile(/tmp/multipartBody7049474658158524713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834899065,"filename":"image_21012025_22_45_02_777893_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/24f47da57fd7ffa406f41cd6c5ceecc7.jpg","text":"TemporaryFile(/tmp/multipartBody8737465861745301731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834899065,"filename":"image_21012025_22_46_02_951740_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0e7ad6996584c45b48bd97df2e1dbb81.jpg","text":"TemporaryFile(/tmp/multipartBody2171753023689936300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834899065,"filename":"image_21012025_22_45_02_777893_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/95177d6f597d01645eee0ca0ecac556f.jpg","text":"TemporaryFile(/tmp/multipartBody3403916163770252689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834899065,"filename":"image_21012025_22_46_02_951740_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331446437","file1":"1331446432","file0":"1331446429","file4":"1331446445","file5":"1331446449","file3":"1331446441"},"map_files_photo_id_array":[{"photo_id":"1331446449","filename":"file5"},{"photo_id":"1331446437","filename":"file2"},{"photo_id":"1331446445","filename":"file4"},{"photo_id":"1331446432","filename":"file1"},{"photo_id":"1331446429","filename":"file0"},{"photo_id":"1331446441","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331446432":["hashtag1","hashtag2"]},{"1331446441":["hashtag1","hashtag2"]},{"1331446429":["hashtag1","hashtag2"]},{"1331446449":["hashtag1","hashtag2"]},{"1331446437":["hashtag1","hashtag2"]},{"1331446445":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331446432, 1331446441, 1331446429, 1331446449, 1331446437, 1331446445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.595394134521484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 20:54:52.534128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/46/image_21012025_22_46_02_951740_0002.jpg', '/home/pi/Desktop/images/21012025/22/46/image_21012025_22_46_02_951740_0003.jpg', '/home/pi/Desktop/images/21012025/22/47/image_21012025_22_47_03_092109_0000.jpg', '/home/pi/Desktop/images/21012025/22/47/image_21012025_22_47_03_092109_0001.jpg', '/home/pi/Desktop/images/21012025/22/47/image_21012025_22_47_03_092109_0002.jpg', '/home/pi/Desktop/images/21012025/22/47/image_21012025_22_47_03_092109_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/22/46/image_21012025_22_46_02_951740_0002.jpg
/home/pi/Desktop/images/21012025/22/46/image_21012025_22_46_02_951740_0003.jpg
/home/pi/Desktop/images/21012025/22/47/image_21012025_22_47_03_092109_0000.jpg
/home/pi/Desktop/images/21012025/22/47/image_21012025_22_47_03_092109_0001.jpg
/home/pi/Desktop/images/21012025/22/47/image_21012025_22_47_03_092109_0002.jpg
/home/pi/Desktop/images/21012025/22/47/image_21012025_22_47_03_092109_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 [200]>
b'{"photo_ids":["1331446528","1331446537","1331446533","1331446506","1331446509","1331446541"],"photo_ids_order":["1331446506","1331446509","1331446528","1331446533","1331446537","1331446541"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f9cba2179f8973106b0d7bb61c153015.jpg","text":"TemporaryFile(/tmp/multipartBody4056248976514657061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834970142,"filename":"image_21012025_22_47_03_092109_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/48a64fa2884f9ce170ff633b369fceed.jpg","text":"TemporaryFile(/tmp/multipartBody2295171188915338625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834970142,"filename":"image_21012025_22_47_03_092109_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/22c749aacdeea42734a58448cc2b5489.jpg","text":"TemporaryFile(/tmp/multipartBody5742534000630356692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834970142,"filename":"image_21012025_22_47_03_092109_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b7cb950cf12381d389d04b0d205e5386.jpg","text":"TemporaryFile(/tmp/multipartBody3113465908210221479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834970142,"filename":"image_21012025_22_46_02_951740_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c17a3515ca00467165aabcf5b6fcf6bb.jpg","text":"TemporaryFile(/tmp/multipartBody7453474638092285287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834970142,"filename":"image_21012025_22_46_02_951740_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/95edde6a5a79365147a56b5592a8ecb2.jpg","text":"TemporaryFile(/tmp/multipartBody3301337661301804660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737834970142,"filename":"image_21012025_22_47_03_092109_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331446528","file1":"1331446509","file0":"1331446506","file4":"1331446537","file5":"1331446541","file3":"1331446533"},"map_files_photo_id_array":[{"photo_id":"1331446541","filename":"file5"},{"photo_id":"1331446528","filename":"file2"},{"photo_id":"1331446537","filename":"file4"},{"photo_id":"1331446509","filename":"file1"},{"photo_id":"1331446506","filename":"file0"},{"photo_id":"1331446533","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331446528":["hashtag1","hashtag2"]},{"1331446537":["hashtag1","hashtag2"]},{"1331446533":["hashtag1","hashtag2"]},{"1331446506":["hashtag1","hashtag2"]},{"1331446509":["hashtag1","hashtag2"]},{"1331446541":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331446528, 1331446537, 1331446533, 1331446506, 1331446509, 1331446541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.007479667663574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 20:55:52.718321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/48/image_21012025_22_48_02_337024_0000.jpg', '/home/pi/Desktop/images/21012025/22/48/image_21012025_22_48_02_337024_0001.jpg', '/home/pi/Desktop/images/21012025/22/48/image_21012025_22_48_02_337024_0002.jpg', '/home/pi/Desktop/images/21012025/22/48/image_21012025_22_48_02_337024_0003.jpg', '/home/pi/Desktop/images/21012025/22/49/image_21012025_22_49_02_535648_0000.jpg', '/home/pi/Desktop/images/21012025/22/49/image_21012025_22_49_02_535648_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/22/48/image_21012025_22_48_02_337024_0000.jpg
/home/pi/Desktop/images/21012025/22/48/image_21012025_22_48_02_337024_0001.jpg
/home/pi/Desktop/images/21012025/22/48/image_21012025_22_48_02_337024_0002.jpg
/home/pi/Desktop/images/21012025/22/48/image_21012025_22_48_02_337024_0003.jpg
/home/pi/Desktop/images/21012025/22/49/image_21012025_22_49_02_535648_0000.jpg
/home/pi/Desktop/images/21012025/22/49/image_21012025_22_49_02_535648_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":["1331446822","1331446732","1331446782","1331446729","1331446829","1331446786"],"photo_ids_order":["1331446729","1331446732","1331446782","1331446786","1331446822","1331446829"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/043889c819d1e5938d66c5e39c91e346.jpg","text":"TemporaryFile(/tmp/multipartBody9033939279977460112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835030157,"filename":"image_21012025_22_49_02_535648_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3eb442d0777627c5772234deb8e9e4c3.jpg","text":"TemporaryFile(/tmp/multipartBody5787845034712375457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835030157,"filename":"image_21012025_22_48_02_337024_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/419b5a843e93e31885651cb293bc8fbc.jpg","text":"TemporaryFile(/tmp/multipartBody2262513650124954487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835030157,"filename":"image_21012025_22_48_02_337024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3b54e8944c34645b16d9c54e95e4ae96.jpg","text":"TemporaryFile(/tmp/multipartBody4862407086210776513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835030157,"filename":"image_21012025_22_48_02_337024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e9013eaca6217f8f948de5bb478906b4.jpg","text":"TemporaryFile(/tmp/multipartBody6673907679789978564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835030157,"filename":"image_21012025_22_49_02_535648_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c5a230c375aa6d8bd5e7765e408245c.jpg","text":"TemporaryFile(/tmp/multipartBody6208565326419799480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835030157,"filename":"image_21012025_22_48_02_337024_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331446782","file1":"1331446732","file0":"1331446729","file4":"1331446822","file5":"1331446829","file3":"1331446786"},"map_files_photo_id_array":[{"photo_id":"1331446829","filename":"file5"},{"photo_id":"1331446782","filename":"file2"},{"photo_id":"1331446822","filename":"file4"},{"photo_id":"1331446732","filename":"file1"},{"photo_id":"1331446729","filename":"file0"},{"photo_id":"1331446786","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331446822":["hashtag1","hashtag2"]},{"1331446732":["hashtag1","hashtag2"]},{"1331446782":["hashtag1","hashtag2"]},{"1331446729":["hashtag1","hashtag2"]},{"1331446829":["hashtag1","hashtag2"]},{"1331446786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331446822, 1331446732, 1331446782, 1331446729, 1331446829, 1331446786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.3724524974823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 20:56:51.878464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/49/image_21012025_22_49_02_535648_0002.jpg', '/home/pi/Desktop/images/21012025/22/49/image_21012025_22_49_02_535648_0003.jpg', '/home/pi/Desktop/images/21012025/22/50/image_21012025_22_50_02_795895_0000.jpg', '/home/pi/Desktop/images/21012025/22/50/image_21012025_22_50_02_795895_0001.jpg', '/home/pi/Desktop/images/21012025/22/50/image_21012025_22_50_02_795895_0002.jpg', '/home/pi/Desktop/images/21012025/22/50/image_21012025_22_50_02_795895_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/22/49/image_21012025_22_49_02_535648_0002.jpg
/home/pi/Desktop/images/21012025/22/49/image_21012025_22_49_02_535648_0003.jpg
/home/pi/Desktop/images/21012025/22/50/image_21012025_22_50_02_795895_0000.jpg
/home/pi/Desktop/images/21012025/22/50/image_21012025_22_50_02_795895_0001.jpg
/home/pi/Desktop/images/21012025/22/50/image_21012025_22_50_02_795895_0002.jpg
/home/pi/Desktop/images/21012025/22/50/image_21012025_22_50_02_795895_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 [200]>
b'{"photo_ids":["1331446915","1331446912","1331446906","1331446909","1331446923","1331446902"],"photo_ids_order":["1331446902","1331446906","1331446909","1331446912","1331446915","1331446923"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6ca48700fc1905b40a3d4b5bea7f8928.jpg","text":"TemporaryFile(/tmp/multipartBody6640901327176896951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835088888,"filename":"image_21012025_22_50_02_795895_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/57982b6d72932107834e57f1b6ade366.jpg","text":"TemporaryFile(/tmp/multipartBody3732684260121226820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835088888,"filename":"image_21012025_22_50_02_795895_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/83c727d6999abe7b8acf58416789fa06.jpg","text":"TemporaryFile(/tmp/multipartBody2120386186166323594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835088888,"filename":"image_21012025_22_49_02_535648_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/092287087a107cff21b7352defd2399e.jpg","text":"TemporaryFile(/tmp/multipartBody1638558046607185121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835088888,"filename":"image_21012025_22_50_02_795895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b81d55c0fbf51af02e14aa86a56e3f84.jpg","text":"TemporaryFile(/tmp/multipartBody7725861752924777389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835088888,"filename":"image_21012025_22_50_02_795895_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0cf0b09f6a25643c9205e7f4a8731564.jpg","text":"TemporaryFile(/tmp/multipartBody9133454984336397077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835088888,"filename":"image_21012025_22_49_02_535648_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331446909","file1":"1331446906","file0":"1331446902","file4":"1331446915","file5":"1331446923","file3":"1331446912"},"map_files_photo_id_array":[{"photo_id":"1331446923","filename":"file5"},{"photo_id":"1331446909","filename":"file2"},{"photo_id":"1331446915","filename":"file4"},{"photo_id":"1331446906","filename":"file1"},{"photo_id":"1331446902","filename":"file0"},{"photo_id":"1331446912","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331446915":["hashtag1","hashtag2"]},{"1331446912":["hashtag1","hashtag2"]},{"1331446906":["hashtag1","hashtag2"]},{"1331446909":["hashtag1","hashtag2"]},{"1331446923":["hashtag1","hashtag2"]},{"1331446902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331446915, 1331446912, 1331446906, 1331446909, 1331446923, 1331446902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.792197465896606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 20:57:52.046740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/51/image_21012025_22_51_02_960622_0000.jpg', '/home/pi/Desktop/images/21012025/22/51/image_21012025_22_51_02_960622_0001.jpg', '/home/pi/Desktop/images/21012025/22/51/image_21012025_22_51_02_960622_0002.jpg', '/home/pi/Desktop/images/21012025/22/51/image_21012025_22_51_02_960622_0003.jpg', '/home/pi/Desktop/images/21012025/22/52/image_21012025_22_52_03_226680_0000.jpg', '/home/pi/Desktop/images/21012025/22/52/image_21012025_22_52_03_226680_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/22/51/image_21012025_22_51_02_960622_0000.jpg
/home/pi/Desktop/images/21012025/22/51/image_21012025_22_51_02_960622_0001.jpg
/home/pi/Desktop/images/21012025/22/51/image_21012025_22_51_02_960622_0002.jpg
/home/pi/Desktop/images/21012025/22/51/image_21012025_22_51_02_960622_0003.jpg
/home/pi/Desktop/images/21012025/22/52/image_21012025_22_52_03_226680_0000.jpg
/home/pi/Desktop/images/21012025/22/52/image_21012025_22_52_03_226680_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-25 20:59:03.102515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/51/image_21012025_22_51_02_960622_0000.jpg', '/home/pi/Desktop/images/21012025/22/51/image_21012025_22_51_02_960622_0001.jpg', '/home/pi/Desktop/images/21012025/22/51/image_21012025_22_51_02_960622_0002.jpg', '/home/pi/Desktop/images/21012025/22/51/image_21012025_22_51_02_960622_0003.jpg', '/home/pi/Desktop/images/21012025/22/52/image_21012025_22_52_03_226680_0000.jpg', '/home/pi/Desktop/images/21012025/22/52/image_21012025_22_52_03_226680_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/22/51/image_21012025_22_51_02_960622_0000.jpg
/home/pi/Desktop/images/21012025/22/51/image_21012025_22_51_02_960622_0001.jpg
/home/pi/Desktop/images/21012025/22/51/image_21012025_22_51_02_960622_0002.jpg
/home/pi/Desktop/images/21012025/22/51/image_21012025_22_51_02_960622_0003.jpg
/home/pi/Desktop/images/21012025/22/52/image_21012025_22_52_03_226680_0000.jpg
/home/pi/Desktop/images/21012025/22/52/image_21012025_22_52_03_226680_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":["1331447125","1331447033","1331447578","1331447443","1331447338","1331447230"],"photo_ids_order":["1331447033","1331447125","1331447230","1331447338","1331447443","1331447578"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/396eb490c2fee8591d02acd2296a16ea.jpg","text":"TemporaryFile(/tmp/multipartBody6966849367879230714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835220482,"filename":"image_21012025_22_51_02_960622_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/285052093f513bc119a54a015f52d59e.jpg","text":"TemporaryFile(/tmp/multipartBody5324833654740456977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835220482,"filename":"image_21012025_22_51_02_960622_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0ed4176e548631a3250598cf0940a53d.jpg","text":"TemporaryFile(/tmp/multipartBody1305656496791860529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835220482,"filename":"image_21012025_22_52_03_226680_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ae50ed57c8850ccc2b682d068afeb136.jpg","text":"TemporaryFile(/tmp/multipartBody7769946534806131242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835220482,"filename":"image_21012025_22_52_03_226680_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6a35cb1e179c95f93eddf2424807937e.jpg","text":"TemporaryFile(/tmp/multipartBody1377580789001619014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835220482,"filename":"image_21012025_22_51_02_960622_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b9a184e23239856fff016c2bef9469a9.jpg","text":"TemporaryFile(/tmp/multipartBody8775836650965572703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835220482,"filename":"image_21012025_22_51_02_960622_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331447230","file1":"1331447125","file0":"1331447033","file4":"1331447443","file5":"1331447578","file3":"1331447338"},"map_files_photo_id_array":[{"photo_id":"1331447578","filename":"file5"},{"photo_id":"1331447230","filename":"file2"},{"photo_id":"1331447443","filename":"file4"},{"photo_id":"1331447125","filename":"file1"},{"photo_id":"1331447033","filename":"file0"},{"photo_id":"1331447338","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331447125":["hashtag1","hashtag2"]},{"1331447033":["hashtag1","hashtag2"]},{"1331447578":["hashtag1","hashtag2"]},{"1331447443":["hashtag1","hashtag2"]},{"1331447338":["hashtag1","hashtag2"]},{"1331447230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331447125, 1331447033, 1331447578, 1331447443, 1331447338, 1331447230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.54345703125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 21:00:03.233047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/52/image_21012025_22_52_03_226680_0002.jpg', '/home/pi/Desktop/images/21012025/22/52/image_21012025_22_52_03_226680_0003.jpg', '/home/pi/Desktop/images/21012025/22/53/image_21012025_22_53_02_382334_0000.jpg', '/home/pi/Desktop/images/21012025/22/53/image_21012025_22_53_02_382334_0001.jpg', '/home/pi/Desktop/images/21012025/22/53/image_21012025_22_53_02_382334_0002.jpg', '/home/pi/Desktop/images/21012025/22/53/image_21012025_22_53_02_382334_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/22/52/image_21012025_22_52_03_226680_0002.jpg
/home/pi/Desktop/images/21012025/22/52/image_21012025_22_52_03_226680_0003.jpg
/home/pi/Desktop/images/21012025/22/53/image_21012025_22_53_02_382334_0000.jpg
/home/pi/Desktop/images/21012025/22/53/image_21012025_22_53_02_382334_0001.jpg
/home/pi/Desktop/images/21012025/22/53/image_21012025_22_53_02_382334_0002.jpg
/home/pi/Desktop/images/21012025/22/53/image_21012025_22_53_02_382334_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 [200]>
b'{"photo_ids":["1331448108","1331448050","1331447695","1331447991","1331447985","1331447793"],"photo_ids_order":["1331447695","1331447793","1331447985","1331447991","1331448050","1331448108"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e219fce7b7e30da018e155d617244e06.jpg","text":"TemporaryFile(/tmp/multipartBody7816891144269299279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835280893,"filename":"image_21012025_22_53_02_382334_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/decb87bf322a80c56f400b1849c9351c.jpg","text":"TemporaryFile(/tmp/multipartBody8216295835273695008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835280893,"filename":"image_21012025_22_53_02_382334_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5797cd30562180f7be7a4c128384950a.jpg","text":"TemporaryFile(/tmp/multipartBody778288102874337298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835280893,"filename":"image_21012025_22_52_03_226680_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/08f96031a2c91347c60bf6c881bb1cc3.jpg","text":"TemporaryFile(/tmp/multipartBody5697641641745085287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835280893,"filename":"image_21012025_22_53_02_382334_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f69a7c50ee9879c50e3ccd92291fff2c.jpg","text":"TemporaryFile(/tmp/multipartBody7171966304722346805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835280893,"filename":"image_21012025_22_53_02_382334_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bec33dc21e3be7094c5b1b5687eb0c9d.jpg","text":"TemporaryFile(/tmp/multipartBody4493259402220175862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835280893,"filename":"image_21012025_22_52_03_226680_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331447985","file1":"1331447793","file0":"1331447695","file4":"1331448050","file5":"1331448108","file3":"1331447991"},"map_files_photo_id_array":[{"photo_id":"1331448108","filename":"file5"},{"photo_id":"1331447985","filename":"file2"},{"photo_id":"1331448050","filename":"file4"},{"photo_id":"1331447793","filename":"file1"},{"photo_id":"1331447695","filename":"file0"},{"photo_id":"1331447991","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331448108":["hashtag1","hashtag2"]},{"1331448050":["hashtag1","hashtag2"]},{"1331447695":["hashtag1","hashtag2"]},{"1331447991":["hashtag1","hashtag2"]},{"1331447985":["hashtag1","hashtag2"]},{"1331447793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331448108, 1331448050, 1331447695, 1331447991, 1331447985, 1331447793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.59858417510986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 21:01:02.658095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/54/image_21012025_22_54_02_479973_0000.jpg', '/home/pi/Desktop/images/21012025/22/54/image_21012025_22_54_02_479973_0001.jpg', '/home/pi/Desktop/images/21012025/22/54/image_21012025_22_54_02_479973_0002.jpg', '/home/pi/Desktop/images/21012025/22/54/image_21012025_22_54_02_479973_0003.jpg', '/home/pi/Desktop/images/21012025/22/55/image_21012025_22_55_02_713306_0000.jpg', '/home/pi/Desktop/images/21012025/22/55/image_21012025_22_55_02_713306_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/22/54/image_21012025_22_54_02_479973_0000.jpg
/home/pi/Desktop/images/21012025/22/54/image_21012025_22_54_02_479973_0001.jpg
/home/pi/Desktop/images/21012025/22/54/image_21012025_22_54_02_479973_0002.jpg
/home/pi/Desktop/images/21012025/22/54/image_21012025_22_54_02_479973_0003.jpg
/home/pi/Desktop/images/21012025/22/55/image_21012025_22_55_02_713306_0000.jpg
/home/pi/Desktop/images/21012025/22/55/image_21012025_22_55_02_713306_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":["1331448138","1331448170","1331448181","1331448175","1331448154","1331448178"],"photo_ids_order":["1331448138","1331448154","1331448170","1331448175","1331448178","1331448181"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d7928d03c072626fc8becc241607878f.jpg","text":"TemporaryFile(/tmp/multipartBody2154032860399775093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835339845,"filename":"image_21012025_22_54_02_479973_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f4d662c05f7f10d0f0fbc7d729d79a1f.jpg","text":"TemporaryFile(/tmp/multipartBody1215612106496577920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835339845,"filename":"image_21012025_22_54_02_479973_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/df03f23bc36d19de246aa3e9800cf852.jpg","text":"TemporaryFile(/tmp/multipartBody6682202824017290731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835339845,"filename":"image_21012025_22_55_02_713306_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7684623dfd6c5f2d3e5ed68745a52f78.jpg","text":"TemporaryFile(/tmp/multipartBody4754366919867029551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835339845,"filename":"image_21012025_22_54_02_479973_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2eb6be3ab7a8ce00574e50294e3528e5.jpg","text":"TemporaryFile(/tmp/multipartBody7052746843890069896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835339845,"filename":"image_21012025_22_54_02_479973_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/81e9a241cdeebe34d0e4a498c45843a4.jpg","text":"TemporaryFile(/tmp/multipartBody9111583944987380552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835339845,"filename":"image_21012025_22_55_02_713306_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331448170","file1":"1331448154","file0":"1331448138","file4":"1331448178","file5":"1331448181","file3":"1331448175"},"map_files_photo_id_array":[{"photo_id":"1331448181","filename":"file5"},{"photo_id":"1331448170","filename":"file2"},{"photo_id":"1331448178","filename":"file4"},{"photo_id":"1331448154","filename":"file1"},{"photo_id":"1331448138","filename":"file0"},{"photo_id":"1331448175","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331448138":["hashtag1","hashtag2"]},{"1331448170":["hashtag1","hashtag2"]},{"1331448181":["hashtag1","hashtag2"]},{"1331448175":["hashtag1","hashtag2"]},{"1331448154":["hashtag1","hashtag2"]},{"1331448178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331448138, 1331448170, 1331448181, 1331448175, 1331448154, 1331448178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.216633558273315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 21:02:02.676352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/55/image_21012025_22_55_02_713306_0002.jpg', '/home/pi/Desktop/images/21012025/22/55/image_21012025_22_55_02_713306_0003.jpg', '/home/pi/Desktop/images/21012025/22/56/image_21012025_22_56_02_871925_0000.jpg', '/home/pi/Desktop/images/21012025/22/56/image_21012025_22_56_02_871925_0001.jpg', '/home/pi/Desktop/images/21012025/22/56/image_21012025_22_56_02_871925_0002.jpg', '/home/pi/Desktop/images/21012025/22/56/image_21012025_22_56_02_871925_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/22/55/image_21012025_22_55_02_713306_0002.jpg
/home/pi/Desktop/images/21012025/22/55/image_21012025_22_55_02_713306_0003.jpg
/home/pi/Desktop/images/21012025/22/56/image_21012025_22_56_02_871925_0000.jpg
/home/pi/Desktop/images/21012025/22/56/image_21012025_22_56_02_871925_0001.jpg
/home/pi/Desktop/images/21012025/22/56/image_21012025_22_56_02_871925_0002.jpg
/home/pi/Desktop/images/21012025/22/56/image_21012025_22_56_02_871925_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 [200]>
b'{"photo_ids":["1331448216","1331448204","1331448212","1331448196","1331448214","1331448208"],"photo_ids_order":["1331448196","1331448204","1331448208","1331448212","1331448214","1331448216"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/209db5396b9562b16c02ca9fd6508840.jpg","text":"TemporaryFile(/tmp/multipartBody7425824396201814743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835400011,"filename":"image_21012025_22_56_02_871925_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/51fe07dbef0bd56f17eddfc07279817f.jpg","text":"TemporaryFile(/tmp/multipartBody3385700943708767668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835400011,"filename":"image_21012025_22_55_02_713306_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e53cd2c4555367720b5ab7d9606cf948.jpg","text":"TemporaryFile(/tmp/multipartBody2756802594108404286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835400011,"filename":"image_21012025_22_56_02_871925_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a14f97d5a18ebcbb330b30480ede4030.jpg","text":"TemporaryFile(/tmp/multipartBody3218776404838204205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835400011,"filename":"image_21012025_22_55_02_713306_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8bf599bb009d493a7f9ecb166abcc0d6.jpg","text":"TemporaryFile(/tmp/multipartBody7265240241443315765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835400011,"filename":"image_21012025_22_56_02_871925_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3df00d6f6e887735d259642df71f1f6d.jpg","text":"TemporaryFile(/tmp/multipartBody6025981882834772952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835400011,"filename":"image_21012025_22_56_02_871925_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331448208","file1":"1331448204","file0":"1331448196","file4":"1331448214","file5":"1331448216","file3":"1331448212"},"map_files_photo_id_array":[{"photo_id":"1331448216","filename":"file5"},{"photo_id":"1331448208","filename":"file2"},{"photo_id":"1331448214","filename":"file4"},{"photo_id":"1331448204","filename":"file1"},{"photo_id":"1331448196","filename":"file0"},{"photo_id":"1331448212","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331448216":["hashtag1","hashtag2"]},{"1331448204":["hashtag1","hashtag2"]},{"1331448212":["hashtag1","hashtag2"]},{"1331448196":["hashtag1","hashtag2"]},{"1331448214":["hashtag1","hashtag2"]},{"1331448208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331448216, 1331448204, 1331448212, 1331448196, 1331448214, 1331448208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.98612594604492 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 21:03:03.088496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/02/image_25012025_21_02_02_385440_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/02/image_25012025_21_02_02_385440_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331448250"],"photo_id":"1331448250","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/85028494c28ddbabfb9294a1f791fe0b.jpg","text":"TemporaryFile(/tmp/multipartBody6323117372710513206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835445989,"filename":"image_25012025_21_02_02_385440_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1331448250"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1331448250"}],"hashtags":[],"portfolio_id":"19908538","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.319176435470581 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:03:22.322628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/02/image_25012025_21_02_02_385440_0003.jpg', '/home/pi/Desktop/images/25012025/21/03/image_25012025_21_03_02_577148_0000.jpg', '/home/pi/Desktop/images/25012025/21/03/image_25012025_21_03_02_577148_0001.jpg', '/home/pi/Desktop/images/25012025/21/03/image_25012025_21_03_02_577148_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/02/image_25012025_21_02_02_385440_0003.jpg
/home/pi/Desktop/images/25012025/21/03/image_25012025_21_03_02_577148_0000.jpg
/home/pi/Desktop/images/25012025/21/03/image_25012025_21_03_02_577148_0001.jpg
/home/pi/Desktop/images/25012025/21/03/image_25012025_21_03_02_577148_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":["1331448985","1331449120","1331449095","1331448975"],"photo_ids_order":["1331448975","1331448985","1331449095","1331449120"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/38b0941ff2dbf7a8872bcb3ef6e634a0.jpg","text":"TemporaryFile(/tmp/multipartBody1083526536393012087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835472568,"filename":"image_25012025_21_03_02_577148_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a9e664e50b79e5deac6101f4bbfe5261.jpg","text":"TemporaryFile(/tmp/multipartBody7568520187794951367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835472568,"filename":"image_25012025_21_03_02_577148_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/76342631ce68101f042a28f0de2d75e9.jpg","text":"TemporaryFile(/tmp/multipartBody6911611968011271000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835472568,"filename":"image_25012025_21_03_02_577148_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/11c7bad73253a43ff1210335006b4a73.jpg","text":"TemporaryFile(/tmp/multipartBody7675396396945355543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835472568,"filename":"image_25012025_21_02_02_385440_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331449095","file1":"1331448985","file0":"1331448975","file3":"1331449120"},"map_files_photo_id_array":[{"photo_id":"1331449095","filename":"file2"},{"photo_id":"1331448985","filename":"file1"},{"photo_id":"1331448975","filename":"file0"},{"photo_id":"1331449120","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331448985":["hashtag1","hashtag2"]},{"1331449120":["hashtag1","hashtag2"]},{"1331449095":["hashtag1","hashtag2"]},{"1331448975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331448985, 1331449120, 1331449095, 1331448975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.95932483673096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 21:04:02.853095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/57/image_21012025_22_57_03_141320_0000.jpg', '/home/pi/Desktop/images/21012025/22/57/image_21012025_22_57_03_141320_0001.jpg', '/home/pi/Desktop/images/21012025/22/57/image_21012025_22_57_03_141320_0002.jpg', '/home/pi/Desktop/images/21012025/22/57/image_21012025_22_57_03_141320_0003.jpg', '/home/pi/Desktop/images/21012025/22/58/image_21012025_22_58_02_208330_0000.jpg', '/home/pi/Desktop/images/21012025/22/58/image_21012025_22_58_02_208330_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/22/57/image_21012025_22_57_03_141320_0000.jpg
/home/pi/Desktop/images/21012025/22/57/image_21012025_22_57_03_141320_0001.jpg
/home/pi/Desktop/images/21012025/22/57/image_21012025_22_57_03_141320_0002.jpg
/home/pi/Desktop/images/21012025/22/57/image_21012025_22_57_03_141320_0003.jpg
/home/pi/Desktop/images/21012025/22/58/image_21012025_22_58_02_208330_0000.jpg
/home/pi/Desktop/images/21012025/22/58/image_21012025_22_58_02_208330_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":["1331449226","1331449229","1331449202","1331449222","1331449233","1331449236"],"photo_ids_order":["1331449202","1331449222","1331449226","1331449229","1331449233","1331449236"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/79c3c7b1bc539f8a8ca30731ea97b387.jpg","text":"TemporaryFile(/tmp/multipartBody209896311313616219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835520151,"filename":"image_21012025_22_57_03_141320_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/34ac9c494866c11a6e0d112dda81ee32.jpg","text":"TemporaryFile(/tmp/multipartBody3911547795922123428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835520151,"filename":"image_21012025_22_57_03_141320_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/53195bb679613c0966b981bb28af5210.jpg","text":"TemporaryFile(/tmp/multipartBody5881678472831350175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835520151,"filename":"image_21012025_22_57_03_141320_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/680c69848237548c65907d7b72de1f9f.jpg","text":"TemporaryFile(/tmp/multipartBody5305103452765909976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835520151,"filename":"image_21012025_22_57_03_141320_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3acdf576723373abc01a9cb34fcec4c1.jpg","text":"TemporaryFile(/tmp/multipartBody4160241614378114480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835520151,"filename":"image_21012025_22_58_02_208330_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/684f75e30f0e6606d0db349d600e54f5.jpg","text":"TemporaryFile(/tmp/multipartBody487011189048752092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835520151,"filename":"image_21012025_22_58_02_208330_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331449226","file1":"1331449222","file0":"1331449202","file4":"1331449233","file5":"1331449236","file3":"1331449229"},"map_files_photo_id_array":[{"photo_id":"1331449236","filename":"file5"},{"photo_id":"1331449226","filename":"file2"},{"photo_id":"1331449233","filename":"file4"},{"photo_id":"1331449222","filename":"file1"},{"photo_id":"1331449202","filename":"file0"},{"photo_id":"1331449229","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331449226":["hashtag1","hashtag2"]},{"1331449229":["hashtag1","hashtag2"]},{"1331449202":["hashtag1","hashtag2"]},{"1331449222":["hashtag1","hashtag2"]},{"1331449233":["hashtag1","hashtag2"]},{"1331449236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331449226, 1331449229, 1331449202, 1331449222, 1331449233, 1331449236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.39407801628113 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:05:22.720315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/03/image_25012025_21_03_02_577148_0003.jpg', '/home/pi/Desktop/images/25012025/21/04/image_25012025_21_04_02_778761_0000.jpg', '/home/pi/Desktop/images/25012025/21/04/image_25012025_21_04_02_778761_0001.jpg', '/home/pi/Desktop/images/25012025/21/04/image_25012025_21_04_02_778761_0002.jpg', '/home/pi/Desktop/images/25012025/21/04/image_25012025_21_04_02_778761_0003.jpg', '/home/pi/Desktop/images/25012025/21/05/image_25012025_21_05_02_896335_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/03/image_25012025_21_03_02_577148_0003.jpg
/home/pi/Desktop/images/25012025/21/04/image_25012025_21_04_02_778761_0000.jpg
/home/pi/Desktop/images/25012025/21/04/image_25012025_21_04_02_778761_0001.jpg
/home/pi/Desktop/images/25012025/21/04/image_25012025_21_04_02_778761_0002.jpg
/home/pi/Desktop/images/25012025/21/04/image_25012025_21_04_02_778761_0003.jpg
/home/pi/Desktop/images/25012025/21/05/image_25012025_21_05_02_896335_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 [200]>
b'{"photo_ids":["1331449509","1331449511","1331449570","1331449504","1331449479","1331449481"],"photo_ids_order":["1331449479","1331449481","1331449504","1331449509","1331449511","1331449570"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eb565b01af013d720ebe97869a0159ec.jpg","text":"TemporaryFile(/tmp/multipartBody4382853113471254266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835598111,"filename":"image_25012025_21_04_02_778761_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fea4b126cd85a352d6e0ef60c8051f70.jpg","text":"TemporaryFile(/tmp/multipartBody4731967304957063264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835598111,"filename":"image_25012025_21_04_02_778761_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/14677f44cc74e29f5f4d43ed7cabdef3.jpg","text":"TemporaryFile(/tmp/multipartBody7759190081767258398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835598111,"filename":"image_25012025_21_05_02_896335_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ddadd3ca8b826822b74f56a7f9871303.jpg","text":"TemporaryFile(/tmp/multipartBody3071834082773357452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835598111,"filename":"image_25012025_21_04_02_778761_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/92af7298b1c8a7af86f3a6e8517a9c5a.jpg","text":"TemporaryFile(/tmp/multipartBody9026047503713860642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835598111,"filename":"image_25012025_21_03_02_577148_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b0af4bcd0653c030e88709e5cca5b7ed.jpg","text":"TemporaryFile(/tmp/multipartBody2391817766779089490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835598111,"filename":"image_25012025_21_04_02_778761_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331449504","file1":"1331449481","file0":"1331449479","file4":"1331449511","file5":"1331449570","file3":"1331449509"},"map_files_photo_id_array":[{"photo_id":"1331449570","filename":"file5"},{"photo_id":"1331449504","filename":"file2"},{"photo_id":"1331449511","filename":"file4"},{"photo_id":"1331449481","filename":"file1"},{"photo_id":"1331449479","filename":"file0"},{"photo_id":"1331449509","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331449509":["hashtag1","hashtag2"]},{"1331449511":["hashtag1","hashtag2"]},{"1331449570":["hashtag1","hashtag2"]},{"1331449504":["hashtag1","hashtag2"]},{"1331449479":["hashtag1","hashtag2"]},{"1331449481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331449509, 1331449511, 1331449570, 1331449504, 1331449479, 1331449481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.982033252716064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:06:21.883507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/05/image_25012025_21_05_02_896335_0001.jpg', '/home/pi/Desktop/images/25012025/21/05/image_25012025_21_05_02_896335_0002.jpg', '/home/pi/Desktop/images/25012025/21/05/image_25012025_21_05_02_896335_0003.jpg', '/home/pi/Desktop/images/25012025/21/06/image_25012025_21_06_03_133358_0000.jpg', '/home/pi/Desktop/images/25012025/21/06/image_25012025_21_06_03_133358_0001.jpg', '/home/pi/Desktop/images/25012025/21/06/image_25012025_21_06_03_133358_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/05/image_25012025_21_05_02_896335_0001.jpg
/home/pi/Desktop/images/25012025/21/05/image_25012025_21_05_02_896335_0002.jpg
/home/pi/Desktop/images/25012025/21/05/image_25012025_21_05_02_896335_0003.jpg
/home/pi/Desktop/images/25012025/21/06/image_25012025_21_06_03_133358_0000.jpg
/home/pi/Desktop/images/25012025/21/06/image_25012025_21_06_03_133358_0001.jpg
/home/pi/Desktop/images/25012025/21/06/image_25012025_21_06_03_133358_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: 14.658328771591187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 21:06:41.921462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/05/image_25012025_21_05_02_896335_0001.jpg', '/home/pi/Desktop/images/25012025/21/05/image_25012025_21_05_02_896335_0002.jpg', '/home/pi/Desktop/images/25012025/21/05/image_25012025_21_05_02_896335_0003.jpg', '/home/pi/Desktop/images/25012025/21/06/image_25012025_21_06_03_133358_0000.jpg', '/home/pi/Desktop/images/25012025/21/06/image_25012025_21_06_03_133358_0001.jpg', '/home/pi/Desktop/images/25012025/21/06/image_25012025_21_06_03_133358_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/05/image_25012025_21_05_02_896335_0001.jpg
/home/pi/Desktop/images/25012025/21/05/image_25012025_21_05_02_896335_0002.jpg
/home/pi/Desktop/images/25012025/21/05/image_25012025_21_05_02_896335_0003.jpg
/home/pi/Desktop/images/25012025/21/06/image_25012025_21_06_03_133358_0000.jpg
/home/pi/Desktop/images/25012025/21/06/image_25012025_21_06_03_133358_0001.jpg
/home/pi/Desktop/images/25012025/21/06/image_25012025_21_06_03_133358_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 [200]>
b'{"photo_ids":["1331449961","1331449952","1331449984","1331449972","1331449980","1331449977"],"photo_ids_order":["1331449952","1331449961","1331449972","1331449977","1331449980","1331449984"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2f90e7e54abf5ac3a2ba24d3ceae3aeb.jpg","text":"TemporaryFile(/tmp/multipartBody1950367062118197005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835676962,"filename":"image_25012025_21_05_02_896335_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d1c7cb8f11019032bfddddbb8297139a.jpg","text":"TemporaryFile(/tmp/multipartBody4983730676204539254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835676962,"filename":"image_25012025_21_05_02_896335_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4744f208f712268e63dee9021fc2b49a.jpg","text":"TemporaryFile(/tmp/multipartBody3337802749337111270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835676962,"filename":"image_25012025_21_06_03_133358_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9b31f9c2cc4f1273832ac23a27ce42a3.jpg","text":"TemporaryFile(/tmp/multipartBody4437783883491755482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835676962,"filename":"image_25012025_21_05_02_896335_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cc1af1e2701958a0d4413c82dc9a71a1.jpg","text":"TemporaryFile(/tmp/multipartBody9002991320528642182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835676962,"filename":"image_25012025_21_06_03_133358_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/176de845293a4026609a8ca4e475b13e.jpg","text":"TemporaryFile(/tmp/multipartBody814059788660235360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835676962,"filename":"image_25012025_21_06_03_133358_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331449972","file1":"1331449961","file0":"1331449952","file4":"1331449980","file5":"1331449984","file3":"1331449977"},"map_files_photo_id_array":[{"photo_id":"1331449984","filename":"file5"},{"photo_id":"1331449972","filename":"file2"},{"photo_id":"1331449980","filename":"file4"},{"photo_id":"1331449961","filename":"file1"},{"photo_id":"1331449952","filename":"file0"},{"photo_id":"1331449977","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331449961":["hashtag1","hashtag2"]},{"1331449952":["hashtag1","hashtag2"]},{"1331449984":["hashtag1","hashtag2"]},{"1331449972":["hashtag1","hashtag2"]},{"1331449980":["hashtag1","hashtag2"]},{"1331449977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331449961, 1331449952, 1331449984, 1331449972, 1331449980, 1331449977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.882375955581665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 21:07:42.070654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/06/image_25012025_21_06_03_133358_0003.jpg', '/home/pi/Desktop/images/25012025/21/07/image_25012025_21_07_02_295601_0000.jpg', '/home/pi/Desktop/images/25012025/21/07/image_25012025_21_07_02_295601_0001.jpg', '/home/pi/Desktop/images/25012025/21/07/image_25012025_21_07_02_295601_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/06/image_25012025_21_06_03_133358_0003.jpg
/home/pi/Desktop/images/25012025/21/07/image_25012025_21_07_02_295601_0000.jpg
/home/pi/Desktop/images/25012025/21/07/image_25012025_21_07_02_295601_0001.jpg
/home/pi/Desktop/images/25012025/21/07/image_25012025_21_07_02_295601_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: 10.284960985183716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 21:08:02.805418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/06/image_25012025_21_06_03_133358_0003.jpg', '/home/pi/Desktop/images/25012025/21/07/image_25012025_21_07_02_295601_0000.jpg', '/home/pi/Desktop/images/25012025/21/07/image_25012025_21_07_02_295601_0001.jpg', '/home/pi/Desktop/images/25012025/21/07/image_25012025_21_07_02_295601_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/06/image_25012025_21_06_03_133358_0003.jpg
/home/pi/Desktop/images/25012025/21/07/image_25012025_21_07_02_295601_0000.jpg
/home/pi/Desktop/images/25012025/21/07/image_25012025_21_07_02_295601_0001.jpg
/home/pi/Desktop/images/25012025/21/07/image_25012025_21_07_02_295601_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":["1331450015","1331450017","1331450011","1331450005"],"photo_ids_order":["1331450005","1331450011","1331450015","1331450017"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8e540db1d634b04fc7442bf817596910.jpg","text":"TemporaryFile(/tmp/multipartBody6981637577725536303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835753520,"filename":"image_25012025_21_07_02_295601_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a71cf7a97996df41ec9d55ed85547296.jpg","text":"TemporaryFile(/tmp/multipartBody8406524874991617468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835753520,"filename":"image_25012025_21_07_02_295601_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e7170ea4ee5a1d1ac4409dff468add5e.jpg","text":"TemporaryFile(/tmp/multipartBody4408780468108824750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835753520,"filename":"image_25012025_21_07_02_295601_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e47fd0a4de88148f9d7977367dfc8149.jpg","text":"TemporaryFile(/tmp/multipartBody728078423160193334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835753520,"filename":"image_25012025_21_06_03_133358_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331450015","file1":"1331450011","file0":"1331450005","file3":"1331450017"},"map_files_photo_id_array":[{"photo_id":"1331450015","filename":"file2"},{"photo_id":"1331450011","filename":"file1"},{"photo_id":"1331450005","filename":"file0"},{"photo_id":"1331450017","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331450015":["hashtag1","hashtag2"]},{"1331450017":["hashtag1","hashtag2"]},{"1331450011":["hashtag1","hashtag2"]},{"1331450005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331450015, 1331450017, 1331450011, 1331450005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.35723161697388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 21:08:52.316912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/07/image_25012025_21_07_02_295601_0003.jpg', '/home/pi/Desktop/images/25012025/21/08/image_25012025_21_08_02_393375_0000.jpg', '/home/pi/Desktop/images/25012025/21/08/image_25012025_21_08_02_393375_0001.jpg', '/home/pi/Desktop/images/25012025/21/08/image_25012025_21_08_02_393375_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/07/image_25012025_21_07_02_295601_0003.jpg
/home/pi/Desktop/images/25012025/21/08/image_25012025_21_08_02_393375_0000.jpg
/home/pi/Desktop/images/25012025/21/08/image_25012025_21_08_02_393375_0001.jpg
/home/pi/Desktop/images/25012025/21/08/image_25012025_21_08_02_393375_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: 10.950460433959961 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:09:22.544743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/07/image_25012025_21_07_02_295601_0003.jpg', '/home/pi/Desktop/images/25012025/21/08/image_25012025_21_08_02_393375_0000.jpg', '/home/pi/Desktop/images/25012025/21/08/image_25012025_21_08_02_393375_0001.jpg', '/home/pi/Desktop/images/25012025/21/08/image_25012025_21_08_02_393375_0002.jpg', '/home/pi/Desktop/images/25012025/21/08/image_25012025_21_08_02_393375_0003.jpg', '/home/pi/Desktop/images/25012025/21/09/image_25012025_21_09_02_749759_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/07/image_25012025_21_07_02_295601_0003.jpg
/home/pi/Desktop/images/25012025/21/08/image_25012025_21_08_02_393375_0000.jpg
/home/pi/Desktop/images/25012025/21/08/image_25012025_21_08_02_393375_0001.jpg
/home/pi/Desktop/images/25012025/21/08/image_25012025_21_08_02_393375_0002.jpg
/home/pi/Desktop/images/25012025/21/08/image_25012025_21_08_02_393375_0003.jpg
/home/pi/Desktop/images/25012025/21/09/image_25012025_21_09_02_749759_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 [200]>
b'{"photo_ids":["1331450052","1331450090","1331450054","1331450059","1331450056","1331450070"],"photo_ids_order":["1331450052","1331450054","1331450056","1331450059","1331450070","1331450090"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b0544d43315b27eb9b647064b2f4f13e.jpg","text":"TemporaryFile(/tmp/multipartBody6211012820730960154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835839125,"filename":"image_25012025_21_07_02_295601_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2cdce8058e201bd2e5e3cd1cd25d0b86.jpg","text":"TemporaryFile(/tmp/multipartBody3686857746426921463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835839125,"filename":"image_25012025_21_09_02_749759_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c1641634fa5d725e3297f06e9479ff6d.jpg","text":"TemporaryFile(/tmp/multipartBody4817555994039210332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835839125,"filename":"image_25012025_21_08_02_393375_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5bf3c993540cb38452e8d1d0b6923f5d.jpg","text":"TemporaryFile(/tmp/multipartBody1541967803045540455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835839125,"filename":"image_25012025_21_08_02_393375_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c5266a80cac48a1851de747aa8d019c1.jpg","text":"TemporaryFile(/tmp/multipartBody4316635900642780062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835839125,"filename":"image_25012025_21_08_02_393375_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c23b4e7062ff4e19855bee4ffc5920e8.jpg","text":"TemporaryFile(/tmp/multipartBody7058119512710302005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835839125,"filename":"image_25012025_21_08_02_393375_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331450056","file1":"1331450054","file0":"1331450052","file4":"1331450070","file5":"1331450090","file3":"1331450059"},"map_files_photo_id_array":[{"photo_id":"1331450090","filename":"file5"},{"photo_id":"1331450056","filename":"file2"},{"photo_id":"1331450070","filename":"file4"},{"photo_id":"1331450054","filename":"file1"},{"photo_id":"1331450052","filename":"file0"},{"photo_id":"1331450059","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331450052":["hashtag1","hashtag2"]},{"1331450090":["hashtag1","hashtag2"]},{"1331450054":["hashtag1","hashtag2"]},{"1331450059":["hashtag1","hashtag2"]},{"1331450056":["hashtag1","hashtag2"]},{"1331450070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331450052, 1331450090, 1331450054, 1331450059, 1331450056, 1331450070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.307188987731934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:10:22.661864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/09/image_25012025_21_09_02_749759_0001.jpg', '/home/pi/Desktop/images/25012025/21/09/image_25012025_21_09_02_749759_0002.jpg', '/home/pi/Desktop/images/25012025/21/09/image_25012025_21_09_02_749759_0003.jpg', '/home/pi/Desktop/images/25012025/21/10/image_25012025_21_10_02_861868_0000.jpg', '/home/pi/Desktop/images/25012025/21/10/image_25012025_21_10_02_861868_0001.jpg', '/home/pi/Desktop/images/25012025/21/10/image_25012025_21_10_02_861868_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/09/image_25012025_21_09_02_749759_0001.jpg
/home/pi/Desktop/images/25012025/21/09/image_25012025_21_09_02_749759_0002.jpg
/home/pi/Desktop/images/25012025/21/09/image_25012025_21_09_02_749759_0003.jpg
/home/pi/Desktop/images/25012025/21/10/image_25012025_21_10_02_861868_0000.jpg
/home/pi/Desktop/images/25012025/21/10/image_25012025_21_10_02_861868_0001.jpg
/home/pi/Desktop/images/25012025/21/10/image_25012025_21_10_02_861868_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: 16.42194414138794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 21:10:42.829598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/09/image_25012025_21_09_02_749759_0001.jpg', '/home/pi/Desktop/images/25012025/21/09/image_25012025_21_09_02_749759_0002.jpg', '/home/pi/Desktop/images/25012025/21/09/image_25012025_21_09_02_749759_0003.jpg', '/home/pi/Desktop/images/25012025/21/10/image_25012025_21_10_02_861868_0000.jpg', '/home/pi/Desktop/images/25012025/21/10/image_25012025_21_10_02_861868_0001.jpg', '/home/pi/Desktop/images/25012025/21/10/image_25012025_21_10_02_861868_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/09/image_25012025_21_09_02_749759_0001.jpg
/home/pi/Desktop/images/25012025/21/09/image_25012025_21_09_02_749759_0002.jpg
/home/pi/Desktop/images/25012025/21/09/image_25012025_21_09_02_749759_0003.jpg
/home/pi/Desktop/images/25012025/21/10/image_25012025_21_10_02_861868_0000.jpg
/home/pi/Desktop/images/25012025/21/10/image_25012025_21_10_02_861868_0001.jpg
/home/pi/Desktop/images/25012025/21/10/image_25012025_21_10_02_861868_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 [200]>
b'{"photo_ids":["1331450145","1331450154","1331450136","1331450150","1331450140","1331450157"],"photo_ids_order":["1331450136","1331450140","1331450145","1331450150","1331450154","1331450157"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6d31d725c283991541c7571ac306c228.jpg","text":"TemporaryFile(/tmp/multipartBody6810948732632817431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835919627,"filename":"image_25012025_21_09_02_749759_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a9387eaa49ff656dd8edc64157dcb682.jpg","text":"TemporaryFile(/tmp/multipartBody4549719007670124259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835919627,"filename":"image_25012025_21_10_02_861868_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8202ddb62a79c040bb8cdee383384380.jpg","text":"TemporaryFile(/tmp/multipartBody7019734450371932128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835919627,"filename":"image_25012025_21_09_02_749759_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4fe7af9814ff078dd7aab2a4e7d1ba5a.jpg","text":"TemporaryFile(/tmp/multipartBody5013821885768190354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835919627,"filename":"image_25012025_21_10_02_861868_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c29fc26a1473a0dd4b322ea907b0921.jpg","text":"TemporaryFile(/tmp/multipartBody2210515533929752459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835919627,"filename":"image_25012025_21_09_02_749759_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b9ba036a8de20c6b755deb65fd20199a.jpg","text":"TemporaryFile(/tmp/multipartBody4912579622160535259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835919627,"filename":"image_25012025_21_10_02_861868_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331450145","file1":"1331450140","file0":"1331450136","file4":"1331450154","file5":"1331450157","file3":"1331450150"},"map_files_photo_id_array":[{"photo_id":"1331450157","filename":"file5"},{"photo_id":"1331450145","filename":"file2"},{"photo_id":"1331450154","filename":"file4"},{"photo_id":"1331450140","filename":"file1"},{"photo_id":"1331450136","filename":"file0"},{"photo_id":"1331450150","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331450145":["hashtag1","hashtag2"]},{"1331450154":["hashtag1","hashtag2"]},{"1331450136":["hashtag1","hashtag2"]},{"1331450150":["hashtag1","hashtag2"]},{"1331450140":["hashtag1","hashtag2"]},{"1331450157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331450145, 1331450154, 1331450136, 1331450150, 1331450140, 1331450157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.973095417022705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 21:11:41.863085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/10/image_25012025_21_10_02_861868_0003.jpg', '/home/pi/Desktop/images/25012025/21/11/image_25012025_21_11_03_035838_0000.jpg', '/home/pi/Desktop/images/25012025/21/11/image_25012025_21_11_03_035838_0001.jpg', '/home/pi/Desktop/images/25012025/21/11/image_25012025_21_11_03_035838_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/10/image_25012025_21_10_02_861868_0003.jpg
/home/pi/Desktop/images/25012025/21/11/image_25012025_21_11_03_035838_0000.jpg
/home/pi/Desktop/images/25012025/21/11/image_25012025_21_11_03_035838_0001.jpg
/home/pi/Desktop/images/25012025/21/11/image_25012025_21_11_03_035838_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: 11.02687120437622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 21:12:02.482611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/10/image_25012025_21_10_02_861868_0003.jpg', '/home/pi/Desktop/images/25012025/21/11/image_25012025_21_11_03_035838_0000.jpg', '/home/pi/Desktop/images/25012025/21/11/image_25012025_21_11_03_035838_0001.jpg', '/home/pi/Desktop/images/25012025/21/11/image_25012025_21_11_03_035838_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/10/image_25012025_21_10_02_861868_0003.jpg
/home/pi/Desktop/images/25012025/21/11/image_25012025_21_11_03_035838_0000.jpg
/home/pi/Desktop/images/25012025/21/11/image_25012025_21_11_03_035838_0001.jpg
/home/pi/Desktop/images/25012025/21/11/image_25012025_21_11_03_035838_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":["1331450176","1331450185","1331450188","1331450181"],"photo_ids_order":["1331450176","1331450181","1331450185","1331450188"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1e274ce9a4de3d9b1e1de7459ee73c2e.jpg","text":"TemporaryFile(/tmp/multipartBody2404959067343550256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835993926,"filename":"image_25012025_21_10_02_861868_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/33c8529da1cae6196fe9d0029620dd16.jpg","text":"TemporaryFile(/tmp/multipartBody5003192672707363391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835993926,"filename":"image_25012025_21_11_03_035838_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/947ccc41be69af40abc93b7a29cf7c87.jpg","text":"TemporaryFile(/tmp/multipartBody2514037731076381003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835993926,"filename":"image_25012025_21_11_03_035838_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/39f938f36977a3e1c9f3344fdfb44073.jpg","text":"TemporaryFile(/tmp/multipartBody768230667892547520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737835993926,"filename":"image_25012025_21_11_03_035838_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331450185","file1":"1331450181","file0":"1331450176","file3":"1331450188"},"map_files_photo_id_array":[{"photo_id":"1331450185","filename":"file2"},{"photo_id":"1331450181","filename":"file1"},{"photo_id":"1331450176","filename":"file0"},{"photo_id":"1331450188","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331450176":["hashtag1","hashtag2"]},{"1331450185":["hashtag1","hashtag2"]},{"1331450188":["hashtag1","hashtag2"]},{"1331450181":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331450176, 1331450185, 1331450188, 1331450181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.61903429031372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 21:12:52.012080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/11/image_25012025_21_11_03_035838_0003.jpg', '/home/pi/Desktop/images/25012025/21/12/image_25012025_21_12_02_182694_0000.jpg', '/home/pi/Desktop/images/25012025/21/12/image_25012025_21_12_02_182694_0001.jpg', '/home/pi/Desktop/images/25012025/21/12/image_25012025_21_12_02_182694_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/11/image_25012025_21_11_03_035838_0003.jpg
/home/pi/Desktop/images/25012025/21/12/image_25012025_21_12_02_182694_0000.jpg
/home/pi/Desktop/images/25012025/21/12/image_25012025_21_12_02_182694_0001.jpg
/home/pi/Desktop/images/25012025/21/12/image_25012025_21_12_02_182694_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: 11.123726844787598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:13:22.224247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/11/image_25012025_21_11_03_035838_0003.jpg', '/home/pi/Desktop/images/25012025/21/12/image_25012025_21_12_02_182694_0000.jpg', '/home/pi/Desktop/images/25012025/21/12/image_25012025_21_12_02_182694_0001.jpg', '/home/pi/Desktop/images/25012025/21/12/image_25012025_21_12_02_182694_0002.jpg', '/home/pi/Desktop/images/25012025/21/12/image_25012025_21_12_02_182694_0003.jpg', '/home/pi/Desktop/images/25012025/21/13/image_25012025_21_13_02_485715_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/11/image_25012025_21_11_03_035838_0003.jpg
/home/pi/Desktop/images/25012025/21/12/image_25012025_21_12_02_182694_0000.jpg
/home/pi/Desktop/images/25012025/21/12/image_25012025_21_12_02_182694_0001.jpg
/home/pi/Desktop/images/25012025/21/12/image_25012025_21_12_02_182694_0002.jpg
/home/pi/Desktop/images/25012025/21/12/image_25012025_21_12_02_182694_0003.jpg
/home/pi/Desktop/images/25012025/21/13/image_25012025_21_13_02_485715_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 [200]>
b'{"photo_ids":["1331450319","1331450399","1331450395","1331450380","1331450391","1331450388"],"photo_ids_order":["1331450319","1331450380","1331450388","1331450391","1331450395","1331450399"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2a8ba9a09a4e3acf7e94b5ea681d805c.jpg","text":"TemporaryFile(/tmp/multipartBody4740819553314954891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836079085,"filename":"image_25012025_21_11_03_035838_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cd37abe32c93b5c2124818b431708037.jpg","text":"TemporaryFile(/tmp/multipartBody1124592367289167414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836079085,"filename":"image_25012025_21_13_02_485715_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cd3f1a36456cd20eab78552177f7907f.jpg","text":"TemporaryFile(/tmp/multipartBody7580442575287438863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836079085,"filename":"image_25012025_21_12_02_182694_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8c4f148310d3896a945b23fb016c55ec.jpg","text":"TemporaryFile(/tmp/multipartBody6486707431831973790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836079085,"filename":"image_25012025_21_12_02_182694_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ed575c5d351e9e23c634ea1d5c163de7.jpg","text":"TemporaryFile(/tmp/multipartBody2200840469477903211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836079085,"filename":"image_25012025_21_12_02_182694_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b1dcf5489f645ec2c390e94fe9a6c6be.jpg","text":"TemporaryFile(/tmp/multipartBody5358712628725835206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836079085,"filename":"image_25012025_21_12_02_182694_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331450388","file1":"1331450380","file0":"1331450319","file4":"1331450395","file5":"1331450399","file3":"1331450391"},"map_files_photo_id_array":[{"photo_id":"1331450399","filename":"file5"},{"photo_id":"1331450388","filename":"file2"},{"photo_id":"1331450395","filename":"file4"},{"photo_id":"1331450380","filename":"file1"},{"photo_id":"1331450319","filename":"file0"},{"photo_id":"1331450391","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331450319":["hashtag1","hashtag2"]},{"1331450399":["hashtag1","hashtag2"]},{"1331450395":["hashtag1","hashtag2"]},{"1331450380":["hashtag1","hashtag2"]},{"1331450391":["hashtag1","hashtag2"]},{"1331450388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331450319, 1331450399, 1331450395, 1331450380, 1331450391, 1331450388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.14829611778259 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:14:22.407176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/13/image_25012025_21_13_02_485715_0001.jpg', '/home/pi/Desktop/images/25012025/21/13/image_25012025_21_13_02_485715_0002.jpg', '/home/pi/Desktop/images/25012025/21/13/image_25012025_21_13_02_485715_0003.jpg', '/home/pi/Desktop/images/25012025/21/14/image_25012025_21_14_02_592629_0000.jpg', '/home/pi/Desktop/images/25012025/21/14/image_25012025_21_14_02_592629_0001.jpg', '/home/pi/Desktop/images/25012025/21/14/image_25012025_21_14_02_592629_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/13/image_25012025_21_13_02_485715_0001.jpg
/home/pi/Desktop/images/25012025/21/13/image_25012025_21_13_02_485715_0002.jpg
/home/pi/Desktop/images/25012025/21/13/image_25012025_21_13_02_485715_0003.jpg
/home/pi/Desktop/images/25012025/21/14/image_25012025_21_14_02_592629_0000.jpg
/home/pi/Desktop/images/25012025/21/14/image_25012025_21_14_02_592629_0001.jpg
/home/pi/Desktop/images/25012025/21/14/image_25012025_21_14_02_592629_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331450427","1331450414","1331450423","1331450417","1331450419","1331450433"],"photo_ids_order":["1331450414","1331450417","1331450419","1331450423","1331450427","1331450433"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ed65482f280acaf2ddff066482b15c3b.jpg","text":"TemporaryFile(/tmp/multipartBody6956610701156454845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836139094,"filename":"image_25012025_21_14_02_592629_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/08d1e804331df9c57033ee708ba8aad1.jpg","text":"TemporaryFile(/tmp/multipartBody4818025491201036715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836139094,"filename":"image_25012025_21_13_02_485715_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/565e306dd770d78b98dafa6ede01ab3a.jpg","text":"TemporaryFile(/tmp/multipartBody6316164687612334905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836139094,"filename":"image_25012025_21_14_02_592629_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4b045669273c9367621d5aadd4955f3a.jpg","text":"TemporaryFile(/tmp/multipartBody9007294349786519354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836139094,"filename":"image_25012025_21_13_02_485715_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bbc89630e80e73103b3905148df5d840.jpg","text":"TemporaryFile(/tmp/multipartBody6663578858297009209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836139094,"filename":"image_25012025_21_13_02_485715_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bb1b5e811c81baa1f218b1648a4b20c8.jpg","text":"TemporaryFile(/tmp/multipartBody4147420599677806066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836139094,"filename":"image_25012025_21_14_02_592629_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331450419","file1":"1331450417","file0":"1331450414","file4":"1331450427","file5":"1331450433","file3":"1331450423"},"map_files_photo_id_array":[{"photo_id":"1331450433","filename":"file5"},{"photo_id":"1331450419","filename":"file2"},{"photo_id":"1331450427","filename":"file4"},{"photo_id":"1331450417","filename":"file1"},{"photo_id":"1331450414","filename":"file0"},{"photo_id":"1331450423","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331450427":["hashtag1","hashtag2"]},{"1331450414":["hashtag1","hashtag2"]},{"1331450423":["hashtag1","hashtag2"]},{"1331450417":["hashtag1","hashtag2"]},{"1331450419":["hashtag1","hashtag2"]},{"1331450433":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331450427, 1331450414, 1331450423, 1331450417, 1331450419, 1331450433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.64125156402588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 21:15:32.592819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/14/image_25012025_21_14_02_592629_0003.jpg', '/home/pi/Desktop/images/25012025/21/15/image_25012025_21_15_02_771077_0000.jpg', '/home/pi/Desktop/images/25012025/21/15/image_25012025_21_15_02_771077_0001.jpg', '/home/pi/Desktop/images/25012025/21/15/image_25012025_21_15_02_771077_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/14/image_25012025_21_14_02_592629_0003.jpg
/home/pi/Desktop/images/25012025/21/15/image_25012025_21_15_02_771077_0000.jpg
/home/pi/Desktop/images/25012025/21/15/image_25012025_21_15_02_771077_0001.jpg
/home/pi/Desktop/images/25012025/21/15/image_25012025_21_15_02_771077_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":["1331450457","1331450449","1331450446","1331450454"],"photo_ids_order":["1331450446","1331450449","1331450454","1331450457"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4fc51bb075ae5ebef389a8f951b26b9b.jpg","text":"TemporaryFile(/tmp/multipartBody570252713389728639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836203968,"filename":"image_25012025_21_15_02_771077_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c9ef984f86cf6280a0d30e32fbc13e82.jpg","text":"TemporaryFile(/tmp/multipartBody7987960366977830662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836203968,"filename":"image_25012025_21_15_02_771077_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7287384956df98e28aa4f6235426f2b2.jpg","text":"TemporaryFile(/tmp/multipartBody8982695057147064139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836203968,"filename":"image_25012025_21_14_02_592629_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6d25727f9f7e6e2353f60642894fe40c.jpg","text":"TemporaryFile(/tmp/multipartBody4622840272730774481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836203968,"filename":"image_25012025_21_15_02_771077_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331450454","file1":"1331450449","file0":"1331450446","file3":"1331450457"},"map_files_photo_id_array":[{"photo_id":"1331450454","filename":"file2"},{"photo_id":"1331450449","filename":"file1"},{"photo_id":"1331450446","filename":"file0"},{"photo_id":"1331450457","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331450457":["hashtag1","hashtag2"]},{"1331450449":["hashtag1","hashtag2"]},{"1331450446":["hashtag1","hashtag2"]},{"1331450454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331450457, 1331450449, 1331450446, 1331450454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.70691800117493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:16:22.877370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/15/image_25012025_21_15_02_771077_0003.jpg', '/home/pi/Desktop/images/25012025/21/16/image_25012025_21_16_02_942104_0000.jpg', '/home/pi/Desktop/images/25012025/21/16/image_25012025_21_16_02_942104_0001.jpg', '/home/pi/Desktop/images/25012025/21/16/image_25012025_21_16_02_942104_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/15/image_25012025_21_15_02_771077_0003.jpg
/home/pi/Desktop/images/25012025/21/16/image_25012025_21_16_02_942104_0000.jpg
/home/pi/Desktop/images/25012025/21/16/image_25012025_21_16_02_942104_0001.jpg
/home/pi/Desktop/images/25012025/21/16/image_25012025_21_16_02_942104_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 [200]>
b'{"photo_ids":["1331450477","1331450473","1331450482","1331450490"],"photo_ids_order":["1331450473","1331450477","1331450482","1331450490"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7216a60f242cca047e0c1ed303c490ca.jpg","text":"TemporaryFile(/tmp/multipartBody2292189417402309518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836254198,"filename":"image_25012025_21_16_02_942104_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a3a92d96ba2b012ac6b4e2bcb69354b5.jpg","text":"TemporaryFile(/tmp/multipartBody9021341779699314127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836254198,"filename":"image_25012025_21_15_02_771077_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9892a900fcc8517d4bee19e23b8140ef.jpg","text":"TemporaryFile(/tmp/multipartBody2083726594299811027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836254198,"filename":"image_25012025_21_16_02_942104_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8f6ad02c2c289c492d6c8944e20fbcc0.jpg","text":"TemporaryFile(/tmp/multipartBody2871337772235144860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836254198,"filename":"image_25012025_21_16_02_942104_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331450482","file1":"1331450477","file0":"1331450473","file3":"1331450490"},"map_files_photo_id_array":[{"photo_id":"1331450482","filename":"file2"},{"photo_id":"1331450477","filename":"file1"},{"photo_id":"1331450473","filename":"file0"},{"photo_id":"1331450490","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331450477":["hashtag1","hashtag2"]},{"1331450473":["hashtag1","hashtag2"]},{"1331450482":["hashtag1","hashtag2"]},{"1331450490":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331450477, 1331450473, 1331450482, 1331450490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.82791328430176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:17:21.963256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/16/image_25012025_21_16_02_942104_0003.jpg', '/home/pi/Desktop/images/25012025/21/17/image_25012025_21_17_03_140776_0000.jpg', '/home/pi/Desktop/images/25012025/21/17/image_25012025_21_17_03_140776_0001.jpg', '/home/pi/Desktop/images/25012025/21/17/image_25012025_21_17_03_140776_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/16/image_25012025_21_16_02_942104_0003.jpg
/home/pi/Desktop/images/25012025/21/17/image_25012025_21_17_03_140776_0000.jpg
/home/pi/Desktop/images/25012025/21/17/image_25012025_21_17_03_140776_0001.jpg
/home/pi/Desktop/images/25012025/21/17/image_25012025_21_17_03_140776_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":["1331450529","1331450526","1331450522","1331450519"],"photo_ids_order":["1331450519","1331450522","1331450526","1331450529"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c2afb2c73f914589cc3e6ab83e09e702.jpg","text":"TemporaryFile(/tmp/multipartBody2846108252491648910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836313567,"filename":"image_25012025_21_17_03_140776_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5673f54b6b8e9582da9672fc0f0108fa.jpg","text":"TemporaryFile(/tmp/multipartBody3239120639478407102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836313567,"filename":"image_25012025_21_17_03_140776_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c67daa7d6a0073dae917a5593c7c10e7.jpg","text":"TemporaryFile(/tmp/multipartBody4353703911248386355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836313567,"filename":"image_25012025_21_17_03_140776_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c9eb6a88b4eae1a09b7c72f08e610e8c.jpg","text":"TemporaryFile(/tmp/multipartBody5850704354773547967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836313567,"filename":"image_25012025_21_16_02_942104_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331450526","file1":"1331450522","file0":"1331450519","file3":"1331450529"},"map_files_photo_id_array":[{"photo_id":"1331450526","filename":"file2"},{"photo_id":"1331450522","filename":"file1"},{"photo_id":"1331450519","filename":"file0"},{"photo_id":"1331450529","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331450529":["hashtag1","hashtag2"]},{"1331450526":["hashtag1","hashtag2"]},{"1331450522":["hashtag1","hashtag2"]},{"1331450519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331450529, 1331450526, 1331450522, 1331450519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.874077558517456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 21:18:02.468880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/22/58/image_21012025_22_58_02_208330_0002.jpg', '/home/pi/Desktop/images/21012025/22/58/image_21012025_22_58_02_208330_0003.jpg', '/home/pi/Desktop/images/21012025/22/59/image_21012025_22_59_02_388198_0000.jpg', '/home/pi/Desktop/images/21012025/22/59/image_21012025_22_59_02_388198_0001.jpg', '/home/pi/Desktop/images/21012025/22/59/image_21012025_22_59_02_388198_0002.jpg', '/home/pi/Desktop/images/21012025/22/59/image_21012025_22_59_02_388198_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/22/58/image_21012025_22_58_02_208330_0002.jpg
/home/pi/Desktop/images/21012025/22/58/image_21012025_22_58_02_208330_0003.jpg
/home/pi/Desktop/images/21012025/22/59/image_21012025_22_59_02_388198_0000.jpg
/home/pi/Desktop/images/21012025/22/59/image_21012025_22_59_02_388198_0001.jpg
/home/pi/Desktop/images/21012025/22/59/image_21012025_22_59_02_388198_0002.jpg
/home/pi/Desktop/images/21012025/22/59/image_21012025_22_59_02_388198_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 [200]>
b'{"photo_ids":["1331450573","1331450555","1331450565","1331450568","1331450553","1331450547"],"photo_ids_order":["1331450547","1331450553","1331450555","1331450565","1331450568","1331450573"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f7463b3805eee367c45779d9fb6b541f.jpg","text":"TemporaryFile(/tmp/multipartBody1970249169659996985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836360101,"filename":"image_21012025_22_59_02_388198_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5754029c61b3c02d6f2a5c327210b952.jpg","text":"TemporaryFile(/tmp/multipartBody370833109172288413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836360101,"filename":"image_21012025_22_59_02_388198_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2b88149d1b2ca6e646ef72923b3f57ad.jpg","text":"TemporaryFile(/tmp/multipartBody1574524342391675172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836360101,"filename":"image_21012025_22_59_02_388198_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/49140a1653f42fe3b3649003533d9410.jpg","text":"TemporaryFile(/tmp/multipartBody5464819159955647897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836360101,"filename":"image_21012025_22_59_02_388198_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/605d2fd2c5db2382977652b3a686321c.jpg","text":"TemporaryFile(/tmp/multipartBody6115057479762904202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836360101,"filename":"image_21012025_22_58_02_208330_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/adad2054e9b5c62baf71f63e131feb51.jpg","text":"TemporaryFile(/tmp/multipartBody4288103555611188239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836360101,"filename":"image_21012025_22_58_02_208330_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331450555","file1":"1331450553","file0":"1331450547","file4":"1331450568","file5":"1331450573","file3":"1331450565"},"map_files_photo_id_array":[{"photo_id":"1331450573","filename":"file5"},{"photo_id":"1331450555","filename":"file2"},{"photo_id":"1331450568","filename":"file4"},{"photo_id":"1331450553","filename":"file1"},{"photo_id":"1331450547","filename":"file0"},{"photo_id":"1331450565","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331450573":["hashtag1","hashtag2"]},{"1331450555":["hashtag1","hashtag2"]},{"1331450565":["hashtag1","hashtag2"]},{"1331450568":["hashtag1","hashtag2"]},{"1331450553":["hashtag1","hashtag2"]},{"1331450547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331450573, 1331450555, 1331450565, 1331450568, 1331450553, 1331450547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.24894094467163 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 21:19:03.067490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/17/image_25012025_21_17_03_140776_0003.jpg', '/home/pi/Desktop/images/25012025/21/18/image_25012025_21_18_02_286255_0000.jpg', '/home/pi/Desktop/images/25012025/21/18/image_25012025_21_18_02_286255_0001.jpg', '/home/pi/Desktop/images/25012025/21/18/image_25012025_21_18_02_286255_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/17/image_25012025_21_17_03_140776_0003.jpg
/home/pi/Desktop/images/25012025/21/18/image_25012025_21_18_02_286255_0000.jpg
/home/pi/Desktop/images/25012025/21/18/image_25012025_21_18_02_286255_0001.jpg
/home/pi/Desktop/images/25012025/21/18/image_25012025_21_18_02_286255_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":["1331451551","1331451547","1331451556","1331451544"],"photo_ids_order":["1331451544","1331451547","1331451551","1331451556"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ddbc07df04bea03f79a4fe4d64e7dcae.jpg","text":"TemporaryFile(/tmp/multipartBody7783905547986542829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836414665,"filename":"image_25012025_21_18_02_286255_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/71a8bf8548f4cb5de4d317692ed2961f.jpg","text":"TemporaryFile(/tmp/multipartBody615676061935818221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836414665,"filename":"image_25012025_21_18_02_286255_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c3d7a41604f948502873cfe8c4c552a2.jpg","text":"TemporaryFile(/tmp/multipartBody481008532098744781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836414665,"filename":"image_25012025_21_18_02_286255_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/641bdf43c333f7f48a5417b6e72d65c3.jpg","text":"TemporaryFile(/tmp/multipartBody5468731478838185314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836414665,"filename":"image_25012025_21_17_03_140776_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331451551","file1":"1331451547","file0":"1331451544","file3":"1331451556"},"map_files_photo_id_array":[{"photo_id":"1331451551","filename":"file2"},{"photo_id":"1331451547","filename":"file1"},{"photo_id":"1331451544","filename":"file0"},{"photo_id":"1331451556","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331451551":["hashtag1","hashtag2"]},{"1331451547":["hashtag1","hashtag2"]},{"1331451556":["hashtag1","hashtag2"]},{"1331451544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331451551, 1331451547, 1331451556, 1331451544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.2288339138031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 21:19:52.222662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/18/image_25012025_21_18_02_286255_0003.jpg', '/home/pi/Desktop/images/25012025/21/19/image_25012025_21_19_02_409553_0000.jpg', '/home/pi/Desktop/images/25012025/21/19/image_25012025_21_19_02_409553_0001.jpg', '/home/pi/Desktop/images/25012025/21/19/image_25012025_21_19_02_409553_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/18/image_25012025_21_18_02_286255_0003.jpg
/home/pi/Desktop/images/25012025/21/19/image_25012025_21_19_02_409553_0000.jpg
/home/pi/Desktop/images/25012025/21/19/image_25012025_21_19_02_409553_0001.jpg
/home/pi/Desktop/images/25012025/21/19/image_25012025_21_19_02_409553_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":["1331451587","1331451582","1331451585","1331451579"],"photo_ids_order":["1331451579","1331451582","1331451585","1331451587"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e1aabaf9d92e2d595e3276984e3713b0.jpg","text":"TemporaryFile(/tmp/multipartBody597067771652982831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836464099,"filename":"image_25012025_21_19_02_409553_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d0b748cf4d325eacaf21d195df58b221.jpg","text":"TemporaryFile(/tmp/multipartBody5060279153573909341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836464099,"filename":"image_25012025_21_19_02_409553_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/879b1fe550af4cba675a427a318d34e3.jpg","text":"TemporaryFile(/tmp/multipartBody553932230343746096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836464099,"filename":"image_25012025_21_19_02_409553_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/82fbf21152a50a7b93eb049bc0724f04.jpg","text":"TemporaryFile(/tmp/multipartBody4890042075183886535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836464099,"filename":"image_25012025_21_18_02_286255_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331451585","file1":"1331451582","file0":"1331451579","file3":"1331451587"},"map_files_photo_id_array":[{"photo_id":"1331451585","filename":"file2"},{"photo_id":"1331451582","filename":"file1"},{"photo_id":"1331451579","filename":"file0"},{"photo_id":"1331451587","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331451587":["hashtag1","hashtag2"]},{"1331451582":["hashtag1","hashtag2"]},{"1331451585":["hashtag1","hashtag2"]},{"1331451579":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331451587, 1331451582, 1331451585, 1331451579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.279008865356445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 21:20:32.390783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/19/image_25012025_21_19_02_409553_0003.jpg', '/home/pi/Desktop/images/25012025/21/20/image_25012025_21_20_02_612498_0000.jpg', '/home/pi/Desktop/images/25012025/21/20/image_25012025_21_20_02_612498_0001.jpg', '/home/pi/Desktop/images/25012025/21/20/image_25012025_21_20_02_612498_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/19/image_25012025_21_19_02_409553_0003.jpg
/home/pi/Desktop/images/25012025/21/20/image_25012025_21_20_02_612498_0000.jpg
/home/pi/Desktop/images/25012025/21/20/image_25012025_21_20_02_612498_0001.jpg
/home/pi/Desktop/images/25012025/21/20/image_25012025_21_20_02_612498_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":["1331452031","1331452034","1331451979","1331452062"],"photo_ids_order":["1331451979","1331452031","1331452034","1331452062"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1e873361a255586aaf244079b8e1a4b8.jpg","text":"TemporaryFile(/tmp/multipartBody7874916190024454202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836503833,"filename":"image_25012025_21_20_02_612498_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c1dc705390d778ad30d50242c0df8a1a.jpg","text":"TemporaryFile(/tmp/multipartBody1644201729740648186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836503833,"filename":"image_25012025_21_20_02_612498_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e73fbf7dd5f39ed9818b7e275fbe20b5.jpg","text":"TemporaryFile(/tmp/multipartBody2339413795707468643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836503833,"filename":"image_25012025_21_19_02_409553_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dcd504384538f6d26005efdda5531039.jpg","text":"TemporaryFile(/tmp/multipartBody7651793280072730766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836503833,"filename":"image_25012025_21_20_02_612498_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331452034","file1":"1331452031","file0":"1331451979","file3":"1331452062"},"map_files_photo_id_array":[{"photo_id":"1331452034","filename":"file2"},{"photo_id":"1331452031","filename":"file1"},{"photo_id":"1331451979","filename":"file0"},{"photo_id":"1331452062","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331452031":["hashtag1","hashtag2"]},{"1331452034":["hashtag1","hashtag2"]},{"1331451979":["hashtag1","hashtag2"]},{"1331452062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331452031, 1331452034, 1331451979, 1331452062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.13140058517456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:21:22.690300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/20/image_25012025_21_20_02_612498_0003.jpg', '/home/pi/Desktop/images/25012025/21/21/image_25012025_21_21_02_815499_0000.jpg', '/home/pi/Desktop/images/25012025/21/21/image_25012025_21_21_02_815499_0001.jpg', '/home/pi/Desktop/images/25012025/21/21/image_25012025_21_21_02_815499_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/20/image_25012025_21_20_02_612498_0003.jpg
/home/pi/Desktop/images/25012025/21/21/image_25012025_21_21_02_815499_0000.jpg
/home/pi/Desktop/images/25012025/21/21/image_25012025_21_21_02_815499_0001.jpg
/home/pi/Desktop/images/25012025/21/21/image_25012025_21_21_02_815499_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 [200]>
b'{"photo_ids":["1331452078","1331452089","1331452083","1331452094"],"photo_ids_order":["1331452078","1331452083","1331452089","1331452094"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ec2b2df6cd6a5b16e5563a7b66a38a4a.jpg","text":"TemporaryFile(/tmp/multipartBody6434226750443678036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836554352,"filename":"image_25012025_21_20_02_612498_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/27384d51d9b5323ee19c3ea84a02aa6e.jpg","text":"TemporaryFile(/tmp/multipartBody1054796347374055522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836554352,"filename":"image_25012025_21_21_02_815499_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/063441a7b04091e10ed2f4df27361ebe.jpg","text":"TemporaryFile(/tmp/multipartBody177385924024316924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836554352,"filename":"image_25012025_21_21_02_815499_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/35efb9b48d89be7bde4bdb97c44753b1.jpg","text":"TemporaryFile(/tmp/multipartBody1381567779454061657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836554352,"filename":"image_25012025_21_21_02_815499_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331452089","file1":"1331452083","file0":"1331452078","file3":"1331452094"},"map_files_photo_id_array":[{"photo_id":"1331452089","filename":"file2"},{"photo_id":"1331452083","filename":"file1"},{"photo_id":"1331452078","filename":"file0"},{"photo_id":"1331452094","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331452078":["hashtag1","hashtag2"]},{"1331452089":["hashtag1","hashtag2"]},{"1331452083":["hashtag1","hashtag2"]},{"1331452094":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331452078, 1331452089, 1331452083, 1331452094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.42798113822937 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:22:21.872912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/21/image_25012025_21_21_02_815499_0003.jpg', '/home/pi/Desktop/images/25012025/21/22/image_25012025_21_22_02_981440_0000.jpg', '/home/pi/Desktop/images/25012025/21/22/image_25012025_21_22_02_981440_0001.jpg', '/home/pi/Desktop/images/25012025/21/22/image_25012025_21_22_02_981440_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/21/image_25012025_21_21_02_815499_0003.jpg
/home/pi/Desktop/images/25012025/21/22/image_25012025_21_22_02_981440_0000.jpg
/home/pi/Desktop/images/25012025/21/22/image_25012025_21_22_02_981440_0001.jpg
/home/pi/Desktop/images/25012025/21/22/image_25012025_21_22_02_981440_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 [200]>
b'{"photo_ids":["1331452165","1331452162","1331452158","1331452154"],"photo_ids_order":["1331452154","1331452158","1331452162","1331452165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ae4478f6c1cee9527e39000be679c979.jpg","text":"TemporaryFile(/tmp/multipartBody3924901166552473402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836613305,"filename":"image_25012025_21_22_02_981440_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c519012535a442dcb42961226d6b36cb.jpg","text":"TemporaryFile(/tmp/multipartBody2355014741839128016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836613305,"filename":"image_25012025_21_22_02_981440_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2c2d35ce43fc92bbd92bd6b3d275dd2a.jpg","text":"TemporaryFile(/tmp/multipartBody7660326500686354420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836613305,"filename":"image_25012025_21_22_02_981440_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/330457bf1487913be44c982f73771ef8.jpg","text":"TemporaryFile(/tmp/multipartBody1018235517251194524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836613305,"filename":"image_25012025_21_21_02_815499_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331452162","file1":"1331452158","file0":"1331452154","file3":"1331452165"},"map_files_photo_id_array":[{"photo_id":"1331452162","filename":"file2"},{"photo_id":"1331452158","filename":"file1"},{"photo_id":"1331452154","filename":"file0"},{"photo_id":"1331452165","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331452165":["hashtag1","hashtag2"]},{"1331452162":["hashtag1","hashtag2"]},{"1331452158":["hashtag1","hashtag2"]},{"1331452154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331452165, 1331452162, 1331452158, 1331452154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.74294972419739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:23:22.100981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/22/image_25012025_21_22_02_981440_0003.jpg', '/home/pi/Desktop/images/25012025/21/23/image_25012025_21_23_02_093899_0000.jpg', '/home/pi/Desktop/images/25012025/21/23/image_25012025_21_23_02_093899_0001.jpg', '/home/pi/Desktop/images/25012025/21/23/image_25012025_21_23_02_093899_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/22/image_25012025_21_22_02_981440_0003.jpg
/home/pi/Desktop/images/25012025/21/23/image_25012025_21_23_02_093899_0000.jpg
/home/pi/Desktop/images/25012025/21/23/image_25012025_21_23_02_093899_0001.jpg
/home/pi/Desktop/images/25012025/21/23/image_25012025_21_23_02_093899_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 [200]>
b'{"photo_ids":["1331452198","1331452202","1331452195","1331452190"],"photo_ids_order":["1331452190","1331452195","1331452198","1331452202"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4423239822f088b62870e3b1f87a177f.jpg","text":"TemporaryFile(/tmp/multipartBody6476338278737656523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836673320,"filename":"image_25012025_21_23_02_093899_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ee12b3180ce3d9587f77dc976c61a6d2.jpg","text":"TemporaryFile(/tmp/multipartBody2380825679299103545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836673320,"filename":"image_25012025_21_23_02_093899_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/436003102653646bb0224dab10b4b526.jpg","text":"TemporaryFile(/tmp/multipartBody4521647791152620251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836673320,"filename":"image_25012025_21_23_02_093899_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1389666a29141a935a7f27a6bbb527e8.jpg","text":"TemporaryFile(/tmp/multipartBody5475730130487071917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836673320,"filename":"image_25012025_21_22_02_981440_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331452198","file1":"1331452195","file0":"1331452190","file3":"1331452202"},"map_files_photo_id_array":[{"photo_id":"1331452198","filename":"file2"},{"photo_id":"1331452195","filename":"file1"},{"photo_id":"1331452190","filename":"file0"},{"photo_id":"1331452202","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331452198":["hashtag1","hashtag2"]},{"1331452202":["hashtag1","hashtag2"]},{"1331452195":["hashtag1","hashtag2"]},{"1331452190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331452198, 1331452202, 1331452195, 1331452190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.91158699989319 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:24:22.172982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/23/image_25012025_21_23_02_093899_0003.jpg', '/home/pi/Desktop/images/25012025/21/24/image_25012025_21_24_02_351081_0000.jpg', '/home/pi/Desktop/images/25012025/21/24/image_25012025_21_24_02_351081_0001.jpg', '/home/pi/Desktop/images/25012025/21/24/image_25012025_21_24_02_351081_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/23/image_25012025_21_23_02_093899_0003.jpg
/home/pi/Desktop/images/25012025/21/24/image_25012025_21_24_02_351081_0000.jpg
/home/pi/Desktop/images/25012025/21/24/image_25012025_21_24_02_351081_0001.jpg
/home/pi/Desktop/images/25012025/21/24/image_25012025_21_24_02_351081_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 [200]>
b'{"photo_ids":["1331452229","1331452220","1331452240","1331452235"],"photo_ids_order":["1331452220","1331452229","1331452235","1331452240"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2d804e404f5e2a3ec9d8d32ce5bc5d07.jpg","text":"TemporaryFile(/tmp/multipartBody1254188680620716754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836733576,"filename":"image_25012025_21_24_02_351081_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/26b3d66550749568c2556cae2d45c9af.jpg","text":"TemporaryFile(/tmp/multipartBody9133207100262451312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836733576,"filename":"image_25012025_21_23_02_093899_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2dd8748fe31f9501a83f749459c7d1c1.jpg","text":"TemporaryFile(/tmp/multipartBody6812448135591322514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836733576,"filename":"image_25012025_21_24_02_351081_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2afd8b4105c4fd7981159f88b09c802e.jpg","text":"TemporaryFile(/tmp/multipartBody5368920947741643000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836733576,"filename":"image_25012025_21_24_02_351081_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331452235","file1":"1331452229","file0":"1331452220","file3":"1331452240"},"map_files_photo_id_array":[{"photo_id":"1331452235","filename":"file2"},{"photo_id":"1331452229","filename":"file1"},{"photo_id":"1331452220","filename":"file0"},{"photo_id":"1331452240","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331452229":["hashtag1","hashtag2"]},{"1331452220":["hashtag1","hashtag2"]},{"1331452240":["hashtag1","hashtag2"]},{"1331452235":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331452229, 1331452220, 1331452240, 1331452235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.990264654159546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:25:22.386375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/24/image_25012025_21_24_02_351081_0003.jpg', '/home/pi/Desktop/images/25012025/21/25/image_25012025_21_25_02_537567_0000.jpg', '/home/pi/Desktop/images/25012025/21/25/image_25012025_21_25_02_537567_0001.jpg', '/home/pi/Desktop/images/25012025/21/25/image_25012025_21_25_02_537567_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/24/image_25012025_21_24_02_351081_0003.jpg
/home/pi/Desktop/images/25012025/21/25/image_25012025_21_25_02_537567_0000.jpg
/home/pi/Desktop/images/25012025/21/25/image_25012025_21_25_02_537567_0001.jpg
/home/pi/Desktop/images/25012025/21/25/image_25012025_21_25_02_537567_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":["1331452359","1331452305","1331452428","1331452433"],"photo_ids_order":["1331452305","1331452359","1331452428","1331452433"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8be9ac9789d9503b6f4c1e2668e92134.jpg","text":"TemporaryFile(/tmp/multipartBody3419686304833237589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836793261,"filename":"image_25012025_21_25_02_537567_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/09f675b45c26bbb9f77d642646302013.jpg","text":"TemporaryFile(/tmp/multipartBody5306221591651691097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836793261,"filename":"image_25012025_21_24_02_351081_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/acd1f20bb02eeff145a2e849c3fbbcd2.jpg","text":"TemporaryFile(/tmp/multipartBody6407229885607950137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836793261,"filename":"image_25012025_21_25_02_537567_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b876e4ddfe23c33808801fa5d11374d7.jpg","text":"TemporaryFile(/tmp/multipartBody5146359597647436315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836793261,"filename":"image_25012025_21_25_02_537567_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331452428","file1":"1331452359","file0":"1331452305","file3":"1331452433"},"map_files_photo_id_array":[{"photo_id":"1331452428","filename":"file2"},{"photo_id":"1331452359","filename":"file1"},{"photo_id":"1331452305","filename":"file0"},{"photo_id":"1331452433","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331452359":["hashtag1","hashtag2"]},{"1331452305":["hashtag1","hashtag2"]},{"1331452428":["hashtag1","hashtag2"]},{"1331452433":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331452359, 1331452305, 1331452428, 1331452433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.04160141944885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 21:26:02.957263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/23/00/image_21012025_23_00_02_561322_0000.jpg', '/home/pi/Desktop/images/21012025/23/00/image_21012025_23_00_02_561322_0001.jpg', '/home/pi/Desktop/images/21012025/23/00/image_21012025_23_00_02_561322_0002.jpg', '/home/pi/Desktop/images/21012025/23/00/image_21012025_23_00_02_561322_0003.jpg', '/home/pi/Desktop/images/21012025/23/01/image_21012025_23_01_02_837526_0000.jpg', '/home/pi/Desktop/images/21012025/23/01/image_21012025_23_01_02_837526_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/23/00/image_21012025_23_00_02_561322_0000.jpg
/home/pi/Desktop/images/21012025/23/00/image_21012025_23_00_02_561322_0001.jpg
/home/pi/Desktop/images/21012025/23/00/image_21012025_23_00_02_561322_0002.jpg
/home/pi/Desktop/images/21012025/23/00/image_21012025_23_00_02_561322_0003.jpg
/home/pi/Desktop/images/21012025/23/01/image_21012025_23_01_02_837526_0000.jpg
/home/pi/Desktop/images/21012025/23/01/image_21012025_23_01_02_837526_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: 16.286231756210327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:26:22.597156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/25/image_25012025_21_25_02_537567_0003.jpg', '/home/pi/Desktop/images/25012025/21/26/image_25012025_21_26_02_785041_0000.jpg', '/home/pi/Desktop/images/25012025/21/26/image_25012025_21_26_02_785041_0001.jpg', '/home/pi/Desktop/images/25012025/21/26/image_25012025_21_26_02_785041_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/25/image_25012025_21_25_02_537567_0003.jpg
/home/pi/Desktop/images/25012025/21/26/image_25012025_21_26_02_785041_0000.jpg
/home/pi/Desktop/images/25012025/21/26/image_25012025_21_26_02_785041_0001.jpg
/home/pi/Desktop/images/25012025/21/26/image_25012025_21_26_02_785041_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 [200]>
b'{"photo_ids":["1331452569","1331452578","1331452565","1331452574"],"photo_ids_order":["1331452565","1331452569","1331452574","1331452578"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a4be4531bb7c1ac637872dd679421600.jpg","text":"TemporaryFile(/tmp/multipartBody2044169635178726672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836854092,"filename":"image_25012025_21_26_02_785041_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6fd9100ea345c88504c9212ec518b4d0.jpg","text":"TemporaryFile(/tmp/multipartBody3288033957568283894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836854092,"filename":"image_25012025_21_26_02_785041_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b9ed984f445b32ead4c9d5e927d1a739.jpg","text":"TemporaryFile(/tmp/multipartBody1509986863667304367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836854092,"filename":"image_25012025_21_25_02_537567_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e88ab5095d150adffc7e97bee29f3ffc.jpg","text":"TemporaryFile(/tmp/multipartBody1004050188742599474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836854092,"filename":"image_25012025_21_26_02_785041_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331452574","file1":"1331452569","file0":"1331452565","file3":"1331452578"},"map_files_photo_id_array":[{"photo_id":"1331452574","filename":"file2"},{"photo_id":"1331452569","filename":"file1"},{"photo_id":"1331452565","filename":"file0"},{"photo_id":"1331452578","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331452569":["hashtag1","hashtag2"]},{"1331452578":["hashtag1","hashtag2"]},{"1331452565":["hashtag1","hashtag2"]},{"1331452574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331452569, 1331452578, 1331452565, 1331452574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.757179737091064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:27:22.706131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/26/image_25012025_21_26_02_785041_0003.jpg', '/home/pi/Desktop/images/25012025/21/27/image_25012025_21_27_02_843327_0000.jpg', '/home/pi/Desktop/images/25012025/21/27/image_25012025_21_27_02_843327_0001.jpg', '/home/pi/Desktop/images/25012025/21/27/image_25012025_21_27_02_843327_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/26/image_25012025_21_26_02_785041_0003.jpg
/home/pi/Desktop/images/25012025/21/27/image_25012025_21_27_02_843327_0000.jpg
/home/pi/Desktop/images/25012025/21/27/image_25012025_21_27_02_843327_0001.jpg
/home/pi/Desktop/images/25012025/21/27/image_25012025_21_27_02_843327_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 [200]>
b'{"photo_ids":["1331452610","1331452606","1331452615","1331452602"],"photo_ids_order":["1331452602","1331452606","1331452610","1331452615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cda0b2a094bbc0dc87b741e2bb3859de.jpg","text":"TemporaryFile(/tmp/multipartBody3846672758159100731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836914406,"filename":"image_25012025_21_27_02_843327_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2d3901efea760e9b67869911a670f7dd.jpg","text":"TemporaryFile(/tmp/multipartBody1855951232676084300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836914406,"filename":"image_25012025_21_27_02_843327_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/32225eda2006f875ccafe51adc1ee93f.jpg","text":"TemporaryFile(/tmp/multipartBody4846687245946267027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836914406,"filename":"image_25012025_21_27_02_843327_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/08cd81195da696be61d42d0ea8adc134.jpg","text":"TemporaryFile(/tmp/multipartBody2300934474010461153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836914406,"filename":"image_25012025_21_26_02_785041_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331452610","file1":"1331452606","file0":"1331452602","file3":"1331452615"},"map_files_photo_id_array":[{"photo_id":"1331452610","filename":"file2"},{"photo_id":"1331452606","filename":"file1"},{"photo_id":"1331452602","filename":"file0"},{"photo_id":"1331452615","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331452610":["hashtag1","hashtag2"]},{"1331452606":["hashtag1","hashtag2"]},{"1331452615":["hashtag1","hashtag2"]},{"1331452602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331452610, 1331452606, 1331452615, 1331452602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.42326545715332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:28:21.862256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/27/image_25012025_21_27_02_843327_0003.jpg', '/home/pi/Desktop/images/25012025/21/28/image_25012025_21_28_03_026335_0000.jpg', '/home/pi/Desktop/images/25012025/21/28/image_25012025_21_28_03_026335_0001.jpg', '/home/pi/Desktop/images/25012025/21/28/image_25012025_21_28_03_026335_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/27/image_25012025_21_27_02_843327_0003.jpg
/home/pi/Desktop/images/25012025/21/28/image_25012025_21_28_03_026335_0000.jpg
/home/pi/Desktop/images/25012025/21/28/image_25012025_21_28_03_026335_0001.jpg
/home/pi/Desktop/images/25012025/21/28/image_25012025_21_28_03_026335_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 [200]>
b'{"photo_ids":["1331452693","1331452696","1331452684","1331452688"],"photo_ids_order":["1331452684","1331452688","1331452693","1331452696"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bb359268ca74ab05d1012af817277740.jpg","text":"TemporaryFile(/tmp/multipartBody7328973359213198427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836973311,"filename":"image_25012025_21_28_03_026335_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/86394c108318a5becac882a9513c55be.jpg","text":"TemporaryFile(/tmp/multipartBody419272661070675272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836973311,"filename":"image_25012025_21_28_03_026335_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9515ed8b0e17ac6a172dcca7ddc414c0.jpg","text":"TemporaryFile(/tmp/multipartBody5935879212161649802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836973311,"filename":"image_25012025_21_27_02_843327_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dd35884a8da0743c086649abd098109a.jpg","text":"TemporaryFile(/tmp/multipartBody6749302489673054212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737836973311,"filename":"image_25012025_21_28_03_026335_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331452693","file1":"1331452688","file0":"1331452684","file3":"1331452696"},"map_files_photo_id_array":[{"photo_id":"1331452693","filename":"file2"},{"photo_id":"1331452688","filename":"file1"},{"photo_id":"1331452684","filename":"file0"},{"photo_id":"1331452696","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331452693":["hashtag1","hashtag2"]},{"1331452696":["hashtag1","hashtag2"]},{"1331452684":["hashtag1","hashtag2"]},{"1331452688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331452693, 1331452696, 1331452684, 1331452688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.145567178726196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:29:21.993882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/28/image_25012025_21_28_03_026335_0003.jpg', '/home/pi/Desktop/images/25012025/21/29/image_25012025_21_29_02_243803_0000.jpg', '/home/pi/Desktop/images/25012025/21/29/image_25012025_21_29_02_243803_0001.jpg', '/home/pi/Desktop/images/25012025/21/29/image_25012025_21_29_02_243803_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/28/image_25012025_21_28_03_026335_0003.jpg
/home/pi/Desktop/images/25012025/21/29/image_25012025_21_29_02_243803_0000.jpg
/home/pi/Desktop/images/25012025/21/29/image_25012025_21_29_02_243803_0001.jpg
/home/pi/Desktop/images/25012025/21/29/image_25012025_21_29_02_243803_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":["1331452727","1331452729","1331452728","1331452724"],"photo_ids_order":["1331452724","1331452727","1331452728","1331452729"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b8835ebc5c2b817ef4e51cfb2eb65c2b.jpg","text":"TemporaryFile(/tmp/multipartBody3175281475379346353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837033469,"filename":"image_25012025_21_29_02_243803_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ae2c5b40716bd7a28e9330dcfdaea208.jpg","text":"TemporaryFile(/tmp/multipartBody8195757550507487231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837033469,"filename":"image_25012025_21_29_02_243803_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f843523b311bb6d957d6e6bfdb8f3363.jpg","text":"TemporaryFile(/tmp/multipartBody5870591331395327747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837033469,"filename":"image_25012025_21_29_02_243803_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1624682088566f3ecc8c7f9651901dae.jpg","text":"TemporaryFile(/tmp/multipartBody3835648692887506397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837033469,"filename":"image_25012025_21_28_03_026335_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331452728","file1":"1331452727","file0":"1331452724","file3":"1331452729"},"map_files_photo_id_array":[{"photo_id":"1331452728","filename":"file2"},{"photo_id":"1331452727","filename":"file1"},{"photo_id":"1331452724","filename":"file0"},{"photo_id":"1331452729","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331452727":["hashtag1","hashtag2"]},{"1331452729":["hashtag1","hashtag2"]},{"1331452728":["hashtag1","hashtag2"]},{"1331452724":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331452727, 1331452729, 1331452728, 1331452724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.38707733154297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 21:30:02.628530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/23/00/image_21012025_23_00_02_561322_0000.jpg', '/home/pi/Desktop/images/21012025/23/00/image_21012025_23_00_02_561322_0001.jpg', '/home/pi/Desktop/images/21012025/23/00/image_21012025_23_00_02_561322_0002.jpg', '/home/pi/Desktop/images/21012025/23/00/image_21012025_23_00_02_561322_0003.jpg', '/home/pi/Desktop/images/21012025/23/01/image_21012025_23_01_02_837526_0000.jpg', '/home/pi/Desktop/images/21012025/23/01/image_21012025_23_01_02_837526_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/23/00/image_21012025_23_00_02_561322_0000.jpg
/home/pi/Desktop/images/21012025/23/00/image_21012025_23_00_02_561322_0001.jpg
/home/pi/Desktop/images/21012025/23/00/image_21012025_23_00_02_561322_0002.jpg
/home/pi/Desktop/images/21012025/23/00/image_21012025_23_00_02_561322_0003.jpg
/home/pi/Desktop/images/21012025/23/01/image_21012025_23_01_02_837526_0000.jpg
/home/pi/Desktop/images/21012025/23/01/image_21012025_23_01_02_837526_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":["1331452931","1331452913","1331452918","1331452899","1331452938","1331452923"],"photo_ids_order":["1331452899","1331452913","1331452918","1331452923","1331452931","1331452938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8a064d5819fb3486c1cadb7539e7e109.jpg","text":"TemporaryFile(/tmp/multipartBody4060754081986603366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837079076,"filename":"image_21012025_23_01_02_837526_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/50ba19465a652ac9b69a04b2879b84a7.jpg","text":"TemporaryFile(/tmp/multipartBody7141461010313704277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837079076,"filename":"image_21012025_23_00_02_561322_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/07d428d3b7817204402fdef417557af9.jpg","text":"TemporaryFile(/tmp/multipartBody4943521438353404991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837079076,"filename":"image_21012025_23_00_02_561322_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/596c11a9c7199746a9b5266d9451d160.jpg","text":"TemporaryFile(/tmp/multipartBody2382593099256740872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837079076,"filename":"image_21012025_23_00_02_561322_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/65702a7db468461f9ad0521c85bfed38.jpg","text":"TemporaryFile(/tmp/multipartBody5211891174346904110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837079076,"filename":"image_21012025_23_01_02_837526_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/47a6253c7d5d951f0fbfb62a0d8c20ff.jpg","text":"TemporaryFile(/tmp/multipartBody838508830164581612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837079076,"filename":"image_21012025_23_00_02_561322_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331452918","file1":"1331452913","file0":"1331452899","file4":"1331452931","file5":"1331452938","file3":"1331452923"},"map_files_photo_id_array":[{"photo_id":"1331452938","filename":"file5"},{"photo_id":"1331452918","filename":"file2"},{"photo_id":"1331452931","filename":"file4"},{"photo_id":"1331452913","filename":"file1"},{"photo_id":"1331452899","filename":"file0"},{"photo_id":"1331452923","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331452931":["hashtag1","hashtag2"]},{"1331452913":["hashtag1","hashtag2"]},{"1331452918":["hashtag1","hashtag2"]},{"1331452899":["hashtag1","hashtag2"]},{"1331452938":["hashtag1","hashtag2"]},{"1331452923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331452931, 1331452913, 1331452918, 1331452899, 1331452938, 1331452923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.099689245224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 21:31:03.074328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/29/image_25012025_21_29_02_243803_0003.jpg', '/home/pi/Desktop/images/25012025/21/30/image_25012025_21_30_02_376942_0000.jpg', '/home/pi/Desktop/images/25012025/21/30/image_25012025_21_30_02_376942_0001.jpg', '/home/pi/Desktop/images/25012025/21/30/image_25012025_21_30_02_376942_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/29/image_25012025_21_29_02_243803_0003.jpg
/home/pi/Desktop/images/25012025/21/30/image_25012025_21_30_02_376942_0000.jpg
/home/pi/Desktop/images/25012025/21/30/image_25012025_21_30_02_376942_0001.jpg
/home/pi/Desktop/images/25012025/21/30/image_25012025_21_30_02_376942_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":["1331453000","1331453008","1331452998","1331453003"],"photo_ids_order":["1331452998","1331453000","1331453003","1331453008"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aaa6c117721cfae95b0245f200d4e313.jpg","text":"TemporaryFile(/tmp/multipartBody1085924129546971454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837134766,"filename":"image_25012025_21_30_02_376942_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/89c78268d86c4b5e873461bda494b4e5.jpg","text":"TemporaryFile(/tmp/multipartBody2420218869117956727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837134766,"filename":"image_25012025_21_30_02_376942_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6e597f0fbb6fd3667a17196733ed7783.jpg","text":"TemporaryFile(/tmp/multipartBody4839866593093603669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837134766,"filename":"image_25012025_21_29_02_243803_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/62f482b60caed4b5715ffb368208ef8b.jpg","text":"TemporaryFile(/tmp/multipartBody2156673695380916983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837134766,"filename":"image_25012025_21_30_02_376942_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331453003","file1":"1331453000","file0":"1331452998","file3":"1331453008"},"map_files_photo_id_array":[{"photo_id":"1331453003","filename":"file2"},{"photo_id":"1331453000","filename":"file1"},{"photo_id":"1331452998","filename":"file0"},{"photo_id":"1331453008","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331453000":["hashtag1","hashtag2"]},{"1331453008":["hashtag1","hashtag2"]},{"1331452998":["hashtag1","hashtag2"]},{"1331453003":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331453000, 1331453008, 1331452998, 1331453003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.306665897369385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 21:31:52.357871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/30/image_25012025_21_30_02_376942_0003.jpg', '/home/pi/Desktop/images/25012025/21/31/image_25012025_21_31_02_512253_0000.jpg', '/home/pi/Desktop/images/25012025/21/31/image_25012025_21_31_02_512253_0001.jpg', '/home/pi/Desktop/images/25012025/21/31/image_25012025_21_31_02_512253_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/30/image_25012025_21_30_02_376942_0003.jpg
/home/pi/Desktop/images/25012025/21/31/image_25012025_21_31_02_512253_0000.jpg
/home/pi/Desktop/images/25012025/21/31/image_25012025_21_31_02_512253_0001.jpg
/home/pi/Desktop/images/25012025/21/31/image_25012025_21_31_02_512253_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":["1331453035","1331453036","1331453030","1331453033"],"photo_ids_order":["1331453030","1331453033","1331453035","1331453036"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a1efaeffaead172a03233268ed1afc9f.jpg","text":"TemporaryFile(/tmp/multipartBody4493256462133662747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837184202,"filename":"image_25012025_21_31_02_512253_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/87980037efb16db2587c437217082c39.jpg","text":"TemporaryFile(/tmp/multipartBody8177335525323570614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837184202,"filename":"image_25012025_21_31_02_512253_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cbe03569b74429d7a740fbd06eb9465e.jpg","text":"TemporaryFile(/tmp/multipartBody8945153279094940737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837184202,"filename":"image_25012025_21_30_02_376942_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5cf9f0384c335b87366d5fb5ff9a2001.jpg","text":"TemporaryFile(/tmp/multipartBody7730160361616595282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837184202,"filename":"image_25012025_21_31_02_512253_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331453035","file1":"1331453033","file0":"1331453030","file3":"1331453036"},"map_files_photo_id_array":[{"photo_id":"1331453035","filename":"file2"},{"photo_id":"1331453033","filename":"file1"},{"photo_id":"1331453030","filename":"file0"},{"photo_id":"1331453036","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331453035":["hashtag1","hashtag2"]},{"1331453036":["hashtag1","hashtag2"]},{"1331453030":["hashtag1","hashtag2"]},{"1331453033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331453035, 1331453036, 1331453030, 1331453033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.105342864990234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 21:32:32.564235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/31/image_25012025_21_31_02_512253_0003.jpg', '/home/pi/Desktop/images/25012025/21/32/image_25012025_21_32_02_702726_0000.jpg', '/home/pi/Desktop/images/25012025/21/32/image_25012025_21_32_02_702726_0001.jpg', '/home/pi/Desktop/images/25012025/21/32/image_25012025_21_32_02_702726_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/31/image_25012025_21_31_02_512253_0003.jpg
/home/pi/Desktop/images/25012025/21/32/image_25012025_21_32_02_702726_0000.jpg
/home/pi/Desktop/images/25012025/21/32/image_25012025_21_32_02_702726_0001.jpg
/home/pi/Desktop/images/25012025/21/32/image_25012025_21_32_02_702726_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":["1331453059","1331453055","1331453058","1331453051"],"photo_ids_order":["1331453051","1331453055","1331453058","1331453059"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8e05d6ae285cc05e95b51c5f58c0d360.jpg","text":"TemporaryFile(/tmp/multipartBody4261767831155143492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837223933,"filename":"image_25012025_21_32_02_702726_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3de4cd35f2ab3bf6de94c083c26c9dfb.jpg","text":"TemporaryFile(/tmp/multipartBody8823753891954563538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837223933,"filename":"image_25012025_21_32_02_702726_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8e52abd36cd8f28707fd84437857bdab.jpg","text":"TemporaryFile(/tmp/multipartBody5400479634819586625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837223933,"filename":"image_25012025_21_32_02_702726_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f9d903e133c5026ee7ee9de115a104fb.jpg","text":"TemporaryFile(/tmp/multipartBody7225634625310646413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837223933,"filename":"image_25012025_21_31_02_512253_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331453058","file1":"1331453055","file0":"1331453051","file3":"1331453059"},"map_files_photo_id_array":[{"photo_id":"1331453058","filename":"file2"},{"photo_id":"1331453055","filename":"file1"},{"photo_id":"1331453051","filename":"file0"},{"photo_id":"1331453059","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331453059":["hashtag1","hashtag2"]},{"1331453055":["hashtag1","hashtag2"]},{"1331453058":["hashtag1","hashtag2"]},{"1331453051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331453059, 1331453055, 1331453058, 1331453051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.894662618637085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:33:22.771214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/32/image_25012025_21_32_02_702726_0003.jpg', '/home/pi/Desktop/images/25012025/21/33/image_25012025_21_33_02_891954_0000.jpg', '/home/pi/Desktop/images/25012025/21/33/image_25012025_21_33_02_891954_0001.jpg', '/home/pi/Desktop/images/25012025/21/33/image_25012025_21_33_02_891954_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/32/image_25012025_21_32_02_702726_0003.jpg
/home/pi/Desktop/images/25012025/21/33/image_25012025_21_33_02_891954_0000.jpg
/home/pi/Desktop/images/25012025/21/33/image_25012025_21_33_02_891954_0001.jpg
/home/pi/Desktop/images/25012025/21/33/image_25012025_21_33_02_891954_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 [200]>
b'{"photo_ids":["1331453586","1331453571","1331453558","1331453552"],"photo_ids_order":["1331453552","1331453558","1331453571","1331453586"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/48a105e3a35fbd2b2b3a5a8bf977a14b.jpg","text":"TemporaryFile(/tmp/multipartBody2538579652786259667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837274571,"filename":"image_25012025_21_33_02_891954_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/916edd463ebbea1525131bf69cc02ff2.jpg","text":"TemporaryFile(/tmp/multipartBody1472173870816178422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837274571,"filename":"image_25012025_21_33_02_891954_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/48051a59b2feef80957361f30af5e349.jpg","text":"TemporaryFile(/tmp/multipartBody3414008977718679301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837274571,"filename":"image_25012025_21_33_02_891954_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/507c8fc1328f5359b89938071ce4ea2d.jpg","text":"TemporaryFile(/tmp/multipartBody5334008818309736837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837274571,"filename":"image_25012025_21_32_02_702726_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331453571","file1":"1331453558","file0":"1331453552","file3":"1331453586"},"map_files_photo_id_array":[{"photo_id":"1331453571","filename":"file2"},{"photo_id":"1331453558","filename":"file1"},{"photo_id":"1331453552","filename":"file0"},{"photo_id":"1331453586","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331453586":["hashtag1","hashtag2"]},{"1331453571":["hashtag1","hashtag2"]},{"1331453558":["hashtag1","hashtag2"]},{"1331453552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331453586, 1331453571, 1331453558, 1331453552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.571892738342285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:34:21.996111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/33/image_25012025_21_33_02_891954_0003.jpg', '/home/pi/Desktop/images/25012025/21/34/image_25012025_21_34_03_102795_0000.jpg', '/home/pi/Desktop/images/25012025/21/34/image_25012025_21_34_03_102795_0001.jpg', '/home/pi/Desktop/images/25012025/21/34/image_25012025_21_34_03_102795_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/33/image_25012025_21_33_02_891954_0003.jpg
/home/pi/Desktop/images/25012025/21/34/image_25012025_21_34_03_102795_0000.jpg
/home/pi/Desktop/images/25012025/21/34/image_25012025_21_34_03_102795_0001.jpg
/home/pi/Desktop/images/25012025/21/34/image_25012025_21_34_03_102795_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 [200]>
b'{"photo_ids":["1331453868","1331453970","1331453844","1331453838"],"photo_ids_order":["1331453838","1331453844","1331453868","1331453970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a35a0e20e8a9129f456dd57e3b21fdde.jpg","text":"TemporaryFile(/tmp/multipartBody741068555628194543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837333538,"filename":"image_25012025_21_34_03_102795_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e8d84cabf12cc24021ac8fe7070f3ac9.jpg","text":"TemporaryFile(/tmp/multipartBody5128567472783434736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837333538,"filename":"image_25012025_21_34_03_102795_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/131ed30348ba0d938b46f5b2aaeb5c45.jpg","text":"TemporaryFile(/tmp/multipartBody2550909050701695173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837333538,"filename":"image_25012025_21_34_03_102795_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8360035bd0ac3173fe7dfa5206d99fbb.jpg","text":"TemporaryFile(/tmp/multipartBody1748766630240377004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837333538,"filename":"image_25012025_21_33_02_891954_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331453868","file1":"1331453844","file0":"1331453838","file3":"1331453970"},"map_files_photo_id_array":[{"photo_id":"1331453868","filename":"file2"},{"photo_id":"1331453844","filename":"file1"},{"photo_id":"1331453838","filename":"file0"},{"photo_id":"1331453970","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331453868":["hashtag1","hashtag2"]},{"1331453970":["hashtag1","hashtag2"]},{"1331453844":["hashtag1","hashtag2"]},{"1331453838":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331453868, 1331453970, 1331453844, 1331453838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.306920528411865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:35:22.193269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/34/image_25012025_21_34_03_102795_0003.jpg', '/home/pi/Desktop/images/25012025/21/35/image_25012025_21_35_02_305659_0000.jpg', '/home/pi/Desktop/images/25012025/21/35/image_25012025_21_35_02_305659_0001.jpg', '/home/pi/Desktop/images/25012025/21/35/image_25012025_21_35_02_305659_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/34/image_25012025_21_34_03_102795_0003.jpg
/home/pi/Desktop/images/25012025/21/35/image_25012025_21_35_02_305659_0000.jpg
/home/pi/Desktop/images/25012025/21/35/image_25012025_21_35_02_305659_0001.jpg
/home/pi/Desktop/images/25012025/21/35/image_25012025_21_35_02_305659_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 [200]>
b'{"photo_ids":["1331454106","1331454115","1331454111","1331454119"],"photo_ids_order":["1331454106","1331454111","1331454115","1331454119"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c8728c7a72f8c7f3aa3768680243f17a.jpg","text":"TemporaryFile(/tmp/multipartBody3877302357587497441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837393618,"filename":"image_25012025_21_34_03_102795_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c33b5352881ca6d3144102ca5c137f93.jpg","text":"TemporaryFile(/tmp/multipartBody3590174156567039571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837393618,"filename":"image_25012025_21_35_02_305659_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a102278941006bec0dff3385f63037bd.jpg","text":"TemporaryFile(/tmp/multipartBody2891099167865400657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837393618,"filename":"image_25012025_21_35_02_305659_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/481a94756e3aaabda1f36e66546acfeb.jpg","text":"TemporaryFile(/tmp/multipartBody6480055560922458658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837393618,"filename":"image_25012025_21_35_02_305659_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331454115","file1":"1331454111","file0":"1331454106","file3":"1331454119"},"map_files_photo_id_array":[{"photo_id":"1331454115","filename":"file2"},{"photo_id":"1331454111","filename":"file1"},{"photo_id":"1331454106","filename":"file0"},{"photo_id":"1331454119","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331454106":["hashtag1","hashtag2"]},{"1331454115":["hashtag1","hashtag2"]},{"1331454111":["hashtag1","hashtag2"]},{"1331454119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331454106, 1331454115, 1331454111, 1331454119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.7392578125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:36:22.313886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/35/image_25012025_21_35_02_305659_0003.jpg', '/home/pi/Desktop/images/25012025/21/36/image_25012025_21_36_02_474078_0000.jpg', '/home/pi/Desktop/images/25012025/21/36/image_25012025_21_36_02_474078_0001.jpg', '/home/pi/Desktop/images/25012025/21/36/image_25012025_21_36_02_474078_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/35/image_25012025_21_35_02_305659_0003.jpg
/home/pi/Desktop/images/25012025/21/36/image_25012025_21_36_02_474078_0000.jpg
/home/pi/Desktop/images/25012025/21/36/image_25012025_21_36_02_474078_0001.jpg
/home/pi/Desktop/images/25012025/21/36/image_25012025_21_36_02_474078_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: 10.943867921829224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 21:36:42.300365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/35/image_25012025_21_35_02_305659_0003.jpg', '/home/pi/Desktop/images/25012025/21/36/image_25012025_21_36_02_474078_0000.jpg', '/home/pi/Desktop/images/25012025/21/36/image_25012025_21_36_02_474078_0001.jpg', '/home/pi/Desktop/images/25012025/21/36/image_25012025_21_36_02_474078_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/35/image_25012025_21_35_02_305659_0003.jpg
/home/pi/Desktop/images/25012025/21/36/image_25012025_21_36_02_474078_0000.jpg
/home/pi/Desktop/images/25012025/21/36/image_25012025_21_36_02_474078_0001.jpg
/home/pi/Desktop/images/25012025/21/36/image_25012025_21_36_02_474078_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":["1331454220","1331454237","1331454176","1331454196"],"photo_ids_order":["1331454176","1331454196","1331454220","1331454237"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/be541870d9fc07a8e1e9cedfa8cd3994.jpg","text":"TemporaryFile(/tmp/multipartBody4820155038813610216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837473615,"filename":"image_25012025_21_36_02_474078_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/030060a02dfecc0a39857df34b192112.jpg","text":"TemporaryFile(/tmp/multipartBody8567042055043888753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837473615,"filename":"image_25012025_21_36_02_474078_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/19e43587315d548c3893f769d81759fc.jpg","text":"TemporaryFile(/tmp/multipartBody3514363970381523358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837473615,"filename":"image_25012025_21_35_02_305659_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f6233b97bdf8799c86c889bc4c1b478e.jpg","text":"TemporaryFile(/tmp/multipartBody279820155875545929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837473615,"filename":"image_25012025_21_36_02_474078_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331454220","file1":"1331454196","file0":"1331454176","file3":"1331454237"},"map_files_photo_id_array":[{"photo_id":"1331454220","filename":"file2"},{"photo_id":"1331454196","filename":"file1"},{"photo_id":"1331454176","filename":"file0"},{"photo_id":"1331454237","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331454220":["hashtag1","hashtag2"]},{"1331454237":["hashtag1","hashtag2"]},{"1331454176":["hashtag1","hashtag2"]},{"1331454196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331454220, 1331454237, 1331454176, 1331454196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.34227991104126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:37:22.458798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/36/image_25012025_21_36_02_474078_0003.jpg', '/home/pi/Desktop/images/25012025/21/37/image_25012025_21_37_02_624176_0000.jpg', '/home/pi/Desktop/images/25012025/21/37/image_25012025_21_37_02_624176_0001.jpg', '/home/pi/Desktop/images/25012025/21/37/image_25012025_21_37_02_624176_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/36/image_25012025_21_36_02_474078_0003.jpg
/home/pi/Desktop/images/25012025/21/37/image_25012025_21_37_02_624176_0000.jpg
/home/pi/Desktop/images/25012025/21/37/image_25012025_21_37_02_624176_0001.jpg
/home/pi/Desktop/images/25012025/21/37/image_25012025_21_37_02_624176_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 [200]>
b'{"photo_ids":["1331454258","1331454267","1331454263","1331454271"],"photo_ids_order":["1331454258","1331454263","1331454267","1331454271"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a68080dc0029bd98f16ced42c304f8ca.jpg","text":"TemporaryFile(/tmp/multipartBody5633310765009167181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837513907,"filename":"image_25012025_21_36_02_474078_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/643e8998b19278479bd192d0ec1b2312.jpg","text":"TemporaryFile(/tmp/multipartBody1186389111539256972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837513907,"filename":"image_25012025_21_37_02_624176_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/edcc3299655d1360e9e42d50a6faba00.jpg","text":"TemporaryFile(/tmp/multipartBody8339836321294754416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837513907,"filename":"image_25012025_21_37_02_624176_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3c3d94c1fcc4bc4e164625d552eb8475.jpg","text":"TemporaryFile(/tmp/multipartBody3766641401493379856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837513907,"filename":"image_25012025_21_37_02_624176_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331454267","file1":"1331454263","file0":"1331454258","file3":"1331454271"},"map_files_photo_id_array":[{"photo_id":"1331454267","filename":"file2"},{"photo_id":"1331454263","filename":"file1"},{"photo_id":"1331454258","filename":"file0"},{"photo_id":"1331454271","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331454258":["hashtag1","hashtag2"]},{"1331454267":["hashtag1","hashtag2"]},{"1331454263":["hashtag1","hashtag2"]},{"1331454271":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331454258, 1331454267, 1331454263, 1331454271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.72975254058838 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:38:22.677759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/37/image_25012025_21_37_02_624176_0003.jpg', '/home/pi/Desktop/images/25012025/21/38/image_25012025_21_38_02_816721_0000.jpg', '/home/pi/Desktop/images/25012025/21/38/image_25012025_21_38_02_816721_0001.jpg', '/home/pi/Desktop/images/25012025/21/38/image_25012025_21_38_02_816721_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/37/image_25012025_21_37_02_624176_0003.jpg
/home/pi/Desktop/images/25012025/21/38/image_25012025_21_38_02_816721_0000.jpg
/home/pi/Desktop/images/25012025/21/38/image_25012025_21_38_02_816721_0001.jpg
/home/pi/Desktop/images/25012025/21/38/image_25012025_21_38_02_816721_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 [200]>
b'{"photo_ids":["1331454312","1331454303","1331454308","1331454298"],"photo_ids_order":["1331454298","1331454303","1331454308","1331454312"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d218eb3f28bd94dbfd1900bc32165fc7.jpg","text":"TemporaryFile(/tmp/multipartBody3800976321670748464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837574261,"filename":"image_25012025_21_38_02_816721_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/97c6c50d7aebb88ffd1cf3be8d340769.jpg","text":"TemporaryFile(/tmp/multipartBody3387467684305165043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837574261,"filename":"image_25012025_21_38_02_816721_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6af392bbe554e74f27993d4d0f45666c.jpg","text":"TemporaryFile(/tmp/multipartBody7343504688390225599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837574261,"filename":"image_25012025_21_38_02_816721_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0f8b4f7eea31361c822495f0898c6293.jpg","text":"TemporaryFile(/tmp/multipartBody683198496182339043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837574261,"filename":"image_25012025_21_37_02_624176_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331454308","file1":"1331454303","file0":"1331454298","file3":"1331454312"},"map_files_photo_id_array":[{"photo_id":"1331454308","filename":"file2"},{"photo_id":"1331454303","filename":"file1"},{"photo_id":"1331454298","filename":"file0"},{"photo_id":"1331454312","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331454312":["hashtag1","hashtag2"]},{"1331454303":["hashtag1","hashtag2"]},{"1331454308":["hashtag1","hashtag2"]},{"1331454298":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331454312, 1331454303, 1331454308, 1331454298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.23990273475647 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:39:21.905856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/38/image_25012025_21_38_02_816721_0003.jpg', '/home/pi/Desktop/images/25012025/21/39/image_25012025_21_39_03_071536_0000.jpg', '/home/pi/Desktop/images/25012025/21/39/image_25012025_21_39_03_071536_0001.jpg', '/home/pi/Desktop/images/25012025/21/39/image_25012025_21_39_03_071536_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/38/image_25012025_21_38_02_816721_0003.jpg
/home/pi/Desktop/images/25012025/21/39/image_25012025_21_39_03_071536_0000.jpg
/home/pi/Desktop/images/25012025/21/39/image_25012025_21_39_03_071536_0001.jpg
/home/pi/Desktop/images/25012025/21/39/image_25012025_21_39_03_071536_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 [200]>
b'{"photo_ids":["1331454357","1331454341","1331454353","1331454346"],"photo_ids_order":["1331454341","1331454346","1331454353","1331454357"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/20c736d193d5f4b2d5f8c9ee6fe7dd7b.jpg","text":"TemporaryFile(/tmp/multipartBody5298796421721313270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837633565,"filename":"image_25012025_21_39_03_071536_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3382c538e8c86a0a11b3c4c8a528a79b.jpg","text":"TemporaryFile(/tmp/multipartBody2021619844521433409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837633565,"filename":"image_25012025_21_38_02_816721_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/74745e155ba2eb3dffb8b3c2921e5f52.jpg","text":"TemporaryFile(/tmp/multipartBody3407960737011938050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837633565,"filename":"image_25012025_21_39_03_071536_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/17d90666e2daa385bb7051931bb02b19.jpg","text":"TemporaryFile(/tmp/multipartBody898043627239214542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837633565,"filename":"image_25012025_21_39_03_071536_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331454353","file1":"1331454346","file0":"1331454341","file3":"1331454357"},"map_files_photo_id_array":[{"photo_id":"1331454353","filename":"file2"},{"photo_id":"1331454346","filename":"file1"},{"photo_id":"1331454341","filename":"file0"},{"photo_id":"1331454357","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331454357":["hashtag1","hashtag2"]},{"1331454341":["hashtag1","hashtag2"]},{"1331454353":["hashtag1","hashtag2"]},{"1331454346":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331454357, 1331454341, 1331454353, 1331454346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.75596046447754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:40:22.107576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/39/image_25012025_21_39_03_071536_0003.jpg', '/home/pi/Desktop/images/25012025/21/40/image_25012025_21_40_02_243399_0000.jpg', '/home/pi/Desktop/images/25012025/21/40/image_25012025_21_40_02_243399_0001.jpg', '/home/pi/Desktop/images/25012025/21/40/image_25012025_21_40_02_243399_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/39/image_25012025_21_39_03_071536_0003.jpg
/home/pi/Desktop/images/25012025/21/40/image_25012025_21_40_02_243399_0000.jpg
/home/pi/Desktop/images/25012025/21/40/image_25012025_21_40_02_243399_0001.jpg
/home/pi/Desktop/images/25012025/21/40/image_25012025_21_40_02_243399_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 [200]>
b'{"photo_ids":["1331454447","1331454458","1331454460","1331454454"],"photo_ids_order":["1331454447","1331454454","1331454458","1331454460"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0111839c27176027ac46822c9f56f5f0.jpg","text":"TemporaryFile(/tmp/multipartBody6924053768317124778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837693475,"filename":"image_25012025_21_39_03_071536_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a41a904bf9ba6efda4df68aa862995b1.jpg","text":"TemporaryFile(/tmp/multipartBody3394138999344204570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837693475,"filename":"image_25012025_21_40_02_243399_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b2ba2ab2c41d68e8418deb1c7b076292.jpg","text":"TemporaryFile(/tmp/multipartBody7085319290286971611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837693475,"filename":"image_25012025_21_40_02_243399_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6c04ddd6b6c02ee8f8c98252570e2ad3.jpg","text":"TemporaryFile(/tmp/multipartBody4386427310772936482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837693475,"filename":"image_25012025_21_40_02_243399_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331454458","file1":"1331454454","file0":"1331454447","file3":"1331454460"},"map_files_photo_id_array":[{"photo_id":"1331454458","filename":"file2"},{"photo_id":"1331454454","filename":"file1"},{"photo_id":"1331454447","filename":"file0"},{"photo_id":"1331454460","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331454447":["hashtag1","hashtag2"]},{"1331454458":["hashtag1","hashtag2"]},{"1331454460":["hashtag1","hashtag2"]},{"1331454454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331454447, 1331454458, 1331454460, 1331454454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.28279519081116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:41:22.234609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/40/image_25012025_21_40_02_243399_0003.jpg', '/home/pi/Desktop/images/25012025/21/41/image_25012025_21_41_02_405760_0000.jpg', '/home/pi/Desktop/images/25012025/21/41/image_25012025_21_41_02_405760_0001.jpg', '/home/pi/Desktop/images/25012025/21/41/image_25012025_21_41_02_405760_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/40/image_25012025_21_40_02_243399_0003.jpg
/home/pi/Desktop/images/25012025/21/41/image_25012025_21_41_02_405760_0000.jpg
/home/pi/Desktop/images/25012025/21/41/image_25012025_21_41_02_405760_0001.jpg
/home/pi/Desktop/images/25012025/21/41/image_25012025_21_41_02_405760_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 [200]>
b'{"photo_ids":["1331454492","1331454485","1331454504","1331454499"],"photo_ids_order":["1331454485","1331454492","1331454499","1331454504"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1c3fd7cbc9a164421c46c876efabf360.jpg","text":"TemporaryFile(/tmp/multipartBody6957500848259820692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837753558,"filename":"image_25012025_21_41_02_405760_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/33c596b4849c99a6191d759b3bf08802.jpg","text":"TemporaryFile(/tmp/multipartBody2523482222788908688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837753558,"filename":"image_25012025_21_40_02_243399_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/87620f837b2c7f7f9a052a530c2e5a4b.jpg","text":"TemporaryFile(/tmp/multipartBody6211294909832569069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837753558,"filename":"image_25012025_21_41_02_405760_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9f1a5147f64b1b2a9ca077442d59b466.jpg","text":"TemporaryFile(/tmp/multipartBody4176933327895037317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837753558,"filename":"image_25012025_21_41_02_405760_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331454499","file1":"1331454492","file0":"1331454485","file3":"1331454504"},"map_files_photo_id_array":[{"photo_id":"1331454499","filename":"file2"},{"photo_id":"1331454492","filename":"file1"},{"photo_id":"1331454485","filename":"file0"},{"photo_id":"1331454504","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331454492":["hashtag1","hashtag2"]},{"1331454485":["hashtag1","hashtag2"]},{"1331454504":["hashtag1","hashtag2"]},{"1331454499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331454492, 1331454485, 1331454504, 1331454499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.45914649963379 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:42:22.433018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/41/image_25012025_21_41_02_405760_0003.jpg', '/home/pi/Desktop/images/25012025/21/42/image_25012025_21_42_02_608633_0000.jpg', '/home/pi/Desktop/images/25012025/21/42/image_25012025_21_42_02_608633_0001.jpg', '/home/pi/Desktop/images/25012025/21/42/image_25012025_21_42_02_608633_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/41/image_25012025_21_41_02_405760_0003.jpg
/home/pi/Desktop/images/25012025/21/42/image_25012025_21_42_02_608633_0000.jpg
/home/pi/Desktop/images/25012025/21/42/image_25012025_21_42_02_608633_0001.jpg
/home/pi/Desktop/images/25012025/21/42/image_25012025_21_42_02_608633_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 [200]>
b'{"photo_ids":["1331454540","1331454536","1331454545","1331454532"],"photo_ids_order":["1331454532","1331454536","1331454540","1331454545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c36e1320f9eeda0680c3e801358c5640.jpg","text":"TemporaryFile(/tmp/multipartBody1611592808144004176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837814155,"filename":"image_25012025_21_42_02_608633_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f94ba5dffff7bcc1dd1e02c3057add57.jpg","text":"TemporaryFile(/tmp/multipartBody6270295198583088790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837814155,"filename":"image_25012025_21_42_02_608633_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/52875db910302cfc215bd48b176a3f9b.jpg","text":"TemporaryFile(/tmp/multipartBody609620018227453530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837814155,"filename":"image_25012025_21_42_02_608633_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c116d2fe9bdd79ee7d26e7449d279751.jpg","text":"TemporaryFile(/tmp/multipartBody1974837517489311559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837814155,"filename":"image_25012025_21_41_02_405760_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331454540","file1":"1331454536","file0":"1331454532","file3":"1331454545"},"map_files_photo_id_array":[{"photo_id":"1331454540","filename":"file2"},{"photo_id":"1331454536","filename":"file1"},{"photo_id":"1331454532","filename":"file0"},{"photo_id":"1331454545","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331454540":["hashtag1","hashtag2"]},{"1331454536":["hashtag1","hashtag2"]},{"1331454545":["hashtag1","hashtag2"]},{"1331454532":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331454540, 1331454536, 1331454545, 1331454532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.62114667892456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:43:22.607718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/42/image_25012025_21_42_02_608633_0003.jpg', '/home/pi/Desktop/images/25012025/21/43/image_25012025_21_43_02_764347_0000.jpg', '/home/pi/Desktop/images/25012025/21/43/image_25012025_21_43_02_764347_0001.jpg', '/home/pi/Desktop/images/25012025/21/43/image_25012025_21_43_02_764347_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/42/image_25012025_21_42_02_608633_0003.jpg
/home/pi/Desktop/images/25012025/21/43/image_25012025_21_43_02_764347_0000.jpg
/home/pi/Desktop/images/25012025/21/43/image_25012025_21_43_02_764347_0001.jpg
/home/pi/Desktop/images/25012025/21/43/image_25012025_21_43_02_764347_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":["1331454596","1331454603","1331454589","1331454608"],"photo_ids_order":["1331454589","1331454596","1331454603","1331454608"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b612e6082f06d86c3332d024d7f6e8bf.jpg","text":"TemporaryFile(/tmp/multipartBody8669637245814936104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837873830,"filename":"image_25012025_21_43_02_764347_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e5b50fa0202aa6edd1598b6dd97fdee1.jpg","text":"TemporaryFile(/tmp/multipartBody6208691582556852318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837873830,"filename":"image_25012025_21_43_02_764347_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bbd7e80f3255120bc21d99fe3c4efb25.jpg","text":"TemporaryFile(/tmp/multipartBody1171466424153927542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837873830,"filename":"image_25012025_21_42_02_608633_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dfe50d9daa09740a0de205be74d1d06c.jpg","text":"TemporaryFile(/tmp/multipartBody4920263468044007462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837873830,"filename":"image_25012025_21_43_02_764347_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331454603","file1":"1331454596","file0":"1331454589","file3":"1331454608"},"map_files_photo_id_array":[{"photo_id":"1331454603","filename":"file2"},{"photo_id":"1331454596","filename":"file1"},{"photo_id":"1331454589","filename":"file0"},{"photo_id":"1331454608","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331454596":["hashtag1","hashtag2"]},{"1331454603":["hashtag1","hashtag2"]},{"1331454589":["hashtag1","hashtag2"]},{"1331454608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331454596, 1331454603, 1331454589, 1331454608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.12966465950012 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 21:44:03.159696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/23/01/image_21012025_23_01_02_837526_0002.jpg', '/home/pi/Desktop/images/21012025/23/01/image_21012025_23_01_02_837526_0003.jpg', '/home/pi/Desktop/images/21012025/23/02/image_21012025_23_02_02_952269_0000.jpg', '/home/pi/Desktop/images/21012025/23/02/image_21012025_23_02_02_952269_0001.jpg', '/home/pi/Desktop/images/21012025/23/02/image_21012025_23_02_02_952269_0002.jpg', '/home/pi/Desktop/images/21012025/23/02/image_21012025_23_02_02_952269_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/23/01/image_21012025_23_01_02_837526_0002.jpg
/home/pi/Desktop/images/21012025/23/01/image_21012025_23_01_02_837526_0003.jpg
/home/pi/Desktop/images/21012025/23/02/image_21012025_23_02_02_952269_0000.jpg
/home/pi/Desktop/images/21012025/23/02/image_21012025_23_02_02_952269_0001.jpg
/home/pi/Desktop/images/21012025/23/02/image_21012025_23_02_02_952269_0002.jpg
/home/pi/Desktop/images/21012025/23/02/image_21012025_23_02_02_952269_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 [200]>
b'{"photo_ids":["1331455191","1331455173","1331455187","1331455196","1331455181","1331455177"],"photo_ids_order":["1331455173","1331455177","1331455181","1331455187","1331455191","1331455196"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d2db82e79a00b7138badf0ed1df9d452.jpg","text":"TemporaryFile(/tmp/multipartBody7073396859283727645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837920432,"filename":"image_21012025_23_02_02_952269_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/932f48b6563fd8414adce01103c0a9bd.jpg","text":"TemporaryFile(/tmp/multipartBody1637218235209893308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837920432,"filename":"image_21012025_23_01_02_837526_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1854cf05a4a9f522734406583ea6b8e3.jpg","text":"TemporaryFile(/tmp/multipartBody7240802550514854971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837920432,"filename":"image_21012025_23_02_02_952269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6be484689fe89a5a093c125183bea318.jpg","text":"TemporaryFile(/tmp/multipartBody8212737657587877741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837920432,"filename":"image_21012025_23_02_02_952269_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a7a05dea1b77c5965931ee1cf04f28df.jpg","text":"TemporaryFile(/tmp/multipartBody8320692476350360427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837920432,"filename":"image_21012025_23_02_02_952269_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3754cb29d26511cef8bc260e724d8392.jpg","text":"TemporaryFile(/tmp/multipartBody9020344301792424350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837920432,"filename":"image_21012025_23_01_02_837526_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331455181","file1":"1331455177","file0":"1331455173","file4":"1331455191","file5":"1331455196","file3":"1331455187"},"map_files_photo_id_array":[{"photo_id":"1331455196","filename":"file5"},{"photo_id":"1331455181","filename":"file2"},{"photo_id":"1331455191","filename":"file4"},{"photo_id":"1331455177","filename":"file1"},{"photo_id":"1331455173","filename":"file0"},{"photo_id":"1331455187","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331455191":["hashtag1","hashtag2"]},{"1331455173":["hashtag1","hashtag2"]},{"1331455187":["hashtag1","hashtag2"]},{"1331455196":["hashtag1","hashtag2"]},{"1331455181":["hashtag1","hashtag2"]},{"1331455177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331455191, 1331455173, 1331455187, 1331455196, 1331455181, 1331455177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.63992691040039 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 21:45:02.617947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/43/image_25012025_21_43_02_764347_0003.jpg', '/home/pi/Desktop/images/25012025/21/44/image_25012025_21_44_02_969618_0000.jpg', '/home/pi/Desktop/images/25012025/21/44/image_25012025_21_44_02_969618_0001.jpg', '/home/pi/Desktop/images/25012025/21/44/image_25012025_21_44_02_969618_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/43/image_25012025_21_43_02_764347_0003.jpg
/home/pi/Desktop/images/25012025/21/44/image_25012025_21_44_02_969618_0000.jpg
/home/pi/Desktop/images/25012025/21/44/image_25012025_21_44_02_969618_0001.jpg
/home/pi/Desktop/images/25012025/21/44/image_25012025_21_44_02_969618_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":["1331455530","1331455469","1331455430","1331455393"],"photo_ids_order":["1331455393","1331455430","1331455469","1331455530"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/86cbf13942cd7cede20d7ed599a4d159.jpg","text":"TemporaryFile(/tmp/multipartBody6699183505363587281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837974149,"filename":"image_25012025_21_44_02_969618_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/37a70a67af962c014549918c8a90fcbb.jpg","text":"TemporaryFile(/tmp/multipartBody6853310177379941170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837974149,"filename":"image_25012025_21_44_02_969618_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bc7f64fcd8f1ada32edc6c7f677ca18f.jpg","text":"TemporaryFile(/tmp/multipartBody2630251443023026454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837974149,"filename":"image_25012025_21_44_02_969618_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/944ca5b24046dadfed2eb43104831aec.jpg","text":"TemporaryFile(/tmp/multipartBody7018256976952505430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737837974149,"filename":"image_25012025_21_43_02_764347_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331455469","file1":"1331455430","file0":"1331455393","file3":"1331455530"},"map_files_photo_id_array":[{"photo_id":"1331455469","filename":"file2"},{"photo_id":"1331455430","filename":"file1"},{"photo_id":"1331455393","filename":"file0"},{"photo_id":"1331455530","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331455530":["hashtag1","hashtag2"]},{"1331455469":["hashtag1","hashtag2"]},{"1331455430":["hashtag1","hashtag2"]},{"1331455393":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331455530, 1331455469, 1331455430, 1331455393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.43326210975647 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 21:45:51.887004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/44/image_25012025_21_44_02_969618_0003.jpg', '/home/pi/Desktop/images/25012025/21/45/image_25012025_21_45_03_089267_0000.jpg', '/home/pi/Desktop/images/25012025/21/45/image_25012025_21_45_03_089267_0001.jpg', '/home/pi/Desktop/images/25012025/21/45/image_25012025_21_45_03_089267_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/44/image_25012025_21_44_02_969618_0003.jpg
/home/pi/Desktop/images/25012025/21/45/image_25012025_21_45_03_089267_0000.jpg
/home/pi/Desktop/images/25012025/21/45/image_25012025_21_45_03_089267_0001.jpg
/home/pi/Desktop/images/25012025/21/45/image_25012025_21_45_03_089267_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":["1331456211","1331456106","1331456007","1331456203"],"photo_ids_order":["1331456007","1331456106","1331456203","1331456211"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d086b8344295f67e8c7374a92210602b.jpg","text":"TemporaryFile(/tmp/multipartBody6376282519302516763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838023250,"filename":"image_25012025_21_45_03_089267_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/91cd402b153756040982f7459935bac1.jpg","text":"TemporaryFile(/tmp/multipartBody4777346433226817050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838023250,"filename":"image_25012025_21_45_03_089267_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/18ad8bee0850f2c5ec3cafe7b3ca96ab.jpg","text":"TemporaryFile(/tmp/multipartBody5407110597129515179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838023250,"filename":"image_25012025_21_44_02_969618_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/67232b6b3e0813b7ac8a7c9e6c6b921b.jpg","text":"TemporaryFile(/tmp/multipartBody4011051276878411971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838023250,"filename":"image_25012025_21_45_03_089267_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331456203","file1":"1331456106","file0":"1331456007","file3":"1331456211"},"map_files_photo_id_array":[{"photo_id":"1331456203","filename":"file2"},{"photo_id":"1331456106","filename":"file1"},{"photo_id":"1331456007","filename":"file0"},{"photo_id":"1331456211","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331456211":["hashtag1","hashtag2"]},{"1331456106":["hashtag1","hashtag2"]},{"1331456007":["hashtag1","hashtag2"]},{"1331456203":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331456211, 1331456106, 1331456007, 1331456203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.662198305130005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 21:46:32.107827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/45/image_25012025_21_45_03_089267_0003.jpg', '/home/pi/Desktop/images/25012025/21/46/image_25012025_21_46_02_316430_0000.jpg', '/home/pi/Desktop/images/25012025/21/46/image_25012025_21_46_02_316430_0001.jpg', '/home/pi/Desktop/images/25012025/21/46/image_25012025_21_46_02_316430_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/45/image_25012025_21_45_03_089267_0003.jpg
/home/pi/Desktop/images/25012025/21/46/image_25012025_21_46_02_316430_0000.jpg
/home/pi/Desktop/images/25012025/21/46/image_25012025_21_46_02_316430_0001.jpg
/home/pi/Desktop/images/25012025/21/46/image_25012025_21_46_02_316430_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":["1331456343","1331456339","1331456333","1331456347"],"photo_ids_order":["1331456333","1331456339","1331456343","1331456347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/83b6a29bf6334cf9a05eb756b77491a1.jpg","text":"TemporaryFile(/tmp/multipartBody1655578211599001195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838063680,"filename":"image_25012025_21_46_02_316430_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0195de32974a45e726f64153d646b338.jpg","text":"TemporaryFile(/tmp/multipartBody5042587811155345205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838063680,"filename":"image_25012025_21_46_02_316430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7ac2d1619431fb2873f58ad85b513934.jpg","text":"TemporaryFile(/tmp/multipartBody5472011257178343018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838063680,"filename":"image_25012025_21_45_03_089267_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2ae6d805dc83c2301628b6fe472ea770.jpg","text":"TemporaryFile(/tmp/multipartBody2186048804381199773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838063680,"filename":"image_25012025_21_46_02_316430_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331456343","file1":"1331456339","file0":"1331456333","file3":"1331456347"},"map_files_photo_id_array":[{"photo_id":"1331456343","filename":"file2"},{"photo_id":"1331456339","filename":"file1"},{"photo_id":"1331456333","filename":"file0"},{"photo_id":"1331456347","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331456343":["hashtag1","hashtag2"]},{"1331456339":["hashtag1","hashtag2"]},{"1331456333":["hashtag1","hashtag2"]},{"1331456347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331456343, 1331456339, 1331456333, 1331456347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.45543098449707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:47:22.275925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/46/image_25012025_21_46_02_316430_0003.jpg', '/home/pi/Desktop/images/25012025/21/47/image_25012025_21_47_02_470639_0000.jpg', '/home/pi/Desktop/images/25012025/21/47/image_25012025_21_47_02_470639_0001.jpg', '/home/pi/Desktop/images/25012025/21/47/image_25012025_21_47_02_470639_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/46/image_25012025_21_46_02_316430_0003.jpg
/home/pi/Desktop/images/25012025/21/47/image_25012025_21_47_02_470639_0000.jpg
/home/pi/Desktop/images/25012025/21/47/image_25012025_21_47_02_470639_0001.jpg
/home/pi/Desktop/images/25012025/21/47/image_25012025_21_47_02_470639_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 [200]>
b'{"photo_ids":["1331456381","1331456372","1331456366","1331456377"],"photo_ids_order":["1331456366","1331456372","1331456377","1331456381"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fa72562ed471527182e691887fd0aeeb.jpg","text":"TemporaryFile(/tmp/multipartBody3427947807065089635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838113479,"filename":"image_25012025_21_47_02_470639_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/71afb1b4edb887c1b69db51ed4baee6f.jpg","text":"TemporaryFile(/tmp/multipartBody4615823392193356370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838113479,"filename":"image_25012025_21_47_02_470639_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d3d0be2c13240a25c67546dadd5e3261.jpg","text":"TemporaryFile(/tmp/multipartBody4469799197555262796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838113479,"filename":"image_25012025_21_46_02_316430_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/50a0fcfefbbae87a8692a31cbcb1c89f.jpg","text":"TemporaryFile(/tmp/multipartBody3277527126840655982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838113479,"filename":"image_25012025_21_47_02_470639_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331456377","file1":"1331456372","file0":"1331456366","file3":"1331456381"},"map_files_photo_id_array":[{"photo_id":"1331456377","filename":"file2"},{"photo_id":"1331456372","filename":"file1"},{"photo_id":"1331456366","filename":"file0"},{"photo_id":"1331456381","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331456381":["hashtag1","hashtag2"]},{"1331456372":["hashtag1","hashtag2"]},{"1331456366":["hashtag1","hashtag2"]},{"1331456377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331456381, 1331456372, 1331456366, 1331456377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.942060708999634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:48:22.575192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/47/image_25012025_21_47_02_470639_0003.jpg', '/home/pi/Desktop/images/25012025/21/48/image_25012025_21_48_02_688652_0000.jpg', '/home/pi/Desktop/images/25012025/21/48/image_25012025_21_48_02_688652_0001.jpg', '/home/pi/Desktop/images/25012025/21/48/image_25012025_21_48_02_688652_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/47/image_25012025_21_47_02_470639_0003.jpg
/home/pi/Desktop/images/25012025/21/48/image_25012025_21_48_02_688652_0000.jpg
/home/pi/Desktop/images/25012025/21/48/image_25012025_21_48_02_688652_0001.jpg
/home/pi/Desktop/images/25012025/21/48/image_25012025_21_48_02_688652_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":["1331456409","1331456418","1331456414","1331456422"],"photo_ids_order":["1331456409","1331456414","1331456418","1331456422"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5829a8c39b2d66e79e695f0587ef6120.jpg","text":"TemporaryFile(/tmp/multipartBody4132733359999023753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838173795,"filename":"image_25012025_21_47_02_470639_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6afafa41ac2900099b12f6f3d50e981b.jpg","text":"TemporaryFile(/tmp/multipartBody8620299442617125631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838173795,"filename":"image_25012025_21_48_02_688652_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/187e74f19083967af3fdffaf8ad99780.jpg","text":"TemporaryFile(/tmp/multipartBody3055914563252207876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838173795,"filename":"image_25012025_21_48_02_688652_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e52793db67f311d81f6622a45aecf2d4.jpg","text":"TemporaryFile(/tmp/multipartBody5814453496085895929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838173795,"filename":"image_25012025_21_48_02_688652_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331456418","file1":"1331456414","file0":"1331456409","file3":"1331456422"},"map_files_photo_id_array":[{"photo_id":"1331456418","filename":"file2"},{"photo_id":"1331456414","filename":"file1"},{"photo_id":"1331456409","filename":"file0"},{"photo_id":"1331456422","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331456409":["hashtag1","hashtag2"]},{"1331456418":["hashtag1","hashtag2"]},{"1331456414":["hashtag1","hashtag2"]},{"1331456422":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331456409, 1331456418, 1331456414, 1331456422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.81872081756592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 21:49:03.311733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/23/03/image_21012025_23_03_02_125350_0000.jpg', '/home/pi/Desktop/images/21012025/23/03/image_21012025_23_03_02_125350_0001.jpg', '/home/pi/Desktop/images/21012025/23/03/image_21012025_23_03_02_125350_0002.jpg', '/home/pi/Desktop/images/21012025/23/03/image_21012025_23_03_02_125350_0003.jpg', '/home/pi/Desktop/images/21012025/23/04/image_21012025_23_04_02_314692_0000.jpg', '/home/pi/Desktop/images/21012025/23/04/image_21012025_23_04_02_314692_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/23/03/image_21012025_23_03_02_125350_0000.jpg
/home/pi/Desktop/images/21012025/23/03/image_21012025_23_03_02_125350_0001.jpg
/home/pi/Desktop/images/21012025/23/03/image_21012025_23_03_02_125350_0002.jpg
/home/pi/Desktop/images/21012025/23/03/image_21012025_23_03_02_125350_0003.jpg
/home/pi/Desktop/images/21012025/23/04/image_21012025_23_04_02_314692_0000.jpg
/home/pi/Desktop/images/21012025/23/04/image_21012025_23_04_02_314692_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":["1331456442","1331456483","1331456456","1331456453","1331456478","1331456487"],"photo_ids_order":["1331456442","1331456453","1331456456","1331456478","1331456483","1331456487"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/91f58629c770ac94e68831de0007d540.jpg","text":"TemporaryFile(/tmp/multipartBody2114870875459756028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838220121,"filename":"image_21012025_23_03_02_125350_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/85e59f5f48e4742d333e0eb88776756c.jpg","text":"TemporaryFile(/tmp/multipartBody5198414765790663992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838220121,"filename":"image_21012025_23_04_02_314692_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e111028449e28a4091fe4cdad7202dcf.jpg","text":"TemporaryFile(/tmp/multipartBody3214765275428968011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838220121,"filename":"image_21012025_23_03_02_125350_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/be9d64876f88cc4a4223465ba915a327.jpg","text":"TemporaryFile(/tmp/multipartBody7622270629221530328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838220121,"filename":"image_21012025_23_03_02_125350_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/55f5eadf0b1f852ca7ccd449a62157eb.jpg","text":"TemporaryFile(/tmp/multipartBody1934604923487952208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838220121,"filename":"image_21012025_23_03_02_125350_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b447f4fbf08dfadf18b9b1558f178956.jpg","text":"TemporaryFile(/tmp/multipartBody8054357263222725934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838220121,"filename":"image_21012025_23_04_02_314692_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331456456","file1":"1331456453","file0":"1331456442","file4":"1331456483","file5":"1331456487","file3":"1331456478"},"map_files_photo_id_array":[{"photo_id":"1331456487","filename":"file5"},{"photo_id":"1331456456","filename":"file2"},{"photo_id":"1331456483","filename":"file4"},{"photo_id":"1331456453","filename":"file1"},{"photo_id":"1331456442","filename":"file0"},{"photo_id":"1331456478","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331456442":["hashtag1","hashtag2"]},{"1331456483":["hashtag1","hashtag2"]},{"1331456456":["hashtag1","hashtag2"]},{"1331456453":["hashtag1","hashtag2"]},{"1331456478":["hashtag1","hashtag2"]},{"1331456487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331456442, 1331456483, 1331456456, 1331456453, 1331456478, 1331456487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.57542562484741 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 21:50:02.489173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/48/image_25012025_21_48_02_688652_0003.jpg', '/home/pi/Desktop/images/25012025/21/49/image_25012025_21_49_02_940403_0000.jpg', '/home/pi/Desktop/images/25012025/21/49/image_25012025_21_49_02_940403_0001.jpg', '/home/pi/Desktop/images/25012025/21/49/image_25012025_21_49_02_940403_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/48/image_25012025_21_48_02_688652_0003.jpg
/home/pi/Desktop/images/25012025/21/49/image_25012025_21_49_02_940403_0000.jpg
/home/pi/Desktop/images/25012025/21/49/image_25012025_21_49_02_940403_0001.jpg
/home/pi/Desktop/images/25012025/21/49/image_25012025_21_49_02_940403_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":["1331456525","1331456513","1331456533","1331456530"],"photo_ids_order":["1331456513","1331456525","1331456530","1331456533"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d3d1e4dd18ec3c80558c927e0a376597.jpg","text":"TemporaryFile(/tmp/multipartBody2891317929249533724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838273957,"filename":"image_25012025_21_49_02_940403_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b4038584e18ee044a7a0101826b74832.jpg","text":"TemporaryFile(/tmp/multipartBody1926105459116893531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838273957,"filename":"image_25012025_21_48_02_688652_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7fb6355129296154decde68ba8dd2d84.jpg","text":"TemporaryFile(/tmp/multipartBody1047533918285208096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838273957,"filename":"image_25012025_21_49_02_940403_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bad475b7c14121cbbf38a3d1cf4f7690.jpg","text":"TemporaryFile(/tmp/multipartBody6528505593600320252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838273957,"filename":"image_25012025_21_49_02_940403_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331456530","file1":"1331456525","file0":"1331456513","file3":"1331456533"},"map_files_photo_id_array":[{"photo_id":"1331456530","filename":"file2"},{"photo_id":"1331456525","filename":"file1"},{"photo_id":"1331456513","filename":"file0"},{"photo_id":"1331456533","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331456525":["hashtag1","hashtag2"]},{"1331456513":["hashtag1","hashtag2"]},{"1331456533":["hashtag1","hashtag2"]},{"1331456530":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331456525, 1331456513, 1331456533, 1331456530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.7820041179657 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-25 21:50:51.922558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/49/image_25012025_21_49_02_940403_0003.jpg', '/home/pi/Desktop/images/25012025/21/50/image_25012025_21_50_03_034481_0000.jpg', '/home/pi/Desktop/images/25012025/21/50/image_25012025_21_50_03_034481_0001.jpg', '/home/pi/Desktop/images/25012025/21/50/image_25012025_21_50_03_034481_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/49/image_25012025_21_49_02_940403_0003.jpg
/home/pi/Desktop/images/25012025/21/50/image_25012025_21_50_03_034481_0000.jpg
/home/pi/Desktop/images/25012025/21/50/image_25012025_21_50_03_034481_0001.jpg
/home/pi/Desktop/images/25012025/21/50/image_25012025_21_50_03_034481_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":["1331456733","1331456729","1331456572","1331456653"],"photo_ids_order":["1331456572","1331456653","1331456729","1331456733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5d9498f068d8fb00d3bcc4fcfdcd5a96.jpg","text":"TemporaryFile(/tmp/multipartBody8486195297686969207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838323098,"filename":"image_25012025_21_50_03_034481_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c53a530243cb695dd1cafefbe4849080.jpg","text":"TemporaryFile(/tmp/multipartBody8334833228092802002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838323098,"filename":"image_25012025_21_50_03_034481_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8ef6c2c21ec43db042cb20cd33a21aa1.jpg","text":"TemporaryFile(/tmp/multipartBody6285333489879740361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838323098,"filename":"image_25012025_21_49_02_940403_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/794f451b9690da275ccae2afa3d1763e.jpg","text":"TemporaryFile(/tmp/multipartBody4824337847461258017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838323098,"filename":"image_25012025_21_50_03_034481_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331456729","file1":"1331456653","file0":"1331456572","file3":"1331456733"},"map_files_photo_id_array":[{"photo_id":"1331456729","filename":"file2"},{"photo_id":"1331456653","filename":"file1"},{"photo_id":"1331456572","filename":"file0"},{"photo_id":"1331456733","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331456733":["hashtag1","hashtag2"]},{"1331456729":["hashtag1","hashtag2"]},{"1331456572":["hashtag1","hashtag2"]},{"1331456653":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331456733, 1331456729, 1331456572, 1331456653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.59885358810425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 21:51:42.083852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/50/image_25012025_21_50_03_034481_0003.jpg', '/home/pi/Desktop/images/25012025/21/51/image_25012025_21_51_02_378506_0000.jpg', '/home/pi/Desktop/images/25012025/21/51/image_25012025_21_51_02_378506_0001.jpg', '/home/pi/Desktop/images/25012025/21/51/image_25012025_21_51_02_378506_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/50/image_25012025_21_50_03_034481_0003.jpg
/home/pi/Desktop/images/25012025/21/51/image_25012025_21_51_02_378506_0000.jpg
/home/pi/Desktop/images/25012025/21/51/image_25012025_21_51_02_378506_0001.jpg
/home/pi/Desktop/images/25012025/21/51/image_25012025_21_51_02_378506_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":["1331456893","1331456884","1331456886","1331456889"],"photo_ids_order":["1331456884","1331456886","1331456889","1331456893"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6f00df6d5de4fb67ca43f6d4ef8f061e.jpg","text":"TemporaryFile(/tmp/multipartBody3439445168377763530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838373612,"filename":"image_25012025_21_51_02_378506_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5fcba010e4c6629be3195e079adfe7d0.jpg","text":"TemporaryFile(/tmp/multipartBody978472041838445430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838373612,"filename":"image_25012025_21_50_03_034481_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7fe424aed4832d03934fba67d6c67c90.jpg","text":"TemporaryFile(/tmp/multipartBody4268510925566986989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838373612,"filename":"image_25012025_21_51_02_378506_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aea2729c4fd279631e8432ccf35885b3.jpg","text":"TemporaryFile(/tmp/multipartBody8174896657328577018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838373612,"filename":"image_25012025_21_51_02_378506_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331456889","file1":"1331456886","file0":"1331456884","file3":"1331456893"},"map_files_photo_id_array":[{"photo_id":"1331456889","filename":"file2"},{"photo_id":"1331456886","filename":"file1"},{"photo_id":"1331456884","filename":"file0"},{"photo_id":"1331456893","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331456893":["hashtag1","hashtag2"]},{"1331456884":["hashtag1","hashtag2"]},{"1331456886":["hashtag1","hashtag2"]},{"1331456889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331456893, 1331456884, 1331456886, 1331456889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.17521786689758 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:52:22.299032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/51/image_25012025_21_51_02_378506_0003.jpg', '/home/pi/Desktop/images/25012025/21/52/image_25012025_21_52_02_414747_0000.jpg', '/home/pi/Desktop/images/25012025/21/52/image_25012025_21_52_02_414747_0001.jpg', '/home/pi/Desktop/images/25012025/21/52/image_25012025_21_52_02_414747_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/51/image_25012025_21_51_02_378506_0003.jpg
/home/pi/Desktop/images/25012025/21/52/image_25012025_21_52_02_414747_0000.jpg
/home/pi/Desktop/images/25012025/21/52/image_25012025_21_52_02_414747_0001.jpg
/home/pi/Desktop/images/25012025/21/52/image_25012025_21_52_02_414747_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":["1331456957","1331456962","1331456949","1331456943"],"photo_ids_order":["1331456943","1331456949","1331456957","1331456962"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/77df5847da54356c8d0f112b2251daac.jpg","text":"TemporaryFile(/tmp/multipartBody2962833969214515510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838413913,"filename":"image_25012025_21_52_02_414747_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1bb1e180c4ed40f5ce4e5f9b652e9a4a.jpg","text":"TemporaryFile(/tmp/multipartBody7776343295399674595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838413913,"filename":"image_25012025_21_52_02_414747_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/44416152858ba5eed50f55d2629d733d.jpg","text":"TemporaryFile(/tmp/multipartBody6493866186452532171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838413913,"filename":"image_25012025_21_52_02_414747_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2ba07d77d5cd0dbd8a0a273e79e436af.jpg","text":"TemporaryFile(/tmp/multipartBody1069576446222420274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838413913,"filename":"image_25012025_21_51_02_378506_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331456957","file1":"1331456949","file0":"1331456943","file3":"1331456962"},"map_files_photo_id_array":[{"photo_id":"1331456957","filename":"file2"},{"photo_id":"1331456949","filename":"file1"},{"photo_id":"1331456943","filename":"file0"},{"photo_id":"1331456962","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331456957":["hashtag1","hashtag2"]},{"1331456962":["hashtag1","hashtag2"]},{"1331456949":["hashtag1","hashtag2"]},{"1331456943":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331456957, 1331456962, 1331456949, 1331456943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.76184844970703 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-25 21:53:22.578206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/52/image_25012025_21_52_02_414747_0003.jpg', '/home/pi/Desktop/images/25012025/21/53/image_25012025_21_53_02_682954_0000.jpg', '/home/pi/Desktop/images/25012025/21/53/image_25012025_21_53_02_682954_0001.jpg', '/home/pi/Desktop/images/25012025/21/53/image_25012025_21_53_02_682954_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/52/image_25012025_21_52_02_414747_0003.jpg
/home/pi/Desktop/images/25012025/21/53/image_25012025_21_53_02_682954_0000.jpg
/home/pi/Desktop/images/25012025/21/53/image_25012025_21_53_02_682954_0001.jpg
/home/pi/Desktop/images/25012025/21/53/image_25012025_21_53_02_682954_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 [200]>
b'{"photo_ids":["1331456996","1331456990","1331456992","1331456994"],"photo_ids_order":["1331456990","1331456992","1331456994","1331456996"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/609a8be584c147021523f54b84369d45.jpg","text":"TemporaryFile(/tmp/multipartBody3281215743661607774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838474005,"filename":"image_25012025_21_53_02_682954_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7db380fa9713e99d035db2838ce4f9d6.jpg","text":"TemporaryFile(/tmp/multipartBody3496596959202169890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838474005,"filename":"image_25012025_21_52_02_414747_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ab31e1fbcc45f35d5f28d14a0979e315.jpg","text":"TemporaryFile(/tmp/multipartBody2668414100968520871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838474005,"filename":"image_25012025_21_53_02_682954_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0554eb4bd172f99d8f7be7daff214df8.jpg","text":"TemporaryFile(/tmp/multipartBody7508676287179676861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838474005,"filename":"image_25012025_21_53_02_682954_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331456994","file1":"1331456992","file0":"1331456990","file3":"1331456996"},"map_files_photo_id_array":[{"photo_id":"1331456994","filename":"file2"},{"photo_id":"1331456992","filename":"file1"},{"photo_id":"1331456990","filename":"file0"},{"photo_id":"1331456996","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331456996":["hashtag1","hashtag2"]},{"1331456990":["hashtag1","hashtag2"]},{"1331456992":["hashtag1","hashtag2"]},{"1331456994":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331456996, 1331456990, 1331456992, 1331456994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.72132134437561 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:54:22.683965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/53/image_25012025_21_53_02_682954_0003.jpg', '/home/pi/Desktop/images/25012025/21/54/image_25012025_21_54_02_923585_0000.jpg', '/home/pi/Desktop/images/25012025/21/54/image_25012025_21_54_02_923585_0001.jpg', '/home/pi/Desktop/images/25012025/21/54/image_25012025_21_54_02_923585_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/53/image_25012025_21_53_02_682954_0003.jpg
/home/pi/Desktop/images/25012025/21/54/image_25012025_21_54_02_923585_0000.jpg
/home/pi/Desktop/images/25012025/21/54/image_25012025_21_54_02_923585_0001.jpg
/home/pi/Desktop/images/25012025/21/54/image_25012025_21_54_02_923585_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":["1331457029","1331457033","1331457021","1331457024"],"photo_ids_order":["1331457021","1331457024","1331457029","1331457033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/929a606134e6b41619c48f53c72ba52b.jpg","text":"TemporaryFile(/tmp/multipartBody7333324812588797096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838534071,"filename":"image_25012025_21_54_02_923585_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a13afebf83c89ebdba739499f8ac0c50.jpg","text":"TemporaryFile(/tmp/multipartBody7442979365042807709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838534071,"filename":"image_25012025_21_54_02_923585_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f79c4475e18c2f2f8826c26dcb774f94.jpg","text":"TemporaryFile(/tmp/multipartBody1730012923496379913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838534071,"filename":"image_25012025_21_53_02_682954_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2dcc65b2be5dd23a1e0775d469e675b2.jpg","text":"TemporaryFile(/tmp/multipartBody3465171911277250919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838534071,"filename":"image_25012025_21_54_02_923585_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331457029","file1":"1331457024","file0":"1331457021","file3":"1331457033"},"map_files_photo_id_array":[{"photo_id":"1331457029","filename":"file2"},{"photo_id":"1331457024","filename":"file1"},{"photo_id":"1331457021","filename":"file0"},{"photo_id":"1331457033","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331457029":["hashtag1","hashtag2"]},{"1331457033":["hashtag1","hashtag2"]},{"1331457021":["hashtag1","hashtag2"]},{"1331457024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331457029, 1331457033, 1331457021, 1331457024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73895764350891 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-25 21:55:21.973006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/54/image_25012025_21_54_02_923585_0003.jpg', '/home/pi/Desktop/images/25012025/21/55/image_25012025_21_55_03_013434_0000.jpg', '/home/pi/Desktop/images/25012025/21/55/image_25012025_21_55_03_013434_0001.jpg', '/home/pi/Desktop/images/25012025/21/55/image_25012025_21_55_03_013434_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/54/image_25012025_21_54_02_923585_0003.jpg
/home/pi/Desktop/images/25012025/21/55/image_25012025_21_55_03_013434_0000.jpg
/home/pi/Desktop/images/25012025/21/55/image_25012025_21_55_03_013434_0001.jpg
/home/pi/Desktop/images/25012025/21/55/image_25012025_21_55_03_013434_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 [200]>
b'{"photo_ids":["1331457113","1331457106","1331457109","1331457111"],"photo_ids_order":["1331457106","1331457109","1331457111","1331457113"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f2a1db35814ff24111661a839a9229a7.jpg","text":"TemporaryFile(/tmp/multipartBody7732404546710181811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838593265,"filename":"image_25012025_21_55_03_013434_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/06f790fd32d9058ece8dad94f798974f.jpg","text":"TemporaryFile(/tmp/multipartBody6465211067943448357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838593265,"filename":"image_25012025_21_54_02_923585_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dd8b1716cfa92130447c6372a0fe80b1.jpg","text":"TemporaryFile(/tmp/multipartBody2758934944351534099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838593265,"filename":"image_25012025_21_55_03_013434_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/097a6d5afd8c9689aea7911c76a99bbc.jpg","text":"TemporaryFile(/tmp/multipartBody3569834185910803358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838593265,"filename":"image_25012025_21_55_03_013434_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331457111","file1":"1331457109","file0":"1331457106","file3":"1331457113"},"map_files_photo_id_array":[{"photo_id":"1331457111","filename":"file2"},{"photo_id":"1331457109","filename":"file1"},{"photo_id":"1331457106","filename":"file0"},{"photo_id":"1331457113","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331457113":["hashtag1","hashtag2"]},{"1331457106":["hashtag1","hashtag2"]},{"1331457109":["hashtag1","hashtag2"]},{"1331457111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331457113, 1331457106, 1331457109, 1331457111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.38358283042908 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 21:56:22.085814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/55/image_25012025_21_55_03_013434_0003.jpg', '/home/pi/Desktop/images/25012025/21/56/image_25012025_21_56_02_332959_0000.jpg', '/home/pi/Desktop/images/25012025/21/56/image_25012025_21_56_02_332959_0001.jpg', '/home/pi/Desktop/images/25012025/21/56/image_25012025_21_56_02_332959_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/55/image_25012025_21_55_03_013434_0003.jpg
/home/pi/Desktop/images/25012025/21/56/image_25012025_21_56_02_332959_0000.jpg
/home/pi/Desktop/images/25012025/21/56/image_25012025_21_56_02_332959_0001.jpg
/home/pi/Desktop/images/25012025/21/56/image_25012025_21_56_02_332959_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":["1331457146","1331457134","1331457141","1331457129"],"photo_ids_order":["1331457129","1331457134","1331457141","1331457146"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/912fe9e00ceb911992a37c2bb745ca84.jpg","text":"TemporaryFile(/tmp/multipartBody4406813474142428273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838653711,"filename":"image_25012025_21_56_02_332959_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c0c6ad49a85fe311b8b42695a45c22c2.jpg","text":"TemporaryFile(/tmp/multipartBody2960137828575811825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838653711,"filename":"image_25012025_21_56_02_332959_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4e9dc0ee5364af37ba3a10c25d17ce39.jpg","text":"TemporaryFile(/tmp/multipartBody8255977498412489688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838653711,"filename":"image_25012025_21_56_02_332959_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/490ff70200a66518246605879b240765.jpg","text":"TemporaryFile(/tmp/multipartBody6194334263094948486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838653711,"filename":"image_25012025_21_55_03_013434_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331457141","file1":"1331457134","file0":"1331457129","file3":"1331457146"},"map_files_photo_id_array":[{"photo_id":"1331457141","filename":"file2"},{"photo_id":"1331457134","filename":"file1"},{"photo_id":"1331457129","filename":"file0"},{"photo_id":"1331457146","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331457146":["hashtag1","hashtag2"]},{"1331457134":["hashtag1","hashtag2"]},{"1331457141":["hashtag1","hashtag2"]},{"1331457129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331457146, 1331457134, 1331457141, 1331457129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.30099368095398 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 21:57:02.898937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/23/04/image_21012025_23_04_02_314692_0002.jpg', '/home/pi/Desktop/images/21012025/23/04/image_21012025_23_04_02_314692_0003.jpg', '/home/pi/Desktop/images/21012025/23/05/image_21012025_23_05_02_499710_0000.jpg', '/home/pi/Desktop/images/21012025/23/05/image_21012025_23_05_02_499710_0001.jpg', '/home/pi/Desktop/images/21012025/23/05/image_21012025_23_05_02_499710_0002.jpg', '/home/pi/Desktop/images/21012025/23/05/image_21012025_23_05_02_499710_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/23/04/image_21012025_23_04_02_314692_0002.jpg
/home/pi/Desktop/images/21012025/23/04/image_21012025_23_04_02_314692_0003.jpg
/home/pi/Desktop/images/21012025/23/05/image_21012025_23_05_02_499710_0000.jpg
/home/pi/Desktop/images/21012025/23/05/image_21012025_23_05_02_499710_0001.jpg
/home/pi/Desktop/images/21012025/23/05/image_21012025_23_05_02_499710_0002.jpg
/home/pi/Desktop/images/21012025/23/05/image_21012025_23_05_02_499710_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 [200]>
b'{"photo_ids":["1331457182","1331457179","1331457170","1331457164","1331457186","1331457174"],"photo_ids_order":["1331457164","1331457170","1331457174","1331457179","1331457182","1331457186"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/45062e26ae00a3ebe0010433dc89e096.jpg","text":"TemporaryFile(/tmp/multipartBody2232841489609819312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838699624,"filename":"image_21012025_23_05_02_499710_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4e9d2e3d7172bc2eaa9c85c4e77b4d41.jpg","text":"TemporaryFile(/tmp/multipartBody2040179958986834298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838699624,"filename":"image_21012025_23_05_02_499710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/354f1f17cecb4b49601048290751a384.jpg","text":"TemporaryFile(/tmp/multipartBody2915728232280802714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838699624,"filename":"image_21012025_23_04_02_314692_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c7ea48eef7af9511add2890258447ead.jpg","text":"TemporaryFile(/tmp/multipartBody3597996841565896707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838699624,"filename":"image_21012025_23_04_02_314692_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8a5aeaef6be549767f8295817bf50901.jpg","text":"TemporaryFile(/tmp/multipartBody3304836828801787002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838699624,"filename":"image_21012025_23_05_02_499710_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ab81bc46a427265c51a2fc2f600af034.jpg","text":"TemporaryFile(/tmp/multipartBody2511685261507080000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838699624,"filename":"image_21012025_23_05_02_499710_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331457174","file1":"1331457170","file0":"1331457164","file4":"1331457182","file5":"1331457186","file3":"1331457179"},"map_files_photo_id_array":[{"photo_id":"1331457186","filename":"file5"},{"photo_id":"1331457174","filename":"file2"},{"photo_id":"1331457182","filename":"file4"},{"photo_id":"1331457170","filename":"file1"},{"photo_id":"1331457164","filename":"file0"},{"photo_id":"1331457179","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331457182":["hashtag1","hashtag2"]},{"1331457179":["hashtag1","hashtag2"]},{"1331457170":["hashtag1","hashtag2"]},{"1331457164":["hashtag1","hashtag2"]},{"1331457186":["hashtag1","hashtag2"]},{"1331457174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331457182, 1331457179, 1331457170, 1331457164, 1331457186, 1331457174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.27582240104675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 21:59:03.252614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/56/image_25012025_21_56_02_332959_0003.jpg', '/home/pi/Desktop/images/25012025/21/57/image_25012025_21_57_02_414112_0000.jpg', '/home/pi/Desktop/images/25012025/21/57/image_25012025_21_57_02_414112_0001.jpg', '/home/pi/Desktop/images/25012025/21/57/image_25012025_21_57_02_414112_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/56/image_25012025_21_56_02_332959_0003.jpg
/home/pi/Desktop/images/25012025/21/57/image_25012025_21_57_02_414112_0000.jpg
/home/pi/Desktop/images/25012025/21/57/image_25012025_21_57_02_414112_0001.jpg
/home/pi/Desktop/images/25012025/21/57/image_25012025_21_57_02_414112_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":["1331457809","1331457598","1331457706","1331457893"],"photo_ids_order":["1331457598","1331457706","1331457809","1331457893"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aa1e395a1927c5a4b3be93814fc8ca7f.jpg","text":"TemporaryFile(/tmp/multipartBody2865263491824298077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838814895,"filename":"image_25012025_21_57_02_414112_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b236ab7efce1ad96f673609b7e5d5bdd.jpg","text":"TemporaryFile(/tmp/multipartBody3649250106719660846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838814895,"filename":"image_25012025_21_56_02_332959_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/70effece2edc719f6c38c609dd026817.jpg","text":"TemporaryFile(/tmp/multipartBody3832511411563316494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838814895,"filename":"image_25012025_21_57_02_414112_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4531d0dba9f709a5a6838ea059d8690c.jpg","text":"TemporaryFile(/tmp/multipartBody1405616923011908733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838814895,"filename":"image_25012025_21_57_02_414112_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331457809","file1":"1331457706","file0":"1331457598","file3":"1331457893"},"map_files_photo_id_array":[{"photo_id":"1331457809","filename":"file2"},{"photo_id":"1331457706","filename":"file1"},{"photo_id":"1331457598","filename":"file0"},{"photo_id":"1331457893","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331457809":["hashtag1","hashtag2"]},{"1331457598":["hashtag1","hashtag2"]},{"1331457706":["hashtag1","hashtag2"]},{"1331457893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331457809, 1331457598, 1331457706, 1331457893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.323505878448486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 21:59:52.565296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/57/image_25012025_21_57_02_414112_0003.jpg', '/home/pi/Desktop/images/25012025/21/58/image_25012025_21_58_02_587587_0000.jpg', '/home/pi/Desktop/images/25012025/21/58/image_25012025_21_58_02_587587_0001.jpg', '/home/pi/Desktop/images/25012025/21/58/image_25012025_21_58_02_587587_0002.jpg', '/home/pi/Desktop/images/25012025/21/58/image_25012025_21_58_02_587587_0003.jpg', '/home/pi/Desktop/images/25012025/21/59/image_25012025_21_59_02_692443_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/57/image_25012025_21_57_02_414112_0003.jpg
/home/pi/Desktop/images/25012025/21/58/image_25012025_21_58_02_587587_0000.jpg
/home/pi/Desktop/images/25012025/21/58/image_25012025_21_58_02_587587_0001.jpg
/home/pi/Desktop/images/25012025/21/58/image_25012025_21_58_02_587587_0002.jpg
/home/pi/Desktop/images/25012025/21/58/image_25012025_21_58_02_587587_0003.jpg
/home/pi/Desktop/images/25012025/21/59/image_25012025_21_59_02_692443_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 [200]>
b'{"photo_ids":["1331458145","1331458106","1331458171","1331458114","1331457916","1331458175"],"photo_ids_order":["1331457916","1331458106","1331458114","1331458145","1331458171","1331458175"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b41c5b7bcafb528338fbf61cdfd39e53.jpg","text":"TemporaryFile(/tmp/multipartBody836870710378547318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838869215,"filename":"image_25012025_21_58_02_587587_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b8391a814c852007db70af15ce581b61.jpg","text":"TemporaryFile(/tmp/multipartBody8261179038746693774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838869215,"filename":"image_25012025_21_58_02_587587_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/38eca7ffa3f1e708766553cf433f9cab.jpg","text":"TemporaryFile(/tmp/multipartBody2581672043928939066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838869215,"filename":"image_25012025_21_58_02_587587_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/32ae9c004152be4cd67fb1f8443ce00d.jpg","text":"TemporaryFile(/tmp/multipartBody3401380389973374509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838869215,"filename":"image_25012025_21_58_02_587587_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/61fb52e07c5931d10acdf46cf36d8900.jpg","text":"TemporaryFile(/tmp/multipartBody4360093867035499000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838869215,"filename":"image_25012025_21_57_02_414112_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d0e2541ac78e28a718ca52960f6a307f.jpg","text":"TemporaryFile(/tmp/multipartBody4524321379118356642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838869215,"filename":"image_25012025_21_59_02_692443_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331458114","file1":"1331458106","file0":"1331457916","file4":"1331458171","file5":"1331458175","file3":"1331458145"},"map_files_photo_id_array":[{"photo_id":"1331458175","filename":"file5"},{"photo_id":"1331458114","filename":"file2"},{"photo_id":"1331458171","filename":"file4"},{"photo_id":"1331458106","filename":"file1"},{"photo_id":"1331457916","filename":"file0"},{"photo_id":"1331458145","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331458145":["hashtag1","hashtag2"]},{"1331458106":["hashtag1","hashtag2"]},{"1331458171":["hashtag1","hashtag2"]},{"1331458114":["hashtag1","hashtag2"]},{"1331457916":["hashtag1","hashtag2"]},{"1331458175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331458145, 1331458106, 1331458171, 1331458114, 1331457916, 1331458175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.97013521194458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 22:00:52.729441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/21/59/image_25012025_21_59_02_692443_0001.jpg', '/home/pi/Desktop/images/25012025/21/59/image_25012025_21_59_02_692443_0002.jpg', '/home/pi/Desktop/images/25012025/21/59/image_25012025_21_59_02_692443_0003.jpg', '/home/pi/Desktop/images/25012025/22/00/image_25012025_22_00_02_946399_0000.jpg', '/home/pi/Desktop/images/25012025/22/00/image_25012025_22_00_02_946399_0001.jpg', '/home/pi/Desktop/images/25012025/22/00/image_25012025_22_00_02_946399_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/21/59/image_25012025_21_59_02_692443_0001.jpg
/home/pi/Desktop/images/25012025/21/59/image_25012025_21_59_02_692443_0002.jpg
/home/pi/Desktop/images/25012025/21/59/image_25012025_21_59_02_692443_0003.jpg
/home/pi/Desktop/images/25012025/22/00/image_25012025_22_00_02_946399_0000.jpg
/home/pi/Desktop/images/25012025/22/00/image_25012025_22_00_02_946399_0001.jpg
/home/pi/Desktop/images/25012025/22/00/image_25012025_22_00_02_946399_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 [200]>
b'{"photo_ids":["1331458214","1331458208","1331458198","1331458201","1331458221","1331458193"],"photo_ids_order":["1331458193","1331458198","1331458201","1331458208","1331458214","1331458221"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1a9ce488122f273c2d2df5e6b715c310.jpg","text":"TemporaryFile(/tmp/multipartBody4859851199946498590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838929570,"filename":"image_25012025_22_00_02_946399_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1d2a57014c4f00b27c72448e9e2f8dd5.jpg","text":"TemporaryFile(/tmp/multipartBody4306307847168849137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838929570,"filename":"image_25012025_22_00_02_946399_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5506491c1985ed05b44e0e845b0e68a6.jpg","text":"TemporaryFile(/tmp/multipartBody9067029873457336786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838929570,"filename":"image_25012025_21_59_02_692443_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f6c6de160529dd9d0726794d9cb1c85f.jpg","text":"TemporaryFile(/tmp/multipartBody698351974245974554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838929570,"filename":"image_25012025_21_59_02_692443_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b193fe06969ab6995216a9009032419a.jpg","text":"TemporaryFile(/tmp/multipartBody4794814562833830066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838929570,"filename":"image_25012025_22_00_02_946399_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/09656aed74f9cdb012399fc95274c4f3.jpg","text":"TemporaryFile(/tmp/multipartBody6636657214084659301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838929570,"filename":"image_25012025_21_59_02_692443_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331458201","file1":"1331458198","file0":"1331458193","file4":"1331458214","file5":"1331458221","file3":"1331458208"},"map_files_photo_id_array":[{"photo_id":"1331458221","filename":"file5"},{"photo_id":"1331458201","filename":"file2"},{"photo_id":"1331458214","filename":"file4"},{"photo_id":"1331458198","filename":"file1"},{"photo_id":"1331458193","filename":"file0"},{"photo_id":"1331458208","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331458214":["hashtag1","hashtag2"]},{"1331458208":["hashtag1","hashtag2"]},{"1331458198":["hashtag1","hashtag2"]},{"1331458201":["hashtag1","hashtag2"]},{"1331458221":["hashtag1","hashtag2"]},{"1331458193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331458214, 1331458208, 1331458198, 1331458201, 1331458221, 1331458193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.10793089866638 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 22:01:51.927205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/00/image_25012025_22_00_02_946399_0003.jpg', '/home/pi/Desktop/images/25012025/22/01/image_25012025_22_01_03_117737_0000.jpg', '/home/pi/Desktop/images/25012025/22/01/image_25012025_22_01_03_117737_0001.jpg', '/home/pi/Desktop/images/25012025/22/01/image_25012025_22_01_03_117737_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/00/image_25012025_22_00_02_946399_0003.jpg
/home/pi/Desktop/images/25012025/22/01/image_25012025_22_01_03_117737_0000.jpg
/home/pi/Desktop/images/25012025/22/01/image_25012025_22_01_03_117737_0001.jpg
/home/pi/Desktop/images/25012025/22/01/image_25012025_22_01_03_117737_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":["1331458299","1331458254","1331458257","1331458274"],"photo_ids_order":["1331458254","1331458257","1331458274","1331458299"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/204eb03ad0fd26ac69735b28fc78d6ed.jpg","text":"TemporaryFile(/tmp/multipartBody8676225511404400104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838983514,"filename":"image_25012025_22_01_03_117737_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9725369d447aaa096460d325cfd86f00.jpg","text":"TemporaryFile(/tmp/multipartBody6440820507725549211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838983514,"filename":"image_25012025_22_00_02_946399_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bc53376e605a374de46fc435601551ee.jpg","text":"TemporaryFile(/tmp/multipartBody394877274280243163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838983514,"filename":"image_25012025_22_01_03_117737_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8566b9560421f9dac6b1ace6bce01560.jpg","text":"TemporaryFile(/tmp/multipartBody3783958160541593856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737838983514,"filename":"image_25012025_22_01_03_117737_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331458274","file1":"1331458257","file0":"1331458254","file3":"1331458299"},"map_files_photo_id_array":[{"photo_id":"1331458274","filename":"file2"},{"photo_id":"1331458257","filename":"file1"},{"photo_id":"1331458254","filename":"file0"},{"photo_id":"1331458299","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331458299":["hashtag1","hashtag2"]},{"1331458254":["hashtag1","hashtag2"]},{"1331458257":["hashtag1","hashtag2"]},{"1331458274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331458299, 1331458254, 1331458257, 1331458274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.88786315917969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 22:02:42.164000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/01/image_25012025_22_01_03_117737_0003.jpg', '/home/pi/Desktop/images/25012025/22/02/image_25012025_22_02_02_296780_0000.jpg', '/home/pi/Desktop/images/25012025/22/02/image_25012025_22_02_02_296780_0001.jpg', '/home/pi/Desktop/images/25012025/22/02/image_25012025_22_02_02_296780_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/01/image_25012025_22_01_03_117737_0003.jpg
/home/pi/Desktop/images/25012025/22/02/image_25012025_22_02_02_296780_0000.jpg
/home/pi/Desktop/images/25012025/22/02/image_25012025_22_02_02_296780_0001.jpg
/home/pi/Desktop/images/25012025/22/02/image_25012025_22_02_02_296780_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":["1331458727","1331458956","1331458947","1331458952"],"photo_ids_order":["1331458727","1331458947","1331458952","1331458956"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/58b1d2bd916aee736f6c95c520263b26.jpg","text":"TemporaryFile(/tmp/multipartBody2406988478014676890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839033593,"filename":"image_25012025_22_01_03_117737_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9aaf4a8fdf47126980920aff315adc9a.jpg","text":"TemporaryFile(/tmp/multipartBody2419710026761524825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839033593,"filename":"image_25012025_22_02_02_296780_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8d38487c5276f47834f4c6add351ae4a.jpg","text":"TemporaryFile(/tmp/multipartBody3553627860104760858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839033593,"filename":"image_25012025_22_02_02_296780_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/882c3634f6cc7e2c7a4f1f5344d2a1d0.jpg","text":"TemporaryFile(/tmp/multipartBody7295693718532448174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839033593,"filename":"image_25012025_22_02_02_296780_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331458952","file1":"1331458947","file0":"1331458727","file3":"1331458956"},"map_files_photo_id_array":[{"photo_id":"1331458952","filename":"file2"},{"photo_id":"1331458947","filename":"file1"},{"photo_id":"1331458727","filename":"file0"},{"photo_id":"1331458956","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331458727":["hashtag1","hashtag2"]},{"1331458956":["hashtag1","hashtag2"]},{"1331458947":["hashtag1","hashtag2"]},{"1331458952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331458727, 1331458956, 1331458947, 1331458952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.99743390083313 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 22:03:32.296389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/02/image_25012025_22_02_02_296780_0003.jpg', '/home/pi/Desktop/images/25012025/22/03/image_25012025_22_03_02_515110_0000.jpg', '/home/pi/Desktop/images/25012025/22/03/image_25012025_22_03_02_515110_0001.jpg', '/home/pi/Desktop/images/25012025/22/03/image_25012025_22_03_02_515110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/02/image_25012025_22_02_02_296780_0003.jpg
/home/pi/Desktop/images/25012025/22/03/image_25012025_22_03_02_515110_0000.jpg
/home/pi/Desktop/images/25012025/22/03/image_25012025_22_03_02_515110_0001.jpg
/home/pi/Desktop/images/25012025/22/03/image_25012025_22_03_02_515110_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":["1331459196","1331459187","1331459369","1331459231"],"photo_ids_order":["1331459187","1331459196","1331459231","1331459369"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c1272fa7f70810710c4ec794cab9b44b.jpg","text":"TemporaryFile(/tmp/multipartBody7504632765906588511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839083900,"filename":"image_25012025_22_03_02_515110_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/abf9b0e57e6ddcd33e4be82a882eda05.jpg","text":"TemporaryFile(/tmp/multipartBody690596813619414295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839083900,"filename":"image_25012025_22_02_02_296780_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/79b4ea0b9539744127e3c81b9babc825.jpg","text":"TemporaryFile(/tmp/multipartBody5515612404820783068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839083900,"filename":"image_25012025_22_03_02_515110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0894237f72b2b7ce5c3323dfc66acca0.jpg","text":"TemporaryFile(/tmp/multipartBody7140618136485149734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839083900,"filename":"image_25012025_22_03_02_515110_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331459231","file1":"1331459196","file0":"1331459187","file3":"1331459369"},"map_files_photo_id_array":[{"photo_id":"1331459231","filename":"file2"},{"photo_id":"1331459196","filename":"file1"},{"photo_id":"1331459187","filename":"file0"},{"photo_id":"1331459369","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331459196":["hashtag1","hashtag2"]},{"1331459187":["hashtag1","hashtag2"]},{"1331459369":["hashtag1","hashtag2"]},{"1331459231":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331459196, 1331459187, 1331459369, 1331459231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.80071759223938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:04:22.515797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/03/image_25012025_22_03_02_515110_0003.jpg', '/home/pi/Desktop/images/25012025/22/04/image_25012025_22_04_02_729846_0000.jpg', '/home/pi/Desktop/images/25012025/22/04/image_25012025_22_04_02_729846_0001.jpg', '/home/pi/Desktop/images/25012025/22/04/image_25012025_22_04_02_729846_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/03/image_25012025_22_03_02_515110_0003.jpg
/home/pi/Desktop/images/25012025/22/04/image_25012025_22_04_02_729846_0000.jpg
/home/pi/Desktop/images/25012025/22/04/image_25012025_22_04_02_729846_0001.jpg
/home/pi/Desktop/images/25012025/22/04/image_25012025_22_04_02_729846_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":["1331460174","1331460392","1331460303","1331460389"],"photo_ids_order":["1331460174","1331460303","1331460389","1331460392"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/06a4e26497c148835b7ae76cfa96cbfb.jpg","text":"TemporaryFile(/tmp/multipartBody3163111844856085308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839133821,"filename":"image_25012025_22_03_02_515110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c406b8198b0d4aeed989a217aff74ba.jpg","text":"TemporaryFile(/tmp/multipartBody6691981963716865182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839133821,"filename":"image_25012025_22_04_02_729846_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4d5572c8fb6df855a08d83dc7af61ce0.jpg","text":"TemporaryFile(/tmp/multipartBody8488967625893775285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839133821,"filename":"image_25012025_22_04_02_729846_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/40805761d1da15480d648b3f45557fbc.jpg","text":"TemporaryFile(/tmp/multipartBody8756437248822107277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839133821,"filename":"image_25012025_22_04_02_729846_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331460389","file1":"1331460303","file0":"1331460174","file3":"1331460392"},"map_files_photo_id_array":[{"photo_id":"1331460389","filename":"file2"},{"photo_id":"1331460303","filename":"file1"},{"photo_id":"1331460174","filename":"file0"},{"photo_id":"1331460392","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331460174":["hashtag1","hashtag2"]},{"1331460392":["hashtag1","hashtag2"]},{"1331460303":["hashtag1","hashtag2"]},{"1331460389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331460174, 1331460392, 1331460303, 1331460389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.70502591133118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 22:05:03.284201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/23/06/image_21012025_23_06_02_693527_0000.jpg', '/home/pi/Desktop/images/21012025/23/06/image_21012025_23_06_02_693527_0001.jpg', '/home/pi/Desktop/images/21012025/23/06/image_21012025_23_06_02_693527_0002.jpg', '/home/pi/Desktop/images/21012025/23/06/image_21012025_23_06_02_693527_0003.jpg', '/home/pi/Desktop/images/21012025/23/07/image_21012025_23_07_02_917535_0000.jpg', '/home/pi/Desktop/images/21012025/23/07/image_21012025_23_07_02_917535_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/23/06/image_21012025_23_06_02_693527_0000.jpg
/home/pi/Desktop/images/21012025/23/06/image_21012025_23_06_02_693527_0001.jpg
/home/pi/Desktop/images/21012025/23/06/image_21012025_23_06_02_693527_0002.jpg
/home/pi/Desktop/images/21012025/23/06/image_21012025_23_06_02_693527_0003.jpg
/home/pi/Desktop/images/21012025/23/07/image_21012025_23_07_02_917535_0000.jpg
/home/pi/Desktop/images/21012025/23/07/image_21012025_23_07_02_917535_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":["1331460638","1331460687","1331460406","1331460420","1331460414","1331460501"],"photo_ids_order":["1331460406","1331460414","1331460420","1331460501","1331460638","1331460687"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3c596a04faaad6ee3b02512d52052428.jpg","text":"TemporaryFile(/tmp/multipartBody2612478493149021475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839180455,"filename":"image_21012025_23_07_02_917535_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bd7dd3a559dc361ce0e83216f98f9101.jpg","text":"TemporaryFile(/tmp/multipartBody3378633310488124088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839180455,"filename":"image_21012025_23_07_02_917535_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b7bb0d6b1f805fae350987a361f3a4a0.jpg","text":"TemporaryFile(/tmp/multipartBody1829029288508709786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839180455,"filename":"image_21012025_23_06_02_693527_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/054c189f5ff192f7f1b3d72df4f9450e.jpg","text":"TemporaryFile(/tmp/multipartBody2409307255036572231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839180455,"filename":"image_21012025_23_06_02_693527_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ef544952025eed83b092870f350e534b.jpg","text":"TemporaryFile(/tmp/multipartBody2012332621228123519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839180455,"filename":"image_21012025_23_06_02_693527_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7f3eef450c7b7e5b3e2d5bab9f26476c.jpg","text":"TemporaryFile(/tmp/multipartBody5465672241361973410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839180455,"filename":"image_21012025_23_06_02_693527_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331460420","file1":"1331460414","file0":"1331460406","file4":"1331460638","file5":"1331460687","file3":"1331460501"},"map_files_photo_id_array":[{"photo_id":"1331460687","filename":"file5"},{"photo_id":"1331460420","filename":"file2"},{"photo_id":"1331460638","filename":"file4"},{"photo_id":"1331460414","filename":"file1"},{"photo_id":"1331460406","filename":"file0"},{"photo_id":"1331460501","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331460638":["hashtag1","hashtag2"]},{"1331460687":["hashtag1","hashtag2"]},{"1331460406":["hashtag1","hashtag2"]},{"1331460420":["hashtag1","hashtag2"]},{"1331460414":["hashtag1","hashtag2"]},{"1331460501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331460638, 1331460687, 1331460406, 1331460420, 1331460414, 1331460501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.65381145477295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 22:06:02.276773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/04/image_25012025_22_04_02_729846_0003.jpg', '/home/pi/Desktop/images/25012025/22/05/image_25012025_22_05_02_863804_0000.jpg', '/home/pi/Desktop/images/25012025/22/05/image_25012025_22_05_02_863804_0001.jpg', '/home/pi/Desktop/images/25012025/22/05/image_25012025_22_05_02_863804_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/04/image_25012025_22_04_02_729846_0003.jpg
/home/pi/Desktop/images/25012025/22/05/image_25012025_22_05_02_863804_0000.jpg
/home/pi/Desktop/images/25012025/22/05/image_25012025_22_05_02_863804_0001.jpg
/home/pi/Desktop/images/25012025/22/05/image_25012025_22_05_02_863804_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":["1331460772","1331460769","1331460766","1331460774"],"photo_ids_order":["1331460766","1331460769","1331460772","1331460774"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b7df397e24660d1607b2358ff1afe1c2.jpg","text":"TemporaryFile(/tmp/multipartBody9074811550499612175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839233832,"filename":"image_25012025_22_05_02_863804_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d75c82f9380db6f548ced81a5b40f442.jpg","text":"TemporaryFile(/tmp/multipartBody3232156241336412377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839233832,"filename":"image_25012025_22_05_02_863804_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/34dfc2c5032f1a051ba3bc494c5268ea.jpg","text":"TemporaryFile(/tmp/multipartBody6588945892322729309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839233832,"filename":"image_25012025_22_04_02_729846_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c75291f8584a580df337cd4f0088738c.jpg","text":"TemporaryFile(/tmp/multipartBody6387284344970719129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839233832,"filename":"image_25012025_22_05_02_863804_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331460772","file1":"1331460769","file0":"1331460766","file3":"1331460774"},"map_files_photo_id_array":[{"photo_id":"1331460772","filename":"file2"},{"photo_id":"1331460769","filename":"file1"},{"photo_id":"1331460766","filename":"file0"},{"photo_id":"1331460774","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331460772":["hashtag1","hashtag2"]},{"1331460769":["hashtag1","hashtag2"]},{"1331460766":["hashtag1","hashtag2"]},{"1331460774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331460772, 1331460769, 1331460766, 1331460774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.085235834121704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 22:06:51.864449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/05/image_25012025_22_05_02_863804_0003.jpg', '/home/pi/Desktop/images/25012025/22/06/image_25012025_22_06_02_985969_0000.jpg', '/home/pi/Desktop/images/25012025/22/06/image_25012025_22_06_02_985969_0001.jpg', '/home/pi/Desktop/images/25012025/22/06/image_25012025_22_06_02_985969_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/05/image_25012025_22_05_02_863804_0003.jpg
/home/pi/Desktop/images/25012025/22/06/image_25012025_22_06_02_985969_0000.jpg
/home/pi/Desktop/images/25012025/22/06/image_25012025_22_06_02_985969_0001.jpg
/home/pi/Desktop/images/25012025/22/06/image_25012025_22_06_02_985969_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":["1331460809","1331460805","1331460801","1331460813"],"photo_ids_order":["1331460801","1331460805","1331460809","1331460813"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e6e594d49cf016586eb3770f239253c2.jpg","text":"TemporaryFile(/tmp/multipartBody5722855373959363368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839283497,"filename":"image_25012025_22_06_02_985969_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fd8b2b76e9a5dbf0e248ebf19967cb17.jpg","text":"TemporaryFile(/tmp/multipartBody4230224505592433121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839283497,"filename":"image_25012025_22_06_02_985969_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eea0884768994a0409e81ece2f7ad5b9.jpg","text":"TemporaryFile(/tmp/multipartBody8925405339085930952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839283497,"filename":"image_25012025_22_05_02_863804_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/935c975b1a8b3cc4810e028c578e586f.jpg","text":"TemporaryFile(/tmp/multipartBody2659486674188537493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839283497,"filename":"image_25012025_22_06_02_985969_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331460809","file1":"1331460805","file0":"1331460801","file3":"1331460813"},"map_files_photo_id_array":[{"photo_id":"1331460809","filename":"file2"},{"photo_id":"1331460805","filename":"file1"},{"photo_id":"1331460801","filename":"file0"},{"photo_id":"1331460813","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331460809":["hashtag1","hashtag2"]},{"1331460805":["hashtag1","hashtag2"]},{"1331460801":["hashtag1","hashtag2"]},{"1331460813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331460809, 1331460805, 1331460801, 1331460813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.32892918586731 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 22:07:42.070443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/06/image_25012025_22_06_02_985969_0003.jpg', '/home/pi/Desktop/images/25012025/22/07/image_25012025_22_07_02_265111_0000.jpg', '/home/pi/Desktop/images/25012025/22/07/image_25012025_22_07_02_265111_0001.jpg', '/home/pi/Desktop/images/25012025/22/07/image_25012025_22_07_02_265111_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/06/image_25012025_22_06_02_985969_0003.jpg
/home/pi/Desktop/images/25012025/22/07/image_25012025_22_07_02_265111_0000.jpg
/home/pi/Desktop/images/25012025/22/07/image_25012025_22_07_02_265111_0001.jpg
/home/pi/Desktop/images/25012025/22/07/image_25012025_22_07_02_265111_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: 11.166735172271729 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 22:08:02.633649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/06/image_25012025_22_06_02_985969_0003.jpg', '/home/pi/Desktop/images/25012025/22/07/image_25012025_22_07_02_265111_0000.jpg', '/home/pi/Desktop/images/25012025/22/07/image_25012025_22_07_02_265111_0001.jpg', '/home/pi/Desktop/images/25012025/22/07/image_25012025_22_07_02_265111_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/06/image_25012025_22_06_02_985969_0003.jpg
/home/pi/Desktop/images/25012025/22/07/image_25012025_22_07_02_265111_0000.jpg
/home/pi/Desktop/images/25012025/22/07/image_25012025_22_07_02_265111_0001.jpg
/home/pi/Desktop/images/25012025/22/07/image_25012025_22_07_02_265111_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":["1331460898","1331460895","1331460891","1331460887"],"photo_ids_order":["1331460887","1331460891","1331460895","1331460898"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/adbc941c5e8a0cb79dc5ce413eda24c1.jpg","text":"TemporaryFile(/tmp/multipartBody3834760338578380575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839354247,"filename":"image_25012025_22_07_02_265111_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7319a39be940061796b69e2d9e07cfda.jpg","text":"TemporaryFile(/tmp/multipartBody5323659217172435896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839354247,"filename":"image_25012025_22_07_02_265111_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/01ed511b6ad9ab17dca0666869066bdd.jpg","text":"TemporaryFile(/tmp/multipartBody4282197820285112536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839354247,"filename":"image_25012025_22_07_02_265111_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/480abdaf67df47a537c212eae3856dfc.jpg","text":"TemporaryFile(/tmp/multipartBody8154638715721029900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839354247,"filename":"image_25012025_22_06_02_985969_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331460895","file1":"1331460891","file0":"1331460887","file3":"1331460898"},"map_files_photo_id_array":[{"photo_id":"1331460895","filename":"file2"},{"photo_id":"1331460891","filename":"file1"},{"photo_id":"1331460887","filename":"file0"},{"photo_id":"1331460898","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331460898":["hashtag1","hashtag2"]},{"1331460895":["hashtag1","hashtag2"]},{"1331460891":["hashtag1","hashtag2"]},{"1331460887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331460898, 1331460895, 1331460891, 1331460887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.67009115219116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 22:08:52.203588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/07/image_25012025_22_07_02_265111_0003.jpg', '/home/pi/Desktop/images/25012025/22/08/image_25012025_22_08_02_419667_0000.jpg', '/home/pi/Desktop/images/25012025/22/08/image_25012025_22_08_02_419667_0001.jpg', '/home/pi/Desktop/images/25012025/22/08/image_25012025_22_08_02_419667_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/07/image_25012025_22_07_02_265111_0003.jpg
/home/pi/Desktop/images/25012025/22/08/image_25012025_22_08_02_419667_0000.jpg
/home/pi/Desktop/images/25012025/22/08/image_25012025_22_08_02_419667_0001.jpg
/home/pi/Desktop/images/25012025/22/08/image_25012025_22_08_02_419667_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: 11.499799966812134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:09:22.382361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/07/image_25012025_22_07_02_265111_0003.jpg', '/home/pi/Desktop/images/25012025/22/08/image_25012025_22_08_02_419667_0000.jpg', '/home/pi/Desktop/images/25012025/22/08/image_25012025_22_08_02_419667_0001.jpg', '/home/pi/Desktop/images/25012025/22/08/image_25012025_22_08_02_419667_0002.jpg', '/home/pi/Desktop/images/25012025/22/08/image_25012025_22_08_02_419667_0003.jpg', '/home/pi/Desktop/images/25012025/22/09/image_25012025_22_09_02_659556_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/07/image_25012025_22_07_02_265111_0003.jpg
/home/pi/Desktop/images/25012025/22/08/image_25012025_22_08_02_419667_0000.jpg
/home/pi/Desktop/images/25012025/22/08/image_25012025_22_08_02_419667_0001.jpg
/home/pi/Desktop/images/25012025/22/08/image_25012025_22_08_02_419667_0002.jpg
/home/pi/Desktop/images/25012025/22/08/image_25012025_22_08_02_419667_0003.jpg
/home/pi/Desktop/images/25012025/22/09/image_25012025_22_09_02_659556_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 [200]>
b'{"photo_ids":["1331460949","1331460946","1331460957","1331460944","1331460953","1331460947"],"photo_ids_order":["1331460944","1331460946","1331460947","1331460949","1331460953","1331460957"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/83da1ebbe4a41758dea16af641701047.jpg","text":"TemporaryFile(/tmp/multipartBody2169695704611882997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839439684,"filename":"image_25012025_22_08_02_419667_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/232792728871bb6dd0af056b5016bce1.jpg","text":"TemporaryFile(/tmp/multipartBody7348117286043243413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839439684,"filename":"image_25012025_22_08_02_419667_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/823153f23f971ffcefc03f33c401edbe.jpg","text":"TemporaryFile(/tmp/multipartBody3334237901555617722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839439684,"filename":"image_25012025_22_09_02_659556_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2bb1320e828b03f5a5ea70947c61e904.jpg","text":"TemporaryFile(/tmp/multipartBody2355361388991382812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839439684,"filename":"image_25012025_22_07_02_265111_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c77fa13e0190c47402fc4c0c21a05d8.jpg","text":"TemporaryFile(/tmp/multipartBody6613513263579915094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839439684,"filename":"image_25012025_22_08_02_419667_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2ae393004de0a957ec7a76ba3af77ba4.jpg","text":"TemporaryFile(/tmp/multipartBody2525865983101936006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839439684,"filename":"image_25012025_22_08_02_419667_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331460947","file1":"1331460946","file0":"1331460944","file4":"1331460953","file5":"1331460957","file3":"1331460949"},"map_files_photo_id_array":[{"photo_id":"1331460957","filename":"file5"},{"photo_id":"1331460947","filename":"file2"},{"photo_id":"1331460953","filename":"file4"},{"photo_id":"1331460946","filename":"file1"},{"photo_id":"1331460944","filename":"file0"},{"photo_id":"1331460949","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331460949":["hashtag1","hashtag2"]},{"1331460946":["hashtag1","hashtag2"]},{"1331460957":["hashtag1","hashtag2"]},{"1331460944":["hashtag1","hashtag2"]},{"1331460953":["hashtag1","hashtag2"]},{"1331460947":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331460949, 1331460946, 1331460957, 1331460944, 1331460953, 1331460947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.110297203063965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:10:22.614660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/09/image_25012025_22_09_02_659556_0001.jpg', '/home/pi/Desktop/images/25012025/22/09/image_25012025_22_09_02_659556_0002.jpg', '/home/pi/Desktop/images/25012025/22/09/image_25012025_22_09_02_659556_0003.jpg', '/home/pi/Desktop/images/25012025/22/10/image_25012025_22_10_02_748632_0000.jpg', '/home/pi/Desktop/images/25012025/22/10/image_25012025_22_10_02_748632_0001.jpg', '/home/pi/Desktop/images/25012025/22/10/image_25012025_22_10_02_748632_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/09/image_25012025_22_09_02_659556_0001.jpg
/home/pi/Desktop/images/25012025/22/09/image_25012025_22_09_02_659556_0002.jpg
/home/pi/Desktop/images/25012025/22/09/image_25012025_22_09_02_659556_0003.jpg
/home/pi/Desktop/images/25012025/22/10/image_25012025_22_10_02_748632_0000.jpg
/home/pi/Desktop/images/25012025/22/10/image_25012025_22_10_02_748632_0001.jpg
/home/pi/Desktop/images/25012025/22/10/image_25012025_22_10_02_748632_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: 16.90490698814392 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 22:10:42.550131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/09/image_25012025_22_09_02_659556_0001.jpg', '/home/pi/Desktop/images/25012025/22/09/image_25012025_22_09_02_659556_0002.jpg', '/home/pi/Desktop/images/25012025/22/09/image_25012025_22_09_02_659556_0003.jpg', '/home/pi/Desktop/images/25012025/22/10/image_25012025_22_10_02_748632_0000.jpg', '/home/pi/Desktop/images/25012025/22/10/image_25012025_22_10_02_748632_0001.jpg', '/home/pi/Desktop/images/25012025/22/10/image_25012025_22_10_02_748632_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/09/image_25012025_22_09_02_659556_0001.jpg
/home/pi/Desktop/images/25012025/22/09/image_25012025_22_09_02_659556_0002.jpg
/home/pi/Desktop/images/25012025/22/09/image_25012025_22_09_02_659556_0003.jpg
/home/pi/Desktop/images/25012025/22/10/image_25012025_22_10_02_748632_0000.jpg
/home/pi/Desktop/images/25012025/22/10/image_25012025_22_10_02_748632_0001.jpg
/home/pi/Desktop/images/25012025/22/10/image_25012025_22_10_02_748632_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 [200]>
b'{"photo_ids":["1331461024","1331461038","1331461032","1331461014","1331461019","1331461028"],"photo_ids_order":["1331461014","1331461019","1331461024","1331461028","1331461032","1331461038"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e705b1dc0e2f1475e0f2101055761ab9.jpg","text":"TemporaryFile(/tmp/multipartBody5753414282505792446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839519829,"filename":"image_25012025_22_09_02_659556_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/61aa4451d2daae1ee9683120a1f88189.jpg","text":"TemporaryFile(/tmp/multipartBody5052016497187829516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839519829,"filename":"image_25012025_22_10_02_748632_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/49c4345f9e3fbd959b26a2dcaaa7871c.jpg","text":"TemporaryFile(/tmp/multipartBody2638955749674059918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839519829,"filename":"image_25012025_22_10_02_748632_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f9e19d4c7e656591f57b5c5e6e510a12.jpg","text":"TemporaryFile(/tmp/multipartBody1305251856749671142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839519829,"filename":"image_25012025_22_09_02_659556_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d38edd3dc4b12846a3db6628cf2ff2c6.jpg","text":"TemporaryFile(/tmp/multipartBody188701838823284935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839519829,"filename":"image_25012025_22_09_02_659556_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9a61e49c8b5a02289bee4f5ac258ccfd.jpg","text":"TemporaryFile(/tmp/multipartBody743345607539083048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839519829,"filename":"image_25012025_22_10_02_748632_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331461024","file1":"1331461019","file0":"1331461014","file4":"1331461032","file5":"1331461038","file3":"1331461028"},"map_files_photo_id_array":[{"photo_id":"1331461038","filename":"file5"},{"photo_id":"1331461024","filename":"file2"},{"photo_id":"1331461032","filename":"file4"},{"photo_id":"1331461019","filename":"file1"},{"photo_id":"1331461014","filename":"file0"},{"photo_id":"1331461028","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331461024":["hashtag1","hashtag2"]},{"1331461038":["hashtag1","hashtag2"]},{"1331461032":["hashtag1","hashtag2"]},{"1331461014":["hashtag1","hashtag2"]},{"1331461019":["hashtag1","hashtag2"]},{"1331461028":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331461024, 1331461038, 1331461032, 1331461014, 1331461019, 1331461028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.38088870048523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 22:11:42.728483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/10/image_25012025_22_10_02_748632_0003.jpg', '/home/pi/Desktop/images/25012025/22/11/image_25012025_22_11_02_942396_0000.jpg', '/home/pi/Desktop/images/25012025/22/11/image_25012025_22_11_02_942396_0001.jpg', '/home/pi/Desktop/images/25012025/22/11/image_25012025_22_11_02_942396_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/10/image_25012025_22_10_02_748632_0003.jpg
/home/pi/Desktop/images/25012025/22/11/image_25012025_22_11_02_942396_0000.jpg
/home/pi/Desktop/images/25012025/22/11/image_25012025_22_11_02_942396_0001.jpg
/home/pi/Desktop/images/25012025/22/11/image_25012025_22_11_02_942396_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: 11.075561046600342 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 22:12:02.321772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/10/image_25012025_22_10_02_748632_0003.jpg', '/home/pi/Desktop/images/25012025/22/11/image_25012025_22_11_02_942396_0000.jpg', '/home/pi/Desktop/images/25012025/22/11/image_25012025_22_11_02_942396_0001.jpg', '/home/pi/Desktop/images/25012025/22/11/image_25012025_22_11_02_942396_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/10/image_25012025_22_10_02_748632_0003.jpg
/home/pi/Desktop/images/25012025/22/11/image_25012025_22_11_02_942396_0000.jpg
/home/pi/Desktop/images/25012025/22/11/image_25012025_22_11_02_942396_0001.jpg
/home/pi/Desktop/images/25012025/22/11/image_25012025_22_11_02_942396_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":["1331461129","1331461122","1331461145","1331461133"],"photo_ids_order":["1331461122","1331461129","1331461133","1331461145"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d5cc6e2f5f71d75db5708e82b3d71b25.jpg","text":"TemporaryFile(/tmp/multipartBody6495244905959171626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839593792,"filename":"image_25012025_22_11_02_942396_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cf6abebed0aabf76669a5800007cf15f.jpg","text":"TemporaryFile(/tmp/multipartBody8708387875041046052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839593792,"filename":"image_25012025_22_10_02_748632_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3611b4382b43627653ab75b21d977cda.jpg","text":"TemporaryFile(/tmp/multipartBody7063251531364881512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839593792,"filename":"image_25012025_22_11_02_942396_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/baf2812cdb9b7db98db0450dd8bd523c.jpg","text":"TemporaryFile(/tmp/multipartBody6322860832059516025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839593792,"filename":"image_25012025_22_11_02_942396_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331461133","file1":"1331461129","file0":"1331461122","file3":"1331461145"},"map_files_photo_id_array":[{"photo_id":"1331461133","filename":"file2"},{"photo_id":"1331461129","filename":"file1"},{"photo_id":"1331461122","filename":"file0"},{"photo_id":"1331461145","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331461129":["hashtag1","hashtag2"]},{"1331461122":["hashtag1","hashtag2"]},{"1331461145":["hashtag1","hashtag2"]},{"1331461133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331461129, 1331461122, 1331461145, 1331461133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.09240651130676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 22:12:51.859450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/11/image_25012025_22_11_02_942396_0003.jpg', '/home/pi/Desktop/images/25012025/22/12/image_25012025_22_12_03_084270_0000.jpg', '/home/pi/Desktop/images/25012025/22/12/image_25012025_22_12_03_084270_0001.jpg', '/home/pi/Desktop/images/25012025/22/12/image_25012025_22_12_03_084270_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/11/image_25012025_22_11_02_942396_0003.jpg
/home/pi/Desktop/images/25012025/22/12/image_25012025_22_12_03_084270_0000.jpg
/home/pi/Desktop/images/25012025/22/12/image_25012025_22_12_03_084270_0001.jpg
/home/pi/Desktop/images/25012025/22/12/image_25012025_22_12_03_084270_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":["1331461342","1331461309","1331461269","1331461305"],"photo_ids_order":["1331461269","1331461305","1331461309","1331461342"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6ee3094a1d18562d1bfd800f7cb6688b.jpg","text":"TemporaryFile(/tmp/multipartBody3352446034874690425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839643351,"filename":"image_25012025_22_12_03_084270_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d121d81cbe1582957fdf783c084892e1.jpg","text":"TemporaryFile(/tmp/multipartBody893041498083589146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839643351,"filename":"image_25012025_22_12_03_084270_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fa72d1d7d3a5b8f9d68f95ca162e095c.jpg","text":"TemporaryFile(/tmp/multipartBody3081381933422263591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839643351,"filename":"image_25012025_22_11_02_942396_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4d0e086f322687ef651a88307d449ada.jpg","text":"TemporaryFile(/tmp/multipartBody2317398195335335180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839643351,"filename":"image_25012025_22_12_03_084270_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331461309","file1":"1331461305","file0":"1331461269","file3":"1331461342"},"map_files_photo_id_array":[{"photo_id":"1331461309","filename":"file2"},{"photo_id":"1331461305","filename":"file1"},{"photo_id":"1331461269","filename":"file0"},{"photo_id":"1331461342","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331461342":["hashtag1","hashtag2"]},{"1331461309":["hashtag1","hashtag2"]},{"1331461269":["hashtag1","hashtag2"]},{"1331461305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331461342, 1331461309, 1331461269, 1331461305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.38048529624939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 22:13:42.051660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/12/image_25012025_22_12_03_084270_0003.jpg', '/home/pi/Desktop/images/25012025/22/13/image_25012025_22_13_02_249140_0000.jpg', '/home/pi/Desktop/images/25012025/22/13/image_25012025_22_13_02_249140_0001.jpg', '/home/pi/Desktop/images/25012025/22/13/image_25012025_22_13_02_249140_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/12/image_25012025_22_12_03_084270_0003.jpg
/home/pi/Desktop/images/25012025/22/13/image_25012025_22_13_02_249140_0000.jpg
/home/pi/Desktop/images/25012025/22/13/image_25012025_22_13_02_249140_0001.jpg
/home/pi/Desktop/images/25012025/22/13/image_25012025_22_13_02_249140_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":["1331461378","1331461394","1331461387","1331461381"],"photo_ids_order":["1331461378","1331461381","1331461387","1331461394"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b3c979005168f8cb8cab76a6c7fd8163.jpg","text":"TemporaryFile(/tmp/multipartBody4049327492619998941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839693185,"filename":"image_25012025_22_12_03_084270_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/37e2b862c947ef59ffc8d2781d0dfd6f.jpg","text":"TemporaryFile(/tmp/multipartBody4721326116932544590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839693185,"filename":"image_25012025_22_13_02_249140_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/600056b4456a81f006aafaade06f30d6.jpg","text":"TemporaryFile(/tmp/multipartBody6194461878862562435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839693185,"filename":"image_25012025_22_13_02_249140_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ab653ee299baa6547846ca2fd5458a46.jpg","text":"TemporaryFile(/tmp/multipartBody4389266562219573408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839693185,"filename":"image_25012025_22_13_02_249140_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331461387","file1":"1331461381","file0":"1331461378","file3":"1331461394"},"map_files_photo_id_array":[{"photo_id":"1331461387","filename":"file2"},{"photo_id":"1331461381","filename":"file1"},{"photo_id":"1331461378","filename":"file0"},{"photo_id":"1331461394","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331461378":["hashtag1","hashtag2"]},{"1331461394":["hashtag1","hashtag2"]},{"1331461387":["hashtag1","hashtag2"]},{"1331461381":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331461378, 1331461394, 1331461387, 1331461381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.00342035293579 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 22:14:32.240817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/13/image_25012025_22_13_02_249140_0003.jpg', '/home/pi/Desktop/images/25012025/22/14/image_25012025_22_14_02_465303_0000.jpg', '/home/pi/Desktop/images/25012025/22/14/image_25012025_22_14_02_465303_0001.jpg', '/home/pi/Desktop/images/25012025/22/14/image_25012025_22_14_02_465303_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/13/image_25012025_22_13_02_249140_0003.jpg
/home/pi/Desktop/images/25012025/22/14/image_25012025_22_14_02_465303_0000.jpg
/home/pi/Desktop/images/25012025/22/14/image_25012025_22_14_02_465303_0001.jpg
/home/pi/Desktop/images/25012025/22/14/image_25012025_22_14_02_465303_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":["1331461422","1331461425","1331461413","1331461418"],"photo_ids_order":["1331461413","1331461418","1331461422","1331461425"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b79e47e31e21c152f448d31b9de2967e.jpg","text":"TemporaryFile(/tmp/multipartBody3177126018970670468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839743805,"filename":"image_25012025_22_14_02_465303_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4c6611bf25b3cf3476d686644657013e.jpg","text":"TemporaryFile(/tmp/multipartBody4824957312099571407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839743805,"filename":"image_25012025_22_14_02_465303_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/86f663eae32932d1d08899a1c1e71718.jpg","text":"TemporaryFile(/tmp/multipartBody8820155334319794836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839743805,"filename":"image_25012025_22_13_02_249140_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a674c883f53ba2608abcaa3e1793e0a4.jpg","text":"TemporaryFile(/tmp/multipartBody5916556549871708577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839743805,"filename":"image_25012025_22_14_02_465303_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331461422","file1":"1331461418","file0":"1331461413","file3":"1331461425"},"map_files_photo_id_array":[{"photo_id":"1331461422","filename":"file2"},{"photo_id":"1331461418","filename":"file1"},{"photo_id":"1331461413","filename":"file0"},{"photo_id":"1331461425","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331461422":["hashtag1","hashtag2"]},{"1331461425":["hashtag1","hashtag2"]},{"1331461413":["hashtag1","hashtag2"]},{"1331461418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331461422, 1331461425, 1331461413, 1331461418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.22447633743286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:15:22.548897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/14/image_25012025_22_14_02_465303_0003.jpg', '/home/pi/Desktop/images/25012025/22/15/image_25012025_22_15_02_637683_0000.jpg', '/home/pi/Desktop/images/25012025/22/15/image_25012025_22_15_02_637683_0001.jpg', '/home/pi/Desktop/images/25012025/22/15/image_25012025_22_15_02_637683_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/14/image_25012025_22_14_02_465303_0003.jpg
/home/pi/Desktop/images/25012025/22/15/image_25012025_22_15_02_637683_0000.jpg
/home/pi/Desktop/images/25012025/22/15/image_25012025_22_15_02_637683_0001.jpg
/home/pi/Desktop/images/25012025/22/15/image_25012025_22_15_02_637683_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 [200]>
b'{"photo_ids":["1331461477","1331461452","1331461455","1331461490"],"photo_ids_order":["1331461452","1331461455","1331461477","1331461490"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6bb2eadf3b2e87230d05fbcf8a76728c.jpg","text":"TemporaryFile(/tmp/multipartBody6336036822780303894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839794055,"filename":"image_25012025_22_15_02_637683_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5bdf6d0002b23a9e8b3b08177805a63f.jpg","text":"TemporaryFile(/tmp/multipartBody7570438312610857378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839794055,"filename":"image_25012025_22_14_02_465303_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/87b62ee2b551e7c73e4ac89641b90245.jpg","text":"TemporaryFile(/tmp/multipartBody5355455859180094007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839794055,"filename":"image_25012025_22_15_02_637683_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bfe4c0ec12c84249c6b5fab85a546e00.jpg","text":"TemporaryFile(/tmp/multipartBody4268507628038950549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839794055,"filename":"image_25012025_22_15_02_637683_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331461477","file1":"1331461455","file0":"1331461452","file3":"1331461490"},"map_files_photo_id_array":[{"photo_id":"1331461477","filename":"file2"},{"photo_id":"1331461455","filename":"file1"},{"photo_id":"1331461452","filename":"file0"},{"photo_id":"1331461490","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331461477":["hashtag1","hashtag2"]},{"1331461452":["hashtag1","hashtag2"]},{"1331461455":["hashtag1","hashtag2"]},{"1331461490":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331461477, 1331461452, 1331461455, 1331461490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.619365215301514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:16:22.625386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/15/image_25012025_22_15_02_637683_0003.jpg', '/home/pi/Desktop/images/25012025/22/16/image_25012025_22_16_02_790207_0000.jpg', '/home/pi/Desktop/images/25012025/22/16/image_25012025_22_16_02_790207_0001.jpg', '/home/pi/Desktop/images/25012025/22/16/image_25012025_22_16_02_790207_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/15/image_25012025_22_15_02_637683_0003.jpg
/home/pi/Desktop/images/25012025/22/16/image_25012025_22_16_02_790207_0000.jpg
/home/pi/Desktop/images/25012025/22/16/image_25012025_22_16_02_790207_0001.jpg
/home/pi/Desktop/images/25012025/22/16/image_25012025_22_16_02_790207_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 [200]>
b'{"photo_ids":["1331461654","1331461702","1331461694","1331461699"],"photo_ids_order":["1331461654","1331461694","1331461699","1331461702"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c14853b823e9935f6dcc52bbdef41110.jpg","text":"TemporaryFile(/tmp/multipartBody2504890997021543991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839854373,"filename":"image_25012025_22_15_02_637683_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a0ebea73dbd2cc94f7062829705cd1cf.jpg","text":"TemporaryFile(/tmp/multipartBody6073890059303200214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839854373,"filename":"image_25012025_22_16_02_790207_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cc8c812699def2b1d0c2ee4adde6d488.jpg","text":"TemporaryFile(/tmp/multipartBody7637619645058574588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839854373,"filename":"image_25012025_22_16_02_790207_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/359329360f703c85305654f3cdb05a46.jpg","text":"TemporaryFile(/tmp/multipartBody3568766351332088162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839854373,"filename":"image_25012025_22_16_02_790207_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331461699","file1":"1331461694","file0":"1331461654","file3":"1331461702"},"map_files_photo_id_array":[{"photo_id":"1331461699","filename":"file2"},{"photo_id":"1331461694","filename":"file1"},{"photo_id":"1331461654","filename":"file0"},{"photo_id":"1331461702","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331461654":["hashtag1","hashtag2"]},{"1331461702":["hashtag1","hashtag2"]},{"1331461694":["hashtag1","hashtag2"]},{"1331461699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331461654, 1331461702, 1331461694, 1331461699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.37401795387268 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:17:21.885261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/16/image_25012025_22_16_02_790207_0003.jpg', '/home/pi/Desktop/images/25012025/22/17/image_25012025_22_17_02_952048_0000.jpg', '/home/pi/Desktop/images/25012025/22/17/image_25012025_22_17_02_952048_0001.jpg', '/home/pi/Desktop/images/25012025/22/17/image_25012025_22_17_02_952048_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/16/image_25012025_22_16_02_790207_0003.jpg
/home/pi/Desktop/images/25012025/22/17/image_25012025_22_17_02_952048_0000.jpg
/home/pi/Desktop/images/25012025/22/17/image_25012025_22_17_02_952048_0001.jpg
/home/pi/Desktop/images/25012025/22/17/image_25012025_22_17_02_952048_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 [200]>
b'{"photo_ids":["1331461849","1331461723","1331461761","1331461854"],"photo_ids_order":["1331461723","1331461761","1331461849","1331461854"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e2ac5afb6f558a3fdd048732b8b750da.jpg","text":"TemporaryFile(/tmp/multipartBody7760507301850394636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839913502,"filename":"image_25012025_22_17_02_952048_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4a4379412151ce7379a47fb9798c201e.jpg","text":"TemporaryFile(/tmp/multipartBody6328686927633455838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839913502,"filename":"image_25012025_22_16_02_790207_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f3cf9916fcd3c36159773dad732f698f.jpg","text":"TemporaryFile(/tmp/multipartBody2726087630120528395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839913502,"filename":"image_25012025_22_17_02_952048_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d207212cfe6eb8b99a418fd9d3cedb8e.jpg","text":"TemporaryFile(/tmp/multipartBody6856378122419302939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839913502,"filename":"image_25012025_22_17_02_952048_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331461849","file1":"1331461761","file0":"1331461723","file3":"1331461854"},"map_files_photo_id_array":[{"photo_id":"1331461849","filename":"file2"},{"photo_id":"1331461761","filename":"file1"},{"photo_id":"1331461723","filename":"file0"},{"photo_id":"1331461854","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331461849":["hashtag1","hashtag2"]},{"1331461723":["hashtag1","hashtag2"]},{"1331461761":["hashtag1","hashtag2"]},{"1331461854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331461849, 1331461723, 1331461761, 1331461854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.93037414550781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:18:21.980818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/17/image_25012025_22_17_02_952048_0003.jpg', '/home/pi/Desktop/images/25012025/22/18/image_25012025_22_18_02_201707_0000.jpg', '/home/pi/Desktop/images/25012025/22/18/image_25012025_22_18_02_201707_0001.jpg', '/home/pi/Desktop/images/25012025/22/18/image_25012025_22_18_02_201707_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/17/image_25012025_22_17_02_952048_0003.jpg
/home/pi/Desktop/images/25012025/22/18/image_25012025_22_18_02_201707_0000.jpg
/home/pi/Desktop/images/25012025/22/18/image_25012025_22_18_02_201707_0001.jpg
/home/pi/Desktop/images/25012025/22/18/image_25012025_22_18_02_201707_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: 10.61189866065979 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 22:18:41.976624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/17/image_25012025_22_17_02_952048_0003.jpg', '/home/pi/Desktop/images/25012025/22/18/image_25012025_22_18_02_201707_0000.jpg', '/home/pi/Desktop/images/25012025/22/18/image_25012025_22_18_02_201707_0001.jpg', '/home/pi/Desktop/images/25012025/22/18/image_25012025_22_18_02_201707_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/17/image_25012025_22_17_02_952048_0003.jpg
/home/pi/Desktop/images/25012025/22/18/image_25012025_22_18_02_201707_0000.jpg
/home/pi/Desktop/images/25012025/22/18/image_25012025_22_18_02_201707_0001.jpg
/home/pi/Desktop/images/25012025/22/18/image_25012025_22_18_02_201707_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":["1331462856","1331462859","1331462897","1331462690"],"photo_ids_order":["1331462690","1331462856","1331462859","1331462897"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4004495c77c7aa483092e2b46f950e9d.jpg","text":"TemporaryFile(/tmp/multipartBody6172815825150943595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839992951,"filename":"image_25012025_22_18_02_201707_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/67301573d006b1334a160d7d98d53d7f.jpg","text":"TemporaryFile(/tmp/multipartBody7085438531328064519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839992951,"filename":"image_25012025_22_18_02_201707_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b0664152283ec6a7cfc37c78b0288921.jpg","text":"TemporaryFile(/tmp/multipartBody2040725082021729689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839992951,"filename":"image_25012025_22_18_02_201707_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/61055c5f74f054de764b46c1daf3f50c.jpg","text":"TemporaryFile(/tmp/multipartBody1716635828306492711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737839992951,"filename":"image_25012025_22_17_02_952048_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331462859","file1":"1331462856","file0":"1331462690","file3":"1331462897"},"map_files_photo_id_array":[{"photo_id":"1331462859","filename":"file2"},{"photo_id":"1331462856","filename":"file1"},{"photo_id":"1331462690","filename":"file0"},{"photo_id":"1331462897","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331462856":["hashtag1","hashtag2"]},{"1331462859":["hashtag1","hashtag2"]},{"1331462897":["hashtag1","hashtag2"]},{"1331462690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331462856, 1331462859, 1331462897, 1331462690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.84155297279358 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:19:22.193470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/18/image_25012025_22_18_02_201707_0003.jpg', '/home/pi/Desktop/images/25012025/22/19/image_25012025_22_19_02_334334_0000.jpg', '/home/pi/Desktop/images/25012025/22/19/image_25012025_22_19_02_334334_0001.jpg', '/home/pi/Desktop/images/25012025/22/19/image_25012025_22_19_02_334334_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/18/image_25012025_22_18_02_201707_0003.jpg
/home/pi/Desktop/images/25012025/22/19/image_25012025_22_19_02_334334_0000.jpg
/home/pi/Desktop/images/25012025/22/19/image_25012025_22_19_02_334334_0001.jpg
/home/pi/Desktop/images/25012025/22/19/image_25012025_22_19_02_334334_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 [200]>
b'{"photo_ids":["1331462937","1331462939","1331462936","1331462938"],"photo_ids_order":["1331462936","1331462937","1331462938","1331462939"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8ffce0d8cfe5924290cd878e8f0ee1cf.jpg","text":"TemporaryFile(/tmp/multipartBody5019985445586597563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840033761,"filename":"image_25012025_22_19_02_334334_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b1237c46af71cd2a86de4e73bc91809f.jpg","text":"TemporaryFile(/tmp/multipartBody5376050122001509587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840033761,"filename":"image_25012025_22_19_02_334334_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c4ac2b503336ed640b68e499082fdea2.jpg","text":"TemporaryFile(/tmp/multipartBody1050320512861140673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840033761,"filename":"image_25012025_22_18_02_201707_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0cc5724f40a8e39054dcebb6ded4425c.jpg","text":"TemporaryFile(/tmp/multipartBody999729510458995587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840033761,"filename":"image_25012025_22_19_02_334334_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331462938","file1":"1331462937","file0":"1331462936","file3":"1331462939"},"map_files_photo_id_array":[{"photo_id":"1331462938","filename":"file2"},{"photo_id":"1331462937","filename":"file1"},{"photo_id":"1331462936","filename":"file0"},{"photo_id":"1331462939","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331462937":["hashtag1","hashtag2"]},{"1331462939":["hashtag1","hashtag2"]},{"1331462936":["hashtag1","hashtag2"]},{"1331462938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331462937, 1331462939, 1331462936, 1331462938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.112966537475586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:20:22.429125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/19/image_25012025_22_19_02_334334_0003.jpg', '/home/pi/Desktop/images/25012025/22/20/image_25012025_22_20_02_564655_0000.jpg', '/home/pi/Desktop/images/25012025/22/20/image_25012025_22_20_02_564655_0001.jpg', '/home/pi/Desktop/images/25012025/22/20/image_25012025_22_20_02_564655_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/19/image_25012025_22_19_02_334334_0003.jpg
/home/pi/Desktop/images/25012025/22/20/image_25012025_22_20_02_564655_0000.jpg
/home/pi/Desktop/images/25012025/22/20/image_25012025_22_20_02_564655_0001.jpg
/home/pi/Desktop/images/25012025/22/20/image_25012025_22_20_02_564655_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 [200]>
b'{"photo_ids":["1331462976","1331462961","1331462971","1331462965"],"photo_ids_order":["1331462961","1331462965","1331462971","1331462976"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/045e9a2e75cc632e42cde31788122b4d.jpg","text":"TemporaryFile(/tmp/multipartBody8523582113904722673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840093990,"filename":"image_25012025_22_20_02_564655_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1da980ca6aafa227d58d3d5edb9fa950.jpg","text":"TemporaryFile(/tmp/multipartBody7079484943704635059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840093990,"filename":"image_25012025_22_19_02_334334_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/681262b0bed5fb8937c108f5df4a26e6.jpg","text":"TemporaryFile(/tmp/multipartBody5383706670428545778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840093990,"filename":"image_25012025_22_20_02_564655_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e25bd404b92105657dc5ef7d03452a91.jpg","text":"TemporaryFile(/tmp/multipartBody5549078782769371031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840093990,"filename":"image_25012025_22_20_02_564655_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331462971","file1":"1331462965","file0":"1331462961","file3":"1331462976"},"map_files_photo_id_array":[{"photo_id":"1331462971","filename":"file2"},{"photo_id":"1331462965","filename":"file1"},{"photo_id":"1331462961","filename":"file0"},{"photo_id":"1331462976","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331462976":["hashtag1","hashtag2"]},{"1331462961":["hashtag1","hashtag2"]},{"1331462971":["hashtag1","hashtag2"]},{"1331462965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331462976, 1331462961, 1331462971, 1331462965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.93948674201965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:21:22.517338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/20/image_25012025_22_20_02_564655_0003.jpg', '/home/pi/Desktop/images/25012025/22/21/image_25012025_22_21_02_742760_0000.jpg', '/home/pi/Desktop/images/25012025/22/21/image_25012025_22_21_02_742760_0001.jpg', '/home/pi/Desktop/images/25012025/22/21/image_25012025_22_21_02_742760_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/20/image_25012025_22_20_02_564655_0003.jpg
/home/pi/Desktop/images/25012025/22/21/image_25012025_22_21_02_742760_0000.jpg
/home/pi/Desktop/images/25012025/22/21/image_25012025_22_21_02_742760_0001.jpg
/home/pi/Desktop/images/25012025/22/21/image_25012025_22_21_02_742760_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 [200]>
b'{"photo_ids":["1331462997","1331462993","1331462996","1331462995"],"photo_ids_order":["1331462993","1331462995","1331462996","1331462997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/32578173b3f510a66146936da4e5405b.jpg","text":"TemporaryFile(/tmp/multipartBody1299713419620028344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840153654,"filename":"image_25012025_22_21_02_742760_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3daae3888c5cddaeeea37231a2d76e5e.jpg","text":"TemporaryFile(/tmp/multipartBody6539806553649621854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840153654,"filename":"image_25012025_22_20_02_564655_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c5919939b1b62de231500bf2bfbacd28.jpg","text":"TemporaryFile(/tmp/multipartBody6931472891737151407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840153654,"filename":"image_25012025_22_21_02_742760_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f3c9b800c333149401a4e1bce45f38fd.jpg","text":"TemporaryFile(/tmp/multipartBody3329629915817747044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840153654,"filename":"image_25012025_22_21_02_742760_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331462996","file1":"1331462995","file0":"1331462993","file3":"1331462997"},"map_files_photo_id_array":[{"photo_id":"1331462996","filename":"file2"},{"photo_id":"1331462995","filename":"file1"},{"photo_id":"1331462993","filename":"file0"},{"photo_id":"1331462997","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331462997":["hashtag1","hashtag2"]},{"1331462993":["hashtag1","hashtag2"]},{"1331462996":["hashtag1","hashtag2"]},{"1331462995":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331462997, 1331462993, 1331462996, 1331462995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.880289793014526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:22:22.678530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/21/image_25012025_22_21_02_742760_0003.jpg', '/home/pi/Desktop/images/25012025/22/22/image_25012025_22_22_02_906389_0000.jpg', '/home/pi/Desktop/images/25012025/22/22/image_25012025_22_22_02_906389_0001.jpg', '/home/pi/Desktop/images/25012025/22/22/image_25012025_22_22_02_906389_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/21/image_25012025_22_21_02_742760_0003.jpg
/home/pi/Desktop/images/25012025/22/22/image_25012025_22_22_02_906389_0000.jpg
/home/pi/Desktop/images/25012025/22/22/image_25012025_22_22_02_906389_0001.jpg
/home/pi/Desktop/images/25012025/22/22/image_25012025_22_22_02_906389_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":["1331463066","1331463060","1331463050","1331463063"],"photo_ids_order":["1331463050","1331463060","1331463063","1331463066"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/34e1d7ff1be42086afe171a47aa19f51.jpg","text":"TemporaryFile(/tmp/multipartBody2657040145631827096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840213792,"filename":"image_25012025_22_22_02_906389_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d40ca515b01920090b30ab30554d3c6d.jpg","text":"TemporaryFile(/tmp/multipartBody6603977867212773035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840213792,"filename":"image_25012025_22_22_02_906389_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8e4accae2667c4515616cbe3b5d77c8c.jpg","text":"TemporaryFile(/tmp/multipartBody5539054461732391784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840213792,"filename":"image_25012025_22_21_02_742760_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4c131453c3b62fecd78418c9f4f16ef8.jpg","text":"TemporaryFile(/tmp/multipartBody4533551545865879611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840213792,"filename":"image_25012025_22_22_02_906389_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331463063","file1":"1331463060","file0":"1331463050","file3":"1331463066"},"map_files_photo_id_array":[{"photo_id":"1331463063","filename":"file2"},{"photo_id":"1331463060","filename":"file1"},{"photo_id":"1331463050","filename":"file0"},{"photo_id":"1331463066","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331463066":["hashtag1","hashtag2"]},{"1331463060":["hashtag1","hashtag2"]},{"1331463050":["hashtag1","hashtag2"]},{"1331463063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331463066, 1331463060, 1331463050, 1331463063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.58677411079407 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-25 22:23:21.926984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/22/image_25012025_22_22_02_906389_0003.jpg', '/home/pi/Desktop/images/25012025/22/23/image_25012025_22_23_03_055693_0000.jpg', '/home/pi/Desktop/images/25012025/22/23/image_25012025_22_23_03_055693_0001.jpg', '/home/pi/Desktop/images/25012025/22/23/image_25012025_22_23_03_055693_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/22/image_25012025_22_22_02_906389_0003.jpg
/home/pi/Desktop/images/25012025/22/23/image_25012025_22_23_03_055693_0000.jpg
/home/pi/Desktop/images/25012025/22/23/image_25012025_22_23_03_055693_0001.jpg
/home/pi/Desktop/images/25012025/22/23/image_25012025_22_23_03_055693_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 [200]>
b'{"photo_ids":["1331463135","1331463138","1331463140","1331463136"],"photo_ids_order":["1331463135","1331463136","1331463138","1331463140"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/287d099ea45099dd090bdccfa30e042e.jpg","text":"TemporaryFile(/tmp/multipartBody8038794510960591959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840273532,"filename":"image_25012025_22_22_02_906389_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/695028d07b427ca6e78111f6c8cdef82.jpg","text":"TemporaryFile(/tmp/multipartBody5979881534705795995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840273532,"filename":"image_25012025_22_23_03_055693_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1e7976766ad42e88dab0a27beea37986.jpg","text":"TemporaryFile(/tmp/multipartBody8361571620855305322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840273532,"filename":"image_25012025_22_23_03_055693_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0112f56ddcdb81a66fcf2f532686d47d.jpg","text":"TemporaryFile(/tmp/multipartBody7324788242543159463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840273532,"filename":"image_25012025_22_23_03_055693_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331463138","file1":"1331463136","file0":"1331463135","file3":"1331463140"},"map_files_photo_id_array":[{"photo_id":"1331463138","filename":"file2"},{"photo_id":"1331463136","filename":"file1"},{"photo_id":"1331463135","filename":"file0"},{"photo_id":"1331463140","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331463135":["hashtag1","hashtag2"]},{"1331463138":["hashtag1","hashtag2"]},{"1331463140":["hashtag1","hashtag2"]},{"1331463136":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331463135, 1331463138, 1331463140, 1331463136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.88992428779602 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:24:22.123070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/23/image_25012025_22_23_03_055693_0003.jpg', '/home/pi/Desktop/images/25012025/22/24/image_25012025_22_24_02_307726_0000.jpg', '/home/pi/Desktop/images/25012025/22/24/image_25012025_22_24_02_307726_0001.jpg', '/home/pi/Desktop/images/25012025/22/24/image_25012025_22_24_02_307726_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/23/image_25012025_22_23_03_055693_0003.jpg
/home/pi/Desktop/images/25012025/22/24/image_25012025_22_24_02_307726_0000.jpg
/home/pi/Desktop/images/25012025/22/24/image_25012025_22_24_02_307726_0001.jpg
/home/pi/Desktop/images/25012025/22/24/image_25012025_22_24_02_307726_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 [200]>
b'{"photo_ids":["1331463171","1331463165","1331463161","1331463175"],"photo_ids_order":["1331463161","1331463165","1331463171","1331463175"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ff607bcb446d70c0769a6e68cd945760.jpg","text":"TemporaryFile(/tmp/multipartBody8270082064765603114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840333540,"filename":"image_25012025_22_24_02_307726_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a1a2cb81cf54c925f39c82d28a492f93.jpg","text":"TemporaryFile(/tmp/multipartBody567448002132357871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840333540,"filename":"image_25012025_22_24_02_307726_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f86ecc3ba60d8f9392e7274efe573bf2.jpg","text":"TemporaryFile(/tmp/multipartBody824095853370524368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840333540,"filename":"image_25012025_22_23_03_055693_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/af618b8dc4554f069def7a4b7e02b927.jpg","text":"TemporaryFile(/tmp/multipartBody6729243798996694239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840333540,"filename":"image_25012025_22_24_02_307726_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331463171","file1":"1331463165","file0":"1331463161","file3":"1331463175"},"map_files_photo_id_array":[{"photo_id":"1331463171","filename":"file2"},{"photo_id":"1331463165","filename":"file1"},{"photo_id":"1331463161","filename":"file0"},{"photo_id":"1331463175","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331463171":["hashtag1","hashtag2"]},{"1331463165":["hashtag1","hashtag2"]},{"1331463161":["hashtag1","hashtag2"]},{"1331463175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331463171, 1331463165, 1331463161, 1331463175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.71720218658447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:25:22.351178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/24/image_25012025_22_24_02_307726_0003.jpg', '/home/pi/Desktop/images/25012025/22/25/image_25012025_22_25_02_461395_0000.jpg', '/home/pi/Desktop/images/25012025/22/25/image_25012025_22_25_02_461395_0001.jpg', '/home/pi/Desktop/images/25012025/22/25/image_25012025_22_25_02_461395_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/24/image_25012025_22_24_02_307726_0003.jpg
/home/pi/Desktop/images/25012025/22/25/image_25012025_22_25_02_461395_0000.jpg
/home/pi/Desktop/images/25012025/22/25/image_25012025_22_25_02_461395_0001.jpg
/home/pi/Desktop/images/25012025/22/25/image_25012025_22_25_02_461395_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 [200]>
b'{"photo_ids":["1331463228","1331463237","1331463232","1331463241"],"photo_ids_order":["1331463228","1331463232","1331463237","1331463241"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/517199fdab284f4be421be9323192078.jpg","text":"TemporaryFile(/tmp/multipartBody7547397095059727772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840393686,"filename":"image_25012025_22_24_02_307726_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b30825eba3a3ef95593be38e94347dc8.jpg","text":"TemporaryFile(/tmp/multipartBody6278313631777710553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840393686,"filename":"image_25012025_22_25_02_461395_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bd47ea2fe37cc22c076013fb18983932.jpg","text":"TemporaryFile(/tmp/multipartBody4933867309363873492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840393686,"filename":"image_25012025_22_25_02_461395_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/73e1d48419393bf0af2fe374dfdc4829.jpg","text":"TemporaryFile(/tmp/multipartBody7215859272464667272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840393686,"filename":"image_25012025_22_25_02_461395_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331463237","file1":"1331463232","file0":"1331463228","file3":"1331463241"},"map_files_photo_id_array":[{"photo_id":"1331463237","filename":"file2"},{"photo_id":"1331463232","filename":"file1"},{"photo_id":"1331463228","filename":"file0"},{"photo_id":"1331463241","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331463228":["hashtag1","hashtag2"]},{"1331463237":["hashtag1","hashtag2"]},{"1331463232":["hashtag1","hashtag2"]},{"1331463241":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331463228, 1331463237, 1331463232, 1331463241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.97339749336243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:26:22.516982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/25/image_25012025_22_25_02_461395_0003.jpg', '/home/pi/Desktop/images/25012025/22/26/image_25012025_22_26_02_726985_0000.jpg', '/home/pi/Desktop/images/25012025/22/26/image_25012025_22_26_02_726985_0001.jpg', '/home/pi/Desktop/images/25012025/22/26/image_25012025_22_26_02_726985_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/25/image_25012025_22_25_02_461395_0003.jpg
/home/pi/Desktop/images/25012025/22/26/image_25012025_22_26_02_726985_0000.jpg
/home/pi/Desktop/images/25012025/22/26/image_25012025_22_26_02_726985_0001.jpg
/home/pi/Desktop/images/25012025/22/26/image_25012025_22_26_02_726985_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 [200]>
b'{"photo_ids":["1331463263","1331463271","1331463259","1331463268"],"photo_ids_order":["1331463259","1331463263","1331463268","1331463271"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7f907439b8a4b21a24e83637b1640eba.jpg","text":"TemporaryFile(/tmp/multipartBody8297388887477401420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840454171,"filename":"image_25012025_22_26_02_726985_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6eb52db9576c1b40e4f145152b57bfab.jpg","text":"TemporaryFile(/tmp/multipartBody5931798830774063132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840454171,"filename":"image_25012025_22_26_02_726985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2ec36de63cb038c3ec45ae063d079fb9.jpg","text":"TemporaryFile(/tmp/multipartBody3118905499528539129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840454171,"filename":"image_25012025_22_25_02_461395_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3a04952ffbcebd2afa8f494cb5447320.jpg","text":"TemporaryFile(/tmp/multipartBody529620754558512344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840454171,"filename":"image_25012025_22_26_02_726985_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331463268","file1":"1331463263","file0":"1331463259","file3":"1331463271"},"map_files_photo_id_array":[{"photo_id":"1331463268","filename":"file2"},{"photo_id":"1331463263","filename":"file1"},{"photo_id":"1331463259","filename":"file0"},{"photo_id":"1331463271","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331463263":["hashtag1","hashtag2"]},{"1331463271":["hashtag1","hashtag2"]},{"1331463259":["hashtag1","hashtag2"]},{"1331463268":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331463263, 1331463271, 1331463259, 1331463268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.71287155151367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:27:22.694317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/26/image_25012025_22_26_02_726985_0003.jpg', '/home/pi/Desktop/images/25012025/22/27/image_25012025_22_27_02_842586_0000.jpg', '/home/pi/Desktop/images/25012025/22/27/image_25012025_22_27_02_842586_0001.jpg', '/home/pi/Desktop/images/25012025/22/27/image_25012025_22_27_02_842586_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/26/image_25012025_22_26_02_726985_0003.jpg
/home/pi/Desktop/images/25012025/22/27/image_25012025_22_27_02_842586_0000.jpg
/home/pi/Desktop/images/25012025/22/27/image_25012025_22_27_02_842586_0001.jpg
/home/pi/Desktop/images/25012025/22/27/image_25012025_22_27_02_842586_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 [200]>
b'{"photo_ids":["1331463300","1331463305","1331463294","1331463288"],"photo_ids_order":["1331463288","1331463294","1331463300","1331463305"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d1036a464651676e40b13656bc6a57ac.jpg","text":"TemporaryFile(/tmp/multipartBody8442394150193226656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840514202,"filename":"image_25012025_22_27_02_842586_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e57e044c23590a0689af773e95c699ec.jpg","text":"TemporaryFile(/tmp/multipartBody7530605579266943609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840514202,"filename":"image_25012025_22_27_02_842586_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5c9aa6e620bf204b5c3d38ac67811b55.jpg","text":"TemporaryFile(/tmp/multipartBody5447593424502361962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840514202,"filename":"image_25012025_22_27_02_842586_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/27167aafaeaf0ec2df79aecd0eb77d1f.jpg","text":"TemporaryFile(/tmp/multipartBody1517996185775504982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840514202,"filename":"image_25012025_22_26_02_726985_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331463300","file1":"1331463294","file0":"1331463288","file3":"1331463305"},"map_files_photo_id_array":[{"photo_id":"1331463300","filename":"file2"},{"photo_id":"1331463294","filename":"file1"},{"photo_id":"1331463288","filename":"file0"},{"photo_id":"1331463305","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331463300":["hashtag1","hashtag2"]},{"1331463305":["hashtag1","hashtag2"]},{"1331463294":["hashtag1","hashtag2"]},{"1331463288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331463300, 1331463305, 1331463294, 1331463288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.574517011642456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:28:22.066312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/27/image_25012025_22_27_02_842586_0003.jpg', '/home/pi/Desktop/images/25012025/22/28/image_25012025_22_28_03_032784_0000.jpg', '/home/pi/Desktop/images/25012025/22/28/image_25012025_22_28_03_032784_0001.jpg', '/home/pi/Desktop/images/25012025/22/28/image_25012025_22_28_03_032784_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/27/image_25012025_22_27_02_842586_0003.jpg
/home/pi/Desktop/images/25012025/22/28/image_25012025_22_28_03_032784_0000.jpg
/home/pi/Desktop/images/25012025/22/28/image_25012025_22_28_03_032784_0001.jpg
/home/pi/Desktop/images/25012025/22/28/image_25012025_22_28_03_032784_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 [200]>
b'{"photo_ids":["1331463344","1331463352","1331463355","1331463349"],"photo_ids_order":["1331463344","1331463349","1331463352","1331463355"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/39edacf68e6377f03741b5c2d5eef427.jpg","text":"TemporaryFile(/tmp/multipartBody2332220591229599193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840573216,"filename":"image_25012025_22_27_02_842586_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7cf910ce46b4230539cc4a2a87aed588.jpg","text":"TemporaryFile(/tmp/multipartBody3870014780876085287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840573216,"filename":"image_25012025_22_28_03_032784_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bad622dd0da03c93e70ce0bc0be2c9d0.jpg","text":"TemporaryFile(/tmp/multipartBody3796520917845370809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840573216,"filename":"image_25012025_22_28_03_032784_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f8ddf222a60174c88abefa04ea73e16c.jpg","text":"TemporaryFile(/tmp/multipartBody5927948906269514383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840573216,"filename":"image_25012025_22_28_03_032784_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331463352","file1":"1331463349","file0":"1331463344","file3":"1331463355"},"map_files_photo_id_array":[{"photo_id":"1331463352","filename":"file2"},{"photo_id":"1331463349","filename":"file1"},{"photo_id":"1331463344","filename":"file0"},{"photo_id":"1331463355","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331463344":["hashtag1","hashtag2"]},{"1331463352":["hashtag1","hashtag2"]},{"1331463355":["hashtag1","hashtag2"]},{"1331463349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331463344, 1331463352, 1331463355, 1331463349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.05187129974365 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:29:22.159947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/28/image_25012025_22_28_03_032784_0003.jpg', '/home/pi/Desktop/images/25012025/22/29/image_25012025_22_29_02_326724_0000.jpg', '/home/pi/Desktop/images/25012025/22/29/image_25012025_22_29_02_326724_0001.jpg', '/home/pi/Desktop/images/25012025/22/29/image_25012025_22_29_02_326724_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/28/image_25012025_22_28_03_032784_0003.jpg
/home/pi/Desktop/images/25012025/22/29/image_25012025_22_29_02_326724_0000.jpg
/home/pi/Desktop/images/25012025/22/29/image_25012025_22_29_02_326724_0001.jpg
/home/pi/Desktop/images/25012025/22/29/image_25012025_22_29_02_326724_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":["1331463389","1331463380","1331463373","1331463396"],"photo_ids_order":["1331463373","1331463380","1331463389","1331463396"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f94bbe2e75e0759ad22c38807850f50f.jpg","text":"TemporaryFile(/tmp/multipartBody1854201207167030733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840633272,"filename":"image_25012025_22_29_02_326724_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bdfea1cf42d41bfc9a6a3a720cb1e192.jpg","text":"TemporaryFile(/tmp/multipartBody937977253279367594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840633272,"filename":"image_25012025_22_29_02_326724_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/234fb1f26a85597f99daa8ddeb2704c9.jpg","text":"TemporaryFile(/tmp/multipartBody4112356341827006568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840633272,"filename":"image_25012025_22_28_03_032784_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cd90baa6996cf7f5f263cedf02995c74.jpg","text":"TemporaryFile(/tmp/multipartBody3409938858186889393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840633272,"filename":"image_25012025_22_29_02_326724_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331463389","file1":"1331463380","file0":"1331463373","file3":"1331463396"},"map_files_photo_id_array":[{"photo_id":"1331463389","filename":"file2"},{"photo_id":"1331463380","filename":"file1"},{"photo_id":"1331463373","filename":"file0"},{"photo_id":"1331463396","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331463389":["hashtag1","hashtag2"]},{"1331463380":["hashtag1","hashtag2"]},{"1331463373":["hashtag1","hashtag2"]},{"1331463396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331463389, 1331463380, 1331463373, 1331463396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.755215644836426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 22:30:02.833460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/23/07/image_21012025_23_07_02_917535_0002.jpg', '/home/pi/Desktop/images/21012025/23/07/image_21012025_23_07_02_917535_0003.jpg', '/home/pi/Desktop/images/21012025/23/08/image_21012025_23_08_03_092021_0000.jpg', '/home/pi/Desktop/images/21012025/23/08/image_21012025_23_08_03_092021_0001.jpg', '/home/pi/Desktop/images/21012025/23/08/image_21012025_23_08_03_092021_0002.jpg', '/home/pi/Desktop/images/21012025/23/08/image_21012025_23_08_03_092021_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/23/07/image_21012025_23_07_02_917535_0002.jpg
/home/pi/Desktop/images/21012025/23/07/image_21012025_23_07_02_917535_0003.jpg
/home/pi/Desktop/images/21012025/23/08/image_21012025_23_08_03_092021_0000.jpg
/home/pi/Desktop/images/21012025/23/08/image_21012025_23_08_03_092021_0001.jpg
/home/pi/Desktop/images/21012025/23/08/image_21012025_23_08_03_092021_0002.jpg
/home/pi/Desktop/images/21012025/23/08/image_21012025_23_08_03_092021_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 [200]>
b'{"photo_ids":["1331463414","1331463428","1331463443","1331463425","1331463439","1331463433"],"photo_ids_order":["1331463414","1331463425","1331463428","1331463433","1331463439","1331463443"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5dd7eb5ad98fe3420ec1f78a0e324b4d.jpg","text":"TemporaryFile(/tmp/multipartBody4071750285855294322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840680120,"filename":"image_21012025_23_07_02_917535_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8438099a23daba671cdc46e95916431f.jpg","text":"TemporaryFile(/tmp/multipartBody5730154799489797692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840680120,"filename":"image_21012025_23_08_03_092021_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8df4f3e25b7d1d788a4f44737149137c.jpg","text":"TemporaryFile(/tmp/multipartBody4963621853465985502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840680120,"filename":"image_21012025_23_08_03_092021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ee41ec32705e664bd58022456ce8e7eb.jpg","text":"TemporaryFile(/tmp/multipartBody5458481516662296088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840680120,"filename":"image_21012025_23_07_02_917535_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ce9ec2529a521b80f6a89b281710169c.jpg","text":"TemporaryFile(/tmp/multipartBody3418906304754637666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840680120,"filename":"image_21012025_23_08_03_092021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/69cce5bb31089c6eb975e4ccdfde054b.jpg","text":"TemporaryFile(/tmp/multipartBody5127122193723702505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840680120,"filename":"image_21012025_23_08_03_092021_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331463428","file1":"1331463425","file0":"1331463414","file4":"1331463439","file5":"1331463443","file3":"1331463433"},"map_files_photo_id_array":[{"photo_id":"1331463443","filename":"file5"},{"photo_id":"1331463428","filename":"file2"},{"photo_id":"1331463439","filename":"file4"},{"photo_id":"1331463425","filename":"file1"},{"photo_id":"1331463414","filename":"file0"},{"photo_id":"1331463433","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331463414":["hashtag1","hashtag2"]},{"1331463428":["hashtag1","hashtag2"]},{"1331463443":["hashtag1","hashtag2"]},{"1331463425":["hashtag1","hashtag2"]},{"1331463439":["hashtag1","hashtag2"]},{"1331463433":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331463414, 1331463428, 1331463443, 1331463425, 1331463439, 1331463433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.94820761680603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 22:31:03.112650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/29/image_25012025_22_29_02_326724_0003.jpg', '/home/pi/Desktop/images/25012025/22/30/image_25012025_22_30_02_574051_0000.jpg', '/home/pi/Desktop/images/25012025/22/30/image_25012025_22_30_02_574051_0001.jpg', '/home/pi/Desktop/images/25012025/22/30/image_25012025_22_30_02_574051_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/29/image_25012025_22_29_02_326724_0003.jpg
/home/pi/Desktop/images/25012025/22/30/image_25012025_22_30_02_574051_0000.jpg
/home/pi/Desktop/images/25012025/22/30/image_25012025_22_30_02_574051_0001.jpg
/home/pi/Desktop/images/25012025/22/30/image_25012025_22_30_02_574051_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.420209407806396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:31:22.496574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/29/image_25012025_22_29_02_326724_0003.jpg', '/home/pi/Desktop/images/25012025/22/30/image_25012025_22_30_02_574051_0000.jpg', '/home/pi/Desktop/images/25012025/22/30/image_25012025_22_30_02_574051_0001.jpg', '/home/pi/Desktop/images/25012025/22/30/image_25012025_22_30_02_574051_0002.jpg', '/home/pi/Desktop/images/25012025/22/30/image_25012025_22_30_02_574051_0003.jpg', '/home/pi/Desktop/images/25012025/22/31/image_25012025_22_31_02_725720_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/29/image_25012025_22_29_02_326724_0003.jpg
/home/pi/Desktop/images/25012025/22/30/image_25012025_22_30_02_574051_0000.jpg
/home/pi/Desktop/images/25012025/22/30/image_25012025_22_30_02_574051_0001.jpg
/home/pi/Desktop/images/25012025/22/30/image_25012025_22_30_02_574051_0002.jpg
/home/pi/Desktop/images/25012025/22/30/image_25012025_22_30_02_574051_0003.jpg
/home/pi/Desktop/images/25012025/22/31/image_25012025_22_31_02_725720_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 [200]>
b'{"photo_ids":["1331463915","1331463874","1331463910","1331463913","1331463907","1331463879"],"photo_ids_order":["1331463874","1331463879","1331463907","1331463910","1331463913","1331463915"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c32865d4161dfa2de383a61c49d22f8c.jpg","text":"TemporaryFile(/tmp/multipartBody4310581592965112293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840759674,"filename":"image_25012025_22_31_02_725720_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1f45abc08b3299d185159fc2e343fa0c.jpg","text":"TemporaryFile(/tmp/multipartBody7072476374156159180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840759674,"filename":"image_25012025_22_29_02_326724_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1dc8acc63ffd0d99ebceb950161495a1.jpg","text":"TemporaryFile(/tmp/multipartBody8023798671879948759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840759674,"filename":"image_25012025_22_30_02_574051_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3b6b32bc1733c59f5512e4d9d685a1c5.jpg","text":"TemporaryFile(/tmp/multipartBody1922712223525208070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840759674,"filename":"image_25012025_22_30_02_574051_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4d626bdee98d35b9497de4e071fee276.jpg","text":"TemporaryFile(/tmp/multipartBody2793666324094462376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840759674,"filename":"image_25012025_22_30_02_574051_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bde6ca6f07e8d1b775a5fb6af02b6140.jpg","text":"TemporaryFile(/tmp/multipartBody8077404968332847871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840759674,"filename":"image_25012025_22_30_02_574051_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331463907","file1":"1331463879","file0":"1331463874","file4":"1331463913","file5":"1331463915","file3":"1331463910"},"map_files_photo_id_array":[{"photo_id":"1331463915","filename":"file5"},{"photo_id":"1331463907","filename":"file2"},{"photo_id":"1331463913","filename":"file4"},{"photo_id":"1331463879","filename":"file1"},{"photo_id":"1331463874","filename":"file0"},{"photo_id":"1331463910","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331463915":["hashtag1","hashtag2"]},{"1331463874":["hashtag1","hashtag2"]},{"1331463910":["hashtag1","hashtag2"]},{"1331463913":["hashtag1","hashtag2"]},{"1331463907":["hashtag1","hashtag2"]},{"1331463879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331463915, 1331463874, 1331463910, 1331463913, 1331463907, 1331463879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.85999393463135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:32:22.722345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/31/image_25012025_22_31_02_725720_0001.jpg', '/home/pi/Desktop/images/25012025/22/31/image_25012025_22_31_02_725720_0002.jpg', '/home/pi/Desktop/images/25012025/22/31/image_25012025_22_31_02_725720_0003.jpg', '/home/pi/Desktop/images/25012025/22/32/image_25012025_22_32_02_865278_0000.jpg', '/home/pi/Desktop/images/25012025/22/32/image_25012025_22_32_02_865278_0001.jpg', '/home/pi/Desktop/images/25012025/22/32/image_25012025_22_32_02_865278_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/31/image_25012025_22_31_02_725720_0001.jpg
/home/pi/Desktop/images/25012025/22/31/image_25012025_22_31_02_725720_0002.jpg
/home/pi/Desktop/images/25012025/22/31/image_25012025_22_31_02_725720_0003.jpg
/home/pi/Desktop/images/25012025/22/32/image_25012025_22_32_02_865278_0000.jpg
/home/pi/Desktop/images/25012025/22/32/image_25012025_22_32_02_865278_0001.jpg
/home/pi/Desktop/images/25012025/22/32/image_25012025_22_32_02_865278_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 [200]>
b'{"photo_ids":["1331463945","1331463950","1331463928","1331463943","1331463937","1331463931"],"photo_ids_order":["1331463928","1331463931","1331463937","1331463943","1331463945","1331463950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8875a0a22f576c0b9030f1a1e7094199.jpg","text":"TemporaryFile(/tmp/multipartBody4401072635188997300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840819706,"filename":"image_25012025_22_32_02_865278_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/166a887c27158670dc7d6ef74465a88f.jpg","text":"TemporaryFile(/tmp/multipartBody6794371307112580695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840819706,"filename":"image_25012025_22_32_02_865278_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4446b5c5eba74c49f8b4142fcef91b82.jpg","text":"TemporaryFile(/tmp/multipartBody104723309280034346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840819706,"filename":"image_25012025_22_31_02_725720_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f50dbb3ca80d0aa65ab933f2fc36ec3b.jpg","text":"TemporaryFile(/tmp/multipartBody9028011609092449044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840819706,"filename":"image_25012025_22_32_02_865278_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e7626b9fc78e5b51f1b828033b0d1b46.jpg","text":"TemporaryFile(/tmp/multipartBody5039160479049507656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840819706,"filename":"image_25012025_22_31_02_725720_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d9e026723f141f5666278e6d2a3f3873.jpg","text":"TemporaryFile(/tmp/multipartBody3214787433470781146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840819706,"filename":"image_25012025_22_31_02_725720_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331463937","file1":"1331463931","file0":"1331463928","file4":"1331463945","file5":"1331463950","file3":"1331463943"},"map_files_photo_id_array":[{"photo_id":"1331463950","filename":"file5"},{"photo_id":"1331463937","filename":"file2"},{"photo_id":"1331463945","filename":"file4"},{"photo_id":"1331463931","filename":"file1"},{"photo_id":"1331463928","filename":"file0"},{"photo_id":"1331463943","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331463945":["hashtag1","hashtag2"]},{"1331463950":["hashtag1","hashtag2"]},{"1331463928":["hashtag1","hashtag2"]},{"1331463943":["hashtag1","hashtag2"]},{"1331463937":["hashtag1","hashtag2"]},{"1331463931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331463945, 1331463950, 1331463928, 1331463943, 1331463937, 1331463931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.22075796127319 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:33:21.828096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/32/image_25012025_22_32_02_865278_0003.jpg', '/home/pi/Desktop/images/25012025/22/33/image_25012025_22_33_03_040835_0000.jpg', '/home/pi/Desktop/images/25012025/22/33/image_25012025_22_33_03_040835_0001.jpg', '/home/pi/Desktop/images/25012025/22/33/image_25012025_22_33_03_040835_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/32/image_25012025_22_32_02_865278_0003.jpg
/home/pi/Desktop/images/25012025/22/33/image_25012025_22_33_03_040835_0000.jpg
/home/pi/Desktop/images/25012025/22/33/image_25012025_22_33_03_040835_0001.jpg
/home/pi/Desktop/images/25012025/22/33/image_25012025_22_33_03_040835_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 [200]>
b'{"photo_ids":["1331463983","1331463956","1331463979","1331463987"],"photo_ids_order":["1331463956","1331463979","1331463983","1331463987"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/db507056f36ee23d70167d51509cd5be.jpg","text":"TemporaryFile(/tmp/multipartBody41866467492146830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840873197,"filename":"image_25012025_22_33_03_040835_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dce9adda0d6cf9bd889375c7ce433f55.jpg","text":"TemporaryFile(/tmp/multipartBody1631842021101734941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840873197,"filename":"image_25012025_22_32_02_865278_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/382a977b8147bdf3bcc7dbd3104e068a.jpg","text":"TemporaryFile(/tmp/multipartBody540674901661186634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840873197,"filename":"image_25012025_22_33_03_040835_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1a151c5ac1c07692956196895d3d1e0c.jpg","text":"TemporaryFile(/tmp/multipartBody8823439954708871149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840873197,"filename":"image_25012025_22_33_03_040835_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331463983","file1":"1331463979","file0":"1331463956","file3":"1331463987"},"map_files_photo_id_array":[{"photo_id":"1331463983","filename":"file2"},{"photo_id":"1331463979","filename":"file1"},{"photo_id":"1331463956","filename":"file0"},{"photo_id":"1331463987","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331463983":["hashtag1","hashtag2"]},{"1331463956":["hashtag1","hashtag2"]},{"1331463979":["hashtag1","hashtag2"]},{"1331463987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331463983, 1331463956, 1331463979, 1331463987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.25466012954712 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:34:22.106580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/33/image_25012025_22_33_03_040835_0003.jpg', '/home/pi/Desktop/images/25012025/22/34/image_25012025_22_34_02_261448_0000.jpg', '/home/pi/Desktop/images/25012025/22/34/image_25012025_22_34_02_261448_0001.jpg', '/home/pi/Desktop/images/25012025/22/34/image_25012025_22_34_02_261448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/33/image_25012025_22_33_03_040835_0003.jpg
/home/pi/Desktop/images/25012025/22/34/image_25012025_22_34_02_261448_0000.jpg
/home/pi/Desktop/images/25012025/22/34/image_25012025_22_34_02_261448_0001.jpg
/home/pi/Desktop/images/25012025/22/34/image_25012025_22_34_02_261448_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: 11.095253229141235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 22:34:42.077087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/33/image_25012025_22_33_03_040835_0003.jpg', '/home/pi/Desktop/images/25012025/22/34/image_25012025_22_34_02_261448_0000.jpg', '/home/pi/Desktop/images/25012025/22/34/image_25012025_22_34_02_261448_0001.jpg', '/home/pi/Desktop/images/25012025/22/34/image_25012025_22_34_02_261448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/33/image_25012025_22_33_03_040835_0003.jpg
/home/pi/Desktop/images/25012025/22/34/image_25012025_22_34_02_261448_0000.jpg
/home/pi/Desktop/images/25012025/22/34/image_25012025_22_34_02_261448_0001.jpg
/home/pi/Desktop/images/25012025/22/34/image_25012025_22_34_02_261448_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":["1331464200","1331464154","1331464202","1331464198"],"photo_ids_order":["1331464154","1331464198","1331464200","1331464202"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7853ccafa04edac75bec0c26d7f57683.jpg","text":"TemporaryFile(/tmp/multipartBody2988245545916223397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840953542,"filename":"image_25012025_22_34_02_261448_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e19365da09c67acc10fb2d55e51598b0.jpg","text":"TemporaryFile(/tmp/multipartBody8606114535015525079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840953542,"filename":"image_25012025_22_33_03_040835_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cafcf4ad2cd60d888716fba2a2e538c4.jpg","text":"TemporaryFile(/tmp/multipartBody492042161951681216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840953542,"filename":"image_25012025_22_34_02_261448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/37e0b7937aca0c64ac852be5a8497565.jpg","text":"TemporaryFile(/tmp/multipartBody3720715583105282785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840953542,"filename":"image_25012025_22_34_02_261448_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331464200","file1":"1331464198","file0":"1331464154","file3":"1331464202"},"map_files_photo_id_array":[{"photo_id":"1331464200","filename":"file2"},{"photo_id":"1331464198","filename":"file1"},{"photo_id":"1331464154","filename":"file0"},{"photo_id":"1331464202","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331464200":["hashtag1","hashtag2"]},{"1331464154":["hashtag1","hashtag2"]},{"1331464202":["hashtag1","hashtag2"]},{"1331464198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331464200, 1331464154, 1331464202, 1331464198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.278459787368774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:35:22.309493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/34/image_25012025_22_34_02_261448_0003.jpg', '/home/pi/Desktop/images/25012025/22/35/image_25012025_22_35_02_424854_0000.jpg', '/home/pi/Desktop/images/25012025/22/35/image_25012025_22_35_02_424854_0001.jpg', '/home/pi/Desktop/images/25012025/22/35/image_25012025_22_35_02_424854_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/34/image_25012025_22_34_02_261448_0003.jpg
/home/pi/Desktop/images/25012025/22/35/image_25012025_22_35_02_424854_0000.jpg
/home/pi/Desktop/images/25012025/22/35/image_25012025_22_35_02_424854_0001.jpg
/home/pi/Desktop/images/25012025/22/35/image_25012025_22_35_02_424854_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":["1331464220","1331464214","1331464228","1331464236"],"photo_ids_order":["1331464214","1331464220","1331464228","1331464236"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8b0d096be3837e0bd14ea38a1f87d791.jpg","text":"TemporaryFile(/tmp/multipartBody4768521816591263463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840993884,"filename":"image_25012025_22_35_02_424854_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/49829cef10b944c617e9b22d569a7a7f.jpg","text":"TemporaryFile(/tmp/multipartBody1793067586815143119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840993884,"filename":"image_25012025_22_34_02_261448_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/52df60fc9b8c2af724c9e39ff9a10b80.jpg","text":"TemporaryFile(/tmp/multipartBody5916771592427948994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840993884,"filename":"image_25012025_22_35_02_424854_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/767b4d2a3b0cf45c8bf5c30e733e2fab.jpg","text":"TemporaryFile(/tmp/multipartBody333771117825566137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737840993884,"filename":"image_25012025_22_35_02_424854_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331464228","file1":"1331464220","file0":"1331464214","file3":"1331464236"},"map_files_photo_id_array":[{"photo_id":"1331464228","filename":"file2"},{"photo_id":"1331464220","filename":"file1"},{"photo_id":"1331464214","filename":"file0"},{"photo_id":"1331464236","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331464220":["hashtag1","hashtag2"]},{"1331464214":["hashtag1","hashtag2"]},{"1331464228":["hashtag1","hashtag2"]},{"1331464236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331464220, 1331464214, 1331464228, 1331464236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.114394664764404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 22:36:02.802246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/23/09/image_21012025_23_09_02_252250_0000.jpg', '/home/pi/Desktop/images/21012025/23/09/image_21012025_23_09_02_252250_0001.jpg', '/home/pi/Desktop/images/21012025/23/09/image_21012025_23_09_02_252250_0002.jpg', '/home/pi/Desktop/images/21012025/23/09/image_21012025_23_09_02_252250_0003.jpg', '/home/pi/Desktop/images/21012025/23/10/image_21012025_23_10_02_395921_0000.jpg', '/home/pi/Desktop/images/21012025/23/10/image_21012025_23_10_02_395921_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/23/09/image_21012025_23_09_02_252250_0000.jpg
/home/pi/Desktop/images/21012025/23/09/image_21012025_23_09_02_252250_0001.jpg
/home/pi/Desktop/images/21012025/23/09/image_21012025_23_09_02_252250_0002.jpg
/home/pi/Desktop/images/21012025/23/09/image_21012025_23_09_02_252250_0003.jpg
/home/pi/Desktop/images/21012025/23/10/image_21012025_23_10_02_395921_0000.jpg
/home/pi/Desktop/images/21012025/23/10/image_21012025_23_10_02_395921_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":["1331464265","1331464250","1331464270","1331464252","1331464255","1331464260"],"photo_ids_order":["1331464250","1331464252","1331464255","1331464260","1331464265","1331464270"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/20af822d7d1d6c9a77d78e259399f738.jpg","text":"TemporaryFile(/tmp/multipartBody39357518182989194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841040280,"filename":"image_21012025_23_10_02_395921_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/40d72ea3a158200e27e7547cc38e2e74.jpg","text":"TemporaryFile(/tmp/multipartBody7603663993499040711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841040280,"filename":"image_21012025_23_09_02_252250_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e076a81048d35f95b20cfaf12dc5a142.jpg","text":"TemporaryFile(/tmp/multipartBody743532906228493475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841040280,"filename":"image_21012025_23_10_02_395921_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2f0abeab535f88ec2a0e69143ac6d629.jpg","text":"TemporaryFile(/tmp/multipartBody4951240392077638919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841040280,"filename":"image_21012025_23_09_02_252250_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3216bbc404521d5f13bfa21809efe612.jpg","text":"TemporaryFile(/tmp/multipartBody1991301236205307417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841040280,"filename":"image_21012025_23_09_02_252250_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2d58fb1bfca631aae249100c249ab06b.jpg","text":"TemporaryFile(/tmp/multipartBody6652179166026571992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841040280,"filename":"image_21012025_23_09_02_252250_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331464255","file1":"1331464252","file0":"1331464250","file4":"1331464265","file5":"1331464270","file3":"1331464260"},"map_files_photo_id_array":[{"photo_id":"1331464270","filename":"file5"},{"photo_id":"1331464255","filename":"file2"},{"photo_id":"1331464265","filename":"file4"},{"photo_id":"1331464252","filename":"file1"},{"photo_id":"1331464250","filename":"file0"},{"photo_id":"1331464260","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331464265":["hashtag1","hashtag2"]},{"1331464250":["hashtag1","hashtag2"]},{"1331464270":["hashtag1","hashtag2"]},{"1331464252":["hashtag1","hashtag2"]},{"1331464255":["hashtag1","hashtag2"]},{"1331464260":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331464265, 1331464250, 1331464270, 1331464252, 1331464255, 1331464260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.10157608985901 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 22:37:03.111000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/35/image_25012025_22_35_02_424854_0003.jpg', '/home/pi/Desktop/images/25012025/22/36/image_25012025_22_36_02_650203_0000.jpg', '/home/pi/Desktop/images/25012025/22/36/image_25012025_22_36_02_650203_0001.jpg', '/home/pi/Desktop/images/25012025/22/36/image_25012025_22_36_02_650203_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/35/image_25012025_22_35_02_424854_0003.jpg
/home/pi/Desktop/images/25012025/22/36/image_25012025_22_36_02_650203_0000.jpg
/home/pi/Desktop/images/25012025/22/36/image_25012025_22_36_02_650203_0001.jpg
/home/pi/Desktop/images/25012025/22/36/image_25012025_22_36_02_650203_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.069888353347778 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:37:22.631931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/35/image_25012025_22_35_02_424854_0003.jpg', '/home/pi/Desktop/images/25012025/22/36/image_25012025_22_36_02_650203_0000.jpg', '/home/pi/Desktop/images/25012025/22/36/image_25012025_22_36_02_650203_0001.jpg', '/home/pi/Desktop/images/25012025/22/36/image_25012025_22_36_02_650203_0002.jpg', '/home/pi/Desktop/images/25012025/22/36/image_25012025_22_36_02_650203_0003.jpg', '/home/pi/Desktop/images/25012025/22/37/image_25012025_22_37_02_874324_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/35/image_25012025_22_35_02_424854_0003.jpg
/home/pi/Desktop/images/25012025/22/36/image_25012025_22_36_02_650203_0000.jpg
/home/pi/Desktop/images/25012025/22/36/image_25012025_22_36_02_650203_0001.jpg
/home/pi/Desktop/images/25012025/22/36/image_25012025_22_36_02_650203_0002.jpg
/home/pi/Desktop/images/25012025/22/36/image_25012025_22_36_02_650203_0003.jpg
/home/pi/Desktop/images/25012025/22/37/image_25012025_22_37_02_874324_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 [200]>
b'{"photo_ids":["1331464346","1331464340","1331464343","1331464336","1331464345","1331464350"],"photo_ids_order":["1331464336","1331464340","1331464343","1331464345","1331464346","1331464350"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4e7f9ab7b0b8a2662c67538926de6c86.jpg","text":"TemporaryFile(/tmp/multipartBody3374550953181262422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841119283,"filename":"image_25012025_22_36_02_650203_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c1e1267f867e6eab7278dbbd6a219772.jpg","text":"TemporaryFile(/tmp/multipartBody4648055551769683610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841119283,"filename":"image_25012025_22_36_02_650203_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f72939a97e0cd8981841c9502f6a3152.jpg","text":"TemporaryFile(/tmp/multipartBody1840017200357427682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841119283,"filename":"image_25012025_22_36_02_650203_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/52b6aa3139b01370f185939441457bf7.jpg","text":"TemporaryFile(/tmp/multipartBody7441606860751851199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841119283,"filename":"image_25012025_22_35_02_424854_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e410e74f47e6c2bd288ca0fff47b3675.jpg","text":"TemporaryFile(/tmp/multipartBody118552476614120474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841119283,"filename":"image_25012025_22_36_02_650203_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cb26e837579fea02ad69ae01a6a4c74c.jpg","text":"TemporaryFile(/tmp/multipartBody9077735107701812511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841119283,"filename":"image_25012025_22_37_02_874324_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331464343","file1":"1331464340","file0":"1331464336","file4":"1331464346","file5":"1331464350","file3":"1331464345"},"map_files_photo_id_array":[{"photo_id":"1331464350","filename":"file5"},{"photo_id":"1331464343","filename":"file2"},{"photo_id":"1331464346","filename":"file4"},{"photo_id":"1331464340","filename":"file1"},{"photo_id":"1331464336","filename":"file0"},{"photo_id":"1331464345","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331464346":["hashtag1","hashtag2"]},{"1331464340":["hashtag1","hashtag2"]},{"1331464343":["hashtag1","hashtag2"]},{"1331464336":["hashtag1","hashtag2"]},{"1331464345":["hashtag1","hashtag2"]},{"1331464350":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331464346, 1331464340, 1331464343, 1331464336, 1331464345, 1331464350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.61522102355957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:38:21.847689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/37/image_25012025_22_37_02_874324_0001.jpg', '/home/pi/Desktop/images/25012025/22/37/image_25012025_22_37_02_874324_0002.jpg', '/home/pi/Desktop/images/25012025/22/37/image_25012025_22_37_02_874324_0003.jpg', '/home/pi/Desktop/images/25012025/22/38/image_25012025_22_38_03_004740_0000.jpg', '/home/pi/Desktop/images/25012025/22/38/image_25012025_22_38_03_004740_0001.jpg', '/home/pi/Desktop/images/25012025/22/38/image_25012025_22_38_03_004740_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/37/image_25012025_22_37_02_874324_0001.jpg
/home/pi/Desktop/images/25012025/22/37/image_25012025_22_37_02_874324_0002.jpg
/home/pi/Desktop/images/25012025/22/37/image_25012025_22_37_02_874324_0003.jpg
/home/pi/Desktop/images/25012025/22/38/image_25012025_22_38_03_004740_0000.jpg
/home/pi/Desktop/images/25012025/22/38/image_25012025_22_38_03_004740_0001.jpg
/home/pi/Desktop/images/25012025/22/38/image_25012025_22_38_03_004740_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: 16.682803630828857 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 22:38:41.922210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/37/image_25012025_22_37_02_874324_0001.jpg', '/home/pi/Desktop/images/25012025/22/37/image_25012025_22_37_02_874324_0002.jpg', '/home/pi/Desktop/images/25012025/22/37/image_25012025_22_37_02_874324_0003.jpg', '/home/pi/Desktop/images/25012025/22/38/image_25012025_22_38_03_004740_0000.jpg', '/home/pi/Desktop/images/25012025/22/38/image_25012025_22_38_03_004740_0001.jpg', '/home/pi/Desktop/images/25012025/22/38/image_25012025_22_38_03_004740_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/37/image_25012025_22_37_02_874324_0001.jpg
/home/pi/Desktop/images/25012025/22/37/image_25012025_22_37_02_874324_0002.jpg
/home/pi/Desktop/images/25012025/22/37/image_25012025_22_37_02_874324_0003.jpg
/home/pi/Desktop/images/25012025/22/38/image_25012025_22_38_03_004740_0000.jpg
/home/pi/Desktop/images/25012025/22/38/image_25012025_22_38_03_004740_0001.jpg
/home/pi/Desktop/images/25012025/22/38/image_25012025_22_38_03_004740_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 [200]>
b'{"photo_ids":["1331464475","1331464478","1331464466","1331464460","1331464471","1331464456"],"photo_ids_order":["1331464456","1331464460","1331464466","1331464471","1331464475","1331464478"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/023ac5139b3cb2f199eea77ec238b9b9.jpg","text":"TemporaryFile(/tmp/multipartBody506242655492642678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841199036,"filename":"image_25012025_22_38_03_004740_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a4a41873a09b30f8e28aa00d6fc5f1a7.jpg","text":"TemporaryFile(/tmp/multipartBody2799115477365920778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841199036,"filename":"image_25012025_22_38_03_004740_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0cf438799d88bcd27dc5132807ec1353.jpg","text":"TemporaryFile(/tmp/multipartBody1250790025038246592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841199036,"filename":"image_25012025_22_37_02_874324_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e1813dbed572a215e06dd28589dd0d05.jpg","text":"TemporaryFile(/tmp/multipartBody8155827439659692417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841199036,"filename":"image_25012025_22_37_02_874324_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b3ab15080f909c3ebc5e332e46f08a0f.jpg","text":"TemporaryFile(/tmp/multipartBody6319636096257186665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841199036,"filename":"image_25012025_22_38_03_004740_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ee79ffa68382f01ca6aff3fd16a0e4d3.jpg","text":"TemporaryFile(/tmp/multipartBody4353242925631083226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841199036,"filename":"image_25012025_22_37_02_874324_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331464466","file1":"1331464460","file0":"1331464456","file4":"1331464475","file5":"1331464478","file3":"1331464471"},"map_files_photo_id_array":[{"photo_id":"1331464478","filename":"file5"},{"photo_id":"1331464466","filename":"file2"},{"photo_id":"1331464475","filename":"file4"},{"photo_id":"1331464460","filename":"file1"},{"photo_id":"1331464456","filename":"file0"},{"photo_id":"1331464471","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331464475":["hashtag1","hashtag2"]},{"1331464478":["hashtag1","hashtag2"]},{"1331464466":["hashtag1","hashtag2"]},{"1331464460":["hashtag1","hashtag2"]},{"1331464471":["hashtag1","hashtag2"]},{"1331464456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331464475, 1331464478, 1331464466, 1331464460, 1331464471, 1331464456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.37785029411316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 22:39:42.106504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/38/image_25012025_22_38_03_004740_0003.jpg', '/home/pi/Desktop/images/25012025/22/39/image_25012025_22_39_02_266463_0000.jpg', '/home/pi/Desktop/images/25012025/22/39/image_25012025_22_39_02_266463_0001.jpg', '/home/pi/Desktop/images/25012025/22/39/image_25012025_22_39_02_266463_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/38/image_25012025_22_38_03_004740_0003.jpg
/home/pi/Desktop/images/25012025/22/39/image_25012025_22_39_02_266463_0000.jpg
/home/pi/Desktop/images/25012025/22/39/image_25012025_22_39_02_266463_0001.jpg
/home/pi/Desktop/images/25012025/22/39/image_25012025_22_39_02_266463_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":["1331464530","1331464495","1331464504","1331464491"],"photo_ids_order":["1331464491","1331464495","1331464504","1331464530"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8bf57c7c66b40d8699842418d23ee22c.jpg","text":"TemporaryFile(/tmp/multipartBody1136111692827941918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841253392,"filename":"image_25012025_22_39_02_266463_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e78fee15de7bb5371e34f1e8fd4b0150.jpg","text":"TemporaryFile(/tmp/multipartBody1215242469843097044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841253392,"filename":"image_25012025_22_39_02_266463_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bfa40b2e2d5cb3abea0463ce066c2e51.jpg","text":"TemporaryFile(/tmp/multipartBody7067320549702058899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841253392,"filename":"image_25012025_22_39_02_266463_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/245d725d7dcf1f5b9ee9bd8f984546ae.jpg","text":"TemporaryFile(/tmp/multipartBody9061674306931455729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841253392,"filename":"image_25012025_22_38_03_004740_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331464504","file1":"1331464495","file0":"1331464491","file3":"1331464530"},"map_files_photo_id_array":[{"photo_id":"1331464504","filename":"file2"},{"photo_id":"1331464495","filename":"file1"},{"photo_id":"1331464491","filename":"file0"},{"photo_id":"1331464530","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331464530":["hashtag1","hashtag2"]},{"1331464495":["hashtag1","hashtag2"]},{"1331464504":["hashtag1","hashtag2"]},{"1331464491":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331464530, 1331464495, 1331464504, 1331464491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.21103596687317 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:40:22.282263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/39/image_25012025_22_39_02_266463_0003.jpg', '/home/pi/Desktop/images/25012025/22/40/image_25012025_22_40_02_359075_0000.jpg', '/home/pi/Desktop/images/25012025/22/40/image_25012025_22_40_02_359075_0001.jpg', '/home/pi/Desktop/images/25012025/22/40/image_25012025_22_40_02_359075_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/39/image_25012025_22_39_02_266463_0003.jpg
/home/pi/Desktop/images/25012025/22/40/image_25012025_22_40_02_359075_0000.jpg
/home/pi/Desktop/images/25012025/22/40/image_25012025_22_40_02_359075_0001.jpg
/home/pi/Desktop/images/25012025/22/40/image_25012025_22_40_02_359075_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 [200]>
b'{"photo_ids":["1331464579","1331464566","1331464575","1331464569"],"photo_ids_order":["1331464566","1331464569","1331464575","1331464579"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/27a1195c9a7df64320222e358c9fcf5f.jpg","text":"TemporaryFile(/tmp/multipartBody521814151287365901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841293900,"filename":"image_25012025_22_40_02_359075_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3048b098c8d9f81ed02cb5b4929ba438.jpg","text":"TemporaryFile(/tmp/multipartBody9057067893723545660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841293900,"filename":"image_25012025_22_39_02_266463_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6c35d9261aa2e1f842b7147d2929af8b.jpg","text":"TemporaryFile(/tmp/multipartBody6909402741042582167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841293900,"filename":"image_25012025_22_40_02_359075_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0943709f0be89d999343055a979b292d.jpg","text":"TemporaryFile(/tmp/multipartBody8388940218954084451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841293900,"filename":"image_25012025_22_40_02_359075_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331464575","file1":"1331464569","file0":"1331464566","file3":"1331464579"},"map_files_photo_id_array":[{"photo_id":"1331464575","filename":"file2"},{"photo_id":"1331464569","filename":"file1"},{"photo_id":"1331464566","filename":"file0"},{"photo_id":"1331464579","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331464579":["hashtag1","hashtag2"]},{"1331464566":["hashtag1","hashtag2"]},{"1331464575":["hashtag1","hashtag2"]},{"1331464569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331464579, 1331464566, 1331464575, 1331464569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.26376152038574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:41:22.392798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/40/image_25012025_22_40_02_359075_0003.jpg', '/home/pi/Desktop/images/25012025/22/41/image_25012025_22_41_02_629902_0000.jpg', '/home/pi/Desktop/images/25012025/22/41/image_25012025_22_41_02_629902_0001.jpg', '/home/pi/Desktop/images/25012025/22/41/image_25012025_22_41_02_629902_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/40/image_25012025_22_40_02_359075_0003.jpg
/home/pi/Desktop/images/25012025/22/41/image_25012025_22_41_02_629902_0000.jpg
/home/pi/Desktop/images/25012025/22/41/image_25012025_22_41_02_629902_0001.jpg
/home/pi/Desktop/images/25012025/22/41/image_25012025_22_41_02_629902_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":["1331464602","1331464598","1331464594","1331464606"],"photo_ids_order":["1331464594","1331464598","1331464602","1331464606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9cb4b408577057196c28bd49eaf36030.jpg","text":"TemporaryFile(/tmp/multipartBody8951376858765027529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841353937,"filename":"image_25012025_22_41_02_629902_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/71cc5c52b11626823f0db35429b32f60.jpg","text":"TemporaryFile(/tmp/multipartBody6461240795612018746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841353937,"filename":"image_25012025_22_41_02_629902_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/35d21b5bedaf3ca2ede4ef287e0e9e21.jpg","text":"TemporaryFile(/tmp/multipartBody7088471788356776544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841353937,"filename":"image_25012025_22_40_02_359075_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/68b1aa2f0df6759fc4da8bc4decd81f5.jpg","text":"TemporaryFile(/tmp/multipartBody2244320115755988974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841353937,"filename":"image_25012025_22_41_02_629902_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331464602","file1":"1331464598","file0":"1331464594","file3":"1331464606"},"map_files_photo_id_array":[{"photo_id":"1331464602","filename":"file2"},{"photo_id":"1331464598","filename":"file1"},{"photo_id":"1331464594","filename":"file0"},{"photo_id":"1331464606","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331464602":["hashtag1","hashtag2"]},{"1331464598":["hashtag1","hashtag2"]},{"1331464594":["hashtag1","hashtag2"]},{"1331464606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331464602, 1331464598, 1331464594, 1331464606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.8844530582428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 22:42:03.125256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/23/10/image_21012025_23_10_02_395921_0002.jpg', '/home/pi/Desktop/images/21012025/23/10/image_21012025_23_10_02_395921_0003.jpg', '/home/pi/Desktop/images/21012025/23/11/image_21012025_23_11_02_575083_0000.jpg', '/home/pi/Desktop/images/21012025/23/11/image_21012025_23_11_02_575083_0001.jpg', '/home/pi/Desktop/images/21012025/23/11/image_21012025_23_11_02_575083_0002.jpg', '/home/pi/Desktop/images/21012025/23/11/image_21012025_23_11_02_575083_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/23/10/image_21012025_23_10_02_395921_0002.jpg
/home/pi/Desktop/images/21012025/23/10/image_21012025_23_10_02_395921_0003.jpg
/home/pi/Desktop/images/21012025/23/11/image_21012025_23_11_02_575083_0000.jpg
/home/pi/Desktop/images/21012025/23/11/image_21012025_23_11_02_575083_0001.jpg
/home/pi/Desktop/images/21012025/23/11/image_21012025_23_11_02_575083_0002.jpg
/home/pi/Desktop/images/21012025/23/11/image_21012025_23_11_02_575083_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 [200]>
b'{"photo_ids":["1331464625","1331464628","1331464642","1331464630","1331464638","1331464635"],"photo_ids_order":["1331464625","1331464628","1331464630","1331464635","1331464638","1331464642"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9881bc330d96f4f00ef49b8a210f1b87.jpg","text":"TemporaryFile(/tmp/multipartBody2091902749768831159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841400733,"filename":"image_21012025_23_10_02_395921_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/12879b8d028fa8ab813843a31653a41d.jpg","text":"TemporaryFile(/tmp/multipartBody6994262551919372733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841400733,"filename":"image_21012025_23_10_02_395921_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/391bf5bcacc5468ca5e44f88478a1330.jpg","text":"TemporaryFile(/tmp/multipartBody920165742743680733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841400733,"filename":"image_21012025_23_11_02_575083_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/81c9c2c6224cd6d6c09571054122212b.jpg","text":"TemporaryFile(/tmp/multipartBody3671682350173854153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841400733,"filename":"image_21012025_23_11_02_575083_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0b65afb57251085c3bf8d3a60e1917e5.jpg","text":"TemporaryFile(/tmp/multipartBody4341366897078901271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841400733,"filename":"image_21012025_23_11_02_575083_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0e70aa5a9e93687c1d7ddaf38c7db146.jpg","text":"TemporaryFile(/tmp/multipartBody3915498201066430394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841400733,"filename":"image_21012025_23_11_02_575083_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331464630","file1":"1331464628","file0":"1331464625","file4":"1331464638","file5":"1331464642","file3":"1331464635"},"map_files_photo_id_array":[{"photo_id":"1331464642","filename":"file5"},{"photo_id":"1331464630","filename":"file2"},{"photo_id":"1331464638","filename":"file4"},{"photo_id":"1331464628","filename":"file1"},{"photo_id":"1331464625","filename":"file0"},{"photo_id":"1331464635","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331464625":["hashtag1","hashtag2"]},{"1331464628":["hashtag1","hashtag2"]},{"1331464642":["hashtag1","hashtag2"]},{"1331464630":["hashtag1","hashtag2"]},{"1331464638":["hashtag1","hashtag2"]},{"1331464635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331464625, 1331464628, 1331464642, 1331464630, 1331464638, 1331464635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.06179070472717 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 22:43:03.397969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/41/image_25012025_22_41_02_629902_0003.jpg', '/home/pi/Desktop/images/25012025/22/42/image_25012025_22_42_02_783563_0000.jpg', '/home/pi/Desktop/images/25012025/22/42/image_25012025_22_42_02_783563_0001.jpg', '/home/pi/Desktop/images/25012025/22/42/image_25012025_22_42_02_783563_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/41/image_25012025_22_41_02_629902_0003.jpg
/home/pi/Desktop/images/25012025/22/42/image_25012025_22_42_02_783563_0000.jpg
/home/pi/Desktop/images/25012025/22/42/image_25012025_22_42_02_783563_0001.jpg
/home/pi/Desktop/images/25012025/22/42/image_25012025_22_42_02_783563_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":["1331464682","1331464687","1331464708","1331464671"],"photo_ids_order":["1331464671","1331464682","1331464687","1331464708"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4bf840b8cb0212631176064b32f78f75.jpg","text":"TemporaryFile(/tmp/multipartBody5580906569669030809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841454883,"filename":"image_25012025_22_42_02_783563_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/298d5c42de0a43b42366eb7a8c95bfcd.jpg","text":"TemporaryFile(/tmp/multipartBody4760357986620715774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841454883,"filename":"image_25012025_22_42_02_783563_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2ecb0d18060658f81a8aa32bf2a0411c.jpg","text":"TemporaryFile(/tmp/multipartBody8226095831569612122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841454883,"filename":"image_25012025_22_42_02_783563_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e5bfdc2f3563967eede9539ad6a7deae.jpg","text":"TemporaryFile(/tmp/multipartBody3473854280299526713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841454883,"filename":"image_25012025_22_41_02_629902_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331464687","file1":"1331464682","file0":"1331464671","file3":"1331464708"},"map_files_photo_id_array":[{"photo_id":"1331464687","filename":"file2"},{"photo_id":"1331464682","filename":"file1"},{"photo_id":"1331464671","filename":"file0"},{"photo_id":"1331464708","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331464682":["hashtag1","hashtag2"]},{"1331464687":["hashtag1","hashtag2"]},{"1331464708":["hashtag1","hashtag2"]},{"1331464671":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331464682, 1331464687, 1331464708, 1331464671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.058334827423096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 22:43:52.716248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/42/image_25012025_22_42_02_783563_0003.jpg', '/home/pi/Desktop/images/25012025/22/43/image_25012025_22_43_02_884367_0000.jpg', '/home/pi/Desktop/images/25012025/22/43/image_25012025_22_43_02_884367_0001.jpg', '/home/pi/Desktop/images/25012025/22/43/image_25012025_22_43_02_884367_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/42/image_25012025_22_42_02_783563_0003.jpg
/home/pi/Desktop/images/25012025/22/43/image_25012025_22_43_02_884367_0000.jpg
/home/pi/Desktop/images/25012025/22/43/image_25012025_22_43_02_884367_0001.jpg
/home/pi/Desktop/images/25012025/22/43/image_25012025_22_43_02_884367_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":["1331464732","1331464735","1331464720","1331464726"],"photo_ids_order":["1331464720","1331464726","1331464732","1331464735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/14738833ad9fc63868ce3d7be0661808.jpg","text":"TemporaryFile(/tmp/multipartBody5233856361516896570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841504224,"filename":"image_25012025_22_43_02_884367_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fad80cd66a393b3c026e104920d10de1.jpg","text":"TemporaryFile(/tmp/multipartBody8837375121998601623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841504224,"filename":"image_25012025_22_43_02_884367_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/adaad2d9676bb9fbb13b741c226084c1.jpg","text":"TemporaryFile(/tmp/multipartBody7347026533621823821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841504224,"filename":"image_25012025_22_42_02_783563_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4417397a4054f626f5430698e2ed287a.jpg","text":"TemporaryFile(/tmp/multipartBody5652903717184825778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841504224,"filename":"image_25012025_22_43_02_884367_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331464732","file1":"1331464726","file0":"1331464720","file3":"1331464735"},"map_files_photo_id_array":[{"photo_id":"1331464732","filename":"file2"},{"photo_id":"1331464726","filename":"file1"},{"photo_id":"1331464720","filename":"file0"},{"photo_id":"1331464735","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331464732":["hashtag1","hashtag2"]},{"1331464735":["hashtag1","hashtag2"]},{"1331464720":["hashtag1","hashtag2"]},{"1331464726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331464732, 1331464735, 1331464720, 1331464726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.5291223526001 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 22:44:41.894563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/43/image_25012025_22_43_02_884367_0003.jpg', '/home/pi/Desktop/images/25012025/22/44/image_25012025_22_44_03_131668_0000.jpg', '/home/pi/Desktop/images/25012025/22/44/image_25012025_22_44_03_131668_0001.jpg', '/home/pi/Desktop/images/25012025/22/44/image_25012025_22_44_03_131668_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/43/image_25012025_22_43_02_884367_0003.jpg
/home/pi/Desktop/images/25012025/22/44/image_25012025_22_44_03_131668_0000.jpg
/home/pi/Desktop/images/25012025/22/44/image_25012025_22_44_03_131668_0001.jpg
/home/pi/Desktop/images/25012025/22/44/image_25012025_22_44_03_131668_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":["1331464769","1331464760","1331464765","1331464767"],"photo_ids_order":["1331464760","1331464765","1331464767","1331464769"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/166bfef423d02fad81d905095ace22f9.jpg","text":"TemporaryFile(/tmp/multipartBody5907496173275565412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841553355,"filename":"image_25012025_22_44_03_131668_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3089fc18ee0c4e00faafb7e1b6091f47.jpg","text":"TemporaryFile(/tmp/multipartBody1893677854641518546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841553355,"filename":"image_25012025_22_43_02_884367_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8a352dc75562456fff26d537ee56f631.jpg","text":"TemporaryFile(/tmp/multipartBody53837933942661048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841553355,"filename":"image_25012025_22_44_03_131668_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b673988b1cf9617fe4acc9d64ebd94b.jpg","text":"TemporaryFile(/tmp/multipartBody161712968336048393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841553355,"filename":"image_25012025_22_44_03_131668_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331464767","file1":"1331464765","file0":"1331464760","file3":"1331464769"},"map_files_photo_id_array":[{"photo_id":"1331464767","filename":"file2"},{"photo_id":"1331464765","filename":"file1"},{"photo_id":"1331464760","filename":"file0"},{"photo_id":"1331464769","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331464769":["hashtag1","hashtag2"]},{"1331464760":["hashtag1","hashtag2"]},{"1331464765":["hashtag1","hashtag2"]},{"1331464767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331464769, 1331464760, 1331464765, 1331464767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.653693437576294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 22:45:32.071101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/44/image_25012025_22_44_03_131668_0003.jpg', '/home/pi/Desktop/images/25012025/22/45/image_25012025_22_45_02_273353_0000.jpg', '/home/pi/Desktop/images/25012025/22/45/image_25012025_22_45_02_273353_0001.jpg', '/home/pi/Desktop/images/25012025/22/45/image_25012025_22_45_02_273353_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/44/image_25012025_22_44_03_131668_0003.jpg
/home/pi/Desktop/images/25012025/22/45/image_25012025_22_45_02_273353_0000.jpg
/home/pi/Desktop/images/25012025/22/45/image_25012025_22_45_02_273353_0001.jpg
/home/pi/Desktop/images/25012025/22/45/image_25012025_22_45_02_273353_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":["1331465717","1331465327","1331465473","1331465597"],"photo_ids_order":["1331465327","1331465473","1331465597","1331465717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bf055aba27f4b79f02d41974cb804d57.jpg","text":"TemporaryFile(/tmp/multipartBody7308477499685852741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841603397,"filename":"image_25012025_22_45_02_273353_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/124e4e6ab6872868cd9f8c96d3c2fdb0.jpg","text":"TemporaryFile(/tmp/multipartBody9027842961461800695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841603397,"filename":"image_25012025_22_44_03_131668_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/07ed6af1b2d62ca8856407cd8e856b5d.jpg","text":"TemporaryFile(/tmp/multipartBody9095742531421243698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841603397,"filename":"image_25012025_22_45_02_273353_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5fe8d3737b879bf05b12351ed210c245.jpg","text":"TemporaryFile(/tmp/multipartBody7367488387854227812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841603397,"filename":"image_25012025_22_45_02_273353_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331465597","file1":"1331465473","file0":"1331465327","file3":"1331465717"},"map_files_photo_id_array":[{"photo_id":"1331465597","filename":"file2"},{"photo_id":"1331465473","filename":"file1"},{"photo_id":"1331465327","filename":"file0"},{"photo_id":"1331465717","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331465717":["hashtag1","hashtag2"]},{"1331465327":["hashtag1","hashtag2"]},{"1331465473":["hashtag1","hashtag2"]},{"1331465597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331465717, 1331465327, 1331465473, 1331465597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.61699438095093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:46:22.345011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/45/image_25012025_22_45_02_273353_0003.jpg', '/home/pi/Desktop/images/25012025/22/46/image_25012025_22_46_02_528913_0000.jpg', '/home/pi/Desktop/images/25012025/22/46/image_25012025_22_46_02_528913_0001.jpg', '/home/pi/Desktop/images/25012025/22/46/image_25012025_22_46_02_528913_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/45/image_25012025_22_45_02_273353_0003.jpg
/home/pi/Desktop/images/25012025/22/46/image_25012025_22_46_02_528913_0000.jpg
/home/pi/Desktop/images/25012025/22/46/image_25012025_22_46_02_528913_0001.jpg
/home/pi/Desktop/images/25012025/22/46/image_25012025_22_46_02_528913_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 [200]>
b'{"photo_ids":["1331466084","1331465892","1331466179","1331465957"],"photo_ids_order":["1331465892","1331465957","1331466084","1331466179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/60d17392fb47eff7ecbd1d4320908424.jpg","text":"TemporaryFile(/tmp/multipartBody3121345684495703727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841653773,"filename":"image_25012025_22_46_02_528913_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0bf509818bf4af0fe1ee2007a79caf8d.jpg","text":"TemporaryFile(/tmp/multipartBody4246117833164073674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841653773,"filename":"image_25012025_22_45_02_273353_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/83afa5255c73a318211dba73be8d99d0.jpg","text":"TemporaryFile(/tmp/multipartBody8369142131678786969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841653773,"filename":"image_25012025_22_46_02_528913_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4a87cb62b2ec45f7bcf1ce2fd5ac6b9f.jpg","text":"TemporaryFile(/tmp/multipartBody6624540407776889527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841653773,"filename":"image_25012025_22_46_02_528913_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331466084","file1":"1331465957","file0":"1331465892","file3":"1331466179"},"map_files_photo_id_array":[{"photo_id":"1331466084","filename":"file2"},{"photo_id":"1331465957","filename":"file1"},{"photo_id":"1331465892","filename":"file0"},{"photo_id":"1331466179","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331466084":["hashtag1","hashtag2"]},{"1331465892":["hashtag1","hashtag2"]},{"1331466179":["hashtag1","hashtag2"]},{"1331465957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331466084, 1331465892, 1331466179, 1331465957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.74356436729431 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:47:22.453904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/46/image_25012025_22_46_02_528913_0003.jpg', '/home/pi/Desktop/images/25012025/22/47/image_25012025_22_47_02_648323_0000.jpg', '/home/pi/Desktop/images/25012025/22/47/image_25012025_22_47_02_648323_0001.jpg', '/home/pi/Desktop/images/25012025/22/47/image_25012025_22_47_02_648323_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/46/image_25012025_22_46_02_528913_0003.jpg
/home/pi/Desktop/images/25012025/22/47/image_25012025_22_47_02_648323_0000.jpg
/home/pi/Desktop/images/25012025/22/47/image_25012025_22_47_02_648323_0001.jpg
/home/pi/Desktop/images/25012025/22/47/image_25012025_22_47_02_648323_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":["1331466661","1331466670","1331466604","1331466666"],"photo_ids_order":["1331466604","1331466661","1331466666","1331466670"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/da18140ba22495a3d74f6eb587d8b3e5.jpg","text":"TemporaryFile(/tmp/multipartBody2361600281663011220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841713849,"filename":"image_25012025_22_47_02_648323_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/26fb93cfdd4a3f1e5ed002bc859a587c.jpg","text":"TemporaryFile(/tmp/multipartBody7724212576264550668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841713849,"filename":"image_25012025_22_47_02_648323_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/abc29418b6040579ad4a114b65bf1912.jpg","text":"TemporaryFile(/tmp/multipartBody7416279661682278651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841713849,"filename":"image_25012025_22_46_02_528913_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/54d9e80d7d5ba88a3479cb8136ebe1c9.jpg","text":"TemporaryFile(/tmp/multipartBody2370790809056526130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841713849,"filename":"image_25012025_22_47_02_648323_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331466666","file1":"1331466661","file0":"1331466604","file3":"1331466670"},"map_files_photo_id_array":[{"photo_id":"1331466666","filename":"file2"},{"photo_id":"1331466661","filename":"file1"},{"photo_id":"1331466604","filename":"file0"},{"photo_id":"1331466670","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331466661":["hashtag1","hashtag2"]},{"1331466670":["hashtag1","hashtag2"]},{"1331466604":["hashtag1","hashtag2"]},{"1331466666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331466661, 1331466670, 1331466604, 1331466666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.05761361122131 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 22:48:02.980207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/23/12/image_21012025_23_12_02_749588_0000.jpg', '/home/pi/Desktop/images/21012025/23/12/image_21012025_23_12_02_749588_0001.jpg', '/home/pi/Desktop/images/21012025/23/12/image_21012025_23_12_02_749588_0002.jpg', '/home/pi/Desktop/images/21012025/23/12/image_21012025_23_12_02_749588_0003.jpg', '/home/pi/Desktop/images/21012025/23/13/image_21012025_23_13_02_940169_0000.jpg', '/home/pi/Desktop/images/21012025/23/13/image_21012025_23_13_02_940169_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/23/12/image_21012025_23_12_02_749588_0000.jpg
/home/pi/Desktop/images/21012025/23/12/image_21012025_23_12_02_749588_0001.jpg
/home/pi/Desktop/images/21012025/23/12/image_21012025_23_12_02_749588_0002.jpg
/home/pi/Desktop/images/21012025/23/12/image_21012025_23_12_02_749588_0003.jpg
/home/pi/Desktop/images/21012025/23/13/image_21012025_23_13_02_940169_0000.jpg
/home/pi/Desktop/images/21012025/23/13/image_21012025_23_13_02_940169_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: 17.484421014785767 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:48:22.716721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/47/image_25012025_22_47_02_648323_0003.jpg', '/home/pi/Desktop/images/25012025/22/48/image_25012025_22_48_02_844928_0000.jpg', '/home/pi/Desktop/images/25012025/22/48/image_25012025_22_48_02_844928_0001.jpg', '/home/pi/Desktop/images/25012025/22/48/image_25012025_22_48_02_844928_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/47/image_25012025_22_47_02_648323_0003.jpg
/home/pi/Desktop/images/25012025/22/48/image_25012025_22_48_02_844928_0000.jpg
/home/pi/Desktop/images/25012025/22/48/image_25012025_22_48_02_844928_0001.jpg
/home/pi/Desktop/images/25012025/22/48/image_25012025_22_48_02_844928_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 [200]>
b'{"photo_ids":["1331466841","1331466846","1331466854","1331466836"],"photo_ids_order":["1331466836","1331466841","1331466846","1331466854"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7d7e7d2e10ed984c2d767c1a5a39acc4.jpg","text":"TemporaryFile(/tmp/multipartBody3596246374351708391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841774268,"filename":"image_25012025_22_48_02_844928_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/38c818168fc7b95559db5604b85e0a61.jpg","text":"TemporaryFile(/tmp/multipartBody399113795028277405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841774268,"filename":"image_25012025_22_48_02_844928_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b18d7329cc8fdb79f07e8d24c78dc8a7.jpg","text":"TemporaryFile(/tmp/multipartBody3051092870585619784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841774268,"filename":"image_25012025_22_48_02_844928_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8312101d0d7991b91c559f760c652cc6.jpg","text":"TemporaryFile(/tmp/multipartBody5546663287912776919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841774268,"filename":"image_25012025_22_47_02_648323_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331466846","file1":"1331466841","file0":"1331466836","file3":"1331466854"},"map_files_photo_id_array":[{"photo_id":"1331466846","filename":"file2"},{"photo_id":"1331466841","filename":"file1"},{"photo_id":"1331466836","filename":"file0"},{"photo_id":"1331466854","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331466841":["hashtag1","hashtag2"]},{"1331466846":["hashtag1","hashtag2"]},{"1331466854":["hashtag1","hashtag2"]},{"1331466836":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331466841, 1331466846, 1331466854, 1331466836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.14230036735535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:49:22.743853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/48/image_25012025_22_48_02_844928_0003.jpg', '/home/pi/Desktop/images/25012025/22/49/image_25012025_22_49_02_900680_0000.jpg', '/home/pi/Desktop/images/25012025/22/49/image_25012025_22_49_02_900680_0001.jpg', '/home/pi/Desktop/images/25012025/22/49/image_25012025_22_49_02_900680_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/48/image_25012025_22_48_02_844928_0003.jpg
/home/pi/Desktop/images/25012025/22/49/image_25012025_22_49_02_900680_0000.jpg
/home/pi/Desktop/images/25012025/22/49/image_25012025_22_49_02_900680_0001.jpg
/home/pi/Desktop/images/25012025/22/49/image_25012025_22_49_02_900680_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 [200]>
b'{"photo_ids":["1331467140","1331467143","1331467134","1331467136"],"photo_ids_order":["1331467134","1331467136","1331467140","1331467143"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/747d86d185d71224fe69b334a8234b80.jpg","text":"TemporaryFile(/tmp/multipartBody1485449756972578369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841833998,"filename":"image_25012025_22_49_02_900680_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b32c895240454a374c23f56560dd3279.jpg","text":"TemporaryFile(/tmp/multipartBody362608067204547290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841833998,"filename":"image_25012025_22_49_02_900680_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ebf1beaa98d01b61ca5f69ad526f948c.jpg","text":"TemporaryFile(/tmp/multipartBody5761412164745986808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841833998,"filename":"image_25012025_22_48_02_844928_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d5180af616a0fd7f2d08d8949972a2ab.jpg","text":"TemporaryFile(/tmp/multipartBody372641531020867042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841833998,"filename":"image_25012025_22_49_02_900680_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331467140","file1":"1331467136","file0":"1331467134","file3":"1331467143"},"map_files_photo_id_array":[{"photo_id":"1331467140","filename":"file2"},{"photo_id":"1331467136","filename":"file1"},{"photo_id":"1331467134","filename":"file0"},{"photo_id":"1331467143","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331467140":["hashtag1","hashtag2"]},{"1331467143":["hashtag1","hashtag2"]},{"1331467134":["hashtag1","hashtag2"]},{"1331467136":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331467140, 1331467143, 1331467134, 1331467136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.65767192840576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:50:21.946771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/49/image_25012025_22_49_02_900680_0003.jpg', '/home/pi/Desktop/images/25012025/22/50/image_25012025_22_50_03_110927_0000.jpg', '/home/pi/Desktop/images/25012025/22/50/image_25012025_22_50_03_110927_0001.jpg', '/home/pi/Desktop/images/25012025/22/50/image_25012025_22_50_03_110927_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/49/image_25012025_22_49_02_900680_0003.jpg
/home/pi/Desktop/images/25012025/22/50/image_25012025_22_50_03_110927_0000.jpg
/home/pi/Desktop/images/25012025/22/50/image_25012025_22_50_03_110927_0001.jpg
/home/pi/Desktop/images/25012025/22/50/image_25012025_22_50_03_110927_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":["1331467318","1331467303","1331467347","1331467251"],"photo_ids_order":["1331467251","1331467303","1331467318","1331467347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/81e0b74fa736476e6b546e669c575323.jpg","text":"TemporaryFile(/tmp/multipartBody7613793620397545440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841893309,"filename":"image_25012025_22_50_03_110927_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3dd8b5a2b85e89992d75ccd2abbd4f12.jpg","text":"TemporaryFile(/tmp/multipartBody6937867381965837344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841893309,"filename":"image_25012025_22_50_03_110927_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a9a3e0cc38d730159e9c0d87660ccf4b.jpg","text":"TemporaryFile(/tmp/multipartBody5208479716346408223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841893309,"filename":"image_25012025_22_50_03_110927_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4c8d4079dfaa37c2f5e02361e1fd0d28.jpg","text":"TemporaryFile(/tmp/multipartBody3139823911199581148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841893309,"filename":"image_25012025_22_49_02_900680_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331467318","file1":"1331467303","file0":"1331467251","file3":"1331467347"},"map_files_photo_id_array":[{"photo_id":"1331467318","filename":"file2"},{"photo_id":"1331467303","filename":"file1"},{"photo_id":"1331467251","filename":"file0"},{"photo_id":"1331467347","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331467318":["hashtag1","hashtag2"]},{"1331467303":["hashtag1","hashtag2"]},{"1331467347":["hashtag1","hashtag2"]},{"1331467251":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331467318, 1331467303, 1331467347, 1331467251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.55428385734558 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-25 22:51:22.280762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/50/image_25012025_22_50_03_110927_0003.jpg', '/home/pi/Desktop/images/25012025/22/51/image_25012025_22_51_02_300044_0000.jpg', '/home/pi/Desktop/images/25012025/22/51/image_25012025_22_51_02_300044_0001.jpg', '/home/pi/Desktop/images/25012025/22/51/image_25012025_22_51_02_300044_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/50/image_25012025_22_50_03_110927_0003.jpg
/home/pi/Desktop/images/25012025/22/51/image_25012025_22_51_02_300044_0000.jpg
/home/pi/Desktop/images/25012025/22/51/image_25012025_22_51_02_300044_0001.jpg
/home/pi/Desktop/images/25012025/22/51/image_25012025_22_51_02_300044_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 [200]>
b'{"photo_ids":["1331467371","1331467365","1331467367","1331467369"],"photo_ids_order":["1331467365","1331467367","1331467369","1331467371"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/507b9f0a64519e64fce1434c1f2ecf0d.jpg","text":"TemporaryFile(/tmp/multipartBody1446252524762996252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841953645,"filename":"image_25012025_22_51_02_300044_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/31f6f0a485649e88e0aef2002c6c7b89.jpg","text":"TemporaryFile(/tmp/multipartBody8271765489715583821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841953645,"filename":"image_25012025_22_50_03_110927_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/091f0d4fe8b88734fbeef3c1d2b7796b.jpg","text":"TemporaryFile(/tmp/multipartBody2888755379392190279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841953645,"filename":"image_25012025_22_51_02_300044_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cf13a96bacf40b9aeb7ae322d85c2120.jpg","text":"TemporaryFile(/tmp/multipartBody5174579314419563011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737841953645,"filename":"image_25012025_22_51_02_300044_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331467369","file1":"1331467367","file0":"1331467365","file3":"1331467371"},"map_files_photo_id_array":[{"photo_id":"1331467369","filename":"file2"},{"photo_id":"1331467367","filename":"file1"},{"photo_id":"1331467365","filename":"file0"},{"photo_id":"1331467371","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331467371":["hashtag1","hashtag2"]},{"1331467365":["hashtag1","hashtag2"]},{"1331467367":["hashtag1","hashtag2"]},{"1331467369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331467371, 1331467365, 1331467367, 1331467369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.988059997558594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:52:22.368695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/51/image_25012025_22_51_02_300044_0003.jpg', '/home/pi/Desktop/images/25012025/22/52/image_25012025_22_52_02_595159_0000.jpg', '/home/pi/Desktop/images/25012025/22/52/image_25012025_22_52_02_595159_0001.jpg', '/home/pi/Desktop/images/25012025/22/52/image_25012025_22_52_02_595159_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/51/image_25012025_22_51_02_300044_0003.jpg
/home/pi/Desktop/images/25012025/22/52/image_25012025_22_52_02_595159_0000.jpg
/home/pi/Desktop/images/25012025/22/52/image_25012025_22_52_02_595159_0001.jpg
/home/pi/Desktop/images/25012025/22/52/image_25012025_22_52_02_595159_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 [200]>
b'{"photo_ids":["1331467435","1331467438","1331467432","1331467428"],"photo_ids_order":["1331467428","1331467432","1331467435","1331467438"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/abcaac0b5ceac108fa5a486caae1da53.jpg","text":"TemporaryFile(/tmp/multipartBody6217713336118782082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842013915,"filename":"image_25012025_22_52_02_595159_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b0e7ef8d10fa16b902123fef689a6978.jpg","text":"TemporaryFile(/tmp/multipartBody8944671245322873082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842013915,"filename":"image_25012025_22_52_02_595159_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aeb18ef705f542aa9898c63b087897c5.jpg","text":"TemporaryFile(/tmp/multipartBody393490012393406802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842013915,"filename":"image_25012025_22_52_02_595159_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f55709b1def798facb40b33c2598da47.jpg","text":"TemporaryFile(/tmp/multipartBody4597417106338075878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842013915,"filename":"image_25012025_22_51_02_300044_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331467435","file1":"1331467432","file0":"1331467428","file3":"1331467438"},"map_files_photo_id_array":[{"photo_id":"1331467435","filename":"file2"},{"photo_id":"1331467432","filename":"file1"},{"photo_id":"1331467428","filename":"file0"},{"photo_id":"1331467438","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331467435":["hashtag1","hashtag2"]},{"1331467438":["hashtag1","hashtag2"]},{"1331467432":["hashtag1","hashtag2"]},{"1331467428":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331467435, 1331467438, 1331467432, 1331467428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.624971866607666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:53:22.546007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/52/image_25012025_22_52_02_595159_0003.jpg', '/home/pi/Desktop/images/25012025/22/53/image_25012025_22_53_02_687225_0000.jpg', '/home/pi/Desktop/images/25012025/22/53/image_25012025_22_53_02_687225_0001.jpg', '/home/pi/Desktop/images/25012025/22/53/image_25012025_22_53_02_687225_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/52/image_25012025_22_52_02_595159_0003.jpg
/home/pi/Desktop/images/25012025/22/53/image_25012025_22_53_02_687225_0000.jpg
/home/pi/Desktop/images/25012025/22/53/image_25012025_22_53_02_687225_0001.jpg
/home/pi/Desktop/images/25012025/22/53/image_25012025_22_53_02_687225_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 [200]>
b'{"photo_ids":["1331467462","1331467456","1331467459","1331467454"],"photo_ids_order":["1331467454","1331467456","1331467459","1331467462"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1299041b58bd865be9206dee66cbd9c4.jpg","text":"TemporaryFile(/tmp/multipartBody5484099725060555515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842074029,"filename":"image_25012025_22_53_02_687225_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f7cde4ec8a59e161cb59396a52539497.jpg","text":"TemporaryFile(/tmp/multipartBody9021690786775173869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842074029,"filename":"image_25012025_22_53_02_687225_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7abc519506775ce71f248cae7c604485.jpg","text":"TemporaryFile(/tmp/multipartBody1789088473592383760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842074029,"filename":"image_25012025_22_53_02_687225_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/28d0c790e2444d422065b987bf2766c3.jpg","text":"TemporaryFile(/tmp/multipartBody7451828698119473596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842074029,"filename":"image_25012025_22_52_02_595159_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331467459","file1":"1331467456","file0":"1331467454","file3":"1331467462"},"map_files_photo_id_array":[{"photo_id":"1331467459","filename":"file2"},{"photo_id":"1331467456","filename":"file1"},{"photo_id":"1331467454","filename":"file0"},{"photo_id":"1331467462","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331467462":["hashtag1","hashtag2"]},{"1331467456":["hashtag1","hashtag2"]},{"1331467459":["hashtag1","hashtag2"]},{"1331467454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331467462, 1331467456, 1331467459, 1331467454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.6484169960022 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:54:22.642445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/53/image_25012025_22_53_02_687225_0003.jpg', '/home/pi/Desktop/images/25012025/22/54/image_25012025_22_54_02_787499_0000.jpg', '/home/pi/Desktop/images/25012025/22/54/image_25012025_22_54_02_787499_0001.jpg', '/home/pi/Desktop/images/25012025/22/54/image_25012025_22_54_02_787499_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/53/image_25012025_22_53_02_687225_0003.jpg
/home/pi/Desktop/images/25012025/22/54/image_25012025_22_54_02_787499_0000.jpg
/home/pi/Desktop/images/25012025/22/54/image_25012025_22_54_02_787499_0001.jpg
/home/pi/Desktop/images/25012025/22/54/image_25012025_22_54_02_787499_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: 10.807695150375366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 22:54:42.638434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/53/image_25012025_22_53_02_687225_0003.jpg', '/home/pi/Desktop/images/25012025/22/54/image_25012025_22_54_02_787499_0000.jpg', '/home/pi/Desktop/images/25012025/22/54/image_25012025_22_54_02_787499_0001.jpg', '/home/pi/Desktop/images/25012025/22/54/image_25012025_22_54_02_787499_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/53/image_25012025_22_53_02_687225_0003.jpg
/home/pi/Desktop/images/25012025/22/54/image_25012025_22_54_02_787499_0000.jpg
/home/pi/Desktop/images/25012025/22/54/image_25012025_22_54_02_787499_0001.jpg
/home/pi/Desktop/images/25012025/22/54/image_25012025_22_54_02_787499_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":["1331467539","1331467542","1331467536","1331467546"],"photo_ids_order":["1331467536","1331467539","1331467542","1331467546"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9a2a9efe3c6341cc8edb9035c1719c61.jpg","text":"TemporaryFile(/tmp/multipartBody1802449236169118490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842153826,"filename":"image_25012025_22_54_02_787499_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f4eeffa3402fe57ec20adf3906a3637d.jpg","text":"TemporaryFile(/tmp/multipartBody7217627645454145971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842153826,"filename":"image_25012025_22_54_02_787499_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/48307556d05d7337190cefa8d9a36826.jpg","text":"TemporaryFile(/tmp/multipartBody7940148617293581548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842153826,"filename":"image_25012025_22_53_02_687225_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cb71c310657b234a553b9fb373649a5a.jpg","text":"TemporaryFile(/tmp/multipartBody6204590427415885744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842153826,"filename":"image_25012025_22_54_02_787499_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331467542","file1":"1331467539","file0":"1331467536","file3":"1331467546"},"map_files_photo_id_array":[{"photo_id":"1331467542","filename":"file2"},{"photo_id":"1331467539","filename":"file1"},{"photo_id":"1331467536","filename":"file0"},{"photo_id":"1331467546","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331467539":["hashtag1","hashtag2"]},{"1331467542":["hashtag1","hashtag2"]},{"1331467536":["hashtag1","hashtag2"]},{"1331467546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331467539, 1331467542, 1331467536, 1331467546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.576164960861206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 22:55:31.812456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/54/image_25012025_22_54_02_787499_0003.jpg', '/home/pi/Desktop/images/25012025/22/55/image_25012025_22_55_03_037423_0000.jpg', '/home/pi/Desktop/images/25012025/22/55/image_25012025_22_55_03_037423_0001.jpg', '/home/pi/Desktop/images/25012025/22/55/image_25012025_22_55_03_037423_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/54/image_25012025_22_54_02_787499_0003.jpg
/home/pi/Desktop/images/25012025/22/55/image_25012025_22_55_03_037423_0000.jpg
/home/pi/Desktop/images/25012025/22/55/image_25012025_22_55_03_037423_0001.jpg
/home/pi/Desktop/images/25012025/22/55/image_25012025_22_55_03_037423_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":["1331467729","1331467680","1331467596","1331467765"],"photo_ids_order":["1331467596","1331467680","1331467729","1331467765"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e8543411c1eb6b198a2b2c15c8a8e9d6.jpg","text":"TemporaryFile(/tmp/multipartBody8311786939176382517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842203256,"filename":"image_25012025_22_55_03_037423_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/891af4c8b99eb27ad9dd65f2c13118d9.jpg","text":"TemporaryFile(/tmp/multipartBody3881154258879127033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842203256,"filename":"image_25012025_22_55_03_037423_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6310d5f1caab7aaf416846acd376097d.jpg","text":"TemporaryFile(/tmp/multipartBody8880120406051449447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842203256,"filename":"image_25012025_22_54_02_787499_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/352dc56ba802ced4f41937a615440409.jpg","text":"TemporaryFile(/tmp/multipartBody7380320842052614721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842203256,"filename":"image_25012025_22_55_03_037423_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331467729","file1":"1331467680","file0":"1331467596","file3":"1331467765"},"map_files_photo_id_array":[{"photo_id":"1331467729","filename":"file2"},{"photo_id":"1331467680","filename":"file1"},{"photo_id":"1331467596","filename":"file0"},{"photo_id":"1331467765","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331467729":["hashtag1","hashtag2"]},{"1331467680":["hashtag1","hashtag2"]},{"1331467596":["hashtag1","hashtag2"]},{"1331467765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331467729, 1331467680, 1331467596, 1331467765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.33362627029419 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:56:22.125689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/55/image_25012025_22_55_03_037423_0003.jpg', '/home/pi/Desktop/images/25012025/22/56/image_25012025_22_56_02_250672_0000.jpg', '/home/pi/Desktop/images/25012025/22/56/image_25012025_22_56_02_250672_0001.jpg', '/home/pi/Desktop/images/25012025/22/56/image_25012025_22_56_02_250672_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/55/image_25012025_22_55_03_037423_0003.jpg
/home/pi/Desktop/images/25012025/22/56/image_25012025_22_56_02_250672_0000.jpg
/home/pi/Desktop/images/25012025/22/56/image_25012025_22_56_02_250672_0001.jpg
/home/pi/Desktop/images/25012025/22/56/image_25012025_22_56_02_250672_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":["1331467850","1331467853","1331467861","1331467858"],"photo_ids_order":["1331467850","1331467853","1331467858","1331467861"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/19192746b46a611ac6193ea795758f1b.jpg","text":"TemporaryFile(/tmp/multipartBody8504083726939999767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842253429,"filename":"image_25012025_22_55_03_037423_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6138ef4810ab2139c099905ad11e73cd.jpg","text":"TemporaryFile(/tmp/multipartBody2341615711815795350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842253429,"filename":"image_25012025_22_56_02_250672_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ae87b84bf4d52fc1a830acc0c76bb0c2.jpg","text":"TemporaryFile(/tmp/multipartBody1649678321408144752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842253429,"filename":"image_25012025_22_56_02_250672_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/58c4b8970c75f673cc8191c5eb34705d.jpg","text":"TemporaryFile(/tmp/multipartBody4652795290675520056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842253429,"filename":"image_25012025_22_56_02_250672_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331467858","file1":"1331467853","file0":"1331467850","file3":"1331467861"},"map_files_photo_id_array":[{"photo_id":"1331467858","filename":"file2"},{"photo_id":"1331467853","filename":"file1"},{"photo_id":"1331467850","filename":"file0"},{"photo_id":"1331467861","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331467850":["hashtag1","hashtag2"]},{"1331467853":["hashtag1","hashtag2"]},{"1331467861":["hashtag1","hashtag2"]},{"1331467858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331467850, 1331467853, 1331467861, 1331467858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.48898983001709 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 22:57:02.865092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/23/12/image_21012025_23_12_02_749588_0000.jpg', '/home/pi/Desktop/images/21012025/23/12/image_21012025_23_12_02_749588_0001.jpg', '/home/pi/Desktop/images/21012025/23/12/image_21012025_23_12_02_749588_0002.jpg', '/home/pi/Desktop/images/21012025/23/12/image_21012025_23_12_02_749588_0003.jpg', '/home/pi/Desktop/images/21012025/23/13/image_21012025_23_13_02_940169_0000.jpg', '/home/pi/Desktop/images/21012025/23/13/image_21012025_23_13_02_940169_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/23/12/image_21012025_23_12_02_749588_0000.jpg
/home/pi/Desktop/images/21012025/23/12/image_21012025_23_12_02_749588_0001.jpg
/home/pi/Desktop/images/21012025/23/12/image_21012025_23_12_02_749588_0002.jpg
/home/pi/Desktop/images/21012025/23/12/image_21012025_23_12_02_749588_0003.jpg
/home/pi/Desktop/images/21012025/23/13/image_21012025_23_13_02_940169_0000.jpg
/home/pi/Desktop/images/21012025/23/13/image_21012025_23_13_02_940169_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":["1331467872","1331467881","1331467875","1331467883","1331467877","1331467886"],"photo_ids_order":["1331467872","1331467875","1331467877","1331467881","1331467883","1331467886"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f83003e34125178e7b717614508c6d3e.jpg","text":"TemporaryFile(/tmp/multipartBody2232760204245138336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842300661,"filename":"image_21012025_23_12_02_749588_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a429fecee46aee3b0ad370f5c5154b31.jpg","text":"TemporaryFile(/tmp/multipartBody8944081096531587666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842300661,"filename":"image_21012025_23_12_02_749588_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fc90e88d408eb0353fad115c8cf8691d.jpg","text":"TemporaryFile(/tmp/multipartBody1212641018245976414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842300661,"filename":"image_21012025_23_12_02_749588_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a467b5b201baf9670af822b10d4b6fac.jpg","text":"TemporaryFile(/tmp/multipartBody6806162688236201422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842300661,"filename":"image_21012025_23_13_02_940169_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5a61588b4bfcaef99baf541a121ccb98.jpg","text":"TemporaryFile(/tmp/multipartBody5933804002702785167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842300661,"filename":"image_21012025_23_12_02_749588_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b1fb511ab755ff9a4b3f1771488c460c.jpg","text":"TemporaryFile(/tmp/multipartBody1454768030721509091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842300661,"filename":"image_21012025_23_13_02_940169_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331467877","file1":"1331467875","file0":"1331467872","file4":"1331467883","file5":"1331467886","file3":"1331467881"},"map_files_photo_id_array":[{"photo_id":"1331467886","filename":"file5"},{"photo_id":"1331467877","filename":"file2"},{"photo_id":"1331467883","filename":"file4"},{"photo_id":"1331467875","filename":"file1"},{"photo_id":"1331467872","filename":"file0"},{"photo_id":"1331467881","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331467872":["hashtag1","hashtag2"]},{"1331467881":["hashtag1","hashtag2"]},{"1331467875":["hashtag1","hashtag2"]},{"1331467883":["hashtag1","hashtag2"]},{"1331467877":["hashtag1","hashtag2"]},{"1331467886":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331467872, 1331467881, 1331467875, 1331467883, 1331467877, 1331467886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.83814978599548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 22:59:03.370139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/56/image_25012025_22_56_02_250672_0003.jpg', '/home/pi/Desktop/images/25012025/22/57/image_25012025_22_57_02_367533_0000.jpg', '/home/pi/Desktop/images/25012025/22/57/image_25012025_22_57_02_367533_0001.jpg', '/home/pi/Desktop/images/25012025/22/57/image_25012025_22_57_02_367533_0002.jpg', '/home/pi/Desktop/images/25012025/22/57/image_25012025_22_57_02_367533_0003.jpg', '/home/pi/Desktop/images/25012025/22/58/image_25012025_22_58_02_815584_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/56/image_25012025_22_56_02_250672_0003.jpg
/home/pi/Desktop/images/25012025/22/57/image_25012025_22_57_02_367533_0000.jpg
/home/pi/Desktop/images/25012025/22/57/image_25012025_22_57_02_367533_0001.jpg
/home/pi/Desktop/images/25012025/22/57/image_25012025_22_57_02_367533_0002.jpg
/home/pi/Desktop/images/25012025/22/57/image_25012025_22_57_02_367533_0003.jpg
/home/pi/Desktop/images/25012025/22/58/image_25012025_22_58_02_815584_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.276962280273438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 22:59:22.617374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/56/image_25012025_22_56_02_250672_0003.jpg', '/home/pi/Desktop/images/25012025/22/57/image_25012025_22_57_02_367533_0000.jpg', '/home/pi/Desktop/images/25012025/22/57/image_25012025_22_57_02_367533_0001.jpg', '/home/pi/Desktop/images/25012025/22/57/image_25012025_22_57_02_367533_0002.jpg', '/home/pi/Desktop/images/25012025/22/57/image_25012025_22_57_02_367533_0003.jpg', '/home/pi/Desktop/images/25012025/22/58/image_25012025_22_58_02_815584_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/56/image_25012025_22_56_02_250672_0003.jpg
/home/pi/Desktop/images/25012025/22/57/image_25012025_22_57_02_367533_0000.jpg
/home/pi/Desktop/images/25012025/22/57/image_25012025_22_57_02_367533_0001.jpg
/home/pi/Desktop/images/25012025/22/57/image_25012025_22_57_02_367533_0002.jpg
/home/pi/Desktop/images/25012025/22/57/image_25012025_22_57_02_367533_0003.jpg
/home/pi/Desktop/images/25012025/22/58/image_25012025_22_58_02_815584_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 [200]>
b'{"photo_ids":["1331467983","1331467989","1331467980","1331467976","1331467985","1331467973"],"photo_ids_order":["1331467973","1331467976","1331467980","1331467983","1331467985","1331467989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/11704b88d89fe0d0f92c0cfc90f9a69b.jpg","text":"TemporaryFile(/tmp/multipartBody7221718961682449079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842439633,"filename":"image_25012025_22_57_02_367533_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c90236a65e9efb8788363838abf566dc.jpg","text":"TemporaryFile(/tmp/multipartBody8141400462162659915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842439633,"filename":"image_25012025_22_58_02_815584_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/acf9f3f5b8d962b267800a61b0253595.jpg","text":"TemporaryFile(/tmp/multipartBody8596361224682159988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842439633,"filename":"image_25012025_22_57_02_367533_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9075c4285e5040d73b06886232fad88d.jpg","text":"TemporaryFile(/tmp/multipartBody8292001619625577486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842439633,"filename":"image_25012025_22_57_02_367533_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cb3f58c4494ea94d4a66de1b42f6c3b7.jpg","text":"TemporaryFile(/tmp/multipartBody8798783263405533061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842439633,"filename":"image_25012025_22_57_02_367533_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5df20e9ff193fe47180a8bd62ab615a6.jpg","text":"TemporaryFile(/tmp/multipartBody7522259404358572432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842439633,"filename":"image_25012025_22_56_02_250672_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331467980","file1":"1331467976","file0":"1331467973","file4":"1331467985","file5":"1331467989","file3":"1331467983"},"map_files_photo_id_array":[{"photo_id":"1331467989","filename":"file5"},{"photo_id":"1331467980","filename":"file2"},{"photo_id":"1331467985","filename":"file4"},{"photo_id":"1331467976","filename":"file1"},{"photo_id":"1331467973","filename":"file0"},{"photo_id":"1331467983","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331467983":["hashtag1","hashtag2"]},{"1331467989":["hashtag1","hashtag2"]},{"1331467980":["hashtag1","hashtag2"]},{"1331467976":["hashtag1","hashtag2"]},{"1331467985":["hashtag1","hashtag2"]},{"1331467973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331467983, 1331467989, 1331467980, 1331467976, 1331467985, 1331467973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.69830656051636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:00:22.770293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/58/image_25012025_22_58_02_815584_0001.jpg', '/home/pi/Desktop/images/25012025/22/58/image_25012025_22_58_02_815584_0002.jpg', '/home/pi/Desktop/images/25012025/22/58/image_25012025_22_58_02_815584_0003.jpg', '/home/pi/Desktop/images/25012025/22/59/image_25012025_22_59_02_798103_0000.jpg', '/home/pi/Desktop/images/25012025/22/59/image_25012025_22_59_02_798103_0001.jpg', '/home/pi/Desktop/images/25012025/22/59/image_25012025_22_59_02_798103_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/58/image_25012025_22_58_02_815584_0001.jpg
/home/pi/Desktop/images/25012025/22/58/image_25012025_22_58_02_815584_0002.jpg
/home/pi/Desktop/images/25012025/22/58/image_25012025_22_58_02_815584_0003.jpg
/home/pi/Desktop/images/25012025/22/59/image_25012025_22_59_02_798103_0000.jpg
/home/pi/Desktop/images/25012025/22/59/image_25012025_22_59_02_798103_0001.jpg
/home/pi/Desktop/images/25012025/22/59/image_25012025_22_59_02_798103_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 [200]>
b'{"photo_ids":["1331468982","1331468979","1331468676","1331468986","1331468315","1331468977"],"photo_ids_order":["1331468315","1331468676","1331468977","1331468979","1331468982","1331468986"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/569c93098efa6dc30b61bced8d432072.jpg","text":"TemporaryFile(/tmp/multipartBody2759789164287759492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842499091,"filename":"image_25012025_22_59_02_798103_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8637c343e49cc98e964b75008e8516d5.jpg","text":"TemporaryFile(/tmp/multipartBody3093641922499751545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842499091,"filename":"image_25012025_22_59_02_798103_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ae267830031ae1b0ecd85caa1a3a8dc7.jpg","text":"TemporaryFile(/tmp/multipartBody8303259415308024601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842499091,"filename":"image_25012025_22_58_02_815584_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e46b2ea686dc6fb4a7450e930e9b2319.jpg","text":"TemporaryFile(/tmp/multipartBody497484101009147542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842499091,"filename":"image_25012025_22_59_02_798103_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4f259b33e5e9a2db14fba4254650e436.jpg","text":"TemporaryFile(/tmp/multipartBody933660324043782100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842499091,"filename":"image_25012025_22_58_02_815584_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/613f84c5ff5911dc55d706dfe79ae6c6.jpg","text":"TemporaryFile(/tmp/multipartBody3119190444179744545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842499091,"filename":"image_25012025_22_58_02_815584_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331468977","file1":"1331468676","file0":"1331468315","file4":"1331468982","file5":"1331468986","file3":"1331468979"},"map_files_photo_id_array":[{"photo_id":"1331468986","filename":"file5"},{"photo_id":"1331468977","filename":"file2"},{"photo_id":"1331468982","filename":"file4"},{"photo_id":"1331468676","filename":"file1"},{"photo_id":"1331468315","filename":"file0"},{"photo_id":"1331468979","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331468982":["hashtag1","hashtag2"]},{"1331468979":["hashtag1","hashtag2"]},{"1331468676":["hashtag1","hashtag2"]},{"1331468986":["hashtag1","hashtag2"]},{"1331468315":["hashtag1","hashtag2"]},{"1331468977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331468982, 1331468979, 1331468676, 1331468986, 1331468315, 1331468977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.33212327957153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:01:21.955089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/22/59/image_25012025_22_59_02_798103_0003.jpg', '/home/pi/Desktop/images/25012025/23/00/image_25012025_23_00_02_957550_0000.jpg', '/home/pi/Desktop/images/25012025/23/00/image_25012025_23_00_02_957550_0001.jpg', '/home/pi/Desktop/images/25012025/23/00/image_25012025_23_00_02_957550_0002.jpg', '/home/pi/Desktop/images/25012025/23/00/image_25012025_23_00_02_957550_0003.jpg', '/home/pi/Desktop/images/25012025/23/01/image_25012025_23_01_03_080098_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/22/59/image_25012025_22_59_02_798103_0003.jpg
/home/pi/Desktop/images/25012025/23/00/image_25012025_23_00_02_957550_0000.jpg
/home/pi/Desktop/images/25012025/23/00/image_25012025_23_00_02_957550_0001.jpg
/home/pi/Desktop/images/25012025/23/00/image_25012025_23_00_02_957550_0002.jpg
/home/pi/Desktop/images/25012025/23/00/image_25012025_23_00_02_957550_0003.jpg
/home/pi/Desktop/images/25012025/23/01/image_25012025_23_01_03_080098_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 [200]>
b'{"photo_ids":["1331469027","1331469009","1331469000","1331469203","1331469004","1331469189"],"photo_ids_order":["1331469000","1331469004","1331469009","1331469027","1331469189","1331469203"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/21b08a38a916b38f9485ea1a0e95912a.jpg","text":"TemporaryFile(/tmp/multipartBody767780511321641255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842558530,"filename":"image_25012025_23_00_02_957550_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fc0ac7a92a4982ff5bd891c1aae84bd3.jpg","text":"TemporaryFile(/tmp/multipartBody3355640837777648716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842558530,"filename":"image_25012025_23_00_02_957550_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9bdbb5d6894ef38e8117ca9dd2d8e0c9.jpg","text":"TemporaryFile(/tmp/multipartBody5671848829863784907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842558530,"filename":"image_25012025_22_59_02_798103_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3459629e62d2f76e1306eb302964e6a7.jpg","text":"TemporaryFile(/tmp/multipartBody6877523557856713354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842558530,"filename":"image_25012025_23_01_03_080098_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0414f0aa00c5d2e21a6eed2443c37aac.jpg","text":"TemporaryFile(/tmp/multipartBody6845823629803871201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842558530,"filename":"image_25012025_23_00_02_957550_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ae9cea1ebefa40ba6d49588e1b6d11e7.jpg","text":"TemporaryFile(/tmp/multipartBody2166813711296813691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842558530,"filename":"image_25012025_23_00_02_957550_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331469009","file1":"1331469004","file0":"1331469000","file4":"1331469189","file5":"1331469203","file3":"1331469027"},"map_files_photo_id_array":[{"photo_id":"1331469203","filename":"file5"},{"photo_id":"1331469009","filename":"file2"},{"photo_id":"1331469189","filename":"file4"},{"photo_id":"1331469004","filename":"file1"},{"photo_id":"1331469000","filename":"file0"},{"photo_id":"1331469027","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331469027":["hashtag1","hashtag2"]},{"1331469009":["hashtag1","hashtag2"]},{"1331469000":["hashtag1","hashtag2"]},{"1331469203":["hashtag1","hashtag2"]},{"1331469004":["hashtag1","hashtag2"]},{"1331469189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331469027, 1331469009, 1331469000, 1331469203, 1331469004, 1331469189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.90441918373108 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:02:22.250475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/01/image_25012025_23_01_03_080098_0001.jpg', '/home/pi/Desktop/images/25012025/23/01/image_25012025_23_01_03_080098_0002.jpg', '/home/pi/Desktop/images/25012025/23/01/image_25012025_23_01_03_080098_0003.jpg', '/home/pi/Desktop/images/25012025/23/02/image_25012025_23_02_02_300702_0000.jpg', '/home/pi/Desktop/images/25012025/23/02/image_25012025_23_02_02_300702_0001.jpg', '/home/pi/Desktop/images/25012025/23/02/image_25012025_23_02_02_300702_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/01/image_25012025_23_01_03_080098_0001.jpg
/home/pi/Desktop/images/25012025/23/01/image_25012025_23_01_03_080098_0002.jpg
/home/pi/Desktop/images/25012025/23/01/image_25012025_23_01_03_080098_0003.jpg
/home/pi/Desktop/images/25012025/23/02/image_25012025_23_02_02_300702_0000.jpg
/home/pi/Desktop/images/25012025/23/02/image_25012025_23_02_02_300702_0001.jpg
/home/pi/Desktop/images/25012025/23/02/image_25012025_23_02_02_300702_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 [200]>
b'{"photo_ids":["1331469669","1331469788","1331469779","1331469839","1331469727","1331469786"],"photo_ids_order":["1331469669","1331469727","1331469779","1331469786","1331469788","1331469839"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/203fdc7a01c4b9a8eb03e25d60fe0189.jpg","text":"TemporaryFile(/tmp/multipartBody8661505235351984118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842618779,"filename":"image_25012025_23_01_03_080098_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2ded3f4641cbed25ef651d9d812cd9c5.jpg","text":"TemporaryFile(/tmp/multipartBody2545133844371452848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842618779,"filename":"image_25012025_23_02_02_300702_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d9344ff2ab9561ad7f5f0c0d52fdabe1.jpg","text":"TemporaryFile(/tmp/multipartBody359937618386456324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842618779,"filename":"image_25012025_23_01_03_080098_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/251be6aaf3b3b335feabf782f9ed1451.jpg","text":"TemporaryFile(/tmp/multipartBody268203886086653867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842618779,"filename":"image_25012025_23_02_02_300702_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/396a710af6987a9fd2b538ef1c74f26f.jpg","text":"TemporaryFile(/tmp/multipartBody4429640493817207010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842618779,"filename":"image_25012025_23_01_03_080098_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6bf381d2e9a9c361297c6396455bf9db.jpg","text":"TemporaryFile(/tmp/multipartBody7775875228757285944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842618779,"filename":"image_25012025_23_02_02_300702_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331469779","file1":"1331469727","file0":"1331469669","file4":"1331469788","file5":"1331469839","file3":"1331469786"},"map_files_photo_id_array":[{"photo_id":"1331469839","filename":"file5"},{"photo_id":"1331469779","filename":"file2"},{"photo_id":"1331469788","filename":"file4"},{"photo_id":"1331469727","filename":"file1"},{"photo_id":"1331469669","filename":"file0"},{"photo_id":"1331469786","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331469669":["hashtag1","hashtag2"]},{"1331469788":["hashtag1","hashtag2"]},{"1331469779":["hashtag1","hashtag2"]},{"1331469839":["hashtag1","hashtag2"]},{"1331469727":["hashtag1","hashtag2"]},{"1331469786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331469669, 1331469788, 1331469779, 1331469839, 1331469727, 1331469786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.217291831970215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:03:22.296792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/02/image_25012025_23_02_02_300702_0003.jpg', '/home/pi/Desktop/images/25012025/23/03/image_25012025_23_03_02_594031_0000.jpg', '/home/pi/Desktop/images/25012025/23/03/image_25012025_23_03_02_594031_0001.jpg', '/home/pi/Desktop/images/25012025/23/03/image_25012025_23_03_02_594031_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/02/image_25012025_23_02_02_300702_0003.jpg
/home/pi/Desktop/images/25012025/23/03/image_25012025_23_03_02_594031_0000.jpg
/home/pi/Desktop/images/25012025/23/03/image_25012025_23_03_02_594031_0001.jpg
/home/pi/Desktop/images/25012025/23/03/image_25012025_23_03_02_594031_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":["1331469985","1331469981","1331469978","1331469942"],"photo_ids_order":["1331469942","1331469978","1331469981","1331469985"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bd6c130e367cf510e72420a824919d2b.jpg","text":"TemporaryFile(/tmp/multipartBody4650021550008333786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842673487,"filename":"image_25012025_23_03_02_594031_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b5a98734e1bfb31db899a707af49afa6.jpg","text":"TemporaryFile(/tmp/multipartBody6384489168808437745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842673487,"filename":"image_25012025_23_03_02_594031_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/59bbb391277923f342908a1991aee8c6.jpg","text":"TemporaryFile(/tmp/multipartBody7671903564616656648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842673487,"filename":"image_25012025_23_03_02_594031_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d4a9527cfeaef7b526ee3a5c8265cd6a.jpg","text":"TemporaryFile(/tmp/multipartBody8159755313665366057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842673487,"filename":"image_25012025_23_02_02_300702_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331469981","file1":"1331469978","file0":"1331469942","file3":"1331469985"},"map_files_photo_id_array":[{"photo_id":"1331469981","filename":"file2"},{"photo_id":"1331469978","filename":"file1"},{"photo_id":"1331469942","filename":"file0"},{"photo_id":"1331469985","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331469985":["hashtag1","hashtag2"]},{"1331469981":["hashtag1","hashtag2"]},{"1331469978":["hashtag1","hashtag2"]},{"1331469942":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331469985, 1331469981, 1331469978, 1331469942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.33073949813843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 23:04:02.762395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT 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/23/13/image_21012025_23_13_02_940169_0002.jpg', '/home/pi/Desktop/images/21012025/23/13/image_21012025_23_13_02_940169_0003.jpg', '/home/pi/Desktop/images/21012025/23/14/image_21012025_23_14_03_197959_0000.jpg', '/home/pi/Desktop/images/21012025/23/14/image_21012025_23_14_03_197959_0001.jpg', '/home/pi/Desktop/images/21012025/23/14/image_21012025_23_14_03_197959_0002.jpg', '/home/pi/Desktop/images/21012025/23/14/image_21012025_23_14_03_197959_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/23/13/image_21012025_23_13_02_940169_0002.jpg
/home/pi/Desktop/images/21012025/23/13/image_21012025_23_13_02_940169_0003.jpg
/home/pi/Desktop/images/21012025/23/14/image_21012025_23_14_03_197959_0000.jpg
/home/pi/Desktop/images/21012025/23/14/image_21012025_23_14_03_197959_0001.jpg
/home/pi/Desktop/images/21012025/23/14/image_21012025_23_14_03_197959_0002.jpg
/home/pi/Desktop/images/21012025/23/14/image_21012025_23_14_03_197959_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 [200]>
b'{"photo_ids":["1331469998","1331470053","1331470028","1331470057","1331470048","1331470021"],"photo_ids_order":["1331469998","1331470021","1331470028","1331470048","1331470053","1331470057"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a85f9f18cd4abb0109522e3a825e6cc1.jpg","text":"TemporaryFile(/tmp/multipartBody3873607621616498197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842720129,"filename":"image_21012025_23_13_02_940169_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/57865e7a7632d7cb13856f878e14ce93.jpg","text":"TemporaryFile(/tmp/multipartBody7677779346047379027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842720129,"filename":"image_21012025_23_14_03_197959_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9d3218e6ed99fa9e35fd7ead30a42341.jpg","text":"TemporaryFile(/tmp/multipartBody4620574565802881249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842720129,"filename":"image_21012025_23_14_03_197959_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/923fe5b9f95d31363dc57c80eb2c8e69.jpg","text":"TemporaryFile(/tmp/multipartBody8815899466120326187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842720129,"filename":"image_21012025_23_14_03_197959_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fd7ea95d4764243c2aa8aea4bf9bc56a.jpg","text":"TemporaryFile(/tmp/multipartBody4787329935583602712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842720129,"filename":"image_21012025_23_14_03_197959_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/789f90a08780e88b2997f85b60f8a45b.jpg","text":"TemporaryFile(/tmp/multipartBody1938923477196229115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842720129,"filename":"image_21012025_23_13_02_940169_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331470028","file1":"1331470021","file0":"1331469998","file4":"1331470053","file5":"1331470057","file3":"1331470048"},"map_files_photo_id_array":[{"photo_id":"1331470057","filename":"file5"},{"photo_id":"1331470028","filename":"file2"},{"photo_id":"1331470053","filename":"file4"},{"photo_id":"1331470021","filename":"file1"},{"photo_id":"1331469998","filename":"file0"},{"photo_id":"1331470048","filename":"file3"}],"portfolio_id":19777178,"hashtag_by_photo_ids":[{"1331469998":["hashtag1","hashtag2"]},{"1331470053":["hashtag1","hashtag2"]},{"1331470028":["hashtag1","hashtag2"]},{"1331470057":["hashtag1","hashtag2"]},{"1331470048":["hashtag1","hashtag2"]},{"1331470021":["hashtag1","hashtag2"]}],"comms":"Portfolio 19777178 used, photo_id : ArrayBuffer(1331469998, 1331470053, 1331470028, 1331470057, 1331470048, 1331470021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.14521932601929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 23:05:03.146527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/03/image_25012025_23_03_02_594031_0003.jpg', '/home/pi/Desktop/images/25012025/23/04/image_25012025_23_04_02_747435_0000.jpg', '/home/pi/Desktop/images/25012025/23/04/image_25012025_23_04_02_747435_0001.jpg', '/home/pi/Desktop/images/25012025/23/04/image_25012025_23_04_02_747435_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/03/image_25012025_23_03_02_594031_0003.jpg
/home/pi/Desktop/images/25012025/23/04/image_25012025_23_04_02_747435_0000.jpg
/home/pi/Desktop/images/25012025/23/04/image_25012025_23_04_02_747435_0001.jpg
/home/pi/Desktop/images/25012025/23/04/image_25012025_23_04_02_747435_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":["1331470080","1331470077","1331470073","1331470081"],"photo_ids_order":["1331470073","1331470077","1331470080","1331470081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2e703ac75dd2d276e07e9f85b5bb37e4.jpg","text":"TemporaryFile(/tmp/multipartBody5036449376535966390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842774956,"filename":"image_25012025_23_04_02_747435_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/357a389e87d6ec4a693c0c6b07d3e139.jpg","text":"TemporaryFile(/tmp/multipartBody1896011719964464906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842774956,"filename":"image_25012025_23_04_02_747435_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fcc81ed44821de7ca9899f06deebbbde.jpg","text":"TemporaryFile(/tmp/multipartBody4459951458616972723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842774956,"filename":"image_25012025_23_03_02_594031_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/451349fccdeeded6c0727278ce49bdcd.jpg","text":"TemporaryFile(/tmp/multipartBody6033926472569950633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842774956,"filename":"image_25012025_23_04_02_747435_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331470080","file1":"1331470077","file0":"1331470073","file3":"1331470081"},"map_files_photo_id_array":[{"photo_id":"1331470080","filename":"file2"},{"photo_id":"1331470077","filename":"file1"},{"photo_id":"1331470073","filename":"file0"},{"photo_id":"1331470081","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331470080":["hashtag1","hashtag2"]},{"1331470077":["hashtag1","hashtag2"]},{"1331470073":["hashtag1","hashtag2"]},{"1331470081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331470080, 1331470077, 1331470073, 1331470081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.59982132911682 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 23:05:52.622365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/04/image_25012025_23_04_02_747435_0003.jpg', '/home/pi/Desktop/images/25012025/23/05/image_25012025_23_05_02_862574_0000.jpg', '/home/pi/Desktop/images/25012025/23/05/image_25012025_23_05_02_862574_0001.jpg', '/home/pi/Desktop/images/25012025/23/05/image_25012025_23_05_02_862574_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/04/image_25012025_23_04_02_747435_0003.jpg
/home/pi/Desktop/images/25012025/23/05/image_25012025_23_05_02_862574_0000.jpg
/home/pi/Desktop/images/25012025/23/05/image_25012025_23_05_02_862574_0001.jpg
/home/pi/Desktop/images/25012025/23/05/image_25012025_23_05_02_862574_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: 10.859283924102783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:06:21.834735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/04/image_25012025_23_04_02_747435_0003.jpg', '/home/pi/Desktop/images/25012025/23/05/image_25012025_23_05_02_862574_0000.jpg', '/home/pi/Desktop/images/25012025/23/05/image_25012025_23_05_02_862574_0001.jpg', '/home/pi/Desktop/images/25012025/23/05/image_25012025_23_05_02_862574_0002.jpg', '/home/pi/Desktop/images/25012025/23/05/image_25012025_23_05_02_862574_0003.jpg', '/home/pi/Desktop/images/25012025/23/06/image_25012025_23_06_03_024210_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/04/image_25012025_23_04_02_747435_0003.jpg
/home/pi/Desktop/images/25012025/23/05/image_25012025_23_05_02_862574_0000.jpg
/home/pi/Desktop/images/25012025/23/05/image_25012025_23_05_02_862574_0001.jpg
/home/pi/Desktop/images/25012025/23/05/image_25012025_23_05_02_862574_0002.jpg
/home/pi/Desktop/images/25012025/23/05/image_25012025_23_05_02_862574_0003.jpg
/home/pi/Desktop/images/25012025/23/06/image_25012025_23_06_03_024210_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 [200]>
b'{"photo_ids":["1331471604","1331471601","1331470898","1331471267","1331471581","1331470528"],"photo_ids_order":["1331470528","1331470898","1331471267","1331471581","1331471601","1331471604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a955e5d6cba5d3f0b72072259dbdee12.jpg","text":"TemporaryFile(/tmp/multipartBody1031991304336432561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842858306,"filename":"image_25012025_23_06_03_024210_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0f3ee4bf69e98cbcb54111a570fb918e.jpg","text":"TemporaryFile(/tmp/multipartBody3805607014089224329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842858306,"filename":"image_25012025_23_05_02_862574_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d66bc78572e5a4996c27cfe202cc7080.jpg","text":"TemporaryFile(/tmp/multipartBody460875305601169185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842858306,"filename":"image_25012025_23_05_02_862574_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a921c583c30bb72c4aece027d9626a61.jpg","text":"TemporaryFile(/tmp/multipartBody5160690541074747136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842858306,"filename":"image_25012025_23_05_02_862574_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/67593858b70f91410b5b2fd8db83d52e.jpg","text":"TemporaryFile(/tmp/multipartBody3756370708769030841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842858306,"filename":"image_25012025_23_05_02_862574_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ca4f25de4b3e250f081bb7a93c849634.jpg","text":"TemporaryFile(/tmp/multipartBody1167781189534110487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842858306,"filename":"image_25012025_23_04_02_747435_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331471267","file1":"1331470898","file0":"1331470528","file4":"1331471601","file5":"1331471604","file3":"1331471581"},"map_files_photo_id_array":[{"photo_id":"1331471604","filename":"file5"},{"photo_id":"1331471267","filename":"file2"},{"photo_id":"1331471601","filename":"file4"},{"photo_id":"1331470898","filename":"file1"},{"photo_id":"1331470528","filename":"file0"},{"photo_id":"1331471581","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331471604":["hashtag1","hashtag2"]},{"1331471601":["hashtag1","hashtag2"]},{"1331470898":["hashtag1","hashtag2"]},{"1331471267":["hashtag1","hashtag2"]},{"1331471581":["hashtag1","hashtag2"]},{"1331470528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331471604, 1331471601, 1331470898, 1331471267, 1331471581, 1331470528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.642183780670166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:07:22.028772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/06/image_25012025_23_06_03_024210_0001.jpg', '/home/pi/Desktop/images/25012025/23/06/image_25012025_23_06_03_024210_0002.jpg', '/home/pi/Desktop/images/25012025/23/06/image_25012025_23_06_03_024210_0003.jpg', '/home/pi/Desktop/images/25012025/23/07/image_25012025_23_07_02_165212_0000.jpg', '/home/pi/Desktop/images/25012025/23/07/image_25012025_23_07_02_165212_0001.jpg', '/home/pi/Desktop/images/25012025/23/07/image_25012025_23_07_02_165212_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/06/image_25012025_23_06_03_024210_0001.jpg
/home/pi/Desktop/images/25012025/23/06/image_25012025_23_06_03_024210_0002.jpg
/home/pi/Desktop/images/25012025/23/06/image_25012025_23_06_03_024210_0003.jpg
/home/pi/Desktop/images/25012025/23/07/image_25012025_23_07_02_165212_0000.jpg
/home/pi/Desktop/images/25012025/23/07/image_25012025_23_07_02_165212_0001.jpg
/home/pi/Desktop/images/25012025/23/07/image_25012025_23_07_02_165212_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 [200]>
b'{"photo_ids":["1331471660","1331471656","1331471665","1331471668","1331471670","1331471673"],"photo_ids_order":["1331471656","1331471660","1331471665","1331471668","1331471670","1331471673"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1f089c8cce2a11e04673448d1798659c.jpg","text":"TemporaryFile(/tmp/multipartBody5939043590373312930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842918694,"filename":"image_25012025_23_06_03_024210_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f61e9679e2a7b822de7987a54decb25d.jpg","text":"TemporaryFile(/tmp/multipartBody6413501966319418939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842918694,"filename":"image_25012025_23_06_03_024210_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5881a17aef54c0f3670f1f46d5cdde9f.jpg","text":"TemporaryFile(/tmp/multipartBody4247659626416045497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842918694,"filename":"image_25012025_23_06_03_024210_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3b902657930dbfe2c5505a31acdae567.jpg","text":"TemporaryFile(/tmp/multipartBody3931289231564798663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842918694,"filename":"image_25012025_23_07_02_165212_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b1eb06dddc6939f9e08b8877ae09a0a9.jpg","text":"TemporaryFile(/tmp/multipartBody5621787850302505089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842918694,"filename":"image_25012025_23_07_02_165212_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bf9abee52759660b6ec81602b8c478d8.jpg","text":"TemporaryFile(/tmp/multipartBody4270211520950810484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842918694,"filename":"image_25012025_23_07_02_165212_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331471665","file1":"1331471660","file0":"1331471656","file4":"1331471670","file5":"1331471673","file3":"1331471668"},"map_files_photo_id_array":[{"photo_id":"1331471673","filename":"file5"},{"photo_id":"1331471665","filename":"file2"},{"photo_id":"1331471670","filename":"file4"},{"photo_id":"1331471660","filename":"file1"},{"photo_id":"1331471656","filename":"file0"},{"photo_id":"1331471668","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331471660":["hashtag1","hashtag2"]},{"1331471656":["hashtag1","hashtag2"]},{"1331471665":["hashtag1","hashtag2"]},{"1331471668":["hashtag1","hashtag2"]},{"1331471670":["hashtag1","hashtag2"]},{"1331471673":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331471660, 1331471656, 1331471665, 1331471668, 1331471670, 1331471673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.62138366699219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:08:22.203139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/07/image_25012025_23_07_02_165212_0003.jpg', '/home/pi/Desktop/images/25012025/23/08/image_25012025_23_08_02_357895_0000.jpg', '/home/pi/Desktop/images/25012025/23/08/image_25012025_23_08_02_357895_0001.jpg', '/home/pi/Desktop/images/25012025/23/08/image_25012025_23_08_02_357895_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/07/image_25012025_23_07_02_165212_0003.jpg
/home/pi/Desktop/images/25012025/23/08/image_25012025_23_08_02_357895_0000.jpg
/home/pi/Desktop/images/25012025/23/08/image_25012025_23_08_02_357895_0001.jpg
/home/pi/Desktop/images/25012025/23/08/image_25012025_23_08_02_357895_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 [200]>
b'{"photo_ids":["1331472024","1331471783","1331472199","1331472184"],"photo_ids_order":["1331471783","1331472024","1331472184","1331472199"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/10ba8a9a7aa3fe35c01a0b2652d58e48.jpg","text":"TemporaryFile(/tmp/multipartBody3574464136728293828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842973475,"filename":"image_25012025_23_08_02_357895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/90a5ff223b837e3d6f91338c9b6ecfa9.jpg","text":"TemporaryFile(/tmp/multipartBody7515829323540900931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842973475,"filename":"image_25012025_23_07_02_165212_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9b9cc552b72839d00041c29de7f179f4.jpg","text":"TemporaryFile(/tmp/multipartBody963206909735479802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842973475,"filename":"image_25012025_23_08_02_357895_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/57cc0bea1ff5549f4948771d072fef1a.jpg","text":"TemporaryFile(/tmp/multipartBody8315484694150645406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737842973475,"filename":"image_25012025_23_08_02_357895_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331472184","file1":"1331472024","file0":"1331471783","file3":"1331472199"},"map_files_photo_id_array":[{"photo_id":"1331472184","filename":"file2"},{"photo_id":"1331472024","filename":"file1"},{"photo_id":"1331471783","filename":"file0"},{"photo_id":"1331472199","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331472024":["hashtag1","hashtag2"]},{"1331471783":["hashtag1","hashtag2"]},{"1331472199":["hashtag1","hashtag2"]},{"1331472184":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331472024, 1331471783, 1331472199, 1331472184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.25717353820801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:09:22.528720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/08/image_25012025_23_08_02_357895_0003.jpg', '/home/pi/Desktop/images/25012025/23/09/image_25012025_23_09_02_517793_0000.jpg', '/home/pi/Desktop/images/25012025/23/09/image_25012025_23_09_02_517793_0001.jpg', '/home/pi/Desktop/images/25012025/23/09/image_25012025_23_09_02_517793_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/08/image_25012025_23_08_02_357895_0003.jpg
/home/pi/Desktop/images/25012025/23/09/image_25012025_23_09_02_517793_0000.jpg
/home/pi/Desktop/images/25012025/23/09/image_25012025_23_09_02_517793_0001.jpg
/home/pi/Desktop/images/25012025/23/09/image_25012025_23_09_02_517793_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 [200]>
b'{"photo_ids":["1331472350","1331472347","1331472344","1331472352"],"photo_ids_order":["1331472344","1331472347","1331472350","1331472352"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8cb692ed58596fe05dab289e385c9465.jpg","text":"TemporaryFile(/tmp/multipartBody8161309057218390765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843036898,"filename":"image_25012025_23_09_02_517793_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ff5769711542558e7847d1c0eb48995a.jpg","text":"TemporaryFile(/tmp/multipartBody798091603192476702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843036898,"filename":"image_25012025_23_09_02_517793_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fd543b0cb2d484b4c48f7a5eebd1fbad.jpg","text":"TemporaryFile(/tmp/multipartBody1328038946551941808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843036898,"filename":"image_25012025_23_08_02_357895_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b1d2880b8f3ed12992be8f599646fe87.jpg","text":"TemporaryFile(/tmp/multipartBody2624183386728682265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843036898,"filename":"image_25012025_23_09_02_517793_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331472350","file1":"1331472347","file0":"1331472344","file3":"1331472352"},"map_files_photo_id_array":[{"photo_id":"1331472350","filename":"file2"},{"photo_id":"1331472347","filename":"file1"},{"photo_id":"1331472344","filename":"file0"},{"photo_id":"1331472352","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331472350":["hashtag1","hashtag2"]},{"1331472347":["hashtag1","hashtag2"]},{"1331472344":["hashtag1","hashtag2"]},{"1331472352":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331472350, 1331472347, 1331472344, 1331472352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.37743782997131 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:10:22.532318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/09/image_25012025_23_09_02_517793_0003.jpg', '/home/pi/Desktop/images/25012025/23/10/image_25012025_23_10_02_743366_0000.jpg', '/home/pi/Desktop/images/25012025/23/10/image_25012025_23_10_02_743366_0001.jpg', '/home/pi/Desktop/images/25012025/23/10/image_25012025_23_10_02_743366_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/09/image_25012025_23_09_02_517793_0003.jpg
/home/pi/Desktop/images/25012025/23/10/image_25012025_23_10_02_743366_0000.jpg
/home/pi/Desktop/images/25012025/23/10/image_25012025_23_10_02_743366_0001.jpg
/home/pi/Desktop/images/25012025/23/10/image_25012025_23_10_02_743366_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 [200]>
b'{"photo_ids":["1331472397","1331472427","1331472429","1331472420"],"photo_ids_order":["1331472397","1331472420","1331472427","1331472429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d69efbd3ed6601c04d7b18766e54712a.jpg","text":"TemporaryFile(/tmp/multipartBody5408436460479989167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843097531,"filename":"image_25012025_23_09_02_517793_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/71664e5a69de381efc99799c003655b2.jpg","text":"TemporaryFile(/tmp/multipartBody8212828785370002893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843097531,"filename":"image_25012025_23_10_02_743366_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0f7fbe8e94b234a17b1fac8119f75806.jpg","text":"TemporaryFile(/tmp/multipartBody3172206974585103317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843097531,"filename":"image_25012025_23_10_02_743366_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6dade89504d69a1277793182e4d8852b.jpg","text":"TemporaryFile(/tmp/multipartBody4027396583422507603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843097531,"filename":"image_25012025_23_10_02_743366_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331472427","file1":"1331472420","file0":"1331472397","file3":"1331472429"},"map_files_photo_id_array":[{"photo_id":"1331472427","filename":"file2"},{"photo_id":"1331472420","filename":"file1"},{"photo_id":"1331472397","filename":"file0"},{"photo_id":"1331472429","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331472397":["hashtag1","hashtag2"]},{"1331472427":["hashtag1","hashtag2"]},{"1331472429":["hashtag1","hashtag2"]},{"1331472420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331472397, 1331472427, 1331472429, 1331472420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.309537410736084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:11:21.758515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/10/image_25012025_23_10_02_743366_0003.jpg', '/home/pi/Desktop/images/25012025/23/11/image_25012025_23_11_02_842393_0000.jpg', '/home/pi/Desktop/images/25012025/23/11/image_25012025_23_11_02_842393_0001.jpg', '/home/pi/Desktop/images/25012025/23/11/image_25012025_23_11_02_842393_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/10/image_25012025_23_10_02_743366_0003.jpg
/home/pi/Desktop/images/25012025/23/11/image_25012025_23_11_02_842393_0000.jpg
/home/pi/Desktop/images/25012025/23/11/image_25012025_23_11_02_842393_0001.jpg
/home/pi/Desktop/images/25012025/23/11/image_25012025_23_11_02_842393_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 [200]>
b'{"photo_ids":["1331472452","1331472460","1331472457","1331472450"],"photo_ids_order":["1331472450","1331472452","1331472457","1331472460"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/624c7dc1ba81e86ed7fdea164287f291.jpg","text":"TemporaryFile(/tmp/multipartBody7090803196341625134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843156889,"filename":"image_25012025_23_11_02_842393_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6dad7e74c0dc62daa85154b4a24a4963.jpg","text":"TemporaryFile(/tmp/multipartBody4016859257195834847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843156889,"filename":"image_25012025_23_11_02_842393_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/03b3d523becd75da0e08dbea7effdeb4.jpg","text":"TemporaryFile(/tmp/multipartBody6223565721594580286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843156889,"filename":"image_25012025_23_11_02_842393_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aa63e4b073065fef1708d6a1caca209a.jpg","text":"TemporaryFile(/tmp/multipartBody5079950097615668906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843156889,"filename":"image_25012025_23_10_02_743366_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331472457","file1":"1331472452","file0":"1331472450","file3":"1331472460"},"map_files_photo_id_array":[{"photo_id":"1331472457","filename":"file2"},{"photo_id":"1331472452","filename":"file1"},{"photo_id":"1331472450","filename":"file0"},{"photo_id":"1331472460","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331472452":["hashtag1","hashtag2"]},{"1331472460":["hashtag1","hashtag2"]},{"1331472457":["hashtag1","hashtag2"]},{"1331472450":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331472452, 1331472460, 1331472457, 1331472450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 48.94407105445862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:12:22.063142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/11/image_25012025_23_11_02_842393_0003.jpg', '/home/pi/Desktop/images/25012025/23/12/image_25012025_23_12_02_161542_0000.jpg', '/home/pi/Desktop/images/25012025/23/12/image_25012025_23_12_02_161542_0001.jpg', '/home/pi/Desktop/images/25012025/23/12/image_25012025_23_12_02_161542_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/11/image_25012025_23_11_02_842393_0003.jpg
/home/pi/Desktop/images/25012025/23/12/image_25012025_23_12_02_161542_0000.jpg
/home/pi/Desktop/images/25012025/23/12/image_25012025_23_12_02_161542_0001.jpg
/home/pi/Desktop/images/25012025/23/12/image_25012025_23_12_02_161542_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 [200]>
b'{"photo_ids":["1331473346","1331473061","1331473351","1331473355"],"photo_ids_order":["1331473061","1331473346","1331473351","1331473355"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/46600dd31942d6960575daea1c60e758.jpg","text":"TemporaryFile(/tmp/multipartBody5628706565868877503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843216727,"filename":"image_25012025_23_12_02_161542_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b1b91762bb2941b5b29259647e229722.jpg","text":"TemporaryFile(/tmp/multipartBody3294451889326617462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843216727,"filename":"image_25012025_23_11_02_842393_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f1841ff56db0c267098d7a283f7de3bd.jpg","text":"TemporaryFile(/tmp/multipartBody1620558658191795742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843216727,"filename":"image_25012025_23_12_02_161542_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e9589ab281c454fb4bdeffcc7e4f5274.jpg","text":"TemporaryFile(/tmp/multipartBody3163641839613230911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843216727,"filename":"image_25012025_23_12_02_161542_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331473351","file1":"1331473346","file0":"1331473061","file3":"1331473355"},"map_files_photo_id_array":[{"photo_id":"1331473351","filename":"file2"},{"photo_id":"1331473346","filename":"file1"},{"photo_id":"1331473061","filename":"file0"},{"photo_id":"1331473355","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331473346":["hashtag1","hashtag2"]},{"1331473061":["hashtag1","hashtag2"]},{"1331473351":["hashtag1","hashtag2"]},{"1331473355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331473346, 1331473061, 1331473351, 1331473355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.13128614425659 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:13:22.227833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/12/image_25012025_23_12_02_161542_0003.jpg', '/home/pi/Desktop/images/25012025/23/13/image_25012025_23_13_02_333079_0000.jpg', '/home/pi/Desktop/images/25012025/23/13/image_25012025_23_13_02_333079_0001.jpg', '/home/pi/Desktop/images/25012025/23/13/image_25012025_23_13_02_333079_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/12/image_25012025_23_12_02_161542_0003.jpg
/home/pi/Desktop/images/25012025/23/13/image_25012025_23_13_02_333079_0000.jpg
/home/pi/Desktop/images/25012025/23/13/image_25012025_23_13_02_333079_0001.jpg
/home/pi/Desktop/images/25012025/23/13/image_25012025_23_13_02_333079_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 [200]>
b'{"photo_ids":["1331473390","1331473663","1331473677","1331473704"],"photo_ids_order":["1331473390","1331473663","1331473677","1331473704"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/78aca70d57c7049a2c1d818b19a06624.jpg","text":"TemporaryFile(/tmp/multipartBody3568238826709042073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843276978,"filename":"image_25012025_23_12_02_161542_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dd2d747591fddfe914d6ba6ba48b8785.jpg","text":"TemporaryFile(/tmp/multipartBody5104230672848100089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843276978,"filename":"image_25012025_23_13_02_333079_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6694403761fb819ec0a91a5f6f423c42.jpg","text":"TemporaryFile(/tmp/multipartBody6068025488700190983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843276978,"filename":"image_25012025_23_13_02_333079_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e6c5eaa7c64f92d9a3cd5ecf4f7ed038.jpg","text":"TemporaryFile(/tmp/multipartBody9174437390140850351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843276978,"filename":"image_25012025_23_13_02_333079_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331473677","file1":"1331473663","file0":"1331473390","file3":"1331473704"},"map_files_photo_id_array":[{"photo_id":"1331473677","filename":"file2"},{"photo_id":"1331473663","filename":"file1"},{"photo_id":"1331473390","filename":"file0"},{"photo_id":"1331473704","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331473390":["hashtag1","hashtag2"]},{"1331473663":["hashtag1","hashtag2"]},{"1331473677":["hashtag1","hashtag2"]},{"1331473704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331473390, 1331473663, 1331473677, 1331473704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.326695919036865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:14:22.310055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/13/image_25012025_23_13_02_333079_0003.jpg', '/home/pi/Desktop/images/25012025/23/14/image_25012025_23_14_02_530985_0000.jpg', '/home/pi/Desktop/images/25012025/23/14/image_25012025_23_14_02_530985_0001.jpg', '/home/pi/Desktop/images/25012025/23/14/image_25012025_23_14_02_530985_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/13/image_25012025_23_13_02_333079_0003.jpg
/home/pi/Desktop/images/25012025/23/14/image_25012025_23_14_02_530985_0000.jpg
/home/pi/Desktop/images/25012025/23/14/image_25012025_23_14_02_530985_0001.jpg
/home/pi/Desktop/images/25012025/23/14/image_25012025_23_14_02_530985_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 [200]>
b'{"photo_ids":["1331473805","1331473808","1331473801","1331473803"],"photo_ids_order":["1331473801","1331473803","1331473805","1331473808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/20e7dd55f10809accbfb0f3ff2bed13e.jpg","text":"TemporaryFile(/tmp/multipartBody1497238362396407347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843337317,"filename":"image_25012025_23_14_02_530985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1a708afb6093cad15e5d4ffe7b0b86d6.jpg","text":"TemporaryFile(/tmp/multipartBody4370699948696740129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843337317,"filename":"image_25012025_23_14_02_530985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d17181d2c125edcf215f56214d2e2b68.jpg","text":"TemporaryFile(/tmp/multipartBody2637020375733052606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843337317,"filename":"image_25012025_23_13_02_333079_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/09a44c80da03611f0627d56fe75e8d6c.jpg","text":"TemporaryFile(/tmp/multipartBody3988320861407621360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843337317,"filename":"image_25012025_23_14_02_530985_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331473805","file1":"1331473803","file0":"1331473801","file3":"1331473808"},"map_files_photo_id_array":[{"photo_id":"1331473805","filename":"file2"},{"photo_id":"1331473803","filename":"file1"},{"photo_id":"1331473801","filename":"file0"},{"photo_id":"1331473808","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331473805":["hashtag1","hashtag2"]},{"1331473808":["hashtag1","hashtag2"]},{"1331473801":["hashtag1","hashtag2"]},{"1331473803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331473805, 1331473808, 1331473801, 1331473803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.33741569519043 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:15:22.528739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/14/image_25012025_23_14_02_530985_0003.jpg', '/home/pi/Desktop/images/25012025/23/15/image_25012025_23_15_02_687734_0000.jpg', '/home/pi/Desktop/images/25012025/23/15/image_25012025_23_15_02_687734_0001.jpg', '/home/pi/Desktop/images/25012025/23/15/image_25012025_23_15_02_687734_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/14/image_25012025_23_14_02_530985_0003.jpg
/home/pi/Desktop/images/25012025/23/15/image_25012025_23_15_02_687734_0000.jpg
/home/pi/Desktop/images/25012025/23/15/image_25012025_23_15_02_687734_0001.jpg
/home/pi/Desktop/images/25012025/23/15/image_25012025_23_15_02_687734_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 [200]>
b'{"photo_ids":["1331474596","1331474472","1331474349","1331474222"],"photo_ids_order":["1331474222","1331474349","1331474472","1331474596"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cb40cea3eb07c7b8b3be4f58730065c6.jpg","text":"TemporaryFile(/tmp/multipartBody502567814583065326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843397428,"filename":"image_25012025_23_15_02_687734_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/951487eecff015243a4a8c19f8a901f1.jpg","text":"TemporaryFile(/tmp/multipartBody6042322941232545490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843397428,"filename":"image_25012025_23_15_02_687734_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4ac73fa426ff536c5009734e6546748c.jpg","text":"TemporaryFile(/tmp/multipartBody6606509989895480279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843397428,"filename":"image_25012025_23_15_02_687734_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/37bccda955fca5ca6df52f2c88222ad9.jpg","text":"TemporaryFile(/tmp/multipartBody4047944404310620955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843397428,"filename":"image_25012025_23_14_02_530985_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331474472","file1":"1331474349","file0":"1331474222","file3":"1331474596"},"map_files_photo_id_array":[{"photo_id":"1331474472","filename":"file2"},{"photo_id":"1331474349","filename":"file1"},{"photo_id":"1331474222","filename":"file0"},{"photo_id":"1331474596","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331474596":["hashtag1","hashtag2"]},{"1331474472":["hashtag1","hashtag2"]},{"1331474349":["hashtag1","hashtag2"]},{"1331474222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331474596, 1331474472, 1331474349, 1331474222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.82322382926941 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:16:22.828092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/15/image_25012025_23_15_02_687734_0003.jpg', '/home/pi/Desktop/images/25012025/23/16/image_25012025_23_16_02_885895_0000.jpg', '/home/pi/Desktop/images/25012025/23/16/image_25012025_23_16_02_885895_0001.jpg', '/home/pi/Desktop/images/25012025/23/16/image_25012025_23_16_02_885895_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/15/image_25012025_23_15_02_687734_0003.jpg
/home/pi/Desktop/images/25012025/23/16/image_25012025_23_16_02_885895_0000.jpg
/home/pi/Desktop/images/25012025/23/16/image_25012025_23_16_02_885895_0001.jpg
/home/pi/Desktop/images/25012025/23/16/image_25012025_23_16_02_885895_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 [200]>
b'{"photo_ids":["1331474695","1331474698","1331474701","1331474672"],"photo_ids_order":["1331474672","1331474695","1331474698","1331474701"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/44a4efe9825616f96850139f114417ac.jpg","text":"TemporaryFile(/tmp/multipartBody8999108596852435415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843457839,"filename":"image_25012025_23_16_02_885895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5ffcfe65e734e95705566787810f41b5.jpg","text":"TemporaryFile(/tmp/multipartBody4024511040602639476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843457839,"filename":"image_25012025_23_16_02_885895_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b3ef84c9844b7cebb0d632900a6f1137.jpg","text":"TemporaryFile(/tmp/multipartBody9138746646134352740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843457839,"filename":"image_25012025_23_16_02_885895_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/66199ee0af70a480574e4079e64a45fc.jpg","text":"TemporaryFile(/tmp/multipartBody4271887747340774725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843457839,"filename":"image_25012025_23_15_02_687734_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331474698","file1":"1331474695","file0":"1331474672","file3":"1331474701"},"map_files_photo_id_array":[{"photo_id":"1331474698","filename":"file2"},{"photo_id":"1331474695","filename":"file1"},{"photo_id":"1331474672","filename":"file0"},{"photo_id":"1331474701","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331474695":["hashtag1","hashtag2"]},{"1331474698":["hashtag1","hashtag2"]},{"1331474701":["hashtag1","hashtag2"]},{"1331474672":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331474695, 1331474698, 1331474701, 1331474672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.74777913093567 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:17:21.976211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/16/image_25012025_23_16_02_885895_0003.jpg', '/home/pi/Desktop/images/25012025/23/17/image_25012025_23_17_03_103378_0000.jpg', '/home/pi/Desktop/images/25012025/23/17/image_25012025_23_17_03_103378_0001.jpg', '/home/pi/Desktop/images/25012025/23/17/image_25012025_23_17_03_103378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/16/image_25012025_23_16_02_885895_0003.jpg
/home/pi/Desktop/images/25012025/23/17/image_25012025_23_17_03_103378_0000.jpg
/home/pi/Desktop/images/25012025/23/17/image_25012025_23_17_03_103378_0001.jpg
/home/pi/Desktop/images/25012025/23/17/image_25012025_23_17_03_103378_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 [200]>
b'{"photo_ids":["1331475075","1331475078","1331475086","1331475073"],"photo_ids_order":["1331475073","1331475075","1331475078","1331475086"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/64bb0038b301a8225daf716c0f230184.jpg","text":"TemporaryFile(/tmp/multipartBody8460878047290683698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843517238,"filename":"image_25012025_23_17_03_103378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a2bf7ba2d4adfad9fbdc8d88e1808752.jpg","text":"TemporaryFile(/tmp/multipartBody6084920923644390263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843517238,"filename":"image_25012025_23_17_03_103378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6a139dfcc83cba9ccf1dfc4950e6c1ec.jpg","text":"TemporaryFile(/tmp/multipartBody5565134191042717508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843517238,"filename":"image_25012025_23_17_03_103378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8ef96dabfa6561ecfbb2aef53066a478.jpg","text":"TemporaryFile(/tmp/multipartBody1226939476421464281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843517238,"filename":"image_25012025_23_16_02_885895_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331475078","file1":"1331475075","file0":"1331475073","file3":"1331475086"},"map_files_photo_id_array":[{"photo_id":"1331475078","filename":"file2"},{"photo_id":"1331475075","filename":"file1"},{"photo_id":"1331475073","filename":"file0"},{"photo_id":"1331475086","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331475075":["hashtag1","hashtag2"]},{"1331475078":["hashtag1","hashtag2"]},{"1331475086":["hashtag1","hashtag2"]},{"1331475073":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331475075, 1331475078, 1331475086, 1331475073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.04581356048584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:18:22.137984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/17/image_25012025_23_17_03_103378_0003.jpg', '/home/pi/Desktop/images/25012025/23/18/image_25012025_23_18_02_299653_0000.jpg', '/home/pi/Desktop/images/25012025/23/18/image_25012025_23_18_02_299653_0001.jpg', '/home/pi/Desktop/images/25012025/23/18/image_25012025_23_18_02_299653_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/17/image_25012025_23_17_03_103378_0003.jpg
/home/pi/Desktop/images/25012025/23/18/image_25012025_23_18_02_299653_0000.jpg
/home/pi/Desktop/images/25012025/23/18/image_25012025_23_18_02_299653_0001.jpg
/home/pi/Desktop/images/25012025/23/18/image_25012025_23_18_02_299653_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: 14.830245018005371 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 23:18:42.137290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/17/image_25012025_23_17_03_103378_0003.jpg', '/home/pi/Desktop/images/25012025/23/18/image_25012025_23_18_02_299653_0000.jpg', '/home/pi/Desktop/images/25012025/23/18/image_25012025_23_18_02_299653_0001.jpg', '/home/pi/Desktop/images/25012025/23/18/image_25012025_23_18_02_299653_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/17/image_25012025_23_17_03_103378_0003.jpg
/home/pi/Desktop/images/25012025/23/18/image_25012025_23_18_02_299653_0000.jpg
/home/pi/Desktop/images/25012025/23/18/image_25012025_23_18_02_299653_0001.jpg
/home/pi/Desktop/images/25012025/23/18/image_25012025_23_18_02_299653_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":["1331476201","1331476083","1331476336","1331476321"],"photo_ids_order":["1331476083","1331476201","1331476321","1331476336"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/56328be1036d87ac5fb73aded70a0dd4.jpg","text":"TemporaryFile(/tmp/multipartBody4509001202182243282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843597378,"filename":"image_25012025_23_18_02_299653_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f3c724ac913f0ecea5878847ee4a4f86.jpg","text":"TemporaryFile(/tmp/multipartBody8598255375242810111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843597378,"filename":"image_25012025_23_17_03_103378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/286ab19ab341927b3605da29847a2eb8.jpg","text":"TemporaryFile(/tmp/multipartBody1554765917259402576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843597378,"filename":"image_25012025_23_18_02_299653_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8c6416952df07cc1019364d4aad482fc.jpg","text":"TemporaryFile(/tmp/multipartBody8453158628862751208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843597378,"filename":"image_25012025_23_18_02_299653_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331476321","file1":"1331476201","file0":"1331476083","file3":"1331476336"},"map_files_photo_id_array":[{"photo_id":"1331476321","filename":"file2"},{"photo_id":"1331476201","filename":"file1"},{"photo_id":"1331476083","filename":"file0"},{"photo_id":"1331476336","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331476201":["hashtag1","hashtag2"]},{"1331476083":["hashtag1","hashtag2"]},{"1331476336":["hashtag1","hashtag2"]},{"1331476321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331476201, 1331476083, 1331476336, 1331476321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.65729093551636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 23:19:32.318755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/18/image_25012025_23_18_02_299653_0003.jpg', '/home/pi/Desktop/images/25012025/23/19/image_25012025_23_19_02_475936_0000.jpg', '/home/pi/Desktop/images/25012025/23/19/image_25012025_23_19_02_475936_0001.jpg', '/home/pi/Desktop/images/25012025/23/19/image_25012025_23_19_02_475936_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/18/image_25012025_23_18_02_299653_0003.jpg
/home/pi/Desktop/images/25012025/23/19/image_25012025_23_19_02_475936_0000.jpg
/home/pi/Desktop/images/25012025/23/19/image_25012025_23_19_02_475936_0001.jpg
/home/pi/Desktop/images/25012025/23/19/image_25012025_23_19_02_475936_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":["1331476737","1331476643","1331476651","1331476698"],"photo_ids_order":["1331476643","1331476651","1331476698","1331476737"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d869f5fe558fbecc27d097650b27febe.jpg","text":"TemporaryFile(/tmp/multipartBody102020891241261744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843647219,"filename":"image_25012025_23_19_02_475936_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e8da0d044efd0375ef66c218bbba8856.jpg","text":"TemporaryFile(/tmp/multipartBody4069994569462776213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843647219,"filename":"image_25012025_23_18_02_299653_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/7b706f4e38e4116f6d9a96f174f59427.jpg","text":"TemporaryFile(/tmp/multipartBody5555147676892682801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843647219,"filename":"image_25012025_23_19_02_475936_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/feaae44f00153e4f4db884e61703869b.jpg","text":"TemporaryFile(/tmp/multipartBody923705050955963803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843647219,"filename":"image_25012025_23_19_02_475936_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331476698","file1":"1331476651","file0":"1331476643","file3":"1331476737"},"map_files_photo_id_array":[{"photo_id":"1331476698","filename":"file2"},{"photo_id":"1331476651","filename":"file1"},{"photo_id":"1331476643","filename":"file0"},{"photo_id":"1331476737","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331476737":["hashtag1","hashtag2"]},{"1331476643":["hashtag1","hashtag2"]},{"1331476651":["hashtag1","hashtag2"]},{"1331476698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331476737, 1331476643, 1331476651, 1331476698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.50957155227661 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:20:22.488911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/19/image_25012025_23_19_02_475936_0003.jpg', '/home/pi/Desktop/images/25012025/23/20/image_25012025_23_20_02_659196_0000.jpg', '/home/pi/Desktop/images/25012025/23/20/image_25012025_23_20_02_659196_0001.jpg', '/home/pi/Desktop/images/25012025/23/20/image_25012025_23_20_02_659196_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/19/image_25012025_23_19_02_475936_0003.jpg
/home/pi/Desktop/images/25012025/23/20/image_25012025_23_20_02_659196_0000.jpg
/home/pi/Desktop/images/25012025/23/20/image_25012025_23_20_02_659196_0001.jpg
/home/pi/Desktop/images/25012025/23/20/image_25012025_23_20_02_659196_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 [200]>
b'{"photo_ids":["1331476752","1331476764","1331476757","1331476768"],"photo_ids_order":["1331476752","1331476757","1331476764","1331476768"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dd2db5413feab7f388a446cab21654f3.jpg","text":"TemporaryFile(/tmp/multipartBody1874943814573624469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843697627,"filename":"image_25012025_23_19_02_475936_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2481a74e3b3991dc016f4466ff62e0a4.jpg","text":"TemporaryFile(/tmp/multipartBody514263329262774622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843697627,"filename":"image_25012025_23_20_02_659196_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/239f837aad512e5db393488fb0c10236.jpg","text":"TemporaryFile(/tmp/multipartBody7202495730982058611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843697627,"filename":"image_25012025_23_20_02_659196_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1f8a68ce393a05d2697baae0bc87c6b9.jpg","text":"TemporaryFile(/tmp/multipartBody7788996018902366211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843697627,"filename":"image_25012025_23_20_02_659196_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331476764","file1":"1331476757","file0":"1331476752","file3":"1331476768"},"map_files_photo_id_array":[{"photo_id":"1331476764","filename":"file2"},{"photo_id":"1331476757","filename":"file1"},{"photo_id":"1331476752","filename":"file0"},{"photo_id":"1331476768","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331476752":["hashtag1","hashtag2"]},{"1331476764":["hashtag1","hashtag2"]},{"1331476757":["hashtag1","hashtag2"]},{"1331476768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331476752, 1331476764, 1331476757, 1331476768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.225717544555664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:21:22.665269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/20/image_25012025_23_20_02_659196_0003.jpg', '/home/pi/Desktop/images/25012025/23/21/image_25012025_23_21_02_826198_0000.jpg', '/home/pi/Desktop/images/25012025/23/21/image_25012025_23_21_02_826198_0001.jpg', '/home/pi/Desktop/images/25012025/23/21/image_25012025_23_21_02_826198_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/20/image_25012025_23_20_02_659196_0003.jpg
/home/pi/Desktop/images/25012025/23/21/image_25012025_23_21_02_826198_0000.jpg
/home/pi/Desktop/images/25012025/23/21/image_25012025_23_21_02_826198_0001.jpg
/home/pi/Desktop/images/25012025/23/21/image_25012025_23_21_02_826198_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 [200]>
b'{"photo_ids":["1331477013","1331477009","1331477003","1331476884"],"photo_ids_order":["1331476884","1331477003","1331477009","1331477013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0c896a94196340e51713d784155801b8.jpg","text":"TemporaryFile(/tmp/multipartBody4686319321345389256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843757527,"filename":"image_25012025_23_21_02_826198_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/29845012316b095ee5da3ecfd3f66e26.jpg","text":"TemporaryFile(/tmp/multipartBody7183485568748918133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843757527,"filename":"image_25012025_23_21_02_826198_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0cac1b4c5cfe3adaa2b69b75241e2c34.jpg","text":"TemporaryFile(/tmp/multipartBody1043335013743928152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843757527,"filename":"image_25012025_23_21_02_826198_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c9fc2812a1d67b5a326d3b9d7cae281e.jpg","text":"TemporaryFile(/tmp/multipartBody3316285701106407815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843757527,"filename":"image_25012025_23_20_02_659196_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331477009","file1":"1331477003","file0":"1331476884","file3":"1331477013"},"map_files_photo_id_array":[{"photo_id":"1331477009","filename":"file2"},{"photo_id":"1331477003","filename":"file1"},{"photo_id":"1331476884","filename":"file0"},{"photo_id":"1331477013","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331477013":["hashtag1","hashtag2"]},{"1331477009":["hashtag1","hashtag2"]},{"1331477003":["hashtag1","hashtag2"]},{"1331476884":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331477013, 1331477009, 1331477003, 1331476884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.022408962249756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:22:21.973221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/21/image_25012025_23_21_02_826198_0003.jpg', '/home/pi/Desktop/images/25012025/23/22/image_25012025_23_22_03_016139_0000.jpg', '/home/pi/Desktop/images/25012025/23/22/image_25012025_23_22_03_016139_0001.jpg', '/home/pi/Desktop/images/25012025/23/22/image_25012025_23_22_03_016139_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/21/image_25012025_23_21_02_826198_0003.jpg
/home/pi/Desktop/images/25012025/23/22/image_25012025_23_22_03_016139_0000.jpg
/home/pi/Desktop/images/25012025/23/22/image_25012025_23_22_03_016139_0001.jpg
/home/pi/Desktop/images/25012025/23/22/image_25012025_23_22_03_016139_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 [200]>
b'{"photo_ids":["1331477313","1331477264","1331477213","1331477206"],"photo_ids_order":["1331477206","1331477213","1331477264","1331477313"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fd33cf39e6dc370d61bbd267cda0593a.jpg","text":"TemporaryFile(/tmp/multipartBody7684664934208138996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843816757,"filename":"image_25012025_23_22_03_016139_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4c791045ce88409044d6f857e75f768d.jpg","text":"TemporaryFile(/tmp/multipartBody582982299379447087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843816757,"filename":"image_25012025_23_22_03_016139_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d5c34f57f77d62d4a635d85fac230eee.jpg","text":"TemporaryFile(/tmp/multipartBody5012845672513989365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843816757,"filename":"image_25012025_23_22_03_016139_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/01c63b11db63f3a30d2aa60d362aa23d.jpg","text":"TemporaryFile(/tmp/multipartBody447915793057572675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843816757,"filename":"image_25012025_23_21_02_826198_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331477264","file1":"1331477213","file0":"1331477206","file3":"1331477313"},"map_files_photo_id_array":[{"photo_id":"1331477264","filename":"file2"},{"photo_id":"1331477213","filename":"file1"},{"photo_id":"1331477206","filename":"file0"},{"photo_id":"1331477313","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331477313":["hashtag1","hashtag2"]},{"1331477264":["hashtag1","hashtag2"]},{"1331477213":["hashtag1","hashtag2"]},{"1331477206":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331477313, 1331477264, 1331477213, 1331477206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.627599477767944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:23:22.042484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/22/image_25012025_23_22_03_016139_0003.jpg', '/home/pi/Desktop/images/25012025/23/23/image_25012025_23_23_02_233183_0000.jpg', '/home/pi/Desktop/images/25012025/23/23/image_25012025_23_23_02_233183_0001.jpg', '/home/pi/Desktop/images/25012025/23/23/image_25012025_23_23_02_233183_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/22/image_25012025_23_22_03_016139_0003.jpg
/home/pi/Desktop/images/25012025/23/23/image_25012025_23_23_02_233183_0000.jpg
/home/pi/Desktop/images/25012025/23/23/image_25012025_23_23_02_233183_0001.jpg
/home/pi/Desktop/images/25012025/23/23/image_25012025_23_23_02_233183_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 [200]>
b'{"photo_ids":["1331477336","1331477332","1331477329","1331477338"],"photo_ids_order":["1331477329","1331477332","1331477336","1331477338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9a35d075ca2b47db50869186062b9554.jpg","text":"TemporaryFile(/tmp/multipartBody8084199753638827276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843876904,"filename":"image_25012025_23_23_02_233183_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cb3211c7a201101a80c9a985420e1f2b.jpg","text":"TemporaryFile(/tmp/multipartBody2237462187431891834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843876904,"filename":"image_25012025_23_23_02_233183_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3d5bda07d750c69f7790bb1dec7fade2.jpg","text":"TemporaryFile(/tmp/multipartBody5170090989388156078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843876904,"filename":"image_25012025_23_22_03_016139_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5f3e2af540b2e9ae44db67054f0b0f1c.jpg","text":"TemporaryFile(/tmp/multipartBody4729031257470992893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843876904,"filename":"image_25012025_23_23_02_233183_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331477336","file1":"1331477332","file0":"1331477329","file3":"1331477338"},"map_files_photo_id_array":[{"photo_id":"1331477336","filename":"file2"},{"photo_id":"1331477332","filename":"file1"},{"photo_id":"1331477329","filename":"file0"},{"photo_id":"1331477338","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331477336":["hashtag1","hashtag2"]},{"1331477332":["hashtag1","hashtag2"]},{"1331477329":["hashtag1","hashtag2"]},{"1331477338":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331477336, 1331477332, 1331477329, 1331477338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.13167667388916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:24:22.233149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/23/image_25012025_23_23_02_233183_0003.jpg', '/home/pi/Desktop/images/25012025/23/24/image_25012025_23_24_02_363112_0000.jpg', '/home/pi/Desktop/images/25012025/23/24/image_25012025_23_24_02_363112_0001.jpg', '/home/pi/Desktop/images/25012025/23/24/image_25012025_23_24_02_363112_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/23/image_25012025_23_23_02_233183_0003.jpg
/home/pi/Desktop/images/25012025/23/24/image_25012025_23_24_02_363112_0000.jpg
/home/pi/Desktop/images/25012025/23/24/image_25012025_23_24_02_363112_0001.jpg
/home/pi/Desktop/images/25012025/23/24/image_25012025_23_24_02_363112_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: 14.271411895751953 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 23:24:42.258096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/23/image_25012025_23_23_02_233183_0003.jpg', '/home/pi/Desktop/images/25012025/23/24/image_25012025_23_24_02_363112_0000.jpg', '/home/pi/Desktop/images/25012025/23/24/image_25012025_23_24_02_363112_0001.jpg', '/home/pi/Desktop/images/25012025/23/24/image_25012025_23_24_02_363112_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/23/image_25012025_23_23_02_233183_0003.jpg
/home/pi/Desktop/images/25012025/23/24/image_25012025_23_24_02_363112_0000.jpg
/home/pi/Desktop/images/25012025/23/24/image_25012025_23_24_02_363112_0001.jpg
/home/pi/Desktop/images/25012025/23/24/image_25012025_23_24_02_363112_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":["1331477412","1331477389","1331477368","1331477382"],"photo_ids_order":["1331477368","1331477382","1331477389","1331477412"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3185a122677b7ffbe7ed8a17a14231c5.jpg","text":"TemporaryFile(/tmp/multipartBody155540347451169852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843956909,"filename":"image_25012025_23_24_02_363112_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5054bb03ef7c40a18019179bb9d908d4.jpg","text":"TemporaryFile(/tmp/multipartBody436930628448750442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843956909,"filename":"image_25012025_23_24_02_363112_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4a2f9da7a16fde97be11abc8c62e73d5.jpg","text":"TemporaryFile(/tmp/multipartBody6445189283341434611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843956909,"filename":"image_25012025_23_23_02_233183_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8bf2f55c69a0ec6a9a5a96098edbf0d8.jpg","text":"TemporaryFile(/tmp/multipartBody4332478235831202579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737843956909,"filename":"image_25012025_23_24_02_363112_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331477389","file1":"1331477382","file0":"1331477368","file3":"1331477412"},"map_files_photo_id_array":[{"photo_id":"1331477389","filename":"file2"},{"photo_id":"1331477382","filename":"file1"},{"photo_id":"1331477368","filename":"file0"},{"photo_id":"1331477412","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331477412":["hashtag1","hashtag2"]},{"1331477389":["hashtag1","hashtag2"]},{"1331477368":["hashtag1","hashtag2"]},{"1331477382":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331477412, 1331477389, 1331477368, 1331477382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.514668703079224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 23:25:32.388505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/24/image_25012025_23_24_02_363112_0003.jpg', '/home/pi/Desktop/images/25012025/23/25/image_25012025_23_25_02_568941_0000.jpg', '/home/pi/Desktop/images/25012025/23/25/image_25012025_23_25_02_568941_0001.jpg', '/home/pi/Desktop/images/25012025/23/25/image_25012025_23_25_02_568941_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/24/image_25012025_23_24_02_363112_0003.jpg
/home/pi/Desktop/images/25012025/23/25/image_25012025_23_25_02_568941_0000.jpg
/home/pi/Desktop/images/25012025/23/25/image_25012025_23_25_02_568941_0001.jpg
/home/pi/Desktop/images/25012025/23/25/image_25012025_23_25_02_568941_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":["1331477430","1331477427","1331477432","1331477428"],"photo_ids_order":["1331477427","1331477428","1331477430","1331477432"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/eb6f124f4166208b5dba625b82f84f63.jpg","text":"TemporaryFile(/tmp/multipartBody252720643793434919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844007234,"filename":"image_25012025_23_25_02_568941_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a9739d3d266cb2d7472626a8b1e20836.jpg","text":"TemporaryFile(/tmp/multipartBody9156666935024312273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844007234,"filename":"image_25012025_23_24_02_363112_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a0390c70d17d98f2b35d4efca173d506.jpg","text":"TemporaryFile(/tmp/multipartBody1177722997544038755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844007234,"filename":"image_25012025_23_25_02_568941_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/893ff62c49d0760e0891029a0e4d9457.jpg","text":"TemporaryFile(/tmp/multipartBody5314727893302564752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844007234,"filename":"image_25012025_23_25_02_568941_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331477430","file1":"1331477428","file0":"1331477427","file3":"1331477432"},"map_files_photo_id_array":[{"photo_id":"1331477430","filename":"file2"},{"photo_id":"1331477428","filename":"file1"},{"photo_id":"1331477427","filename":"file0"},{"photo_id":"1331477432","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331477430":["hashtag1","hashtag2"]},{"1331477427":["hashtag1","hashtag2"]},{"1331477432":["hashtag1","hashtag2"]},{"1331477428":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331477430, 1331477427, 1331477432, 1331477428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.93421196937561 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:26:22.680235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/25/image_25012025_23_25_02_568941_0003.jpg', '/home/pi/Desktop/images/25012025/23/26/image_25012025_23_26_02_757654_0000.jpg', '/home/pi/Desktop/images/25012025/23/26/image_25012025_23_26_02_757654_0001.jpg', '/home/pi/Desktop/images/25012025/23/26/image_25012025_23_26_02_757654_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/25/image_25012025_23_25_02_568941_0003.jpg
/home/pi/Desktop/images/25012025/23/26/image_25012025_23_26_02_757654_0000.jpg
/home/pi/Desktop/images/25012025/23/26/image_25012025_23_26_02_757654_0001.jpg
/home/pi/Desktop/images/25012025/23/26/image_25012025_23_26_02_757654_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 [200]>
b'{"photo_ids":["1331477641","1331477515","1331477646","1331477649"],"photo_ids_order":["1331477515","1331477641","1331477646","1331477649"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dbe95ea46b4af91007ff19d9a8148901.jpg","text":"TemporaryFile(/tmp/multipartBody4085916463287510179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844057611,"filename":"image_25012025_23_26_02_757654_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f9be07d8c3fd186dff263f6d3a84a6ba.jpg","text":"TemporaryFile(/tmp/multipartBody4532295496540025735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844057611,"filename":"image_25012025_23_25_02_568941_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/39b992e4f646073f92426bd23e97a942.jpg","text":"TemporaryFile(/tmp/multipartBody2471185505142644157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844057611,"filename":"image_25012025_23_26_02_757654_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2756ce20bf2ab62cbfdfa354097b0a5f.jpg","text":"TemporaryFile(/tmp/multipartBody4626329421278051653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844057611,"filename":"image_25012025_23_26_02_757654_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331477646","file1":"1331477641","file0":"1331477515","file3":"1331477649"},"map_files_photo_id_array":[{"photo_id":"1331477646","filename":"file2"},{"photo_id":"1331477641","filename":"file1"},{"photo_id":"1331477515","filename":"file0"},{"photo_id":"1331477649","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331477641":["hashtag1","hashtag2"]},{"1331477515":["hashtag1","hashtag2"]},{"1331477646":["hashtag1","hashtag2"]},{"1331477649":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331477641, 1331477515, 1331477646, 1331477649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.34913182258606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:27:21.812772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/26/image_25012025_23_26_02_757654_0003.jpg', '/home/pi/Desktop/images/25012025/23/27/image_25012025_23_27_02_967835_0000.jpg', '/home/pi/Desktop/images/25012025/23/27/image_25012025_23_27_02_967835_0001.jpg', '/home/pi/Desktop/images/25012025/23/27/image_25012025_23_27_02_967835_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/26/image_25012025_23_26_02_757654_0003.jpg
/home/pi/Desktop/images/25012025/23/27/image_25012025_23_27_02_967835_0000.jpg
/home/pi/Desktop/images/25012025/23/27/image_25012025_23_27_02_967835_0001.jpg
/home/pi/Desktop/images/25012025/23/27/image_25012025_23_27_02_967835_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 [200]>
b'{"photo_ids":["1331477900","1331477905","1331477895","1331477812"],"photo_ids_order":["1331477812","1331477895","1331477900","1331477905"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/50bc6369ee4abd2ac5c611a19f0939b9.jpg","text":"TemporaryFile(/tmp/multipartBody5924385082729833281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844116850,"filename":"image_25012025_23_27_02_967835_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2aca3e28d52b876e4848a2679b02e6c8.jpg","text":"TemporaryFile(/tmp/multipartBody2315492796741105201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844116850,"filename":"image_25012025_23_27_02_967835_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/604647092b642e84558618b8718cfdb7.jpg","text":"TemporaryFile(/tmp/multipartBody38374378001889799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844116850,"filename":"image_25012025_23_27_02_967835_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d0930a469a5dc81dd66f1bbf5aaf7bc7.jpg","text":"TemporaryFile(/tmp/multipartBody6522037848191957511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844116850,"filename":"image_25012025_23_26_02_757654_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331477900","file1":"1331477895","file0":"1331477812","file3":"1331477905"},"map_files_photo_id_array":[{"photo_id":"1331477900","filename":"file2"},{"photo_id":"1331477895","filename":"file1"},{"photo_id":"1331477812","filename":"file0"},{"photo_id":"1331477905","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331477900":["hashtag1","hashtag2"]},{"1331477905":["hashtag1","hashtag2"]},{"1331477895":["hashtag1","hashtag2"]},{"1331477812":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331477900, 1331477905, 1331477895, 1331477812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.969197273254395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:28:22.067742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/27/image_25012025_23_27_02_967835_0003.jpg', '/home/pi/Desktop/images/25012025/23/28/image_25012025_23_28_02_137821_0000.jpg', '/home/pi/Desktop/images/25012025/23/28/image_25012025_23_28_02_137821_0001.jpg', '/home/pi/Desktop/images/25012025/23/28/image_25012025_23_28_02_137821_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/27/image_25012025_23_27_02_967835_0003.jpg
/home/pi/Desktop/images/25012025/23/28/image_25012025_23_28_02_137821_0000.jpg
/home/pi/Desktop/images/25012025/23/28/image_25012025_23_28_02_137821_0001.jpg
/home/pi/Desktop/images/25012025/23/28/image_25012025_23_28_02_137821_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: 14.4023597240448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 23:28:42.095564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/27/image_25012025_23_27_02_967835_0003.jpg', '/home/pi/Desktop/images/25012025/23/28/image_25012025_23_28_02_137821_0000.jpg', '/home/pi/Desktop/images/25012025/23/28/image_25012025_23_28_02_137821_0001.jpg', '/home/pi/Desktop/images/25012025/23/28/image_25012025_23_28_02_137821_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/27/image_25012025_23_27_02_967835_0003.jpg
/home/pi/Desktop/images/25012025/23/28/image_25012025_23_28_02_137821_0000.jpg
/home/pi/Desktop/images/25012025/23/28/image_25012025_23_28_02_137821_0001.jpg
/home/pi/Desktop/images/25012025/23/28/image_25012025_23_28_02_137821_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":["1331477972","1331477975","1331477977","1331477970"],"photo_ids_order":["1331477970","1331477972","1331477975","1331477977"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3c899992db26b7bf2a7d4a6f94df17dc.jpg","text":"TemporaryFile(/tmp/multipartBody2694191016815396680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844196906,"filename":"image_25012025_23_28_02_137821_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5b09721f1eec98bec10d32024d142e07.jpg","text":"TemporaryFile(/tmp/multipartBody8735300242885291263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844196906,"filename":"image_25012025_23_28_02_137821_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9b9f034fa442ffb3fe95aade0b578de3.jpg","text":"TemporaryFile(/tmp/multipartBody3665221622223382538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844196906,"filename":"image_25012025_23_28_02_137821_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f549d48a2c63bc22010315b1f4631f19.jpg","text":"TemporaryFile(/tmp/multipartBody4164973756442162237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844196906,"filename":"image_25012025_23_27_02_967835_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331477975","file1":"1331477972","file0":"1331477970","file3":"1331477977"},"map_files_photo_id_array":[{"photo_id":"1331477975","filename":"file2"},{"photo_id":"1331477972","filename":"file1"},{"photo_id":"1331477970","filename":"file0"},{"photo_id":"1331477977","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331477972":["hashtag1","hashtag2"]},{"1331477975":["hashtag1","hashtag2"]},{"1331477977":["hashtag1","hashtag2"]},{"1331477970":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331477972, 1331477975, 1331477977, 1331477970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.10302114486694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 23:29:32.248457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/28/image_25012025_23_28_02_137821_0003.jpg', '/home/pi/Desktop/images/25012025/23/29/image_25012025_23_29_02_436368_0000.jpg', '/home/pi/Desktop/images/25012025/23/29/image_25012025_23_29_02_436368_0001.jpg', '/home/pi/Desktop/images/25012025/23/29/image_25012025_23_29_02_436368_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/28/image_25012025_23_28_02_137821_0003.jpg
/home/pi/Desktop/images/25012025/23/29/image_25012025_23_29_02_436368_0000.jpg
/home/pi/Desktop/images/25012025/23/29/image_25012025_23_29_02_436368_0001.jpg
/home/pi/Desktop/images/25012025/23/29/image_25012025_23_29_02_436368_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: 14.986077547073364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 23:29:52.234015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/28/image_25012025_23_28_02_137821_0003.jpg', '/home/pi/Desktop/images/25012025/23/29/image_25012025_23_29_02_436368_0000.jpg', '/home/pi/Desktop/images/25012025/23/29/image_25012025_23_29_02_436368_0001.jpg', '/home/pi/Desktop/images/25012025/23/29/image_25012025_23_29_02_436368_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/28/image_25012025_23_28_02_137821_0003.jpg
/home/pi/Desktop/images/25012025/23/29/image_25012025_23_29_02_436368_0000.jpg
/home/pi/Desktop/images/25012025/23/29/image_25012025_23_29_02_436368_0001.jpg
/home/pi/Desktop/images/25012025/23/29/image_25012025_23_29_02_436368_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":["1331478014","1331478016","1331478019","1331478010"],"photo_ids_order":["1331478010","1331478014","1331478016","1331478019"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0615cb0aab6da37e40408fec4efd6271.jpg","text":"TemporaryFile(/tmp/multipartBody8498453633933014596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844267590,"filename":"image_25012025_23_29_02_436368_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8e0e43dbfe07e2ebb56f0a11f171d99a.jpg","text":"TemporaryFile(/tmp/multipartBody2597491307809849270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844267590,"filename":"image_25012025_23_29_02_436368_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c4ade2be18a1e45f528d747256143930.jpg","text":"TemporaryFile(/tmp/multipartBody8240602048898222423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844267590,"filename":"image_25012025_23_29_02_436368_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c862b2797a4e2a5310df6aeb2519ff8f.jpg","text":"TemporaryFile(/tmp/multipartBody3430197133222549423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844267590,"filename":"image_25012025_23_28_02_137821_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331478016","file1":"1331478014","file0":"1331478010","file3":"1331478019"},"map_files_photo_id_array":[{"photo_id":"1331478016","filename":"file2"},{"photo_id":"1331478014","filename":"file1"},{"photo_id":"1331478010","filename":"file0"},{"photo_id":"1331478019","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331478014":["hashtag1","hashtag2"]},{"1331478016":["hashtag1","hashtag2"]},{"1331478019":["hashtag1","hashtag2"]},{"1331478010":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331478014, 1331478016, 1331478019, 1331478010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.67029070854187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 23:30:42.401663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/29/image_25012025_23_29_02_436368_0003.jpg', '/home/pi/Desktop/images/25012025/23/30/image_25012025_23_30_02_574277_0000.jpg', '/home/pi/Desktop/images/25012025/23/30/image_25012025_23_30_02_574277_0001.jpg', '/home/pi/Desktop/images/25012025/23/30/image_25012025_23_30_02_574277_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/29/image_25012025_23_29_02_436368_0003.jpg
/home/pi/Desktop/images/25012025/23/30/image_25012025_23_30_02_574277_0000.jpg
/home/pi/Desktop/images/25012025/23/30/image_25012025_23_30_02_574277_0001.jpg
/home/pi/Desktop/images/25012025/23/30/image_25012025_23_30_02_574277_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: 14.322291135787964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 23:31:03.039336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/29/image_25012025_23_29_02_436368_0003.jpg', '/home/pi/Desktop/images/25012025/23/30/image_25012025_23_30_02_574277_0000.jpg', '/home/pi/Desktop/images/25012025/23/30/image_25012025_23_30_02_574277_0001.jpg', '/home/pi/Desktop/images/25012025/23/30/image_25012025_23_30_02_574277_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/29/image_25012025_23_29_02_436368_0003.jpg
/home/pi/Desktop/images/25012025/23/30/image_25012025_23_30_02_574277_0000.jpg
/home/pi/Desktop/images/25012025/23/30/image_25012025_23_30_02_574277_0001.jpg
/home/pi/Desktop/images/25012025/23/30/image_25012025_23_30_02_574277_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":["1331478086","1331478070","1331478084","1331478111"],"photo_ids_order":["1331478070","1331478084","1331478086","1331478111"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/23363c699a3c0a410fbc5529c373e27a.jpg","text":"TemporaryFile(/tmp/multipartBody3263725102603223350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844337867,"filename":"image_25012025_23_30_02_574277_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4db75d04f1beb72d2da367c6d485fb44.jpg","text":"TemporaryFile(/tmp/multipartBody5779163071297243830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844337867,"filename":"image_25012025_23_29_02_436368_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cdad0a4db16d2b039c353ea288237b5c.jpg","text":"TemporaryFile(/tmp/multipartBody3078703144719035174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844337867,"filename":"image_25012025_23_30_02_574277_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/17363b2835c11f6e5f93250afbcd42c3.jpg","text":"TemporaryFile(/tmp/multipartBody3997086300520898214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844337867,"filename":"image_25012025_23_30_02_574277_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331478086","file1":"1331478084","file0":"1331478070","file3":"1331478111"},"map_files_photo_id_array":[{"photo_id":"1331478086","filename":"file2"},{"photo_id":"1331478084","filename":"file1"},{"photo_id":"1331478070","filename":"file0"},{"photo_id":"1331478111","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331478086":["hashtag1","hashtag2"]},{"1331478070":["hashtag1","hashtag2"]},{"1331478084":["hashtag1","hashtag2"]},{"1331478111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331478086, 1331478070, 1331478084, 1331478111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.03452396392822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 23:31:52.535088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/30/image_25012025_23_30_02_574277_0003.jpg', '/home/pi/Desktop/images/25012025/23/31/image_25012025_23_31_02_758130_0000.jpg', '/home/pi/Desktop/images/25012025/23/31/image_25012025_23_31_02_758130_0001.jpg', '/home/pi/Desktop/images/25012025/23/31/image_25012025_23_31_02_758130_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/30/image_25012025_23_30_02_574277_0003.jpg
/home/pi/Desktop/images/25012025/23/31/image_25012025_23_31_02_758130_0000.jpg
/home/pi/Desktop/images/25012025/23/31/image_25012025_23_31_02_758130_0001.jpg
/home/pi/Desktop/images/25012025/23/31/image_25012025_23_31_02_758130_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":["1331478371","1331478367","1331478375","1331478369"],"photo_ids_order":["1331478367","1331478369","1331478371","1331478375"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/77fe8e3ad109fbd08349a8419b487ac3.jpg","text":"TemporaryFile(/tmp/multipartBody17373586666465337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844387358,"filename":"image_25012025_23_31_02_758130_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/aa5bf3a2e9b381a74c591743036ae2e3.jpg","text":"TemporaryFile(/tmp/multipartBody2956707643346392106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844387358,"filename":"image_25012025_23_30_02_574277_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/69b551a4758815cebbf5bb759fbeb629.jpg","text":"TemporaryFile(/tmp/multipartBody8439717121304514437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844387358,"filename":"image_25012025_23_31_02_758130_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dca32a3fa3db45fe7d61d288caa76fc2.jpg","text":"TemporaryFile(/tmp/multipartBody6087788092309002548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844387358,"filename":"image_25012025_23_31_02_758130_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331478371","file1":"1331478369","file0":"1331478367","file3":"1331478375"},"map_files_photo_id_array":[{"photo_id":"1331478371","filename":"file2"},{"photo_id":"1331478369","filename":"file1"},{"photo_id":"1331478367","filename":"file0"},{"photo_id":"1331478375","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331478371":["hashtag1","hashtag2"]},{"1331478367":["hashtag1","hashtag2"]},{"1331478375":["hashtag1","hashtag2"]},{"1331478369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331478371, 1331478367, 1331478375, 1331478369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.446938037872314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 23:32:42.803488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/31/image_25012025_23_31_02_758130_0003.jpg', '/home/pi/Desktop/images/25012025/23/32/image_25012025_23_32_02_955042_0000.jpg', '/home/pi/Desktop/images/25012025/23/32/image_25012025_23_32_02_955042_0001.jpg', '/home/pi/Desktop/images/25012025/23/32/image_25012025_23_32_02_955042_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/31/image_25012025_23_31_02_758130_0003.jpg
/home/pi/Desktop/images/25012025/23/32/image_25012025_23_32_02_955042_0000.jpg
/home/pi/Desktop/images/25012025/23/32/image_25012025_23_32_02_955042_0001.jpg
/home/pi/Desktop/images/25012025/23/32/image_25012025_23_32_02_955042_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":["1331478578","1331478580","1331478627","1331478933"],"photo_ids_order":["1331478578","1331478580","1331478627","1331478933"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/301bf5a7e584a16fe936c0810122e3f2.jpg","text":"TemporaryFile(/tmp/multipartBody5721514041725873880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844437607,"filename":"image_25012025_23_31_02_758130_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a747cbfaed0c22d0d79b8fc548afb55c.jpg","text":"TemporaryFile(/tmp/multipartBody2872098490112285551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844437607,"filename":"image_25012025_23_32_02_955042_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4f8e30f784363ed9cc33d37e95930542.jpg","text":"TemporaryFile(/tmp/multipartBody1194904561445930244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844437607,"filename":"image_25012025_23_32_02_955042_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fc3f5647b9f3aa9f8e7656b417091ef6.jpg","text":"TemporaryFile(/tmp/multipartBody4705741507976001690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844437607,"filename":"image_25012025_23_32_02_955042_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331478627","file1":"1331478580","file0":"1331478578","file3":"1331478933"},"map_files_photo_id_array":[{"photo_id":"1331478627","filename":"file2"},{"photo_id":"1331478580","filename":"file1"},{"photo_id":"1331478578","filename":"file0"},{"photo_id":"1331478933","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331478578":["hashtag1","hashtag2"]},{"1331478580":["hashtag1","hashtag2"]},{"1331478627":["hashtag1","hashtag2"]},{"1331478933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331478578, 1331478580, 1331478627, 1331478933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.48010993003845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 23:33:31.931561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/32/image_25012025_23_32_02_955042_0003.jpg', '/home/pi/Desktop/images/25012025/23/33/image_25012025_23_33_03_141638_0000.jpg', '/home/pi/Desktop/images/25012025/23/33/image_25012025_23_33_03_141638_0001.jpg', '/home/pi/Desktop/images/25012025/23/33/image_25012025_23_33_03_141638_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/32/image_25012025_23_32_02_955042_0003.jpg
/home/pi/Desktop/images/25012025/23/33/image_25012025_23_33_03_141638_0000.jpg
/home/pi/Desktop/images/25012025/23/33/image_25012025_23_33_03_141638_0001.jpg
/home/pi/Desktop/images/25012025/23/33/image_25012025_23_33_03_141638_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":["1331479631","1331479552","1331479605","1331479628"],"photo_ids_order":["1331479552","1331479605","1331479628","1331479631"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/28c9cb22c769c0b1ba97f20e3de934eb.jpg","text":"TemporaryFile(/tmp/multipartBody4703603644264484701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844486840,"filename":"image_25012025_23_33_03_141638_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/53ee9afb98b73698c9d4180174710793.jpg","text":"TemporaryFile(/tmp/multipartBody6569801715524761077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844486840,"filename":"image_25012025_23_32_02_955042_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/969cad79ff06171509d0e292a48a890a.jpg","text":"TemporaryFile(/tmp/multipartBody5140233566889493039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844486840,"filename":"image_25012025_23_33_03_141638_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8894298d5a2377913f0ec892e1ded33b.jpg","text":"TemporaryFile(/tmp/multipartBody3156946098953562116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844486840,"filename":"image_25012025_23_33_03_141638_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331479628","file1":"1331479605","file0":"1331479552","file3":"1331479631"},"map_files_photo_id_array":[{"photo_id":"1331479628","filename":"file2"},{"photo_id":"1331479605","filename":"file1"},{"photo_id":"1331479552","filename":"file0"},{"photo_id":"1331479631","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331479631":["hashtag1","hashtag2"]},{"1331479552":["hashtag1","hashtag2"]},{"1331479605":["hashtag1","hashtag2"]},{"1331479628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331479631, 1331479552, 1331479605, 1331479628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.21083211898804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:34:22.205324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/33/image_25012025_23_33_03_141638_0003.jpg', '/home/pi/Desktop/images/25012025/23/34/image_25012025_23_34_02_244624_0000.jpg', '/home/pi/Desktop/images/25012025/23/34/image_25012025_23_34_02_244624_0001.jpg', '/home/pi/Desktop/images/25012025/23/34/image_25012025_23_34_02_244624_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/33/image_25012025_23_33_03_141638_0003.jpg
/home/pi/Desktop/images/25012025/23/34/image_25012025_23_34_02_244624_0000.jpg
/home/pi/Desktop/images/25012025/23/34/image_25012025_23_34_02_244624_0001.jpg
/home/pi/Desktop/images/25012025/23/34/image_25012025_23_34_02_244624_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 [200]>
b'{"photo_ids":["1331479744","1331479734","1331479739","1331479748"],"photo_ids_order":["1331479734","1331479739","1331479744","1331479748"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3607943772a2d9ef61d08485d3b4b7f6.jpg","text":"TemporaryFile(/tmp/multipartBody1959583362724672646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844537492,"filename":"image_25012025_23_34_02_244624_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ba57af3b2f9013e2338c4abae13e9867.jpg","text":"TemporaryFile(/tmp/multipartBody4033770923999581291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844537492,"filename":"image_25012025_23_33_03_141638_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/671a18de7bd1fc5a55abdd9b5a506967.jpg","text":"TemporaryFile(/tmp/multipartBody3431442279148699688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844537492,"filename":"image_25012025_23_34_02_244624_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/644ab9860dcacb1af8f2fcc307580b49.jpg","text":"TemporaryFile(/tmp/multipartBody4660166543830272770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844537492,"filename":"image_25012025_23_34_02_244624_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331479744","file1":"1331479739","file0":"1331479734","file3":"1331479748"},"map_files_photo_id_array":[{"photo_id":"1331479744","filename":"file2"},{"photo_id":"1331479739","filename":"file1"},{"photo_id":"1331479734","filename":"file0"},{"photo_id":"1331479748","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331479744":["hashtag1","hashtag2"]},{"1331479734":["hashtag1","hashtag2"]},{"1331479739":["hashtag1","hashtag2"]},{"1331479748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331479744, 1331479734, 1331479739, 1331479748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.395594358444214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:35:22.382150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/34/image_25012025_23_34_02_244624_0003.jpg', '/home/pi/Desktop/images/25012025/23/35/image_25012025_23_35_02_483880_0000.jpg', '/home/pi/Desktop/images/25012025/23/35/image_25012025_23_35_02_483880_0001.jpg', '/home/pi/Desktop/images/25012025/23/35/image_25012025_23_35_02_483880_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/34/image_25012025_23_34_02_244624_0003.jpg
/home/pi/Desktop/images/25012025/23/35/image_25012025_23_35_02_483880_0000.jpg
/home/pi/Desktop/images/25012025/23/35/image_25012025_23_35_02_483880_0001.jpg
/home/pi/Desktop/images/25012025/23/35/image_25012025_23_35_02_483880_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 [200]>
b'{"photo_ids":["1331479774","1331479767","1331479763","1331479772"],"photo_ids_order":["1331479763","1331479767","1331479772","1331479774"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fa41ae4a31a1de0973a8278052afee9f.jpg","text":"TemporaryFile(/tmp/multipartBody4278406922621673834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844597366,"filename":"image_25012025_23_35_02_483880_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1482920650893ec67bb3d04f2cbab382.jpg","text":"TemporaryFile(/tmp/multipartBody5969991762896317136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844597366,"filename":"image_25012025_23_35_02_483880_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e903813a8f8f7f95686b8c9503ec72e5.jpg","text":"TemporaryFile(/tmp/multipartBody3884072029880402830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844597366,"filename":"image_25012025_23_34_02_244624_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/969079c8aefbe93fb470f39ec8d32997.jpg","text":"TemporaryFile(/tmp/multipartBody4197945950067374669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844597366,"filename":"image_25012025_23_35_02_483880_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331479772","file1":"1331479767","file0":"1331479763","file3":"1331479774"},"map_files_photo_id_array":[{"photo_id":"1331479772","filename":"file2"},{"photo_id":"1331479767","filename":"file1"},{"photo_id":"1331479763","filename":"file0"},{"photo_id":"1331479774","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331479774":["hashtag1","hashtag2"]},{"1331479767":["hashtag1","hashtag2"]},{"1331479763":["hashtag1","hashtag2"]},{"1331479772":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331479774, 1331479767, 1331479763, 1331479772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.626739263534546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:36:22.564540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/35/image_25012025_23_35_02_483880_0003.jpg', '/home/pi/Desktop/images/25012025/23/36/image_25012025_23_36_02_696143_0000.jpg', '/home/pi/Desktop/images/25012025/23/36/image_25012025_23_36_02_696143_0001.jpg', '/home/pi/Desktop/images/25012025/23/36/image_25012025_23_36_02_696143_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/35/image_25012025_23_35_02_483880_0003.jpg
/home/pi/Desktop/images/25012025/23/36/image_25012025_23_36_02_696143_0000.jpg
/home/pi/Desktop/images/25012025/23/36/image_25012025_23_36_02_696143_0001.jpg
/home/pi/Desktop/images/25012025/23/36/image_25012025_23_36_02_696143_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 [200]>
b'{"photo_ids":["1331479806","1331479796","1331479800","1331479811"],"photo_ids_order":["1331479796","1331479800","1331479806","1331479811"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/76a3ef60a2a607f8c79adda431ae6ee0.jpg","text":"TemporaryFile(/tmp/multipartBody4607075471954847877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844657659,"filename":"image_25012025_23_36_02_696143_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/234886c3707b4cca368bee2d70360ff6.jpg","text":"TemporaryFile(/tmp/multipartBody7096269613270971930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844657659,"filename":"image_25012025_23_35_02_483880_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d41fc6a624d99dff14b60afbc7f54f05.jpg","text":"TemporaryFile(/tmp/multipartBody7434536984656883282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844657659,"filename":"image_25012025_23_36_02_696143_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f375ea0bcea748a0e8f70d0b585128e5.jpg","text":"TemporaryFile(/tmp/multipartBody6531330208705332262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844657659,"filename":"image_25012025_23_36_02_696143_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331479806","file1":"1331479800","file0":"1331479796","file3":"1331479811"},"map_files_photo_id_array":[{"photo_id":"1331479806","filename":"file2"},{"photo_id":"1331479800","filename":"file1"},{"photo_id":"1331479796","filename":"file0"},{"photo_id":"1331479811","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331479806":["hashtag1","hashtag2"]},{"1331479796":["hashtag1","hashtag2"]},{"1331479800":["hashtag1","hashtag2"]},{"1331479811":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331479806, 1331479796, 1331479800, 1331479811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.98247456550598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:37:22.678736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/36/image_25012025_23_36_02_696143_0003.jpg', '/home/pi/Desktop/images/25012025/23/37/image_25012025_23_37_02_896153_0000.jpg', '/home/pi/Desktop/images/25012025/23/37/image_25012025_23_37_02_896153_0001.jpg', '/home/pi/Desktop/images/25012025/23/37/image_25012025_23_37_02_896153_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/36/image_25012025_23_36_02_696143_0003.jpg
/home/pi/Desktop/images/25012025/23/37/image_25012025_23_37_02_896153_0000.jpg
/home/pi/Desktop/images/25012025/23/37/image_25012025_23_37_02_896153_0001.jpg
/home/pi/Desktop/images/25012025/23/37/image_25012025_23_37_02_896153_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 [200]>
b'{"photo_ids":["1331479873","1331479867","1331479870","1331479877"],"photo_ids_order":["1331479867","1331479870","1331479873","1331479877"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/febab6cbaf16ba540882f794a001cedc.jpg","text":"TemporaryFile(/tmp/multipartBody5723616995706319951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844717119,"filename":"image_25012025_23_37_02_896153_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2850b43e4e5df00d4e4cb25f1841c087.jpg","text":"TemporaryFile(/tmp/multipartBody8243978617260437864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844717119,"filename":"image_25012025_23_36_02_696143_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/81f5fca9e194c17995da95fab300b5a9.jpg","text":"TemporaryFile(/tmp/multipartBody1970886168364595979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844717119,"filename":"image_25012025_23_37_02_896153_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ffce88bc64f65425f2dfa66a9095aab6.jpg","text":"TemporaryFile(/tmp/multipartBody4263516047207452810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844717119,"filename":"image_25012025_23_37_02_896153_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331479873","file1":"1331479870","file0":"1331479867","file3":"1331479877"},"map_files_photo_id_array":[{"photo_id":"1331479873","filename":"file2"},{"photo_id":"1331479870","filename":"file1"},{"photo_id":"1331479867","filename":"file0"},{"photo_id":"1331479877","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331479873":["hashtag1","hashtag2"]},{"1331479867":["hashtag1","hashtag2"]},{"1331479870":["hashtag1","hashtag2"]},{"1331479877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331479873, 1331479867, 1331479870, 1331479877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.96171307563782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:38:21.977692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/37/image_25012025_23_37_02_896153_0003.jpg', '/home/pi/Desktop/images/25012025/23/38/image_25012025_23_38_03_050834_0000.jpg', '/home/pi/Desktop/images/25012025/23/38/image_25012025_23_38_03_050834_0001.jpg', '/home/pi/Desktop/images/25012025/23/38/image_25012025_23_38_03_050834_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/37/image_25012025_23_37_02_896153_0003.jpg
/home/pi/Desktop/images/25012025/23/38/image_25012025_23_38_03_050834_0000.jpg
/home/pi/Desktop/images/25012025/23/38/image_25012025_23_38_03_050834_0001.jpg
/home/pi/Desktop/images/25012025/23/38/image_25012025_23_38_03_050834_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: 14.078899145126343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 23:38:41.901622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/37/image_25012025_23_37_02_896153_0003.jpg', '/home/pi/Desktop/images/25012025/23/38/image_25012025_23_38_03_050834_0000.jpg', '/home/pi/Desktop/images/25012025/23/38/image_25012025_23_38_03_050834_0001.jpg', '/home/pi/Desktop/images/25012025/23/38/image_25012025_23_38_03_050834_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/37/image_25012025_23_37_02_896153_0003.jpg
/home/pi/Desktop/images/25012025/23/38/image_25012025_23_38_03_050834_0000.jpg
/home/pi/Desktop/images/25012025/23/38/image_25012025_23_38_03_050834_0001.jpg
/home/pi/Desktop/images/25012025/23/38/image_25012025_23_38_03_050834_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":["1331479921","1331479915","1331479917","1331479919"],"photo_ids_order":["1331479915","1331479917","1331479919","1331479921"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d674f8c4cd069decde9839ede68c9494.jpg","text":"TemporaryFile(/tmp/multipartBody1493970790560253668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844796388,"filename":"image_25012025_23_38_03_050834_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/488aeed3d9533d218064f9433a67b4a9.jpg","text":"TemporaryFile(/tmp/multipartBody6757724798739997902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844796388,"filename":"image_25012025_23_37_02_896153_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e964974af15770c3dd5fc62002e63cfc.jpg","text":"TemporaryFile(/tmp/multipartBody8028237737250922628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844796388,"filename":"image_25012025_23_38_03_050834_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b7feb4fd6ff92213274d6f3417348aed.jpg","text":"TemporaryFile(/tmp/multipartBody4977286116666562151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844796388,"filename":"image_25012025_23_38_03_050834_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331479919","file1":"1331479917","file0":"1331479915","file3":"1331479921"},"map_files_photo_id_array":[{"photo_id":"1331479919","filename":"file2"},{"photo_id":"1331479917","filename":"file1"},{"photo_id":"1331479915","filename":"file0"},{"photo_id":"1331479921","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331479921":["hashtag1","hashtag2"]},{"1331479915":["hashtag1","hashtag2"]},{"1331479917":["hashtag1","hashtag2"]},{"1331479919":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331479921, 1331479915, 1331479917, 1331479919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.949342012405396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 23:39:32.007960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/38/image_25012025_23_38_03_050834_0003.jpg', '/home/pi/Desktop/images/25012025/23/39/image_25012025_23_39_02_278185_0000.jpg', '/home/pi/Desktop/images/25012025/23/39/image_25012025_23_39_02_278185_0001.jpg', '/home/pi/Desktop/images/25012025/23/39/image_25012025_23_39_02_278185_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/38/image_25012025_23_38_03_050834_0003.jpg
/home/pi/Desktop/images/25012025/23/39/image_25012025_23_39_02_278185_0000.jpg
/home/pi/Desktop/images/25012025/23/39/image_25012025_23_39_02_278185_0001.jpg
/home/pi/Desktop/images/25012025/23/39/image_25012025_23_39_02_278185_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":["1331479954","1331479942","1331479938","1331479970"],"photo_ids_order":["1331479938","1331479942","1331479954","1331479970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/731d1e810f9a2ec388531a9747fa39a8.jpg","text":"TemporaryFile(/tmp/multipartBody2059928374050198397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844847369,"filename":"image_25012025_23_39_02_278185_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3c0d1ab19d02c5b952e6717963baf2c6.jpg","text":"TemporaryFile(/tmp/multipartBody3300464581675568420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844847369,"filename":"image_25012025_23_39_02_278185_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0a3b764b76f1c63a82b3f3cee24187b1.jpg","text":"TemporaryFile(/tmp/multipartBody3337395989447151287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844847369,"filename":"image_25012025_23_38_03_050834_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/f9e497c7732ea3d71961a7915ce06c9a.jpg","text":"TemporaryFile(/tmp/multipartBody232732909871696697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844847369,"filename":"image_25012025_23_39_02_278185_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331479954","file1":"1331479942","file0":"1331479938","file3":"1331479970"},"map_files_photo_id_array":[{"photo_id":"1331479954","filename":"file2"},{"photo_id":"1331479942","filename":"file1"},{"photo_id":"1331479938","filename":"file0"},{"photo_id":"1331479970","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331479954":["hashtag1","hashtag2"]},{"1331479942":["hashtag1","hashtag2"]},{"1331479938":["hashtag1","hashtag2"]},{"1331479970":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331479954, 1331479942, 1331479938, 1331479970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.062737226486206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:40:22.247877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/39/image_25012025_23_39_02_278185_0003.jpg', '/home/pi/Desktop/images/25012025/23/40/image_25012025_23_40_02_396712_0000.jpg', '/home/pi/Desktop/images/25012025/23/40/image_25012025_23_40_02_396712_0001.jpg', '/home/pi/Desktop/images/25012025/23/40/image_25012025_23_40_02_396712_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/39/image_25012025_23_39_02_278185_0003.jpg
/home/pi/Desktop/images/25012025/23/40/image_25012025_23_40_02_396712_0000.jpg
/home/pi/Desktop/images/25012025/23/40/image_25012025_23_40_02_396712_0001.jpg
/home/pi/Desktop/images/25012025/23/40/image_25012025_23_40_02_396712_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 [200]>
b'{"photo_ids":["1331480012","1331480021","1331480026","1331480016"],"photo_ids_order":["1331480012","1331480016","1331480021","1331480026"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fc0f91c1cc38a88507836c438ceeaa82.jpg","text":"TemporaryFile(/tmp/multipartBody6097493195660002193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844897576,"filename":"image_25012025_23_39_02_278185_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8f5277145ef11c81e1ee956e21442a86.jpg","text":"TemporaryFile(/tmp/multipartBody5855929900503199734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844897576,"filename":"image_25012025_23_40_02_396712_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2b123a3cd2f8ef44e0a20e58f5edfe09.jpg","text":"TemporaryFile(/tmp/multipartBody2679550501361319918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844897576,"filename":"image_25012025_23_40_02_396712_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/144c25fc21952aa565b242cb11c3c653.jpg","text":"TemporaryFile(/tmp/multipartBody6928256584336395773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844897576,"filename":"image_25012025_23_40_02_396712_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331480021","file1":"1331480016","file0":"1331480012","file3":"1331480026"},"map_files_photo_id_array":[{"photo_id":"1331480021","filename":"file2"},{"photo_id":"1331480016","filename":"file1"},{"photo_id":"1331480012","filename":"file0"},{"photo_id":"1331480026","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331480012":["hashtag1","hashtag2"]},{"1331480021":["hashtag1","hashtag2"]},{"1331480026":["hashtag1","hashtag2"]},{"1331480016":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331480012, 1331480021, 1331480026, 1331480016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.0514235496521 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:41:22.443479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/40/image_25012025_23_40_02_396712_0003.jpg', '/home/pi/Desktop/images/25012025/23/41/image_25012025_23_41_02_650200_0000.jpg', '/home/pi/Desktop/images/25012025/23/41/image_25012025_23_41_02_650200_0001.jpg', '/home/pi/Desktop/images/25012025/23/41/image_25012025_23_41_02_650200_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/40/image_25012025_23_40_02_396712_0003.jpg
/home/pi/Desktop/images/25012025/23/41/image_25012025_23_41_02_650200_0000.jpg
/home/pi/Desktop/images/25012025/23/41/image_25012025_23_41_02_650200_0001.jpg
/home/pi/Desktop/images/25012025/23/41/image_25012025_23_41_02_650200_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 [200]>
b'{"photo_ids":["1331480051","1331480047","1331480058","1331480043"],"photo_ids_order":["1331480043","1331480047","1331480051","1331480058"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3dcc8aaa10adf86e582e332475ac8e47.jpg","text":"TemporaryFile(/tmp/multipartBody8542087603720784215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844957884,"filename":"image_25012025_23_41_02_650200_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3c4a5e480a0c613cda493f05b243ed6e.jpg","text":"TemporaryFile(/tmp/multipartBody1230219418221695419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844957884,"filename":"image_25012025_23_41_02_650200_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fb761306285cbbf8b18604b5474a961c.jpg","text":"TemporaryFile(/tmp/multipartBody7549516602935565880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844957884,"filename":"image_25012025_23_41_02_650200_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b63a4ac629c2deb813feee130c2ffc11.jpg","text":"TemporaryFile(/tmp/multipartBody4189154894449057830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737844957884,"filename":"image_25012025_23_40_02_396712_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331480051","file1":"1331480047","file0":"1331480043","file3":"1331480058"},"map_files_photo_id_array":[{"photo_id":"1331480051","filename":"file2"},{"photo_id":"1331480047","filename":"file1"},{"photo_id":"1331480043","filename":"file0"},{"photo_id":"1331480058","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331480051":["hashtag1","hashtag2"]},{"1331480047":["hashtag1","hashtag2"]},{"1331480058":["hashtag1","hashtag2"]},{"1331480043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331480051, 1331480047, 1331480058, 1331480043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.53391218185425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:42:22.616574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/41/image_25012025_23_41_02_650200_0003.jpg', '/home/pi/Desktop/images/25012025/23/42/image_25012025_23_42_02_761342_0000.jpg', '/home/pi/Desktop/images/25012025/23/42/image_25012025_23_42_02_761342_0001.jpg', '/home/pi/Desktop/images/25012025/23/42/image_25012025_23_42_02_761342_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/41/image_25012025_23_41_02_650200_0003.jpg
/home/pi/Desktop/images/25012025/23/42/image_25012025_23_42_02_761342_0000.jpg
/home/pi/Desktop/images/25012025/23/42/image_25012025_23_42_02_761342_0001.jpg
/home/pi/Desktop/images/25012025/23/42/image_25012025_23_42_02_761342_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: 14.74588131904602 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 23:42:42.656911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/41/image_25012025_23_41_02_650200_0003.jpg', '/home/pi/Desktop/images/25012025/23/42/image_25012025_23_42_02_761342_0000.jpg', '/home/pi/Desktop/images/25012025/23/42/image_25012025_23_42_02_761342_0001.jpg', '/home/pi/Desktop/images/25012025/23/42/image_25012025_23_42_02_761342_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/41/image_25012025_23_41_02_650200_0003.jpg
/home/pi/Desktop/images/25012025/23/42/image_25012025_23_42_02_761342_0000.jpg
/home/pi/Desktop/images/25012025/23/42/image_25012025_23_42_02_761342_0001.jpg
/home/pi/Desktop/images/25012025/23/42/image_25012025_23_42_02_761342_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":["1331480189","1331480216","1331480178","1331480187"],"photo_ids_order":["1331480178","1331480187","1331480189","1331480216"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e556d4d18451f63a921cdc19936c9786.jpg","text":"TemporaryFile(/tmp/multipartBody9220652282267252583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845037797,"filename":"image_25012025_23_42_02_761342_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/770b5cae4175135e5d0df77a2777844a.jpg","text":"TemporaryFile(/tmp/multipartBody8672805626750569131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845037797,"filename":"image_25012025_23_42_02_761342_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/45f57faca895acf6953b038fb91d19eb.jpg","text":"TemporaryFile(/tmp/multipartBody6960528343931755864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845037797,"filename":"image_25012025_23_41_02_650200_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c89ccf1a7d7277fa9fc0d690a80cc4e7.jpg","text":"TemporaryFile(/tmp/multipartBody5377198153979194163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845037797,"filename":"image_25012025_23_42_02_761342_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331480189","file1":"1331480187","file0":"1331480178","file3":"1331480216"},"map_files_photo_id_array":[{"photo_id":"1331480189","filename":"file2"},{"photo_id":"1331480187","filename":"file1"},{"photo_id":"1331480178","filename":"file0"},{"photo_id":"1331480216","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331480189":["hashtag1","hashtag2"]},{"1331480216":["hashtag1","hashtag2"]},{"1331480178":["hashtag1","hashtag2"]},{"1331480187":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331480189, 1331480216, 1331480178, 1331480187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.40480852127075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 23:43:31.745147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/42/image_25012025_23_42_02_761342_0003.jpg', '/home/pi/Desktop/images/25012025/23/43/image_25012025_23_43_02_941207_0000.jpg', '/home/pi/Desktop/images/25012025/23/43/image_25012025_23_43_02_941207_0001.jpg', '/home/pi/Desktop/images/25012025/23/43/image_25012025_23_43_02_941207_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/42/image_25012025_23_42_02_761342_0003.jpg
/home/pi/Desktop/images/25012025/23/43/image_25012025_23_43_02_941207_0000.jpg
/home/pi/Desktop/images/25012025/23/43/image_25012025_23_43_02_941207_0001.jpg
/home/pi/Desktop/images/25012025/23/43/image_25012025_23_43_02_941207_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":["1331480304","1331480294","1331480300","1331480302"],"photo_ids_order":["1331480294","1331480300","1331480302","1331480304"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/94b43d02b68722eac3e8d1fdffb4d36c.jpg","text":"TemporaryFile(/tmp/multipartBody4060492092815800551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845087351,"filename":"image_25012025_23_43_02_941207_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ba260084f1bc2d4840b6410d1fe45a63.jpg","text":"TemporaryFile(/tmp/multipartBody4600632345353477833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845087351,"filename":"image_25012025_23_42_02_761342_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1bbb899f40f51a71bea48b105a4b758f.jpg","text":"TemporaryFile(/tmp/multipartBody8877098359046669630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845087351,"filename":"image_25012025_23_43_02_941207_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/02a984134e78fe78bb680016a7ae0fcc.jpg","text":"TemporaryFile(/tmp/multipartBody2797393311887578781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845087351,"filename":"image_25012025_23_43_02_941207_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331480302","file1":"1331480300","file0":"1331480294","file3":"1331480304"},"map_files_photo_id_array":[{"photo_id":"1331480302","filename":"file2"},{"photo_id":"1331480300","filename":"file1"},{"photo_id":"1331480294","filename":"file0"},{"photo_id":"1331480304","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331480304":["hashtag1","hashtag2"]},{"1331480294":["hashtag1","hashtag2"]},{"1331480300":["hashtag1","hashtag2"]},{"1331480302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331480304, 1331480294, 1331480300, 1331480302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.79177951812744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:44:21.934041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/43/image_25012025_23_43_02_941207_0003.jpg', '/home/pi/Desktop/images/25012025/23/44/image_25012025_23_44_02_222711_0000.jpg', '/home/pi/Desktop/images/25012025/23/44/image_25012025_23_44_02_222711_0001.jpg', '/home/pi/Desktop/images/25012025/23/44/image_25012025_23_44_02_222711_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/43/image_25012025_23_43_02_941207_0003.jpg
/home/pi/Desktop/images/25012025/23/44/image_25012025_23_44_02_222711_0000.jpg
/home/pi/Desktop/images/25012025/23/44/image_25012025_23_44_02_222711_0001.jpg
/home/pi/Desktop/images/25012025/23/44/image_25012025_23_44_02_222711_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 [200]>
b'{"photo_ids":["1331480326","1331480320","1331480323","1331480328"],"photo_ids_order":["1331480320","1331480323","1331480326","1331480328"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/65cc07d0150e08cd9795d15708b25c10.jpg","text":"TemporaryFile(/tmp/multipartBody5365383030586554320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845136640,"filename":"image_25012025_23_44_02_222711_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8715ddfac370c8ca775d38024ed9ccf7.jpg","text":"TemporaryFile(/tmp/multipartBody8401185513954053912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845136640,"filename":"image_25012025_23_43_02_941207_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bfaf8995a189ec6b64f3a11b3d77b5ca.jpg","text":"TemporaryFile(/tmp/multipartBody6124083227361774399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845136640,"filename":"image_25012025_23_44_02_222711_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5a1340d9cbb58981578a20214a01285e.jpg","text":"TemporaryFile(/tmp/multipartBody8198883765887533540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845136640,"filename":"image_25012025_23_44_02_222711_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331480326","file1":"1331480323","file0":"1331480320","file3":"1331480328"},"map_files_photo_id_array":[{"photo_id":"1331480326","filename":"file2"},{"photo_id":"1331480323","filename":"file1"},{"photo_id":"1331480320","filename":"file0"},{"photo_id":"1331480328","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331480326":["hashtag1","hashtag2"]},{"1331480320":["hashtag1","hashtag2"]},{"1331480323":["hashtag1","hashtag2"]},{"1331480328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331480326, 1331480320, 1331480323, 1331480328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.319798946380615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:45:22.146098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/44/image_25012025_23_44_02_222711_0003.jpg', '/home/pi/Desktop/images/25012025/23/45/image_25012025_23_45_02_301215_0000.jpg', '/home/pi/Desktop/images/25012025/23/45/image_25012025_23_45_02_301215_0001.jpg', '/home/pi/Desktop/images/25012025/23/45/image_25012025_23_45_02_301215_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/44/image_25012025_23_44_02_222711_0003.jpg
/home/pi/Desktop/images/25012025/23/45/image_25012025_23_45_02_301215_0000.jpg
/home/pi/Desktop/images/25012025/23/45/image_25012025_23_45_02_301215_0001.jpg
/home/pi/Desktop/images/25012025/23/45/image_25012025_23_45_02_301215_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 [200]>
b'{"photo_ids":["1331480354","1331480363","1331480367","1331480358"],"photo_ids_order":["1331480354","1331480358","1331480363","1331480367"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b68d7fdae358fd48a9b33ea5b06125b5.jpg","text":"TemporaryFile(/tmp/multipartBody2072160913220494893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845196832,"filename":"image_25012025_23_44_02_222711_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/ce0c809db31f7802f221436e70e62bb4.jpg","text":"TemporaryFile(/tmp/multipartBody4767072161855939904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845196832,"filename":"image_25012025_23_45_02_301215_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1f1299af1376c5fae718b482792cfb7a.jpg","text":"TemporaryFile(/tmp/multipartBody7358522357088945011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845196832,"filename":"image_25012025_23_45_02_301215_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/20306c9cbaf60aafd54cab0535a46a9a.jpg","text":"TemporaryFile(/tmp/multipartBody546210147649069706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845196832,"filename":"image_25012025_23_45_02_301215_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331480363","file1":"1331480358","file0":"1331480354","file3":"1331480367"},"map_files_photo_id_array":[{"photo_id":"1331480363","filename":"file2"},{"photo_id":"1331480358","filename":"file1"},{"photo_id":"1331480354","filename":"file0"},{"photo_id":"1331480367","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331480354":["hashtag1","hashtag2"]},{"1331480363":["hashtag1","hashtag2"]},{"1331480367":["hashtag1","hashtag2"]},{"1331480358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331480354, 1331480363, 1331480367, 1331480358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.65130543708801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:46:22.362157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/45/image_25012025_23_45_02_301215_0003.jpg', '/home/pi/Desktop/images/25012025/23/46/image_25012025_23_46_02_503705_0000.jpg', '/home/pi/Desktop/images/25012025/23/46/image_25012025_23_46_02_503705_0001.jpg', '/home/pi/Desktop/images/25012025/23/46/image_25012025_23_46_02_503705_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/45/image_25012025_23_45_02_301215_0003.jpg
/home/pi/Desktop/images/25012025/23/46/image_25012025_23_46_02_503705_0000.jpg
/home/pi/Desktop/images/25012025/23/46/image_25012025_23_46_02_503705_0001.jpg
/home/pi/Desktop/images/25012025/23/46/image_25012025_23_46_02_503705_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: 14.502607107162476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 23:46:42.343307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/45/image_25012025_23_45_02_301215_0003.jpg', '/home/pi/Desktop/images/25012025/23/46/image_25012025_23_46_02_503705_0000.jpg', '/home/pi/Desktop/images/25012025/23/46/image_25012025_23_46_02_503705_0001.jpg', '/home/pi/Desktop/images/25012025/23/46/image_25012025_23_46_02_503705_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/45/image_25012025_23_45_02_301215_0003.jpg
/home/pi/Desktop/images/25012025/23/46/image_25012025_23_46_02_503705_0000.jpg
/home/pi/Desktop/images/25012025/23/46/image_25012025_23_46_02_503705_0001.jpg
/home/pi/Desktop/images/25012025/23/46/image_25012025_23_46_02_503705_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":["1331480563","1331480571","1331480565","1331480568"],"photo_ids_order":["1331480563","1331480565","1331480568","1331480571"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/b792d877d5bd80aab8e07116f29a97de.jpg","text":"TemporaryFile(/tmp/multipartBody6499489060637769111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845277283,"filename":"image_25012025_23_45_02_301215_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/60a0009f776aa952e0252ffd88a60eda.jpg","text":"TemporaryFile(/tmp/multipartBody8939998151428107016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845277283,"filename":"image_25012025_23_46_02_503705_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/375fa8bc83a6f9638b92daa08fce8d8e.jpg","text":"TemporaryFile(/tmp/multipartBody154847411469276659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845277283,"filename":"image_25012025_23_46_02_503705_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/422ac57da72e5819bbf86b4791f2ba0d.jpg","text":"TemporaryFile(/tmp/multipartBody587529070213360011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845277283,"filename":"image_25012025_23_46_02_503705_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331480568","file1":"1331480565","file0":"1331480563","file3":"1331480571"},"map_files_photo_id_array":[{"photo_id":"1331480568","filename":"file2"},{"photo_id":"1331480565","filename":"file1"},{"photo_id":"1331480563","filename":"file0"},{"photo_id":"1331480571","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331480563":["hashtag1","hashtag2"]},{"1331480571":["hashtag1","hashtag2"]},{"1331480565":["hashtag1","hashtag2"]},{"1331480568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331480563, 1331480571, 1331480565, 1331480568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.53991341590881 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 23:47:32.560165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/46/image_25012025_23_46_02_503705_0003.jpg', '/home/pi/Desktop/images/25012025/23/47/image_25012025_23_47_02_726310_0000.jpg', '/home/pi/Desktop/images/25012025/23/47/image_25012025_23_47_02_726310_0001.jpg', '/home/pi/Desktop/images/25012025/23/47/image_25012025_23_47_02_726310_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/46/image_25012025_23_46_02_503705_0003.jpg
/home/pi/Desktop/images/25012025/23/47/image_25012025_23_47_02_726310_0000.jpg
/home/pi/Desktop/images/25012025/23/47/image_25012025_23_47_02_726310_0001.jpg
/home/pi/Desktop/images/25012025/23/47/image_25012025_23_47_02_726310_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: 14.53702688217163 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 23:47:52.564411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/46/image_25012025_23_46_02_503705_0003.jpg', '/home/pi/Desktop/images/25012025/23/47/image_25012025_23_47_02_726310_0000.jpg', '/home/pi/Desktop/images/25012025/23/47/image_25012025_23_47_02_726310_0001.jpg', '/home/pi/Desktop/images/25012025/23/47/image_25012025_23_47_02_726310_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/46/image_25012025_23_46_02_503705_0003.jpg
/home/pi/Desktop/images/25012025/23/47/image_25012025_23_47_02_726310_0000.jpg
/home/pi/Desktop/images/25012025/23/47/image_25012025_23_47_02_726310_0001.jpg
/home/pi/Desktop/images/25012025/23/47/image_25012025_23_47_02_726310_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":["1331481397","1331481393","1331481402","1331481095"],"photo_ids_order":["1331481095","1331481393","1331481397","1331481402"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/16440de41b9cdca0bb6dff8bc7ad582d.jpg","text":"TemporaryFile(/tmp/multipartBody5490328440461769832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845347494,"filename":"image_25012025_23_47_02_726310_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dbdb28a3f9013dcf3d8ba50440a782ef.jpg","text":"TemporaryFile(/tmp/multipartBody6126978079537590860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845347494,"filename":"image_25012025_23_47_02_726310_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bef4db3dc95b1787566d47bd8a0405c7.jpg","text":"TemporaryFile(/tmp/multipartBody2625713757206709516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845347494,"filename":"image_25012025_23_47_02_726310_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a1737c90497749904debf63e6cb27f3b.jpg","text":"TemporaryFile(/tmp/multipartBody8603272354941806119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845347494,"filename":"image_25012025_23_46_02_503705_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331481397","file1":"1331481393","file0":"1331481095","file3":"1331481402"},"map_files_photo_id_array":[{"photo_id":"1331481397","filename":"file2"},{"photo_id":"1331481393","filename":"file1"},{"photo_id":"1331481095","filename":"file0"},{"photo_id":"1331481402","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331481397":["hashtag1","hashtag2"]},{"1331481393":["hashtag1","hashtag2"]},{"1331481402":["hashtag1","hashtag2"]},{"1331481095":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331481397, 1331481393, 1331481402, 1331481095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.09386610984802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 23:48:42.780496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/47/image_25012025_23_47_02_726310_0003.jpg', '/home/pi/Desktop/images/25012025/23/48/image_25012025_23_48_02_900370_0000.jpg', '/home/pi/Desktop/images/25012025/23/48/image_25012025_23_48_02_900370_0001.jpg', '/home/pi/Desktop/images/25012025/23/48/image_25012025_23_48_02_900370_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/47/image_25012025_23_47_02_726310_0003.jpg
/home/pi/Desktop/images/25012025/23/48/image_25012025_23_48_02_900370_0000.jpg
/home/pi/Desktop/images/25012025/23/48/image_25012025_23_48_02_900370_0001.jpg
/home/pi/Desktop/images/25012025/23/48/image_25012025_23_48_02_900370_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: 14.662167072296143 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-25 23:49:02.561640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/47/image_25012025_23_47_02_726310_0003.jpg', '/home/pi/Desktop/images/25012025/23/48/image_25012025_23_48_02_900370_0000.jpg', '/home/pi/Desktop/images/25012025/23/48/image_25012025_23_48_02_900370_0001.jpg', '/home/pi/Desktop/images/25012025/23/48/image_25012025_23_48_02_900370_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/47/image_25012025_23_47_02_726310_0003.jpg
/home/pi/Desktop/images/25012025/23/48/image_25012025_23_48_02_900370_0000.jpg
/home/pi/Desktop/images/25012025/23/48/image_25012025_23_48_02_900370_0001.jpg
/home/pi/Desktop/images/25012025/23/48/image_25012025_23_48_02_900370_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":["1331481700","1331481690","1331481729","1331481734"],"photo_ids_order":["1331481690","1331481700","1331481729","1331481734"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2416710a25040742a8b48e6ae4853b59.jpg","text":"TemporaryFile(/tmp/multipartBody7094907563115552651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845417712,"filename":"image_25012025_23_48_02_900370_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/6cf84eae05d638b986d421a01334f25b.jpg","text":"TemporaryFile(/tmp/multipartBody2016223489757586817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845417712,"filename":"image_25012025_23_47_02_726310_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/876ed3e17199adca01b595b41dd8e5a6.jpg","text":"TemporaryFile(/tmp/multipartBody1702591962903833818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845417712,"filename":"image_25012025_23_48_02_900370_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/508a7b93e89cc78c15f365577f7bb5da.jpg","text":"TemporaryFile(/tmp/multipartBody8443983047774564847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845417712,"filename":"image_25012025_23_48_02_900370_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331481729","file1":"1331481700","file0":"1331481690","file3":"1331481734"},"map_files_photo_id_array":[{"photo_id":"1331481729","filename":"file2"},{"photo_id":"1331481700","filename":"file1"},{"photo_id":"1331481690","filename":"file0"},{"photo_id":"1331481734","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331481700":["hashtag1","hashtag2"]},{"1331481690":["hashtag1","hashtag2"]},{"1331481729":["hashtag1","hashtag2"]},{"1331481734":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331481700, 1331481690, 1331481729, 1331481734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.69612765312195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 23:49:51.956770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/48/image_25012025_23_48_02_900370_0003.jpg', '/home/pi/Desktop/images/25012025/23/49/image_25012025_23_49_03_126995_0000.jpg', '/home/pi/Desktop/images/25012025/23/49/image_25012025_23_49_03_126995_0001.jpg', '/home/pi/Desktop/images/25012025/23/49/image_25012025_23_49_03_126995_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/48/image_25012025_23_48_02_900370_0003.jpg
/home/pi/Desktop/images/25012025/23/49/image_25012025_23_49_03_126995_0000.jpg
/home/pi/Desktop/images/25012025/23/49/image_25012025_23_49_03_126995_0001.jpg
/home/pi/Desktop/images/25012025/23/49/image_25012025_23_49_03_126995_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":["1331481756","1331481750","1331481753","1331481747"],"photo_ids_order":["1331481747","1331481750","1331481753","1331481756"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/992eca3f66571477a61f735cea1e9abe.jpg","text":"TemporaryFile(/tmp/multipartBody8695053018682955048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845466844,"filename":"image_25012025_23_49_03_126995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a310dac2c69bddfb15684d76440f40c8.jpg","text":"TemporaryFile(/tmp/multipartBody3812001505297336500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845466844,"filename":"image_25012025_23_49_03_126995_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/08d0b444defccb53d0e76539122f0e48.jpg","text":"TemporaryFile(/tmp/multipartBody2710933302765570610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845466844,"filename":"image_25012025_23_49_03_126995_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d6cf827cfe12e483806807ecd77deb94.jpg","text":"TemporaryFile(/tmp/multipartBody1168862857314960802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845466844,"filename":"image_25012025_23_48_02_900370_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331481753","file1":"1331481750","file0":"1331481747","file3":"1331481756"},"map_files_photo_id_array":[{"photo_id":"1331481753","filename":"file2"},{"photo_id":"1331481750","filename":"file1"},{"photo_id":"1331481747","filename":"file0"},{"photo_id":"1331481756","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331481756":["hashtag1","hashtag2"]},{"1331481750":["hashtag1","hashtag2"]},{"1331481753":["hashtag1","hashtag2"]},{"1331481747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331481756, 1331481750, 1331481753, 1331481747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.957053422927856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 23:50:42.186194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/49/image_25012025_23_49_03_126995_0003.jpg', '/home/pi/Desktop/images/25012025/23/50/image_25012025_23_50_02_360387_0000.jpg', '/home/pi/Desktop/images/25012025/23/50/image_25012025_23_50_02_360387_0001.jpg', '/home/pi/Desktop/images/25012025/23/50/image_25012025_23_50_02_360387_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/49/image_25012025_23_49_03_126995_0003.jpg
/home/pi/Desktop/images/25012025/23/50/image_25012025_23_50_02_360387_0000.jpg
/home/pi/Desktop/images/25012025/23/50/image_25012025_23_50_02_360387_0001.jpg
/home/pi/Desktop/images/25012025/23/50/image_25012025_23_50_02_360387_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":["1331481808","1331481817","1331481810","1331481813"],"photo_ids_order":["1331481808","1331481810","1331481813","1331481817"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/8cc4fdfe3b6019956eda76423308a229.jpg","text":"TemporaryFile(/tmp/multipartBody7308651939923974022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845516885,"filename":"image_25012025_23_49_03_126995_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d8c6a896d6ab56b7de7b2012a6e27612.jpg","text":"TemporaryFile(/tmp/multipartBody1590861536850838677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845516885,"filename":"image_25012025_23_50_02_360387_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/37ced114100e0554c07766d433a65f33.jpg","text":"TemporaryFile(/tmp/multipartBody665604066819083694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845516885,"filename":"image_25012025_23_50_02_360387_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dd2f5df800e514bd3e5e0f1090c4fbde.jpg","text":"TemporaryFile(/tmp/multipartBody3255556661371188895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845516885,"filename":"image_25012025_23_50_02_360387_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331481813","file1":"1331481810","file0":"1331481808","file3":"1331481817"},"map_files_photo_id_array":[{"photo_id":"1331481813","filename":"file2"},{"photo_id":"1331481810","filename":"file1"},{"photo_id":"1331481808","filename":"file0"},{"photo_id":"1331481817","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331481808":["hashtag1","hashtag2"]},{"1331481817":["hashtag1","hashtag2"]},{"1331481810":["hashtag1","hashtag2"]},{"1331481813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331481808, 1331481817, 1331481810, 1331481813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.94360542297363 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 23:51:32.363719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/50/image_25012025_23_50_02_360387_0003.jpg', '/home/pi/Desktop/images/25012025/23/51/image_25012025_23_51_02_505456_0000.jpg', '/home/pi/Desktop/images/25012025/23/51/image_25012025_23_51_02_505456_0001.jpg', '/home/pi/Desktop/images/25012025/23/51/image_25012025_23_51_02_505456_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/50/image_25012025_23_50_02_360387_0003.jpg
/home/pi/Desktop/images/25012025/23/51/image_25012025_23_51_02_505456_0000.jpg
/home/pi/Desktop/images/25012025/23/51/image_25012025_23_51_02_505456_0001.jpg
/home/pi/Desktop/images/25012025/23/51/image_25012025_23_51_02_505456_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":["1331481856","1331481876","1331481881","1331481860"],"photo_ids_order":["1331481856","1331481860","1331481876","1331481881"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/1039416e32ef11d77120194d796010fd.jpg","text":"TemporaryFile(/tmp/multipartBody4897814951210142615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845566911,"filename":"image_25012025_23_50_02_360387_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d823277c18655527dfc75d0b1b2a2c40.jpg","text":"TemporaryFile(/tmp/multipartBody5055986306977557212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845566911,"filename":"image_25012025_23_51_02_505456_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/92a1e7b94044756fd216fee24a3d6987.jpg","text":"TemporaryFile(/tmp/multipartBody5704133325903385535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845566911,"filename":"image_25012025_23_51_02_505456_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/be86731ef63be5b18064129bf0812ff3.jpg","text":"TemporaryFile(/tmp/multipartBody4670647706148284583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845566911,"filename":"image_25012025_23_51_02_505456_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331481876","file1":"1331481860","file0":"1331481856","file3":"1331481881"},"map_files_photo_id_array":[{"photo_id":"1331481876","filename":"file2"},{"photo_id":"1331481860","filename":"file1"},{"photo_id":"1331481856","filename":"file0"},{"photo_id":"1331481881","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331481856":["hashtag1","hashtag2"]},{"1331481876":["hashtag1","hashtag2"]},{"1331481881":["hashtag1","hashtag2"]},{"1331481860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331481856, 1331481876, 1331481881, 1331481860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.53700661659241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:52:22.553952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/51/image_25012025_23_51_02_505456_0003.jpg', '/home/pi/Desktop/images/25012025/23/52/image_25012025_23_52_02_720447_0000.jpg', '/home/pi/Desktop/images/25012025/23/52/image_25012025_23_52_02_720447_0001.jpg', '/home/pi/Desktop/images/25012025/23/52/image_25012025_23_52_02_720447_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/51/image_25012025_23_51_02_505456_0003.jpg
/home/pi/Desktop/images/25012025/23/52/image_25012025_23_52_02_720447_0000.jpg
/home/pi/Desktop/images/25012025/23/52/image_25012025_23_52_02_720447_0001.jpg
/home/pi/Desktop/images/25012025/23/52/image_25012025_23_52_02_720447_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: 13.845992088317871 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 23:52:42.606510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/51/image_25012025_23_51_02_505456_0003.jpg', '/home/pi/Desktop/images/25012025/23/52/image_25012025_23_52_02_720447_0000.jpg', '/home/pi/Desktop/images/25012025/23/52/image_25012025_23_52_02_720447_0001.jpg', '/home/pi/Desktop/images/25012025/23/52/image_25012025_23_52_02_720447_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/51/image_25012025_23_51_02_505456_0003.jpg
/home/pi/Desktop/images/25012025/23/52/image_25012025_23_52_02_720447_0000.jpg
/home/pi/Desktop/images/25012025/23/52/image_25012025_23_52_02_720447_0001.jpg
/home/pi/Desktop/images/25012025/23/52/image_25012025_23_52_02_720447_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":["1331481923","1331481926","1331481934","1331481930"],"photo_ids_order":["1331481923","1331481926","1331481930","1331481934"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/3de4a046bcc3681bddc8d59d7fda9b13.jpg","text":"TemporaryFile(/tmp/multipartBody2433529943996406663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845636816,"filename":"image_25012025_23_51_02_505456_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e90b2114504eeff781751a903e71ab36.jpg","text":"TemporaryFile(/tmp/multipartBody1362400540009892369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845636816,"filename":"image_25012025_23_52_02_720447_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/dbdb555101efe76d6aa0108538edd494.jpg","text":"TemporaryFile(/tmp/multipartBody3934027012163527868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845636816,"filename":"image_25012025_23_52_02_720447_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/d8afc12341cfe49086c3e640b64b075e.jpg","text":"TemporaryFile(/tmp/multipartBody3177783492461029565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845636816,"filename":"image_25012025_23_52_02_720447_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331481930","file1":"1331481926","file0":"1331481923","file3":"1331481934"},"map_files_photo_id_array":[{"photo_id":"1331481930","filename":"file2"},{"photo_id":"1331481926","filename":"file1"},{"photo_id":"1331481923","filename":"file0"},{"photo_id":"1331481934","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331481923":["hashtag1","hashtag2"]},{"1331481926":["hashtag1","hashtag2"]},{"1331481934":["hashtag1","hashtag2"]},{"1331481930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331481923, 1331481926, 1331481934, 1331481930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.05282807350159 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 23:53:32.801522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/52/image_25012025_23_52_02_720447_0003.jpg', '/home/pi/Desktop/images/25012025/23/53/image_25012025_23_53_02_952626_0000.jpg', '/home/pi/Desktop/images/25012025/23/53/image_25012025_23_53_02_952626_0001.jpg', '/home/pi/Desktop/images/25012025/23/53/image_25012025_23_53_02_952626_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/52/image_25012025_23_52_02_720447_0003.jpg
/home/pi/Desktop/images/25012025/23/53/image_25012025_23_53_02_952626_0000.jpg
/home/pi/Desktop/images/25012025/23/53/image_25012025_23_53_02_952626_0001.jpg
/home/pi/Desktop/images/25012025/23/53/image_25012025_23_53_02_952626_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":["1331481952","1331481949","1331481959","1331481956"],"photo_ids_order":["1331481949","1331481952","1331481956","1331481959"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fb83d1b1fbd8eee03c8fd6efc34a98ee.jpg","text":"TemporaryFile(/tmp/multipartBody6810752423188727176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845687299,"filename":"image_25012025_23_53_02_952626_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/e84a8c6cb396c2858307b2f5f0d0da6d.jpg","text":"TemporaryFile(/tmp/multipartBody4975945778449352649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845687299,"filename":"image_25012025_23_52_02_720447_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/864705337d9fee4e28af6a360c86c300.jpg","text":"TemporaryFile(/tmp/multipartBody1175481975221800868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845687299,"filename":"image_25012025_23_53_02_952626_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/950116dea4fcb91a443e54439b665057.jpg","text":"TemporaryFile(/tmp/multipartBody3640863415815600659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845687299,"filename":"image_25012025_23_53_02_952626_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331481956","file1":"1331481952","file0":"1331481949","file3":"1331481959"},"map_files_photo_id_array":[{"photo_id":"1331481956","filename":"file2"},{"photo_id":"1331481952","filename":"file1"},{"photo_id":"1331481949","filename":"file0"},{"photo_id":"1331481959","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331481952":["hashtag1","hashtag2"]},{"1331481949":["hashtag1","hashtag2"]},{"1331481959":["hashtag1","hashtag2"]},{"1331481956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331481952, 1331481949, 1331481959, 1331481956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.39718008041382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:54:21.988215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/53/image_25012025_23_53_02_952626_0003.jpg', '/home/pi/Desktop/images/25012025/23/54/image_25012025_23_54_03_153842_0000.jpg', '/home/pi/Desktop/images/25012025/23/54/image_25012025_23_54_03_153842_0001.jpg', '/home/pi/Desktop/images/25012025/23/54/image_25012025_23_54_03_153842_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/53/image_25012025_23_53_02_952626_0003.jpg
/home/pi/Desktop/images/25012025/23/54/image_25012025_23_54_03_153842_0000.jpg
/home/pi/Desktop/images/25012025/23/54/image_25012025_23_54_03_153842_0001.jpg
/home/pi/Desktop/images/25012025/23/54/image_25012025_23_54_03_153842_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 [200]>
b'{"photo_ids":["1331481984","1331482023","1331481996","1331482019"],"photo_ids_order":["1331481984","1331481996","1331482019","1331482023"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/9ba338ed35c8dbb733d85e0d3d5d610c.jpg","text":"TemporaryFile(/tmp/multipartBody256633501737043323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845736660,"filename":"image_25012025_23_53_02_952626_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/df261a1cf4681f9ced9d289c97fabe1f.jpg","text":"TemporaryFile(/tmp/multipartBody5966889027454664750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845736660,"filename":"image_25012025_23_54_03_153842_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/5f0fb5aa01609e97349960b4a9daa15d.jpg","text":"TemporaryFile(/tmp/multipartBody7929280970721199157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845736660,"filename":"image_25012025_23_54_03_153842_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/2124214ea5ca5a529bad1bf1e7a8e7ea.jpg","text":"TemporaryFile(/tmp/multipartBody5673183383088101787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845736660,"filename":"image_25012025_23_54_03_153842_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331482019","file1":"1331481996","file0":"1331481984","file3":"1331482023"},"map_files_photo_id_array":[{"photo_id":"1331482019","filename":"file2"},{"photo_id":"1331481996","filename":"file1"},{"photo_id":"1331481984","filename":"file0"},{"photo_id":"1331482023","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331481984":["hashtag1","hashtag2"]},{"1331482023":["hashtag1","hashtag2"]},{"1331481996":["hashtag1","hashtag2"]},{"1331482019":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331481984, 1331482023, 1331481996, 1331482019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.924095153808594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:55:22.218690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/54/image_25012025_23_54_03_153842_0003.jpg', '/home/pi/Desktop/images/25012025/23/55/image_25012025_23_55_02_284697_0000.jpg', '/home/pi/Desktop/images/25012025/23/55/image_25012025_23_55_02_284697_0001.jpg', '/home/pi/Desktop/images/25012025/23/55/image_25012025_23_55_02_284697_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/54/image_25012025_23_54_03_153842_0003.jpg
/home/pi/Desktop/images/25012025/23/55/image_25012025_23_55_02_284697_0000.jpg
/home/pi/Desktop/images/25012025/23/55/image_25012025_23_55_02_284697_0001.jpg
/home/pi/Desktop/images/25012025/23/55/image_25012025_23_55_02_284697_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 [200]>
b'{"photo_ids":["1331482156","1331482165","1331482164","1331482161"],"photo_ids_order":["1331482156","1331482161","1331482164","1331482165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/0aef04230a733acbcd8966c36f58f521.jpg","text":"TemporaryFile(/tmp/multipartBody9062872479948339994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845797359,"filename":"image_25012025_23_54_03_153842_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/a0595be8cc2eba02326495b06dc265a6.jpg","text":"TemporaryFile(/tmp/multipartBody904657085706956748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845797359,"filename":"image_25012025_23_55_02_284697_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/bf3f2adebf88e5afd63e158ddcc901cb.jpg","text":"TemporaryFile(/tmp/multipartBody302212493873446654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845797359,"filename":"image_25012025_23_55_02_284697_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/fea475950b2312b76169f89e1ae65e3b.jpg","text":"TemporaryFile(/tmp/multipartBody8880099725385930333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845797359,"filename":"image_25012025_23_55_02_284697_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331482164","file1":"1331482161","file0":"1331482156","file3":"1331482165"},"map_files_photo_id_array":[{"photo_id":"1331482164","filename":"file2"},{"photo_id":"1331482161","filename":"file1"},{"photo_id":"1331482156","filename":"file0"},{"photo_id":"1331482165","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331482156":["hashtag1","hashtag2"]},{"1331482165":["hashtag1","hashtag2"]},{"1331482164":["hashtag1","hashtag2"]},{"1331482161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331482156, 1331482165, 1331482164, 1331482161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.00482106208801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-25 23:56:22.326772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/55/image_25012025_23_55_02_284697_0003.jpg', '/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_02_518048_0000.jpg', '/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_02_518048_0001.jpg', '/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_02_518048_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/55/image_25012025_23_55_02_284697_0003.jpg
/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_02_518048_0000.jpg
/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_02_518048_0001.jpg
/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_02_518048_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: 14.0999755859375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-25 23:56:42.283688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/55/image_25012025_23_55_02_284697_0003.jpg', '/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_02_518048_0000.jpg', '/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_02_518048_0001.jpg', '/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_02_518048_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/55/image_25012025_23_55_02_284697_0003.jpg
/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_02_518048_0000.jpg
/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_02_518048_0001.jpg
/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_02_518048_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":["1331482204","1331482201","1331482208","1331482198"],"photo_ids_order":["1331482198","1331482201","1331482204","1331482208"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/c65a63aa865b95adb1d7e90023d4e378.jpg","text":"TemporaryFile(/tmp/multipartBody4010507123535021928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845876777,"filename":"image_25012025_23_56_02_518048_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/cef8ce7a3f4758372f87415ddf141088.jpg","text":"TemporaryFile(/tmp/multipartBody6074721991465741042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845876777,"filename":"image_25012025_23_56_02_518048_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/4221f6122c1538ae613f235eace8a9df.jpg","text":"TemporaryFile(/tmp/multipartBody7198538303487578334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845876777,"filename":"image_25012025_23_56_02_518048_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/25/acd8e2ba8d66c81c00e31aa63c77c057.jpg","text":"TemporaryFile(/tmp/multipartBody26242415514587255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737845876777,"filename":"image_25012025_23_55_02_284697_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1331482204","file1":"1331482201","file0":"1331482198","file3":"1331482208"},"map_files_photo_id_array":[{"photo_id":"1331482204","filename":"file2"},{"photo_id":"1331482201","filename":"file1"},{"photo_id":"1331482198","filename":"file0"},{"photo_id":"1331482208","filename":"file3"}],"portfolio_id":19908538,"hashtag_by_photo_ids":[{"1331482204":["hashtag1","hashtag2"]},{"1331482201":["hashtag1","hashtag2"]},{"1331482208":["hashtag1","hashtag2"]},{"1331482198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19908538 used, photo_id : ArrayBuffer(1331482204, 1331482201, 1331482208, 1331482198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.413304805755615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-25 23:57:32.440823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
  port_id : 19908538
  datou_current_id : 2513560
in upload_from_sqlite, uploading in 19908538
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_02_518048_0003.jpg', '/home/pi/Desktop/images/25012025/23/57/image_25012025_23_57_02_642325_0000.jpg', '/home/pi/Desktop/images/25012025/23/57/image_25012025_23_57_02_642325_0001.jpg', '/home/pi/Desktop/images/25012025/23/57/image_25012025_23_57_02_642325_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2513560&datou=0
/home/pi/Desktop/images/25012025/23/56/image_25012025_23_56_02_518048_0003.jpg
/home/pi/Desktop/images/25012025/23/57/image_25012025_23_57_02_642325_0000.jpg
/home/pi/Desktop/images/25012025/23/57/image_25012025_23_57_02_642325_0001.jpg
/home/pi/Desktop/images/25012025/23/57/image_25012025_23_57_02_642325_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
